Lines Matching refs:ph1
204 * @ph1: First privhead
207 * This compares the two privhead structures @ph1 and @ph2.
212 static bool ldm_compare_privheads (const struct privhead *ph1,
215 BUG_ON (!ph1 || !ph2);
217 return ((ph1->ver_major == ph2->ver_major) &&
218 (ph1->ver_minor == ph2->ver_minor) &&
219 (ph1->logical_disk_start == ph2->logical_disk_start) &&
220 (ph1->logical_disk_size == ph2->logical_disk_size) &&
221 (ph1->config_start == ph2->config_start) &&
222 (ph1->config_size == ph2->config_size) &&
223 uuid_equal(&ph1->disk_id, &ph2->disk_id));
254 * @ph1: Memory struct to fill with ph contents
266 struct privhead *ph1)
269 struct privhead *ph[3] = { ph1 };
276 BUG_ON (!state || !ph1);