Home
last modified time | relevance | path

Searched defs:device (Results 1 – 25 of 75) sorted by relevance

123

/systemd-251/src/libsystemd/sd-device/
Ddevice-util.h13 #define FOREACH_DEVICE_PROPERTY(device, key, value) \ argument
18 #define FOREACH_DEVICE_TAG(device, tag) \ argument
23 #define FOREACH_DEVICE_CURRENT_TAG(device, tag) \ argument
28 #define FOREACH_DEVICE_SYSATTR(device, attr) \ argument
33 #define FOREACH_DEVICE_DEVLINK(device, devlink) \ argument
38 #define FOREACH_DEVICE(enumerator, device) \ argument
43 #define FOREACH_SUBSYSTEM(enumerator, device) \ argument
48 #define log_device_full_errno_zerook(device, level, error, ...) \ argument
61 #define log_device_full_errno(device, level, error, ...) \ argument
68 #define log_device_full(device, level, ...) (void) log_device_full_errno_zerook(device, level, 0, _… argument
[all …]
Ddevice-private.c31 int device_add_property(sd_device *device, const char *key, const char *value) { in device_add_property()
50 int device_add_propertyf(sd_device *device, const char *key, const char *format, ...) { in device_add_propertyf()
71 void device_set_devlink_priority(sd_device *device, int priority) { in device_set_devlink_priority()
77 void device_set_is_initialized(sd_device *device) { in device_set_is_initialized()
83 int device_ensure_usec_initialized(sd_device *device, sd_device *device_old) { in device_ensure_usec_initialized()
96 uint64_t device_get_properties_generation(sd_device *device) { in device_get_properties_generation()
102 uint64_t device_get_tags_generation(sd_device *device) { in device_get_tags_generation()
108 uint64_t device_get_devlinks_generation(sd_device *device) { in device_get_devlinks_generation()
114 int device_get_devnode_mode(sd_device *device, mode_t *ret) { in device_get_devnode_mode()
132 int device_get_devnode_uid(sd_device *device, uid_t *ret) { in device_get_devnode_uid()
[all …]
Dsd-device.c39 sd_device *device; in device_new_aux() local
60 static sd_device *device_free(sd_device *device) { in device_free()
88 int device_add_property_aux(sd_device *device, const char *key, const char *value, bool db) { in device_add_property_aux()
140 int device_set_syspath(sd_device *device, const char *_syspath, bool verify) { in device_set_syspath()
522 int device_set_devtype(sd_device *device, const char *devtype) { in device_set_devtype()
540 int device_set_ifindex(sd_device *device, const char *name) { in device_set_ifindex()
559 int device_set_devname(sd_device *device, const char *devname) { in device_set_devname()
580 int device_set_devmode(sd_device *device, const char *_devmode) { in device_set_devmode()
603 int device_set_devnum(sd_device *device, const char *major, const char *minor) { in device_set_devnum()
641 int device_set_diskseq(sd_device *device, const char *str) { in device_set_diskseq()
[all …]
Dtest-sd-device-monitor.c54 static void test_send_receive_one(sd_device *device, bool subsystem_filter, bool tag_filter, bool u… in test_send_receive_one()
89 static void test_subsystem_filter(sd_device *device) { in test_subsystem_filter()
127 static void test_tag_filter(sd_device *device) { in test_tag_filter()
163 static void test_sysattr_filter(sd_device *device, const char *sysattr) { in test_sysattr_filter()
205 static void test_parent_filter(sd_device *device) { in test_parent_filter()
249 static void test_sd_device_monitor_filter_remove(sd_device *device) { in test_sd_device_monitor_filter_remove()
278 static void test_device_copy_properties(sd_device *device) { in test_device_copy_properties()
Ddevice-util.c8 static bool device_match_sysattr_value(sd_device *device, const char *sysattr, const char *match_va… in device_match_sysattr_value()
26 bool device_match_sysattr(sd_device *device, Hashmap *match_sysattr, Hashmap *nomatch_sysattr) { in device_match_sysattr()
43 bool device_match_parent(sd_device *device, Set *match_parent, Set *nomatch_parent) { in device_match_parent()
Ddevice-private.h64 static inline int device_read_db(sd_device *device) { in device_read_db()
Ddevice-enumerator-private.h29 #define FOREACH_DEVICE_AND_SUBSYSTEM(enumerator, device) \ argument
Ddevice-enumerator.c342 sd_device *device; in enumerator_sort_devices() local
445 int device_enumerator_add_device(sd_device_enumerator *enumerator, sd_device *device) { in device_enumerator_add_device()
468 static bool match_property(sd_device_enumerator *enumerator, sd_device *device) { in match_property()
499 static bool match_tag(sd_device_enumerator *enumerator, sd_device *device) { in match_tag()
519 static int match_initialized(sd_device_enumerator *enumerator, sd_device *device) { in match_initialized()
553 sd_device *device, in test_matches()
594 sd_device *device, in enumerator_add_parent_devices()
653 int device_enumerator_add_parent_devices(sd_device_enumerator *enumerator, sd_device *device) { in device_enumerator_add_parent_devices()
/systemd-251/src/udev/
Dudev-netlink.c123 static int cache_unsigned(sd_device *device, const char *attr, uint64_t val) { in cache_unsigned()
144 static int cache_hw_addr(sd_device *device, const char *attr, const struct hw_addr_data *hw_addr) { in cache_hw_addr()
167 static int cache_binary(sd_device *device, const char *attr, size_t len, const uint8_t *data) { in cache_binary()
200 static int cache_string(sd_device *device, const char *attr, const char *val) { in cache_string()
224 int device_cache_sysattr_from_link_info(sd_device *device, LinkInfo *info) { in device_cache_sysattr_from_link_info()
295 sd_device *device, in device_get_sysattr_value_maybe_from_netlink()
Dudevadm-info.c86 static int print_all_attributes(sd_device *device, bool is_parent) { in print_all_attributes()
154 static int print_device_chain(sd_device *device) { in print_device_chain()
181 static int print_record(sd_device *device, const char *prefix) { in print_record()
405 static int query_device(QueryType query, sd_device* device) { in query_device()
512 sd_device *device, in output_tree_device()
569 sd_device *device = array[i]; in draw_tree() local
/systemd-251/src/libudev/
Dtest-libudev.c21 static void print_device(struct udev_device *device) { in print_device()
93 _cleanup_(udev_device_unrefp) struct udev_device *device; in test_device() local
104 _cleanup_(udev_device_unrefp) struct udev_device *device; in test_device_parents() local
129 _cleanup_(udev_device_unrefp) struct udev_device *device; in test_device_devnum() local
141 _cleanup_(udev_device_unrefp) struct udev_device *device; in test_device_subsys_name() local
156 struct udev_device *device; in enumerate_print_list() local
206 struct udev_device *device; in test_monitor() local
/systemd-251/tools/
Dmake-autosuspend-rules.py12 vendor, device = entry.split(':') variable
14 device = int(device, 16) variable
/systemd-251/src/backlight/
Dbacklight.c47 static int find_pci_or_platform_parent(sd_device *device, sd_device **ret) { in find_pci_or_platform_parent()
131 static int validate_device(sd_device *device) { in validate_device()
229 static int get_max_brightness(sd_device *device, unsigned *ret) { in get_max_brightness()
247 static int clamp_brightness(sd_device *device, bool saved, unsigned max_brightness, unsigned *brigh… in clamp_brightness()
304 static int read_brightness(sd_device *device, unsigned max_brightness, unsigned *ret_brightness) { in read_brightness()
/systemd-251/src/shared/
Dnetif-util.c29 int net_get_type_string(sd_device *device, uint16_t iftype, char **ret) { in net_get_type_string()
56 const char *net_get_persistent_name(sd_device *device) { in net_get_persistent_name()
73 int net_get_unique_predictable_data(sd_device *device, bool use_sysname, uint64_t *ret) { in net_get_unique_predictable_data()
Dudev-util.c152 sd_device *device; member
161 static int device_monitor_handler(sd_device_monitor *monitor, sd_device *device, void *userdata) { in device_monitor_handler()
304 int device_wait_for_initialization(sd_device *device, const char *subsystem, usec_t deadline, sd_de… in device_wait_for_initialization()
340 void log_device_uevent(sd_device *device, const char *str) { in log_device_uevent()
589 static int device_is_power_sink(sd_device *device) { in device_is_power_sink()
/systemd-251/src/hibernate-resume/
Dhibernate-resume.c15 const char *device; in main() local
/systemd-251/src/sysupdate/
Dsysupdate-partition.c109 _cleanup_free_ char *label_copy = NULL, *device = NULL; in read_partition_info() local
200 const char *device, in find_suitable_partition()
266 const char *device, in patch_partition()
/systemd-251/src/cryptenroll/
Dcryptenroll-fido2.h13 … crypt_device *cd, const void *volume_key, size_t volume_key_size, const char *device, Fido2Enroll… in enroll_fido2()
Dcryptenroll-tpm2.h12 … crypt_device *cd, const void *volume_key, size_t volume_key_size, const char *device, uint32_t pc… in enroll_tpm2()
Dcryptenroll-fido2.c14 const char *device, in enroll_fido2()
/systemd-251/coccinelle/
Dmacros.h223 #define FOREACH_DEVICE_PROPERTY(device, key, value) YACFE_ITERATOR argument
224 #define FOREACH_DEVICE_TAG(device, tag) YACFE_ITERATOR argument
225 #define FOREACH_DEVICE_CURRENT_TAG(device, tag) YACFE_ITERATOR argument
226 #define FOREACH_DEVICE_SYSATTR(device, attr) YACFE_ITERATOR argument
227 #define FOREACH_DEVICE_DEVLINK(device, devlink) YACFE_ITERATOR argument
228 #define FOREACH_DEVICE(enumerator, device) YACFE_ITERATOR argument
229 #define FOREACH_SUBSYSTEM(enumerator, device) YACFE_ITERATOR argument
/systemd-251/src/udev/v4l_id/
Dv4l_id.c38 char *device; in main() local
/systemd-251/src/partition/
Dmakefs.c21 _cleanup_free_ char *device = NULL, *fstype = NULL, *detected = NULL; in run() local
/systemd-251/src/udev/fido_id/
Dfido_id.c29 _cleanup_(sd_device_unrefp) struct sd_device *device = NULL; in run() local
/systemd-251/src/login/
Dlogind-brightness.c33 sd_device *device; member
187 sd_device *device, in manager_write_brightness()

123