Lines Matching refs:ph1
279 static BOOL ldm_compare_privheads (const struct privhead *ph1, in ldm_compare_privheads() argument
282 BUG_ON (!ph1); in ldm_compare_privheads()
285 return ((ph1->ver_major == ph2->ver_major) && in ldm_compare_privheads()
286 (ph1->ver_minor == ph2->ver_minor) && in ldm_compare_privheads()
287 (ph1->logical_disk_start == ph2->logical_disk_start) && in ldm_compare_privheads()
288 (ph1->logical_disk_size == ph2->logical_disk_size) && in ldm_compare_privheads()
289 (ph1->config_start == ph2->config_start) && in ldm_compare_privheads()
290 (ph1->config_size == ph2->config_size) && in ldm_compare_privheads()
291 !memcmp (ph1->disk_id, ph2->disk_id, GUID_SIZE)); in ldm_compare_privheads()
334 unsigned long first_sector, struct privhead *ph1, struct gendisk *hd, in ldm_validate_privheads() argument
338 struct privhead *ph[3] = { ph1 }; in ldm_validate_privheads()
346 BUG_ON (!ph1); in ldm_validate_privheads()