Lines Matching refs:ph1
212 static bool ldm_compare_privheads (const struct privhead *ph1, in ldm_compare_privheads() argument
215 BUG_ON (!ph1 || !ph2); in ldm_compare_privheads()
217 return ((ph1->ver_major == ph2->ver_major) && in ldm_compare_privheads()
218 (ph1->ver_minor == ph2->ver_minor) && in ldm_compare_privheads()
219 (ph1->logical_disk_start == ph2->logical_disk_start) && in ldm_compare_privheads()
220 (ph1->logical_disk_size == ph2->logical_disk_size) && in ldm_compare_privheads()
221 (ph1->config_start == ph2->config_start) && in ldm_compare_privheads()
222 (ph1->config_size == ph2->config_size) && in ldm_compare_privheads()
223 uuid_equal(&ph1->disk_id, &ph2->disk_id)); in ldm_compare_privheads()
266 struct privhead *ph1) in ldm_validate_privheads() argument
269 struct privhead *ph[3] = { ph1 }; in ldm_validate_privheads()
276 BUG_ON (!state || !ph1); in ldm_validate_privheads()