Searched refs:al_stripes (Results 1 – 4 of 4) sorted by relevance
3047 u32 al_stripes; member3078 buffer->al_stripes = cpu_to_be32(device->ldev->md.al_stripes); in drbd_md_write()3132 u32 al_stripes = be32_to_cpu(on_disk->al_stripes); in check_activity_log_stripe_size() local3137 if (al_stripes == 0 && al_stripe_size_4k == 0) { in check_activity_log_stripe_size()3138 al_stripes = 1; in check_activity_log_stripe_size()3145 if (al_stripes == 0 || al_stripe_size_4k == 0) in check_activity_log_stripe_size()3148 al_size_4k = (u64)al_stripes * al_stripe_size_4k; in check_activity_log_stripe_size()3163 in_core->al_stripes = al_stripes; in check_activity_log_stripe_size()3169 al_stripes, al_stripe_size_4k); in check_activity_log_stripe_size()3208 || in_core->al_stripes != 1 in check_offsets_and_sizes()[all …]
913 prev_al_stripes = md->al_stripes; in drbd_determine_dev_size()916 md->al_stripes = rs->al_stripes; in drbd_determine_dev_size()918 md->al_size_4k = (u64)rs->al_stripes * rs->al_stripe_size / 4; in drbd_determine_dev_size()1000 md->al_stripes, md->al_stripe_size_4k * 4); in drbd_determine_dev_size()1011 md->al_stripes = prev_al_stripes; in drbd_determine_dev_size()2517 rs.al_stripes = device->ldev->md.al_stripes; in drbd_adm_resize()2555 if (device->ldev->md.al_stripes != rs.al_stripes || in drbd_adm_resize()2557 u32 al_size_k = rs.al_stripes * rs.al_stripe_size; in drbd_adm_resize()
443 const unsigned int stripes = device->ldev->md.al_stripes; in al_tr_number_to_on_disk_sector()614 int al_size_4k = md->al_stripes * md->al_stripe_size_4k; in drbd_initialize_al()
604 u32 al_stripes; member