Searched refs:al_size_4k (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/block/drbd/
H A Ddrbd_actlog.c447 unsigned int t = device->al_tr_number % (device->ldev->md.al_size_4k); al_tr_number_to_on_disk_sector()
614 int al_size_4k = md->al_stripes * md->al_stripe_size_4k; drbd_initialize_al() local
622 for (i = 0; i < al_size_4k; i++) { drbd_initialize_al()
H A Ddrbd_main.c3133 u64 al_size_4k; check_activity_log_stripe_size() local
3147 al_size_4k = (u64)al_stripes * al_stripe_size_4k; check_activity_log_stripe_size()
3153 if (al_size_4k > (16 * 1024 * 1024/4)) check_activity_log_stripe_size()
3158 if (al_size_4k < MD_32kB_SECT/8) check_activity_log_stripe_size()
3163 in_core->al_size_4k = al_size_4k; check_activity_log_stripe_size()
3195 if (in_core->bm_offset < in_core->al_offset + in_core->al_size_4k * MD_4kB_SECT) check_offsets_and_sizes()
3223 if (on_disk_al_sect != in_core->al_size_4k * MD_4kB_SECT) check_offsets_and_sizes()
H A Ddrbd_nl.c776 unsigned int al_size_sect = bdev->md.al_size_4k * 8; drbd_md_set_sector_offsets()
917 md->al_size_4k = (u64)rs->al_stripes * rs->al_stripe_size / 4; __must_hold()
1012 md->al_size_4k = (u64)prev_al_stripes * prev_al_stripe_size_4k; __must_hold()
1299 unsigned int al_size_4k = bdev->md.al_size_4k; drbd_al_extents_max() local
1301 if (al_size_4k > sufficient_on_disk) drbd_al_extents_max()
1304 return (al_size_4k - 1) * AL_CONTEXT_PER_TRANSACTION; drbd_al_extents_max()
H A Ddrbd_int.h606 u32 al_size_4k; /* cached product of the above */ member in struct:drbd_md

Completed in 115 milliseconds