Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/block/drbd/
Ddrbd_main.c2975 u32 al_stripes; member
3006 buffer->al_stripes = cpu_to_be32(device->ldev->md.al_stripes); in drbd_md_write()
3060 u32 al_stripes = be32_to_cpu(on_disk->al_stripes); in check_activity_log_stripe_size() local
3065 if (al_stripes == 0 && al_stripe_size_4k == 0) { in check_activity_log_stripe_size()
3066 al_stripes = 1; in check_activity_log_stripe_size()
3073 if (al_stripes == 0 || al_stripe_size_4k == 0) in check_activity_log_stripe_size()
3076 al_size_4k = (u64)al_stripes * al_stripe_size_4k; in check_activity_log_stripe_size()
3091 in_core->al_stripes = al_stripes; in check_activity_log_stripe_size()
3097 al_stripes, al_stripe_size_4k); in check_activity_log_stripe_size()
3136 || 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()
2780 rs.al_stripes = device->ldev->md.al_stripes; in drbd_adm_resize()
2818 if (device->ldev->md.al_stripes != rs.al_stripes || in drbd_adm_resize()
2820 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.h587 u32 al_stripes; member
/Linux-v6.1/include/linux/
Ddrbd_genl.h191 __u32_field_def(4, 0 /* OPTIONAL */, al_stripes, DRBD_AL_STRIPES_DEF)