Lines Matching refs:d1
112 iodev_walk(struct iodev_snapshot *d1, struct iodev_snapshot *d2,
117 while (d1 && d2) {
118 if (strcmp(d1->is_name, d2->is_name) < 0) {
120 cb(d1, NULL, data);
121 (void) iodev_walk(d1->is_children, NULL, cb, data);
122 d1 = d1->is_next;
123 } else if (strcmp(d1->is_name, d2->is_name) > 0) {
129 cb(d1, d2, data);
130 changed |= iodev_walk(d1->is_children,
132 d1 = d1->is_next;
137 while (d1) {
139 cb(d1, NULL, data);
140 (void) iodev_walk(d1->is_children, NULL, cb, data);
141 d1 = d1->is_next;
304 iodev_report(struct iodev_snapshot *d1, struct iodev_snapshot *d2)
306 while (d1 && d2) {
307 if (iodev_cmp(d1, d2) < 0) {
308 iodev_changed(d1, 0);
309 d1 = d1->is_next;
310 } else if (iodev_cmp(d1, d2) > 0) {
314 iodev_report(d1->is_children, d2->is_children);
315 d1 = d1->is_next;
320 while (d1) {
321 iodev_changed(d1, 0);
322 d1 = d1->is_next;