Home
last modified time | relevance | path

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

/samples/bpf/
A Dtracex5.bpf.c51 if (sd.args[2] == 512) { in PROG()
54 sd.args[0], sd.args[1], sd.args[2]); in PROG()
64 if (sd.args[2] > 128 && sd.args[2] <= 1024) { in PROG()
67 sd.args[0], sd.args[1], sd.args[2]); in PROG()
A Ddo_hbm_test.sh71 args="$@"
113 for i in $args ; do
/samples/hid/
A Dhid_surface_dial.bpf.c47 int set_haptic(struct haptic_syscall_args *args) in set_haptic() argument
57 ctx = hid_bpf_allocate_context(args->hid); in set_haptic()
96 args->retval = ret; in set_haptic()
A Dhid_surface_dial.c90 struct haptic_syscall_args args = { in set_haptic() local
96 .ctx_in = &args, in set_haptic()
97 .ctx_size_in = sizeof(args), in set_haptic()
/samples/seccomp/
A 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()
124 if (!(req->data.args[3] & MS_BIND)) in handle_req()
159 if (lseek(mem, req->data.args[0], SEEK_SET) < 0) { in handle_req()
170 if (lseek(mem, req->data.args[1], SEEK_SET) < 0) { in handle_req()
187 if (mount(source, target, NULL, req->data.args[3], NULL) < 0) { in handle_req()
A 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)])
A Dbpf-direct.c31 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]))
/samples/pidfd/
A Dpidfd-metadata.c28 static int do_child(void *args) in do_child() argument

Completed in 13 milliseconds