Searched refs:args (Results 1 – 8 of 8) sorted by relevance
| /samples/bpf/ |
| A D | tracex5.bpf.c | 51 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 D | do_hbm_test.sh | 71 args="$@" 113 for i in $args ; do
|
| /samples/hid/ |
| A D | hid_surface_dial.bpf.c | 47 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 D | hid_surface_dial.c | 90 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 D | user-trap.c | 26 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 D | bpf-helper.h | 66 #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 D | bpf-direct.c | 31 #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]))
|
| /samples/pidfd/ |
| A D | pidfd-metadata.c | 28 static int do_child(void *args) in do_child() argument
|
Completed in 13 milliseconds