Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_main.c3025 u32 al_stripes; member
3056 buffer->al_stripes = cpu_to_be32(device->ldev->md.al_stripes); in drbd_md_write()
3110 u32 al_stripes = be32_to_cpu(on_disk->al_stripes); in check_activity_log_stripe_size() local
3115 if (al_stripes == 0 && al_stripe_size_4k == 0) { in check_activity_log_stripe_size()
3116 al_stripes = 1; in check_activity_log_stripe_size()
3123 if (al_stripes == 0 || al_stripe_size_4k == 0) in check_activity_log_stripe_size()
3126 al_size_4k = (u64)al_stripes * al_stripe_size_4k; in check_activity_log_stripe_size()
3141 in_core->al_stripes = al_stripes; in check_activity_log_stripe_size()
3147 al_stripes, al_stripe_size_4k); in check_activity_log_stripe_size()
3186 || in_core->al_stripes != 1 in check_offsets_and_sizes()
[all …]
Ddrbd_nl.c938 u32 al_stripes; in drbd_determine_dev_size() member
969 prev.al_stripes = md->al_stripes; in drbd_determine_dev_size()
974 md->al_stripes = rs->al_stripes; in drbd_determine_dev_size()
976 md->al_size_4k = (u64)rs->al_stripes * rs->al_stripe_size / 4; in drbd_determine_dev_size()
1064 md->al_stripes, md->al_stripe_size_4k * 4); in drbd_determine_dev_size()
1080 md->al_stripes = prev.al_stripes; in drbd_determine_dev_size()
1082 md->al_size_4k = (u64)prev.al_stripes * prev.al_stripe_size_4k; in drbd_determine_dev_size()
2858 rs.al_stripes = device->ldev->md.al_stripes; in drbd_adm_resize()
2896 if (device->ldev->md.al_stripes != rs.al_stripes || in drbd_adm_resize()
2898 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.h588 u32 al_stripes; member