Searched refs:sd_device (Results 1 - 14 of 14) sorted by relevance

/systemd/src/libsystemd/sd-device/
H A Ddevice-private.h28 int device_new_from_nulstr(sd_device **ret, uint8_t *nulstr, size_t len);
29 int device_new_from_strv(sd_device **ret, char **strv);
31 int device_get_id_filename(sd_device *device, const char **ret);
33 int device_get_devlink_priority(sd_device *device, int *priority);
34 int device_get_watch_handle(sd_device *device, int *handle);
35 int device_get_devnode_mode(sd_device *device, mode_t *mode);
36 int device_get_devnode_uid(sd_device *device, uid_t *uid);
37 int device_get_devnode_gid(sd_device *device, gid_t *gid);
39 void device_seal(sd_device *device);
40 void device_set_is_initialized(sd_device *devic
[all...]
H A Ddevice-internal.h26 struct sd_device { struct
29 sd_device *parent;
109 int device_new_aux(sd_device **ret);
110 int device_add_property_aux(sd_device *device, const char *key, const char *value, bool db);
111 int device_add_property_internal(sd_device *device, const char *key, const char *value);
112 int device_read_uevent_file(sd_device *device);
113 int device_read_db_aux(sd_device *device, bool force);
115 int device_set_syspath(sd_device *device, const char *_syspath, bool verify);
116 int device_set_ifindex(sd_device *device, const char *ifindex);
117 int device_set_devmode(sd_device *devic
[all...]
H A Ddevice-enumerator-private.h26 int device_enumerator_add_device(sd_device_enumerator *enumerator, sd_device *device);
28 sd_device *device_enumerator_get_first(sd_device_enumerator *enumerator);
29 sd_device *device_enumerator_get_next(sd_device_enumerator *enumerator);
H A Dsd-device.c45 int device_new_aux(sd_device **ret) {
46 _cleanup_(sd_device_unrefp) sd_device *device = NULL;
50 device = new0(sd_device, 1);
63 _public_ sd_device *sd_device_ref(sd_device *device) {
70 _public_ sd_device *sd_device_unref(sd_device *device) {
96 int device_add_property_aux(sd_device *device, const char *_key, const char *_value, bool db) {
146 int device_add_property_internal(sd_device *device, const char *key, const char *value) {
150 int device_set_syspath(sd_device *devic
[all...]
H A Ddevice-private.c48 int device_add_property(sd_device *device, const char *key, const char *value) {
67 static int device_add_property_internal_from_string(sd_device *device, const char *str) {
90 static int handle_db_line(sd_device *device, char key, const char *value) {
142 void device_set_devlink_priority(sd_device *device, int priority) {
148 void device_set_is_initialized(sd_device *device) {
154 int device_ensure_usec_initialized(sd_device *device, sd_device *device_old) {
177 static int device_read_db(sd_device *device) {
270 uint64_t device_get_properties_generation(sd_device *device) {
276 uint64_t device_get_tags_generation(sd_device *devic
[all...]
H A Ddevice-enumerator.c57 sd_device *match_parent;
89 sd_device *device;
246 _public_ int sd_device_enumerator_add_match_parent(sd_device_enumerator *enumerator, sd_device *parent) {
279 sd_device *a = (sd_device *)_a, *b = (sd_device *)_b;
328 int device_enumerator_add_device(sd_device_enumerator *enumerator, sd_device *device) {
347 static bool match_sysattr_value(sd_device *device, const char *sysattr, const char *match_value) {
367 static bool match_sysattr(sd_device_enumerator *enumerator, sd_device *device) {
386 static bool match_property(sd_device_enumerator *enumerator, sd_device *devic
[all...]
/systemd/src/systemd/
H A Dsd-device.h31 typedef struct sd_device sd_device; typedef in typeref:struct:sd_device
36 sd_device *sd_device_ref(sd_device *device);
37 sd_device *sd_device_unref(sd_device *device);
39 int sd_device_new_from_syspath(sd_device **ret, const char *syspath);
40 int sd_device_new_from_devnum(sd_device **ret, char type, dev_t devnum);
41 int sd_device_new_from_subsystem_sysname(sd_device **ret, const char *subsystem, const char *sysname);
42 int sd_device_new_from_device_id(sd_device **re
[all...]
/systemd/src/libudev/
H A Dlibudev-device-internal.h37 sd_device *device;
H A Dlibudev-enumerate.c165 sd_device *device;
373 _cleanup_(sd_device_unrefp) sd_device *device = NULL;
H A Dlibudev-device-private.c28 sd_device *device_old = NULL;
H A Dlibudev-device.c483 sd_device *parent;
491 /* first find the correct sd_device */
/systemd/src/fsck/
H A Dfsck.c277 _cleanup_(sd_device_unrefp) sd_device *dev = NULL;
/systemd/src/network/
H A Dnetworkctl.c61 static int link_get_type_string(int iftype, sd_device *d, char **ret) {
230 _cleanup_(sd_device_unrefp) sd_device *d = NULL;
509 _cleanup_(sd_device_unrefp) sd_device *d = NULL;
/systemd/src/cryptsetup/
H A Dcryptsetup.c269 _cleanup_(sd_device_unrefp) sd_device *device = NULL;

Completed in 41 milliseconds