/external/ltp/testcases/kernel/syscalls/utils/ |
D | compat_tst_16.h | 41 # define TST_CREATE_SYSCALL(sys_name, ...) ({ \ argument 42 if (__NR_##sys_name##32 != __LTP__NR_INVALID_SYSCALL) { \ 43 return tst_syscall(__NR_##sys_name, ##__VA_ARGS__); \ 47 "platform", #sys_name); \ 52 # define TST_CREATE_SYSCALL(sys_name, ...) ({\ argument 53 return sys_name(__VA_ARGS__); \ 57 #define UID16_CHECK(uid, sys_name) ({ \ argument 61 "version of %s()", uid, #uid, #sys_name); \ 64 #define GID16_CHECK(gid, sys_name) ({ \ argument 68 "version of %s()", gid, #gid, #sys_name); \
|
D | compat_16.h | 46 # define LTP_CREATE_SYSCALL(sys_name, cleanup, ...) \ argument 47 if (__NR_##sys_name##32 != __LTP__NR_INVALID_SYSCALL) { \ 48 return tst_syscall(__NR_##sys_name, ##__VA_ARGS__); \ 52 "platform", #sys_name); \ 55 # define LTP_CREATE_SYSCALL(sys_name, cleanup, ...) \ argument 57 return sys_name(__VA_ARGS__) 60 #define UID16_CHECK(uid, sys_name, cleanup) \ argument 64 "of %s()", uid, #uid, #sys_name); \ 67 #define GID16_CHECK(gid, sys_name, cleanup) \ argument 71 "of %s()", gid, #gid, #sys_name); \
|
/external/perfetto/tools/ |
D | run_buildtools_binary.py | 33 sys_name = system().lower() 36 if sys_name == 'windows': 39 elif sys_name == 'darwin': 41 elif sys_name == 'linux': 44 print('OS not supported: %s\n' % sys_name) 56 if sys_name == 'windows':
|
/external/libusb/libusb/os/ |
D | linux_udev.c | 211 uint8_t *devaddr, const char **sys_name) { in udev_device_info() argument 219 *sys_name = udev_device_get_sysname(udev_dev); in udev_device_info() 220 if (!*sys_name) { in udev_device_info() 225 dev_node, *sys_name, -1); in udev_device_info() 231 const char *sys_name = NULL; in udev_hotplug_event() local 244 r = udev_device_info(NULL, detached, udev_dev, &busnum, &devaddr, &sys_name); in udev_hotplug_event() 252 linux_hotplug_enumerate(busnum, devaddr, sys_name); in udev_hotplug_event() 270 const char *sys_name; in linux_udev_scan_devices() local 293 r = udev_device_info(ctx, 0, udev_dev, &busnum, &devaddr, &sys_name); in linux_udev_scan_devices() 299 linux_enumerate_device(ctx, busnum, devaddr, sys_name); in linux_udev_scan_devices()
|
D | linux_netlink.c | 190 const char **sys_name, uint8_t *busnum, uint8_t *devaddr) in linux_netlink_parse() argument 196 *sys_name = NULL; in linux_netlink_parse() 276 *sys_name = slash + 1; in linux_netlink_parse() 286 const char *sys_name = NULL; in linux_netlink_read_message() local 331 r = linux_netlink_parse(msg_buffer, (size_t)len, &detached, &sys_name, &busnum, &devaddr); in linux_netlink_read_message() 336 busnum, devaddr, sys_name, detached ? "yes" : "no"); in linux_netlink_read_message() 342 linux_hotplug_enumerate(busnum, devaddr, sys_name); in linux_netlink_read_message()
|
D | linux_usbfs.h | 202 void linux_hotplug_enumerate(uint8_t busnum, uint8_t devaddr, const char *sys_name); 207 const char *sys_name, int fd);
|
D | linux_usbfs.c | 586 const char *sys_name, int fd) in linux_get_device_address() argument 591 usbi_dbg(ctx, "getting address for device: %s detached: %d", sys_name, detached); in linux_get_device_address() 594 if (!sysfs_available || detached || !sys_name) { in linux_get_device_address() 620 usbi_dbg(ctx, "scan %s", sys_name); in linux_get_device_address() 622 r = read_sysfs_attr(ctx, sys_name, "busnum", UINT8_MAX, &sysfs_val); in linux_get_device_address() 627 r = read_sysfs_attr(ctx, sys_name, "devnum", UINT8_MAX, &sysfs_val); in linux_get_device_address() 1136 void linux_hotplug_enumerate(uint8_t busnum, uint8_t devaddr, const char *sys_name) in linux_hotplug_enumerate() argument 1142 linux_enumerate_device(ctx, busnum, devaddr, sys_name); in linux_hotplug_enumerate()
|
/external/ltp/testcases/commands/sysctl/ |
D | sysctl02.sh | 25 sys_name="fs.file-max" 48 tst_res TINFO "trying to set $sys_name=$test_value" 49 sysctl -w -q $sys_name=$test_value 2>/dev/null 65 ROD sysctl -w -q $sys_name=0 76 [ -n "$orig_value" ] && sysctl -w -q $sys_name=$orig_value
|
/external/strace/tests-m32/ |
D | ksysent.c | 59 if (i >= ARRAY_SIZE(syscallent) || !syscallent[i].sys_name) { in main() 85 if (strcmp(ksyslist[i], syscallent[i].sys_name)) { in main() 88 ksyslist[i], i, syscallent[i].sys_name); in main() 95 if (!syscallent[i].sys_name in main() 114 i, syscallent[i].sys_name); in main()
|
/external/strace/tests-mx32/ |
D | ksysent.c | 59 if (i >= ARRAY_SIZE(syscallent) || !syscallent[i].sys_name) { in main() 85 if (strcmp(ksyslist[i], syscallent[i].sys_name)) { in main() 88 ksyslist[i], i, syscallent[i].sys_name); in main() 95 if (!syscallent[i].sys_name in main() 114 i, syscallent[i].sys_name); in main()
|
/external/strace/tests/ |
D | ksysent.c | 59 if (i >= ARRAY_SIZE(syscallent) || !syscallent[i].sys_name) { in main() 85 if (strcmp(ksyslist[i], syscallent[i].sys_name)) { in main() 88 ksyslist[i], i, syscallent[i].sys_name); in main() 95 if (!syscallent[i].sys_name in main() 114 i, syscallent[i].sys_name); in main()
|
/external/strace/ |
D | basic_filters.c | 133 if (!sysent_vec[p][i].sys_name) in qualify_syscall_regex() 136 rc = regexec(&preg, sysent_vec[p][i].sys_name, in qualify_syscall_regex() 142 sysent_vec[p][i].sys_name); in qualify_syscall_regex() 213 if (sysent_vec[p][i].sys_name && in qualify_syscall_class() 229 if (sysent_vec[p][i].sys_name && in scno_by_name() 230 strcmp(s, sysent_vec[p][i].sys_name) == 0) in scno_by_name()
|
D | count.c | 87 const char *a_name = sysent[*((int *) a)].sys_name; in syscall_cmp() 88 const char *b_name = sysent[*((int *) b)].sys_name; in syscall_cmp() 179 cc->calls, cc->errors, sysent[idx].sys_name); in call_summary_pers()
|
D | sysent.h | 9 const char *sys_name; member
|
D | syscall.c | 619 tprintf("%s(", scno_good == 1 ? tcp->s_ent->sys_name : "????"); in syscall_entering_decode() 701 tprintf("%s(", tcp->s_ent->sys_name); in syscall_entering_trace() 770 tprintf("<... %s resumed> ", tcp->s_ent->sys_name); in syscall_exiting_trace() 1221 s->ent.sys_name = s->buf; in get_scno() 1285 return scno_is_valid(scno) ? sysent[scno].sys_name : NULL; in syscall_name()
|
D | signal.c | 687 tcp->s_prev_ent ? tcp->s_prev_ent->sys_name : "system call"); in SYS_FUNC()
|
/external/libbrillo/brillo/udev/ |
D | udev.cc | 77 const char* subsystem, const char* sys_name) { in CreateDeviceFromSubsystemSysName() argument 79 udev_device_new_from_subsystem_sysname(udev_, subsystem, sys_name); in CreateDeviceFromSubsystemSysName() 86 udev_, subsystem, sys_name); in CreateDeviceFromSubsystemSysName()
|
D | udev_enumerate.cc | 90 bool UdevEnumerate::AddMatchSysName(const char* sys_name) { in AddMatchSysName() argument 91 int result = udev_enumerate_add_match_sysname(enumerate_, sys_name); in AddMatchSysName() 97 sys_name, result); in AddMatchSysName()
|
D | udev_enumerate.h | 48 virtual bool AddMatchSysName(const char* sys_name);
|
D | udev.h | 42 const char* subsystem, const char* sys_name);
|
/external/bcc/tools/ |
D | shmsnoop.py | 215 def sys_name(sys): function 282 event.comm.decode(), sys_name(event.sys), event.ret), end = '')
|
/external/libtraceevent/src/ |
D | parse-filter.c | 255 char *sys_name, char *event_name) in find_event() argument 268 event_name = sys_name; in find_event() 269 sys_name = NULL; in find_event() 282 if (sys_name) { in find_event() 283 ret = asprintf(®, "^%s$", sys_name); in find_event() 299 if (event_match(event, sys_name ? &sreg : NULL, &ereg)) { in find_event() 309 if (sys_name) in find_event() 1266 char *sys_name = NULL; in tep_filter_add_filter_str() local 1304 sys_name = strtok_r(this_event, "/", &sp); in tep_filter_add_filter_str() 1307 if (!sys_name) { in tep_filter_add_filter_str() [all …]
|
D | event-parse.c | 82 const char *sys_name; member 7668 int id, const char *sys_name, in event_matches() argument 7677 if (sys_name && (strcmp(sys_name, event->system) != 0)) in event_matches() 7685 free((void *)handle->sys_name); in free_handler() 7698 handle->sys_name, in find_event_handle() 8267 const char *sys_name, in search_event() argument 8279 if (sys_name && (strcmp(sys_name, event->system) != 0)) in search_event() 8282 event = tep_find_event_by_name(tep, sys_name, event_name); in search_event() 8313 const char *sys_name, const char *event_name, in tep_register_event_handler() argument 8319 event = search_event(tep, id, sys_name, event_name); in tep_register_event_handler() [all …]
|
/external/libtraceevent/include/traceevent/ |
D | event-parse.h | 512 const char *sys_name, const char *event_name, 515 const char *sys_name, const char *event_name,
|
/external/libtraceevent/Documentation/ |
D | libtraceevent-reg_event_handler.txt | 21 …vent_handler*(struct tep_handle pass:[*]tep, int id, const char pass:[*]sys_name, const char pass:…
|