Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_main.c2956 u64 al_size_4k; in check_activity_log_stripe_size() local
2970 al_size_4k = (u64)al_stripes * al_stripe_size_4k; in check_activity_log_stripe_size()
2976 if (al_size_4k > (16 * 1024 * 1024/4)) in check_activity_log_stripe_size()
2981 if (al_size_4k < MD_32kB_SECT/8) in check_activity_log_stripe_size()
2986 in_core->al_size_4k = al_size_4k; in check_activity_log_stripe_size()
3018 if (in_core->bm_offset < in_core->al_offset + in_core->al_size_4k * MD_4kB_SECT) in check_offsets_and_sizes()
3046 if (on_disk_al_sect != in_core->al_size_4k * MD_4kB_SECT) in check_offsets_and_sizes()
Ddrbd_nl.c724 unsigned int al_size_sect = bdev->md.al_size_4k * 8; in drbd_md_set_sector_offsets()
1164 unsigned int al_size_4k = bdev->md.al_size_4k; in drbd_al_extents_max() local
1166 if (al_size_4k > sufficient_on_disk) in drbd_al_extents_max()
1169 return (al_size_4k - 1) * AL_CONTEXT_PER_TRANSACTION; in drbd_al_extents_max()
Ddrbd_actlog.c469 unsigned int t = mdev->al_tr_number % (mdev->ldev->md.al_size_4k); in al_tr_number_to_on_disk_sector()
Ddrbd_int.h765 u32 al_size_4k; /* cached product of the above */ member