| /samples/bpf/ |
| D | tracex6.bpf.c | 33 s64 error; in bpf_prog1() local 36 error = (s64)count; in bpf_prog1() 37 if (error <= -2 && error >= -22) in bpf_prog1() 61 int error; in BPF_KPROBE() local 67 error = bpf_perf_event_read_value(&counters, key, &buf, sizeof(buf)); in BPF_KPROBE() 68 if (error) in BPF_KPROBE()
|
| D | cookie_uid_helper_example.c | 73 error(1, errno, "map create failed!\n"); in maps_create() 168 error(1, errno, "failed to load prog\n%s\n", log_buf); in prog_load() 177 error(1, errno, "bpf_obj_pin"); in prog_attach_iptables() 207 error(1, errno, "fail to get entry value of Key: %u\n", in print_table() 232 error(1, errno, "rcv socket creat failed!\n"); in udp_client() 236 error(1, errno, "inet_aton\n"); in udp_client() 238 error(1, errno, "bind\n"); in udp_client() 241 error(1, errno, "send socket creat failed!\n"); in udp_client() 247 error(1, errno, "socket stat found while flow not active\n"); in udp_client() 252 error(1, errno, "send\n"); in udp_client() [all …]
|
| D | trace_event_user.c | 105 int error = 1, fd = map_fd[0], stack_map = map_fd[1]; in print_stacks() local 117 err_exit(error); in print_stacks() 141 int i, pmu_fd, error = 1; in test_perf_event_all_cpu() local 171 error = 0; in test_perf_event_all_cpu() 177 if (error) in test_perf_event_all_cpu() 178 err_exit(error); in test_perf_event_all_cpu() 184 int pmu_fd, error = 1; in test_perf_event_task() local 209 error = 0; in test_perf_event_task() 212 if (error) in test_perf_event_task() 213 err_exit(error); in test_perf_event_task() [all …]
|
| D | tracex6_user.c | 28 int pmu_fd, error = 0; in check_on_cpu() local 40 error = 1; in check_on_cpu() 50 error = 1; in check_on_cpu() 58 error = 1; in check_on_cpu() 66 assert(bpf_map_delete_elem(map_fd[0], &cpu) == 0 || error); in check_on_cpu() 67 assert(ioctl(pmu_fd, PERF_EVENT_IOC_DISABLE, 0) == 0 || error); in check_on_cpu() 68 assert(close(pmu_fd) == 0 || error); in check_on_cpu() 69 assert(bpf_map_delete_elem(map_fd[1], &cpu) == 0 || error); in check_on_cpu() 70 exit(error); in check_on_cpu()
|
| D | sampleip_user.c | 141 int opt, freq = DEFAULT_FREQ, secs = DEFAULT_SECS, error = 1; in main() local 223 error = 0; in main() 228 if (!error) in main() 233 return error; in main()
|
| D | net_shared.h | 31 # error "Endianness detection needs to be set up for your compiler?!"
|
| D | xdp_sample_user.h | 42 const char *doc, int mask, bool error);
|
| D | xdp_router_ipv4_user.c | 544 const char *doc, int mask, bool error, in usage() argument 547 sample_usage(argv, long_options, doc, mask, error); in usage() 552 bool error = true, generic = false, force = false; in main() local 624 error = false; in main() 626 usage(argv, long_options, __doc__, mask, error, skel->obj); in main()
|
| D | Makefile | 340 $(error Cannot find a vmlinux for VMLINUX_BTF at any of "$(VMLINUX_BTF_PATHS)",\
|
| D | xdp_sample_user.c | 295 const char *doc, int mask, bool error) in sample_usage() argument 299 if (!error) in sample_usage()
|
| /samples/seccomp/ |
| D | dropper.c | 28 static int install_filter(int arch, int nr, int error) in install_filter() argument 38 SECCOMP_RET_ERRNO|(error & SECCOMP_RET_DATA)), in install_filter() 45 if (error == -1) { in install_filter()
|
| D | user-trap.c | 115 resp->error = -EPERM; in handle_req() 192 resp->error = 0; in handle_req()
|
| D | bpf-helper.h | 70 #error "Unknown endianness" 135 #error __BITS_PER_LONG value unusable.
|
| /samples/fanotify/ |
| D | fs-monitor.c | 22 __s32 error; member 90 printf("\terror: %d\n", err->error); in handle_notifications()
|
| /samples/landlock/ |
| D | sandboxer.c | 230 bool error = false; in check_ruleset_scope() local 256 error = true; in check_ruleset_scope() 271 return error; in check_ruleset_scope()
|
| /samples/v4l/ |
| D | v4l2-pci-skeleton.c | 803 if (hdl->error) { in skeleton_probe() 804 ret = hdl->error; in skeleton_probe()
|
| /samples/hid/ |
| D | Makefile | 172 $(error Cannot find a vmlinux for VMLINUX_BTF at any of "$(VMLINUX_BTF_PATHS)",\
|
| /samples/ |
| D | Kconfig | 153 bool "Build fanotify error monitoring sample"
|