Searched refs:al_size_4k (Results 1 – 4 of 4) sorted by relevance
304 unsigned int t = device->al_tr_number % (device->ldev->md.al_size_4k); in al_tr_number_to_on_disk_sector()612 int al_size_4k = md->al_stripes * md->al_stripe_size_4k; in drbd_al_initialize() local624 for (i = 1; i < al_size_4k; i++) { in drbd_al_initialize()
3063 u64 al_size_4k; in check_activity_log_stripe_size() local3077 al_size_4k = (u64)al_stripes * al_stripe_size_4k; in check_activity_log_stripe_size()3083 if (al_size_4k > (16 * 1024 * 1024/4)) in check_activity_log_stripe_size()3088 if (al_size_4k < MD_32kB_SECT/8) in check_activity_log_stripe_size()3093 in_core->al_size_4k = al_size_4k; in check_activity_log_stripe_size()3125 if (in_core->bm_offset < in_core->al_offset + in_core->al_size_4k * MD_4kB_SECT) in check_offsets_and_sizes()3153 if (on_disk_al_sect != in_core->al_size_4k * MD_4kB_SECT) in check_offsets_and_sizes()
832 unsigned int al_size_sect = bdev->md.al_size_4k * 8; in drbd_md_set_sector_offsets()977 md->al_size_4k = (u64)rs->al_stripes * rs->al_stripe_size / 4; in drbd_determine_dev_size()1083 md->al_size_4k = (u64)prev.al_stripes * prev.al_stripe_size_4k; in drbd_determine_dev_size()1410 unsigned int al_size_4k = bdev->md.al_size_4k; in drbd_al_extents_max() local1412 if (al_size_4k > sufficient_on_disk) in drbd_al_extents_max()1415 return (al_size_4k - 1) * AL_CONTEXT_PER_TRANSACTION; in drbd_al_extents_max()
589 u32 al_size_4k; /* cached product of the above */ member