Home
last modified time | relevance | path

Searched refs:args (Results 1 – 7 of 7) sorted by relevance

/samples/bpf/
Dtracex5_kern.c50 if (sd.args[2] == 512) { in PROG()
53 sd.args[0], sd.args[1], sd.args[2]); in PROG()
63 if (sd.args[2] > 128 && sd.args[2] <= 1024) { in PROG()
66 sd.args[0], sd.args[1], sd.args[2]); in PROG()
Ddo_hbm_test.sh71 args="$@"
103 for i in $args ; do
/samples/seccomp/
Duser-trap.c26 static int seccomp(unsigned int op, unsigned int flags, void *args) in seccomp() argument
29 return syscall(__NR_seccomp, op, flags, args); in seccomp()
120 if (!(req->data.args[3] & MS_BIND)) in handle_req()
155 if (lseek(mem, req->data.args[0], SEEK_SET) < 0) { in handle_req()
166 if (lseek(mem, req->data.args[1], SEEK_SET) < 0) { in handle_req()
183 if (mount(source, target, NULL, req->data.args[3], NULL) < 0) { in handle_req()
Dbpf-helper.h66 #define LO_ARG(idx) offsetof(struct seccomp_data, args[(idx)])
68 #define LO_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) + sizeof(__u32)
90 #define HI_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) + sizeof(__u32)
93 #define HI_ARG(idx) offsetof(struct seccomp_data, args[(idx)])
Dbpf-direct.c31 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]))
/samples/pidfd/
Dpidfd-metadata.c28 static int do_child(void *args) in do_child() argument
/samples/mic/mpssd/
Dmpssd.c1760 va_list args; in mpsslog() local
1768 va_start(args, format); in mpsslog()
1769 vsprintf(buffer, format, args); in mpsslog()
1770 va_end(args); in mpsslog()