Home
last modified time | relevance | path

Searched refs:al_stripes (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/block/drbd/
Ddrbd_main.c2988 u32 al_stripes; member
3019 buffer->al_stripes = cpu_to_be32(device->ldev->md.al_stripes); in drbd_md_write()
3073 u32 al_stripes = be32_to_cpu(on_disk->al_stripes); in check_activity_log_stripe_size() local
3078 if (al_stripes == 0 && al_stripe_size_4k == 0) { in check_activity_log_stripe_size()
3079 al_stripes = 1; in check_activity_log_stripe_size()
3086 if (al_stripes == 0 || al_stripe_size_4k == 0) in check_activity_log_stripe_size()
3089 al_size_4k = (u64)al_stripes * al_stripe_size_4k; in check_activity_log_stripe_size()
3104 in_core->al_stripes = al_stripes; in check_activity_log_stripe_size()
3110 al_stripes, al_stripe_size_4k); in check_activity_log_stripe_size()
3149 || in_core->al_stripes != 1 in check_offsets_and_sizes()
[all …]
Ddrbd_nl.c939 u32 al_stripes; in drbd_determine_dev_size() member
970 prev.al_stripes = md->al_stripes; in drbd_determine_dev_size()
975 md->al_stripes = rs->al_stripes; in drbd_determine_dev_size()
977 md->al_size_4k = (u64)rs->al_stripes * 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()
1081 md->al_stripes = prev.al_stripes; in drbd_determine_dev_size()
1083 md->al_size_4k = (u64)prev.al_stripes * prev.al_stripe_size_4k; in drbd_determine_dev_size()
2802 rs.al_stripes = device->ldev->md.al_stripes; in drbd_adm_resize()
2840 if (device->ldev->md.al_stripes != rs.al_stripes || in drbd_adm_resize()
2842 u32 al_size_k = rs.al_stripes * rs.al_stripe_size; in drbd_adm_resize()
Ddrbd_actlog.c300 const unsigned int stripes = device->ldev->md.al_stripes; 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.h520 u32 al_stripes; member
/Linux-v6.6/include/linux/
Ddrbd_genl.h191 __u32_field_def(4, 0 /* OPTIONAL */, al_stripes, DRBD_AL_STRIPES_DEF)