Lines Matching refs:ph1
226 static bool ldm_compare_privheads (const struct privhead *ph1, in ldm_compare_privheads() argument
229 BUG_ON (!ph1 || !ph2); in ldm_compare_privheads()
231 return ((ph1->ver_major == ph2->ver_major) && in ldm_compare_privheads()
232 (ph1->ver_minor == ph2->ver_minor) && in ldm_compare_privheads()
233 (ph1->logical_disk_start == ph2->logical_disk_start) && in ldm_compare_privheads()
234 (ph1->logical_disk_size == ph2->logical_disk_size) && in ldm_compare_privheads()
235 (ph1->config_start == ph2->config_start) && in ldm_compare_privheads()
236 (ph1->config_size == ph2->config_size) && in ldm_compare_privheads()
237 uuid_equal(&ph1->disk_id, &ph2->disk_id)); in ldm_compare_privheads()
280 struct privhead *ph1) in ldm_validate_privheads() argument
283 struct privhead *ph[3] = { ph1 }; in ldm_validate_privheads()
290 BUG_ON (!state || !ph1); in ldm_validate_privheads()