Home
last modified time | relevance | path

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

/linux/drivers/block/drbd/
H A Ddrbd_main.c2982 u32 al_stripe_size_4k; member
3013 buffer->al_stripe_size_4k = cpu_to_be32(device->ldev->md.al_stripe_size_4k); in drbd_md_write()
3067 u32 al_stripe_size_4k = be32_to_cpu(on_disk->al_stripe_size_4k); in check_activity_log_stripe_size() local
3071 if (al_stripes == 0 && al_stripe_size_4k == 0) { in check_activity_log_stripe_size()
3073 al_stripe_size_4k = MD_32kB_SECT/8; in check_activity_log_stripe_size()
3079 if (al_stripes == 0 || al_stripe_size_4k == 0) in check_activity_log_stripe_size()
3082 al_size_4k = (u64)al_stripes * al_stripe_size_4k; in check_activity_log_stripe_size()
3096 in_core->al_stripe_size_4k = al_stripe_size_4k; in check_activity_log_stripe_size()
3103 al_stripes, al_stripe_size_4k); in check_activity_log_stripe_size()
3143 || in_core->al_stripe_size_4k != MD_32kB_SECT/8) in check_offsets_and_sizes()
[all …]
H A Ddrbd_nl.c940 u32 al_stripe_size_4k; in drbd_determine_dev_size() member
971 prev.al_stripe_size_4k = md->al_stripe_size_4k; in drbd_determine_dev_size()
976 md->al_stripe_size_4k = rs->al_stripe_size / 4; in drbd_determine_dev_size()
1065 md->al_stripes, md->al_stripe_size_4k * 4); in drbd_determine_dev_size()
1082 md->al_stripe_size_4k = prev.al_stripe_size_4k; in drbd_determine_dev_size()
1083 md->al_size_4k = (u64)prev.al_stripes * prev.al_stripe_size_4k; in drbd_determine_dev_size()
2794 rs.al_stripe_size = device->ldev->md.al_stripe_size_4k * 4; in drbd_adm_resize()
2832 device->ldev->md.al_stripe_size_4k != rs.al_stripe_size / 4) { in drbd_adm_resize()
H A Ddrbd_actlog.c301 const unsigned int stripe_size_4kB = device->ldev->md.al_stripe_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()
H A Ddrbd_int.h517 u32 al_stripe_size_4k; member