Lines Matching refs:first
48 Device *first;
58 first = hashmap_get(devices, d->sysfs);
59 LIST_REMOVE(same_sysfs, first, d);
61 if (first)
62 hashmap_remove_and_replace(devices, d->sysfs, first->sysfs, first);
70 Device *first;
89 first = hashmap_get(UNIT(d)->manager->devices_by_sysfs, sysfs);
90 LIST_PREPEND(same_sysfs, first, d);
92 r = hashmap_replace(UNIT(d)->manager->devices_by_sysfs, copy, first);
94 LIST_REMOVE(same_sysfs, first, d);
380 struct udev_list_entry *item = NULL, *first = NULL;
400 first = udev_device_get_devlinks_list_entry(dev);
401 udev_list_entry_foreach(item, first) {
537 Device *other, *first = NULL;
553 first = other;
556 return UNIT(first);
611 struct udev_list_entry *item = NULL, *first = NULL;
673 first = udev_enumerate_get_list_entry(e);
674 udev_list_entry_foreach(item, first) {