Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/block/drbd/
Ddrbd_main.c3092 u32 al_stripe_size_4k; member
3123 buffer->al_stripe_size_4k = cpu_to_be32(device->ldev->md.al_stripe_size_4k); in drbd_md_write()
3177 u32 al_stripe_size_4k = be32_to_cpu(on_disk->al_stripe_size_4k); in check_activity_log_stripe_size() local
3181 if (al_stripes == 0 && al_stripe_size_4k == 0) { in check_activity_log_stripe_size()
3183 al_stripe_size_4k = MD_32kB_SECT/8; in check_activity_log_stripe_size()
3189 if (al_stripes == 0 || al_stripe_size_4k == 0) in check_activity_log_stripe_size()
3192 al_size_4k = (u64)al_stripes * al_stripe_size_4k; in check_activity_log_stripe_size()
3206 in_core->al_stripe_size_4k = al_stripe_size_4k; in check_activity_log_stripe_size()
3213 al_stripes, al_stripe_size_4k); in check_activity_log_stripe_size()
3253 || in_core->al_stripe_size_4k != MD_32kB_SECT/8) in check_offsets_and_sizes()
[all …]
Ddrbd_nl.c938 u32 al_stripe_size_4k; in drbd_determine_dev_size() member
969 prev.al_stripe_size_4k = md->al_stripe_size_4k; in drbd_determine_dev_size()
974 md->al_stripe_size_4k = rs->al_stripe_size / 4; in drbd_determine_dev_size()
1063 md->al_stripes, md->al_stripe_size_4k * 4); in drbd_determine_dev_size()
1080 md->al_stripe_size_4k = prev.al_stripe_size_4k; in drbd_determine_dev_size()
1081 md->al_size_4k = (u64)prev.al_stripes * prev.al_stripe_size_4k; in drbd_determine_dev_size()
2865 rs.al_stripe_size = device->ldev->md.al_stripe_size_4k * 4; in drbd_adm_resize()
2903 device->ldev->md.al_stripe_size_4k != rs.al_stripe_size / 4) { in drbd_adm_resize()
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()
Ddrbd_int.h589 u32 al_stripe_size_4k; member