/external/ltp/testcases/kernel/syscalls/utils/ |
D | compat_tst_16.h | 43 # define TST_CREATE_SYSCALL(sys_name, ...) ({ \ argument 44 if (__NR_##sys_name##32 != __LTP__NR_INVALID_SYSCALL) { \ 45 return tst_syscall(__NR_##sys_name, ##__VA_ARGS__); \ 49 "platform", #sys_name); \ 54 # define TST_CREATE_SYSCALL(sys_name, ...) ({\ argument 55 return sys_name(__VA_ARGS__); \ 59 #define UID16_CHECK(uid, sys_name) ({ \ argument 63 "version of %s()", uid, #uid, #sys_name); \ 66 #define GID16_CHECK(gid, sys_name) ({ \ argument 70 "version of %s()", gid, #gid, #sys_name); \
|
D | compat_16.h | 48 # define LTP_CREATE_SYSCALL(sys_name, cleanup, ...) \ argument 49 if (__NR_##sys_name##32 != __LTP__NR_INVALID_SYSCALL) { \ 50 return ltp_syscall(__NR_##sys_name, ##__VA_ARGS__); \ 54 "platform", #sys_name); \ 57 # define LTP_CREATE_SYSCALL(sys_name, cleanup, ...) \ argument 59 return sys_name(__VA_ARGS__) 62 #define UID16_CHECK(uid, sys_name, cleanup) \ argument 66 "of %s()", uid, #uid, #sys_name); \ 69 #define GID16_CHECK(gid, sys_name, cleanup) \ argument 73 "of %s()", gid, #gid, #sys_name); \
|
/external/libusb/libusb/os/ |
D | linux_udev.c | 200 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() 257 const char *sys_name; in linux_udev_scan_devices() local 279 r = udev_device_info(ctx, 0, udev_dev, &busnum, &devaddr, &sys_name); in linux_udev_scan_devices() 285 linux_enumerate_device(ctx, busnum, devaddr, sys_name); in linux_udev_scan_devices()
|
D | linux_netlink.c | 199 const char **sys_name, uint8_t *busnum, uint8_t *devaddr) in linux_netlink_parse() argument 205 *sys_name = NULL; in linux_netlink_parse() 285 *sys_name = slash + 1; in linux_netlink_parse() 295 const char *sys_name = NULL; in linux_netlink_read_message() local 340 r = linux_netlink_parse(msg_buffer, (size_t)len, &detached, &sys_name, &busnum, &devaddr); in linux_netlink_read_message() 345 busnum, devaddr, sys_name, detached ? "yes" : "no"); in linux_netlink_read_message() 351 linux_hotplug_enumerate(busnum, devaddr, sys_name); in linux_netlink_read_message()
|
D | linux_usbfs.h | 184 void linux_hotplug_enumerate(uint8_t busnum, uint8_t devaddr, const char *sys_name); 189 const char *sys_name);
|
D | linux_usbfs.c | 630 const char *sys_name) in linux_get_device_address() argument 634 usbi_dbg("getting address for device: %s detached: %d", sys_name, detached); in linux_get_device_address() 637 if (!sysfs_can_relate_devices || detached || NULL == sys_name) { in linux_get_device_address() 652 usbi_dbg("scan %s", sys_name); in linux_get_device_address() 654 sysfs_attr = __read_sysfs_attr(ctx, sys_name, "busnum"); in linux_get_device_address() 661 sysfs_attr = __read_sysfs_attr(ctx, sys_name, "devnum"); in linux_get_device_address() 1102 void linux_hotplug_enumerate(uint8_t busnum, uint8_t devaddr, const char *sys_name) in linux_hotplug_enumerate() argument 1108 linux_enumerate_device(ctx, busnum, devaddr, sys_name); in linux_hotplug_enumerate()
|
/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/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/ |
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()
|
D | strace.c | 2222 tprintf("<... %s resumed>", tcp->s_ent->sys_name); in print_event_exit()
|
D | ChangeLog | 26700 tcp->s_ent->sys_name instead of syscall_name. 26702 containing an appropriate .sys_name. 34791 * linux/alpha/syscallent.h (newfstatat): Change sys_name to fstatat64. 37358 (osf_sigstack): Fix nargs and sys_name. 40596 * linux/avr32/syscallent.h (timerfd): Change sys_name to "timerfd". 40608 * linux/hppa/syscallent.h (getpeername): Change sys_name to "getpeername". 41122 (llseek): Change sys_name to _llseek. 41130 * linux/alpha/syscallent.h (fadvise64): Change sys_name to fadvise64. 41134 and sys_name. 41137 * linux/arm/syscallent.h (getrlimit, ugetrlimit): Fix sys_name. [all …]
|
/external/ltp/utils/ffsb-6.0-rc2/ |
D | parser.c | 964 char *sys_name; in init_tg_stats() local 981 sys_name = (char *)tmp_list->value; in init_tg_stats() 982 ffsb_stats_str2syscall(sys_name, &sys); in init_tg_stats()
|