Lines Matching defs:ph1
263 * @ph1: First privhead
266 * This compares the two privhead structures @ph1 and @ph2.
271 static bool ldm_compare_privheads (const struct privhead *ph1,
274 BUG_ON (!ph1 || !ph2);
276 return ((ph1->ver_major == ph2->ver_major) &&
277 (ph1->ver_minor == ph2->ver_minor) &&
278 (ph1->logical_disk_start == ph2->logical_disk_start) &&
279 (ph1->logical_disk_size == ph2->logical_disk_size) &&
280 (ph1->config_start == ph2->config_start) &&
281 (ph1->config_size == ph2->config_size) &&
282 !memcmp (ph1->disk_id, ph2->disk_id, GUID_SIZE));
313 * @ph1: Memory struct to fill with ph contents
325 struct privhead *ph1)
328 struct privhead *ph[3] = { ph1 };
335 BUG_ON (!state || !ph1);