Home
last modified time | relevance | path

Searched refs:sys_name (Results 1 - 4 of 4) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/utils/
H A Dcompat_tst_16.h38 * sys_name() syscall
41 # define TST_CREATE_SYSCALL(sys_name, ...) ({ \
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, ...) ({\
53 return sys_name(__VA_ARGS__); \
57 #define UID16_CHECK(uid, sys_name) ({ \
61 "version of %s()", uid, #uid, #sys_name); \
64 #define GID16_CHECK(gid, sys_name) ({ \
[all...]
H A Dcompat_16.h43 * sys_name() syscall
46 # define LTP_CREATE_SYSCALL(sys_name, cleanup, ...) \
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, ...) \
57 return sys_name(__VA_ARGS__)
60 #define UID16_CHECK(uid, sys_name, cleanup) \
64 "of %s()", uid, #uid, #sys_name); \
67 #define GID16_CHECK(gid, sys_name, cleanu
[all...]
/third_party/ltp/testcases/commands/sysctl/
H A Dsysctl02.sh25 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
/third_party/rust/crates/rustix/src/backend/libc/
H A Dweak.rs135 (fn $name:ident($($arg_name:ident: $t:ty),*) via $sys_name:ident -> $ret:ty) => (
178 // `concat_idents is unstable, so we take an extra `sys_name`
187 syscall($sys_name, $($arg_name.into_syscall_arg()),*) as $ret
212 ($vis:vis fn $name:ident($($arg_name:ident: $t:ty),*) via $sys_name:ident -> $ret:ty) => (
221 syscall! { fn $name($($arg_name: $t),*) via $sys_name -> $ret }

Completed in 3 milliseconds