Home
last modified time | relevance | path

Searched refs:subsys (Results 1 – 10 of 10) sorted by relevance

/third_party/eudev/src/udev/
Dudevadm-monitor.c121 char subsys[UTIL_NAME_SIZE]; in adm_monitor() local
124 strscpy(subsys, sizeof(subsys), optarg); in adm_monitor()
125 devtype = strchr(subsys, '/'); in adm_monitor()
130 udev_list_entry_add(&subsystem_match_list, subsys, devtype); in adm_monitor()
180 const char *subsys = udev_list_entry_get_name(entry); in adm_monitor() local
183 … if (udev_monitor_filter_add_match_subsystem_devtype(udev_monitor, subsys, devtype) < 0) in adm_monitor()
184 … fprintf(stderr, "error: unable to apply subsystem filter '%s'\n", subsys); in adm_monitor()
222 const char *subsys = udev_list_entry_get_name(entry); in adm_monitor() local
224 … if (udev_monitor_filter_add_match_subsystem_devtype(kernel_monitor, subsys, NULL) < 0) in adm_monitor()
225 … fprintf(stderr, "error: unable to apply subsystem filter '%s'\n", subsys); in adm_monitor()
Dudev-builtin-path_id.c77 static struct udev_device *skip_subsystem(struct udev_device *dev, const char *subsys) { in skip_subsystem() argument
84 if (subsystem == NULL || !streq(subsystem, subsys)) in skip_subsystem()
595 const char *subsys; in builtin_path_id() local
597 subsys = udev_device_get_subsystem(parent); in builtin_path_id()
598 if (subsys == NULL) { in builtin_path_id()
600 } else if (streq(subsys, "scsi_tape")) { in builtin_path_id()
602 } else if (streq(subsys, "scsi")) { in builtin_path_id()
605 } else if (streq(subsys, "cciss")) { in builtin_path_id()
608 } else if (streq(subsys, "usb")) { in builtin_path_id()
611 } else if (streq(subsys, "bcma")) { in builtin_path_id()
[all …]
/third_party/ltp/testcases/kernel/controllers/cgroup/
Dcgroup_regression_test.sh307 local subsys=$1
313 local subsys_path=$(get_cgroup_mountpoint $subsys)
316 mount -t cgroup -o $subsys xxx cgroup/
318 tst_res TFAIL "failed to mount $subsys"
341 local subsys=$1
355 mount -t cgroup -o remount,$subsys xxx cgroup/ 2> /dev/null
377 local subsys
386 subsys=`tail -n 1 /proc/cgroups | awk '{ print $1 }'`
390 test_7_$i $subsys || return
/third_party/eudev/src/libudev/
Dlibudev-util.c56 char *subsys; in util_resolve_subsys_kernel() local
66 subsys = &temp[1]; in util_resolve_subsys_kernel()
68 sysname = strchr(subsys, '/'); in util_resolve_subsys_kernel()
87 dev = udev_device_new_from_subsystem_sysname(udev, subsys, sysname); in util_resolve_subsys_kernel()
99 log_debug("value '[%s/%s]%s' is '%s'", subsys, sysname, attr, result); in util_resolve_subsys_kernel()
108 log_debug("path '[%s/%s]%s' is '%s'", subsys, sysname, attr, result); in util_resolve_subsys_kernel()
Dlibudev-device.c882 char subsys[UTIL_PATH_SIZE]; in udev_device_new_from_device_id() local
926 strscpy(subsys, sizeof(subsys), &id[1]); in udev_device_new_from_device_id()
927 sysname = strchr(subsys, ':'); in udev_device_new_from_device_id()
934 return udev_device_new_from_subsystem_sysname(udev, subsys, sysname); in udev_device_new_from_device_id()
984 char subsys[UTIL_NAME_SIZE]; in udev_device_new_from_subsystem_sysname() local
987 strscpy(subsys, sizeof(subsys), sysname); in udev_device_new_from_subsystem_sysname()
988 driver = strchr(subsys, ':'); in udev_device_new_from_subsystem_sysname()
993 … strscpyl(path, sizeof(path), "/sys/subsystem/", subsys, "/drivers/", driver, NULL); in udev_device_new_from_subsystem_sysname()
997 … strscpyl(path, sizeof(path), "/sys/bus/", subsys, "/drivers/", driver, NULL); in udev_device_new_from_subsystem_sysname()
Dlibudev-monitor.c490 const char *subsys = udev_list_entry_get_name(list_entry); in passes_filter() local
495 if (!streq(dsubsys, subsys)) in passes_filter()
/third_party/libnl/include/netlink/netfilter/
Dnfnl.h24 #define NFNLMSG_TYPE(subsys, subtype) (((subsys) << 8) | (subtype)) argument
/third_party/ltp/testcases/kernel/device-drivers/base/tbase/
Dtbase.c579 struct subsystem *subsys = NULL; in test_reg_firm() local
582 if (!(subsys = &test_bus_type.subsys)) { in test_reg_firm()
588 firmware_unregister(subsys); in test_reg_firm()
591 if (firmware_register(subsys)) { in test_reg_firm()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_uio.h1270 uint32_t subsys; member
Dsctputil.c8017 sctp_log_trace(uint32_t subsys, const char *str SCTP_UNUSED, uint32_t a, uint32_t b, uint32_t c, ui… argument
8037 SCTP_BASE_SYSCTL(sctp_log)->entry[saveindex].subsys = subsys;
8057 SCTP_BASE_SYSCTL(sctp_log).entry[saveindex].subsys = subsys;