Searched refs:Device (Results 1 - 11 of 11) sorted by relevance

/systemd/src/login/
H A Dlogind-device.h22 typedef struct Device Device; typedef in typeref:struct:Device
28 struct Device { struct
37 LIST_FIELDS(struct Device, devices);
41 Device* device_new(Manager *m, const char *sysfs, bool master);
42 void device_free(Device *d);
43 void device_attach(Device *d, Seat *s);
H A Dlogind-device.c26 Device* device_new(Manager *m, const char *sysfs, bool master) {
27 Device *d;
32 d = new0(Device, 1);
55 static void device_detach(Device *d) {
77 void device_free(Device *d) {
88 void device_attach(Device *d, Seat *s) {
89 Device *i;
H A Dlogind-session-device.h36 Device *device;
H A Dlogind-seat.h33 LIST_HEAD(Device, devices);
H A Dlogind-core.c37 int manager_add_device(Manager *m, const char *sysfs, bool master, Device **_device) {
38 Device *d;
189 Device *device;
213 log_warning("Device with invalid seat name %s found, ignoring.", sn);
H A Dlogind.h138 int manager_add_device(Manager *m, const char *sysfs, bool master, Device **_device);
H A Dlogind.c111 Device *d;
1027 log_warning_errno(r, "Device enumeration failed: %m");
/systemd/src/core/
H A Ddevice.h22 typedef struct Device Device; typedef in typeref:struct:Device
31 struct Device { struct
40 LIST_FIELDS(struct Device, same_sysfs);
H A Ddbus-device.c26 SD_BUS_PROPERTY("SysFSPath", "s", NULL, offsetof(Device, sysfs), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
H A Ddevice.c46 static void device_unset_sysfs(Device *d) {
48 Device *first;
69 static int device_set_sysfs(Device *d, const char *sysfs) {
70 Device *first;
105 Device *d = DEVICE(u);
121 Device *d = DEVICE(u);
128 static void device_set_state(Device *d, DeviceState state) {
142 Device *d = DEVICE(u);
160 Device *d = DEVICE(u);
172 Device *
[all...]
H A Dunit.h446 DEFINE_CAST(DEVICE, Device);

Completed in 22 milliseconds