Searched refs:devices (Results 1 - 13 of 13) sorted by relevance
/systemd/src/login/ |
H A D | logind-device.c | 42 if (hashmap_put(m->devices, d->sysfs, d) < 0) { 68 LIST_REMOVE(devices, d->seat->devices, d); 82 hashmap_remove(d->manager->devices, d->sysfs); 105 * devices are at the front, other devices at the tail. As there is no 106 * way to easily add devices at the list-tail, we need to iterate the 108 * devices. We assume there is only a few (normally 1) master devices 111 if (d->master || !s->devices) [all...] |
H A D | logind-device.h | 37 LIST_FIELDS(struct Device, devices);
|
H A D | logind-session-device.c | 178 /* fallback for devices wihout synchronizations */ 204 /* Evdev devices are revoked while inactive. Reopen it and we 214 /* fallback for devices wihout synchronizations */ 230 /* On DRM devices we simply drop DRM-Master but keep it open. 245 /* fallback for devices without synchronization */ 293 /* for evdev devices we need the parent node as device */ 302 /* Prevent opening unsupported devices. Especially devices of 310 sd->device = hashmap_get(sd->session->manager->devices, sp); 320 sd->device = hashmap_get(sd->session->manager->devices, s [all...] |
H A D | logind-seat.h | 33 LIST_HEAD(Device, devices);
|
H A D | logind-session.c | 70 s->devices = hashmap_new(&devt_hash_ops); 71 if (!s->devices) { 80 hashmap_free(s->devices); 107 while ((sd = hashmap_first(s->devices))) 110 hashmap_free(s->devices); 492 * try to pause all session-devices and wait until the session 493 * controller acknowledged them. Once all devices are asleep, we simply 500 /* if no devices are running, immediately perform the session switch */ 692 /* Kill session devices */ 693 while ((sd = hashmap_first(s->devices))) [all...] |
H A D | logind-seat.c | 79 while (s->devices) 80 device_free(s->devices); 600 return !!s->devices && s->devices->master;
|
H A D | logind-session.h | 117 Hashmap *devices; member in struct:Session
|
H A D | logind-session-dbus.c | 390 sd = hashmap_get(s->devices, &dev); 428 sd = hashmap_get(s->devices, &dev); 454 sd = hashmap_get(s->devices, &dev);
|
H A D | logind-core.c | 43 d = hashmap_get(m->devices, sysfs); 196 device = hashmap_get(m->devices, udev_device_get_syspath(d)); 220 /* Ignore non-master devices for unknown seats */
|
H A D | logind.c | 74 m->devices = hashmap_new(&string_hash_ops); 84 if (!m->devices || !m->seats || !m->sessions || !m->users || !m->inhibitors || !m->buttons || !m->user_units || !m->session_units) 124 while ((d = hashmap_first(m->devices))) 136 hashmap_free(m->devices); 195 /* Loads devices from udev and creates seats for them as 855 /* Don't bother watching VCSA devices, if nobody cares */
|
H A D | logind.h | 43 Hashmap *devices; member in struct:Manager
|
/systemd/src/libsystemd/sd-device/ |
H A D | device-enumerator.c | 47 Prioq *devices; member in struct:sd_device_enumerator 91 while ((device = prioq_pop(enumerator->devices))) 94 prioq_free(enumerator->devices); 293 * when creating those devices, and hence we should too when 319 /* md and dm devices are enumerated after all other devices */ 334 r = prioq_ensure_allocated(&enumerator->devices, device_compare); 338 r = prioq_put(enumerator->devices, device, NULL); 506 /* this is necessarily racey, so ignore missing devices */ 531 * All devices wit [all...] |
/systemd/src/core/ |
H A D | device.c | 47 Hashmap *devices; local 55 /* Remove this unit from the chain of devices which share the 57 devices = UNIT(d)->manager->devices_by_sysfs; 58 first = hashmap_get(devices, d->sysfs); 62 hashmap_remove_and_replace(devices, d->sysfs, first->sysfs, first); 64 hashmap_remove(devices, d->sysfs); 111 * for devices by default. This is because they otherwise wait 112 * indefinitely for plugged in devices, something which cannot 414 * conflicting devices, e.g. when two disks want the 669 log_error_errno(r, "Failed to enumerate devices [all...] |
Completed in 2310 milliseconds