Searched refs:bitmap_info (Results 1 – 9 of 9) sorted by relevance
/linux-3.3/drivers/md/ |
D | bitmap.c | 238 loff_t offset = mddev->bitmap_info.offset; in write_sb_page() 452 if (bitmap->mddev->bitmap_info.external) in bitmap_update_sb() 468 sb->daemon_sleep = cpu_to_le32(bitmap->mddev->bitmap_info.daemon_sleep/HZ); in bitmap_update_sb() 469 sb->write_behind = cpu_to_le32(bitmap->mddev->bitmap_info.max_write_behind); in bitmap_update_sb() 533 chunksize = bitmap->mddev->bitmap_info.chunksize; in bitmap_new_disk_sb() 542 daemon_sleep = bitmap->mddev->bitmap_info.daemon_sleep; in bitmap_new_disk_sb() 549 bitmap->mddev->bitmap_info.daemon_sleep = daemon_sleep; in bitmap_new_disk_sb() 555 write_behind = bitmap->mddev->bitmap_info.max_write_behind; in bitmap_new_disk_sb() 559 bitmap->mddev->bitmap_info.max_write_behind = write_behind; in bitmap_new_disk_sb() 596 bitmap->mddev->bitmap_info.offset, in bitmap_read_sb() [all …]
|
D | dm-raid.c | 330 rs->md.bitmap_info.chunksize = (region_size << 9); in validate_region_size() 475 rs->md.bitmap_info.max_write_behind = value; in parse_raid_params() 482 rs->md.bitmap_info.daemon_sleep = value; in parse_raid_params() 829 mddev->bitmap_info.offset = 4096 >> 9; /* Enable bitmap creation */ in super_validate() 830 rdev->mddev->bitmap_info.default_offset = 4096 >> 9; in super_validate() 1115 rs->md.bitmap_info.daemon_sleep); in raid_status() 1130 rs->md.bitmap_info.max_write_behind); in raid_status() 1142 rs->md.bitmap_info.chunksize >> 9); in raid_status()
|
D | md.c | 595 mutex_init(&mddev->bitmap_info.mutex); in mddev_init() 1053 if (!mddev->bitmap_info.file && !mddev->bitmap_info.offset) in md_check_no_bitmap() 1184 mddev->bitmap_info.offset = 0; in super_90_validate() 1185 mddev->bitmap_info.default_offset = MD_SB_BYTES >> 9; in super_90_validate() 1219 mddev->bitmap_info.file == NULL) in super_90_validate() 1220 mddev->bitmap_info.offset = in super_90_validate() 1221 mddev->bitmap_info.default_offset; in super_90_validate() 1341 if (mddev->bitmap && mddev->bitmap_info.file == NULL) in super_90_sync() 1419 if (rdev->mddev->bitmap_info.offset) in super_90_rdev_size_change() 1644 mddev->bitmap_info.offset = 0; in super_1_validate() [all …]
|
D | bitmap.h | 108 #define CHUNK_BLOCK_RATIO(bitmap) ((bitmap)->mddev->bitmap_info.chunksize >> BITMAP_BLOCK_SHIFT)
|
D | md.h | 394 } bitmap_info; member
|
D | raid1.c | 1105 < mddev->bitmap_info.max_write_behind) && in make_request()
|
/linux-3.3/drivers/md/persistent-data/ |
D | dm-space-map-common.c | 195 ll->bitmap_info.tm = tm; in sm_ll_init() 196 ll->bitmap_info.levels = 1; in sm_ll_init() 203 ll->bitmap_info.value_type.size = sizeof(struct disk_index_entry); in sm_ll_init() 204 ll->bitmap_info.value_type.inc = NULL; in sm_ll_init() 205 ll->bitmap_info.value_type.dec = NULL; in sm_ll_init() 206 ll->bitmap_info.value_type.equal = NULL; in sm_ll_init() 614 return dm_btree_lookup(&ll->bitmap_info, ll->bitmap_root, &index, ie); in disk_ll_load_ie() 621 return dm_btree_insert(&ll->bitmap_info, ll->bitmap_root, in disk_ll_save_ie() 627 return dm_btree_empty(&ll->bitmap_info, &ll->bitmap_root); in disk_ll_init_index()
|
D | dm-space-map-common.h | 59 struct dm_btree_info bitmap_info; member
|
/linux-3.3/fs/btrfs/ |
D | free-space-cache.c | 1409 struct btrfs_free_space *bitmap_info, u64 *offset, in search_bitmap() argument 1416 i = offset_to_bit(bitmap_info->offset, ctl->unit, in search_bitmap() 1417 max_t(u64, *offset, bitmap_info->offset)); in search_bitmap() 1420 for (i = find_next_bit(bitmap_info->bitmap, BITS_PER_BITMAP, i); in search_bitmap() 1422 i = find_next_bit(bitmap_info->bitmap, BITS_PER_BITMAP, i + 1)) { in search_bitmap() 1423 next_zero = find_next_zero_bit(bitmap_info->bitmap, in search_bitmap() 1433 *offset = (u64)(i * ctl->unit) + bitmap_info->offset; in search_bitmap() 1488 struct btrfs_free_space *bitmap_info) in free_bitmap() argument 1490 unlink_free_space(ctl, bitmap_info); in free_bitmap() 1491 kfree(bitmap_info->bitmap); in free_bitmap() [all …]
|