Home
last modified time | relevance | path

Searched refs:sys_name (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/third_party/libusb/src/libusb/os/
Dlinux_udev.c200 uint8_t *devaddr, const char **sys_name) { in udev_device_info() argument
208 *sys_name = udev_device_get_sysname(udev_dev); in udev_device_info()
209 if (!*sys_name) { in udev_device_info()
214 dev_node, *sys_name); in udev_device_info()
220 const char* sys_name = NULL; in udev_hotplug_event() local
233 r = udev_device_info(NULL, detached, udev_dev, &busnum, &devaddr, &sys_name); in udev_hotplug_event()
241 linux_hotplug_enumerate(busnum, devaddr, sys_name); in udev_hotplug_event()
243 linux_device_disconnected(busnum, devaddr, sys_name); in udev_hotplug_event()
257 const char *sys_name; in linux_udev_scan_devices() local
278 r = udev_device_info(ctx, 0, udev_dev, &busnum, &devaddr, &sys_name); in linux_udev_scan_devices()
[all …]
Dlinux_netlink.c196 static int linux_netlink_parse(char *buffer, size_t len, int *detached, const char **sys_name, in linux_netlink_parse() argument
203 *sys_name = NULL; in linux_netlink_parse()
255 *sys_name = tmp + i + 1; in linux_netlink_parse()
270 const char *sys_name = NULL; in linux_netlink_read_message() local
286 r = linux_netlink_parse(buffer, len, &detached, &sys_name, in linux_netlink_read_message()
292 busnum, devaddr, sys_name, detached ? "yes" : "no"); in linux_netlink_read_message()
296 linux_device_disconnected(busnum, devaddr, sys_name); in linux_netlink_read_message()
298 linux_hotplug_enumerate(busnum, devaddr, sys_name); in linux_netlink_read_message()
Dlinux_usbfs.h172 void linux_hotplug_enumerate(uint8_t busnum, uint8_t devaddr, const char *sys_name);
173 void linux_device_disconnected(uint8_t busnum, uint8_t devaddr, const char *sys_name);
177 const char *sys_name);
Dlinux_usbfs.c608 const char *sys_name) in linux_get_device_address() argument
612 usbi_dbg("getting address for device: %s detached: %d", sys_name, detached); in linux_get_device_address()
615 if (!sysfs_can_relate_devices || detached || NULL == sys_name) { in linux_get_device_address()
630 usbi_dbg("scan %s", sys_name); in linux_get_device_address()
632 sysfs_attr = __read_sysfs_attr(ctx, sys_name, "busnum"); in linux_get_device_address()
639 sysfs_attr = __read_sysfs_attr(ctx, sys_name, "devnum"); in linux_get_device_address()
1082 void linux_hotplug_enumerate(uint8_t busnum, uint8_t devaddr, const char *sys_name) in linux_hotplug_enumerate() argument
1088 linux_enumerate_device(ctx, busnum, devaddr, sys_name); in linux_hotplug_enumerate()
1093 void linux_device_disconnected(uint8_t busnum, uint8_t devaddr, const char *sys_name) in linux_device_disconnected() argument
/external/strace/
Dcount.c118 return strcmp(sysent[*((int *) a)].sys_name, in syscall_cmp()
119 sysent[*((int *) b)].sys_name); in syscall_cmp()
215 error_str, sysent[idx].sys_name); in call_summary_pers()
Dsyscall.c447 if (sysent_vec[p][i].sys_name in qual_syscall()
448 && strcmp(s, sysent_vec[p][i].sys_name) == 0 in qual_syscall()
1570 .sys_name = "unknown", /* not used */ in get_scno()
1992 tprintf("%s(", tcp->s_ent->sys_name); in trace_syscall_entering()
2054 tprintf("%s(", tcp->s_ent->sys_name); in trace_syscall_entering()
2565 tprintf("<... %s resumed> ", tcp->s_ent->sys_name); in trace_syscall_exiting()
Ddefs.h394 const char *sys_name; member
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dparse-events.c377 char *sys_name, char *evt_name) in add_tracepoint() argument
381 evsel = perf_evsel__newtp(sys_name, evt_name, (*idx)++); in add_tracepoint()
391 char *sys_name, char *evt_name) in add_tracepoint_multi_event() argument
398 snprintf(evt_path, MAXPATHLEN, "%s/%s", tracing_events_path, sys_name); in add_tracepoint_multi_event()
415 ret = add_tracepoint(list, idx, sys_name, evt_ent->d_name); in add_tracepoint_multi_event()
423 char *sys_name, char *evt_name) in add_tracepoint_event() argument
426 add_tracepoint_multi_event(list, idx, sys_name, evt_name) : in add_tracepoint_event()
427 add_tracepoint(list, idx, sys_name, evt_name); in add_tracepoint_event()
431 char *sys_name, char *evt_name) in add_tracepoint_multi_sys() argument
451 if (!strglobmatch(events_ent->d_name, sys_name)) in add_tracepoint_multi_sys()
/external/linux-tools-perf/perf-3.12.0/tools/lib/traceevent/
Dparse-filter.c270 char *sys_name, char *event_name) in find_event() argument
282 event_name = sys_name; in find_event()
283 sys_name = NULL; in find_event()
295 if (sys_name) { in find_event()
296 reg = malloc_or_die(strlen(sys_name) + 3); in find_event()
297 sprintf(reg, "^%s$", sys_name); in find_event()
308 if (event_match(event, sys_name ? &sreg : NULL, &ereg)) { in find_event()
315 if (sys_name) in find_event()
1184 char *sys_name = NULL; in pevent_filter_add_filter_str() local
1222 sys_name = strtok_r(this_event, "/", &sp); in pevent_filter_add_filter_str()
[all …]
Devent-parse.c73 const char *sys_name; member
4876 int id, const char *sys_name, in event_matches() argument
4885 if (sys_name && (strcmp(sys_name, event->system) != 0)) in event_matches()
4893 free((void *)handle->sys_name); in free_handler()
4906 handle->sys_name, in find_event_handle()
5454 const char *sys_name, const char *event_name, in pevent_register_event_handler() argument
5467 if (sys_name && (strcmp(sys_name, event->system) != 0)) in pevent_register_event_handler()
5470 event = pevent_find_event_by_name(pevent, sys_name, event_name); in pevent_register_event_handler()
5493 if (sys_name) in pevent_register_event_handler()
5494 handle->sys_name = strdup(sys_name); in pevent_register_event_handler()
[all …]
Devent-parse.h567 const char *sys_name, const char *event_name,