Lines Matching refs:sd_device

48 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 *device) {
282 uint64_t device_get_devlinks_generation(sd_device *device) {
288 int device_get_devnode_mode(sd_device *device, mode_t *mode) {
303 int device_get_devnode_uid(sd_device *device, uid_t *uid) {
318 static int device_set_devuid(sd_device *device, const char *uid) {
338 int device_get_devnode_gid(sd_device *device, gid_t *gid) {
353 static int device_set_devgid(sd_device *device, const char *gid) {
373 static int device_amend(sd_device *device, const char *key, const char *value) {
473 static int device_append(sd_device *device, char *key, const char **_major, const char **_minor, uint64_t *_seqnum,
536 void device_seal(sd_device *device) {
542 static int device_verify(sd_device *device, DeviceAction action, uint64_t seqnum) {
555 int device_new_from_strv(sd_device **ret, char **strv) {
556 _cleanup_(sd_device_unrefp) sd_device *device = NULL;
592 int device_new_from_nulstr(sd_device **ret, uint8_t *nulstr, size_t len) {
593 _cleanup_(sd_device_unrefp) sd_device *device = NULL;
641 static int device_update_properties_bufs(sd_device *device) {
691 int device_get_properties_nulstr(sd_device *device, const uint8_t **nulstr, size_t *len) {
708 int device_get_properties_strv(sd_device *device, char ***strv) {
723 int device_get_devlink_priority(sd_device *device, int *priority) {
738 int device_get_watch_handle(sd_device *device, int *handle) {
753 void device_set_watch_handle(sd_device *device, int handle) {
759 int device_rename(sd_device *device, const char *name) {
795 int device_shallow_clone(sd_device *old_device, sd_device **new_device) {
796 _cleanup_(sd_device_unrefp) sd_device *ret = NULL;
822 int device_clone_with_db(sd_device *old_device, sd_device **new_device) {
823 _cleanup_(sd_device_unrefp) sd_device *ret = NULL;
845 int device_new_from_synthetic_event(sd_device **new_device, const char *syspath, const char *action) {
846 _cleanup_(sd_device_unrefp) sd_device *ret = NULL;
871 int device_copy_properties(sd_device *device_dst, sd_device *device_src) {
887 void device_cleanup_tags(sd_device *device) {
896 void device_cleanup_devlinks(sd_device *device) {
905 void device_remove_tag(sd_device *device, const char *tag) {
914 static int device_tag(sd_device *device, const char *tag, bool add) {
941 int device_tag_index(sd_device *device, sd_device *device_old, bool add) {
965 static bool device_has_info(sd_device *device) {
986 void device_set_db_persist(sd_device *device) {
992 int device_update_db(sd_device *device) {
1095 int device_delete_db(sd_device *device) {
1115 int device_read_db_force(sd_device *device) {