Home
last modified time | relevance | path

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

123456789

/external/ltp/testcases/kernel/syscalls/utils/
Dcompat_16.h46 # define LTP_CREATE_SYSCALL(sys_name, cleanup, ...) \ argument
47 if (__NR_##sys_name##32 != __LTP__NR_INVALID_SYSCALL) { \
48 return ltp_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/libusb/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()
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()
Dlinux_netlink.c199 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()
Dlinux_usbfs.h184 void linux_hotplug_enumerate(uint8_t busnum, uint8_t devaddr, const char *sys_name);
189 const char *sys_name);
Dlinux_usbfs.c630 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/
Dksysent.c68 if (i >= ARRAY_SIZE(syscallent) || !syscallent[i].sys_name) { in main()
94 if (strcmp(ksyslist[i], syscallent[i].sys_name)) { in main()
97 ksyslist[i], i, syscallent[i].sys_name); in main()
104 if (!syscallent[i].sys_name in main()
123 i, syscallent[i].sys_name); in main()
/external/strace/tests-mx32/
Dksysent.c68 if (i >= ARRAY_SIZE(syscallent) || !syscallent[i].sys_name) { in main()
94 if (strcmp(ksyslist[i], syscallent[i].sys_name)) { in main()
97 ksyslist[i], i, syscallent[i].sys_name); in main()
104 if (!syscallent[i].sys_name in main()
123 i, syscallent[i].sys_name); in main()
/external/strace/tests-m32/
Dksysent.c68 if (i >= ARRAY_SIZE(syscallent) || !syscallent[i].sys_name) { in main()
94 if (strcmp(ksyslist[i], syscallent[i].sys_name)) { in main()
97 ksyslist[i], i, syscallent[i].sys_name); in main()
104 if (!syscallent[i].sys_name in main()
123 i, syscallent[i].sys_name); in main()
/external/strace/
Dcount.c114 const char *a_name = sysent[*((int *) a)].sys_name; in syscall_cmp()
115 const char *b_name = sysent[*((int *) b)].sys_name; in syscall_cmp()
210 error_str, sysent[idx].sys_name); in call_summary_pers()
Dsysent.h9 const char *sys_name; member
Dqualify.c239 if (!sysent_vec[p][i].sys_name in qualify_syscall_class()
260 if (!sysent_vec[p][i].sys_name in qualify_syscall_name()
261 || strcmp(s, sysent_vec[p][i].sys_name)) { in qualify_syscall_name()
Dsyscall.c651 tprintf("%s(", scno_good == 1 ? tcp->s_ent->sys_name : "????"); in trace_syscall_entering()
725 tprintf("%s(", tcp->s_ent->sys_name); in trace_syscall_entering()
796 tprintf("<... %s resumed> ", tcp->s_ent->sys_name); in trace_syscall_exiting()
1238 s->ent.sys_name = s->buf; in get_scno()
1294 return scno_is_valid(scno) ? sysent[scno].sys_name: NULL; in syscall_name()
/external/ltp/utils/ffsb-6.0-rc2/
Dparser.c964 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()
/external/strace/mpers-mx32/
Dstruct_stat64.d2105 DW_AT_name : (indirect string, offset: 0x7): sys_name
Dtime_t.d2123 DW_AT_name : (indirect string, offset: 0x1a): sys_name
Dseccomp_fprog_t.d2105 DW_AT_name : (indirect string, offset: 0x1f): sys_name
Dtimeval_t.d2144 DW_AT_name : (indirect string, offset: 0x7b): sys_name
Dmsgbuf_t.d2125 DW_AT_name : (indirect string, offset: 0x6b): sys_name
Dstruct_blkpg_ioctl_arg.d2108 DW_AT_name : (indirect string, offset: 0x71): sys_name
/external/strace/mpers-m32/
Dtime_t.d2117 DW_AT_name : (indirect string, offset: 0x11): sys_name
Dseccomp_fprog_t.d2105 DW_AT_name : (indirect string, offset: 0x1f): sys_name
Dutimbuf_t.d2111 DW_AT_name : (indirect string, offset: 0x23): sys_name
Dstruct_hd_geometry.d2105 DW_AT_name : (indirect string, offset: 0x35): sys_name
Dstruct_blkpg_ioctl_arg.d2108 DW_AT_name : (indirect string, offset: 0x49): sys_name
Dtimespec_t.d2138 DW_AT_name : (indirect string, offset: 0x36): sys_name

123456789