Searched refs:sysattrs (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/libudev/ |
D | libudev-device.c | 67 struct udev_list *sysattrs; member 203 … udev_list *properties = NULL, *all_tags = NULL, *current_tags = NULL, *sysattrs = NULL, *devlinks… in udev_device_new() local 217 sysattrs = udev_list_new(true); in udev_device_new() 218 if (!sysattrs) in udev_device_new() 235 .sysattrs = TAKE_PTR(sysattrs), in udev_device_new() 482 udev_list_free(udev_device->sysattrs); in udev_device_free() 792 udev_list_cleanup(udev_device->sysattrs); in udev_device_get_sysattr_list_entry() 795 if (!udev_list_entry_add(udev_device->sysattrs, sysattr, NULL)) in udev_device_get_sysattr_list_entry() 801 return udev_list_get_entry(udev_device->sysattrs); in udev_device_get_sysattr_list_entry()
|
/systemd-251/src/udev/ |
D | udevadm-info.c | 87 _cleanup_free_ SysAttr *sysattrs = NULL; in print_all_attributes() local 134 if (!GREEDY_REALLOC(sysattrs, n_items + 1)) in print_all_attributes() 137 sysattrs[n_items] = (SysAttr) { in print_all_attributes() 144 typesafe_qsort(sysattrs, n_items, sysattr_compare); in print_all_attributes() 147 … printf(" %s{%s}==\"%s\"\n", is_parent ? "ATTRS" : "ATTR", sysattrs[i].name, sysattrs[i].value); in print_all_attributes()
|
/systemd-251/src/libsystemd/sd-device/ |
D | device-internal.h | 38 Set *sysattrs; /* names of sysattrs */ member
|
D | sd-device.c | 78 set_free(device->sysattrs); in device_free() 1910 r = set_put_strdup(&device->sysattrs, p ?: de->d_name); in device_sysattrs_read_all_internal() 1951 (void) set_iterate(device->sysattrs, &device->sysattrs_iterator, &v); in sd_device_get_sysattr_first() 1963 (void) set_iterate(device->sysattrs, &device->sysattrs_iterator, &v); in sd_device_get_sysattr_next()
|