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/
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); \
/third_party/ltp/testcases/commands/sysctl/
Dsysctl02.sh24 sys_name="fs.file-max"
49 tst_res TINFO "trying to set $sys_name=$test_value"
50 sysctl -w -q $sys_name=$test_value 2>/dev/null
66 ROD sysctl -w -q $sys_name=0
77 [ -n "$orig_value" ] && sysctl -w -q $sys_name=$orig_value
/third_party/rust/crates/rustix/src/backend/libc/
Dweak.rs135 (fn $name:ident($($arg_name:ident: $t:ty),*) via $sys_name:ident -> $ret:ty) => (
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 }