Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/utils/
Dcompat_tst_16.h41 # 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); \
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.c211 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()
Dlinux_netlink.c190 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()
Dlinux_usbfs.h202 void linux_hotplug_enumerate(uint8_t busnum, uint8_t devaddr, const char *sys_name);
207 const char *sys_name, int fd);
Dlinux_usbfs.c588 const char *sys_name, int fd) in linux_get_device_address() argument
593 usbi_dbg("getting address for device: %s detached: %d", sys_name, detached); in linux_get_device_address()
596 if (!sysfs_available || detached || !sys_name) { in linux_get_device_address()
622 usbi_dbg("scan %s", sys_name); in linux_get_device_address()
624 r = read_sysfs_attr(ctx, sys_name, "busnum", UINT8_MAX, &sysfs_val); in linux_get_device_address()
629 r = read_sysfs_attr(ctx, sys_name, "devnum", UINT8_MAX, &sysfs_val); in linux_get_device_address()
1122 void linux_hotplug_enumerate(uint8_t busnum, uint8_t devaddr, const char *sys_name) in linux_hotplug_enumerate() argument
1128 linux_enumerate_device(ctx, busnum, devaddr, sys_name); in linux_hotplug_enumerate()
/external/ltp/testcases/commands/sysctl/
Dsysctl02.sh23 sys_name="fs.file-max"
50 tst_res TINFO "trying to set $sys_name=$test_value"
51 sysctl -w -q $sys_name=$test_value 2>/dev/null
65 ROD sysctl -w -q $sys_name=0
80 [ -n "$orig_value" ] && sysctl -w -q $sys_name=$orig_value
/external/strace/tests-m32/
Dksysent.c59 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/
Dksysent.c59 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/
Dksysent.c59 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/
Dbasic_filters.c133 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()
Dcount.c87 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()
Dsysent.h9 const char *sys_name; member
Dsyscall.c619 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()
Dsignal.c687 tcp->s_prev_ent ? tcp->s_prev_ent->sys_name : "system call"); in SYS_FUNC()
Dstrace.c2222 tprintf("<... %s resumed>", tcp->s_ent->sys_name); in print_event_exit()
DChangeLog26700 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/libbrillo/brillo/udev/
Dudev.cc77 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()
Dudev_enumerate.cc90 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()
Dudev_enumerate.h48 virtual bool AddMatchSysName(const char* sys_name);
Dudev.h42 const char* subsystem, const char* sys_name);
/external/bcc/tools/
Dshmsnoop.py232 def sys_name(sys): function
299 event.comm.decode(), sys_name(event.sys), event.ret), end = '')