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

/linux-4.4.14/drivers/block/drbd/
H A Ddrbd_main.c3046 u32 al_stripes; member in struct:meta_data_on_disk
3077 buffer->al_stripes = cpu_to_be32(device->ldev->md.al_stripes); drbd_md_write()
3131 u32 al_stripes = be32_to_cpu(on_disk->al_stripes); check_activity_log_stripe_size() local
3136 if (al_stripes == 0 && al_stripe_size_4k == 0) { check_activity_log_stripe_size()
3137 al_stripes = 1; check_activity_log_stripe_size()
3144 if (al_stripes == 0 || al_stripe_size_4k == 0) check_activity_log_stripe_size()
3147 al_size_4k = (u64)al_stripes * al_stripe_size_4k; check_activity_log_stripe_size()
3162 in_core->al_stripes = al_stripes; check_activity_log_stripe_size()
3167 drbd_err(device, "invalid activity log striping: al_stripes=%u, al_stripe_size_4k=%u\n", check_activity_log_stripe_size()
3168 al_stripes, al_stripe_size_4k); check_activity_log_stripe_size()
3207 || in_core->al_stripes != 1 check_offsets_and_sizes()
3243 in_core->al_stripes, in_core->al_stripe_size_4k, check_offsets_and_sizes()
H A Ddrbd_nl.c912 prev_al_stripes = md->al_stripes; __must_hold()
915 md->al_stripes = rs->al_stripes; __must_hold()
917 md->al_size_4k = (u64)rs->al_stripes * rs->al_stripe_size / 4; __must_hold()
999 md->al_stripes, md->al_stripe_size_4k * 4); __must_hold()
1010 md->al_stripes = prev_al_stripes; __must_hold()
2516 rs.al_stripes = device->ldev->md.al_stripes; drbd_adm_resize()
2554 if (device->ldev->md.al_stripes != rs.al_stripes || drbd_adm_resize()
2556 u32 al_size_k = rs.al_stripes * rs.al_stripe_size; drbd_adm_resize()
H A Ddrbd_actlog.c443 const unsigned int stripes = device->ldev->md.al_stripes; al_tr_number_to_on_disk_sector()
614 int al_size_4k = md->al_stripes * md->al_stripe_size_4k; drbd_initialize_al()
H A Ddrbd_int.h604 u32 al_stripes; member in struct:drbd_md

Completed in 170 milliseconds