Searched refs:nr (Results 1 – 5 of 5) sorted by relevance
| /samples/ftrace/ |
| A D | ftrace-ops.c | 121 unsigned long flags, int nr) in ops_alloc_init() argument 125 ops = kcalloc(nr, sizeof(*ops), GFP_KERNEL); in ops_alloc_init() 129 for (unsigned int i = 0; i < nr; i++) { in ops_alloc_init() 139 static void ops_destroy(struct sample_ops *ops, int nr) in ops_destroy() argument 144 for (unsigned int i = 0; i < nr; i++) { in ops_destroy() 152 static void ops_check(struct sample_ops *ops, int nr, in ops_check() argument 158 for (unsigned int i = 0; i < nr; i++) { in ops_check()
|
| /samples/seccomp/ |
| A D | dropper.c | 28 static int install_filter(int arch, int nr, int error) in install_filter() argument 35 (offsetof(struct seccomp_data, nr))), in install_filter() 36 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, nr, 0, 1), in install_filter()
|
| A D | user-trap.c | 90 static int user_trap_syscall(int nr, unsigned int flags) in user_trap_syscall() argument 94 offsetof(struct seccomp_data, nr)), in user_trap_syscall() 95 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, nr, 0, 1), in user_trap_syscall() 118 if (req->data.nr != __NR_mount) { in handle_req() 119 fprintf(stderr, "huh? trapped something besides mount? %d\n", req->data.nr); in handle_req()
|
| A D | bpf-direct.c | 32 #define syscall_nr (offsetof(struct seccomp_data, nr)) 62 static void emulator(int nr, siginfo_t *info, void *void_context) in emulator() argument
|
| A D | bpf-helper.h | 55 #define SYSCALL(nr, jt) \ argument 56 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, (nr), 0, 1), \ 261 offsetof(struct seccomp_data, nr))
|
Completed in 8 milliseconds