Home
last modified time | relevance | path

Searched refs:error (Results 1 – 18 of 18) sorted by relevance

/samples/bpf/
Dtracex6.bpf.c33 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()
Dcookie_uid_helper_example.c73 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 …]
Dtrace_event_user.c105 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 …]
Dtracex6_user.c28 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()
Dsampleip_user.c141 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()
Dnet_shared.h31 # error "Endianness detection needs to be set up for your compiler?!"
Dxdp_sample_user.h42 const char *doc, int mask, bool error);
Dxdp_router_ipv4_user.c544 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()
DMakefile340 $(error Cannot find a vmlinux for VMLINUX_BTF at any of "$(VMLINUX_BTF_PATHS)",\
Dxdp_sample_user.c295 const char *doc, int mask, bool error) in sample_usage() argument
299 if (!error) in sample_usage()
/samples/seccomp/
Ddropper.c28 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()
Duser-trap.c115 resp->error = -EPERM; in handle_req()
192 resp->error = 0; in handle_req()
Dbpf-helper.h70 #error "Unknown endianness"
135 #error __BITS_PER_LONG value unusable.
/samples/fanotify/
Dfs-monitor.c22 __s32 error; member
90 printf("\terror: %d\n", err->error); in handle_notifications()
/samples/landlock/
Dsandboxer.c230 bool error = false; in check_ruleset_scope() local
256 error = true; in check_ruleset_scope()
271 return error; in check_ruleset_scope()
/samples/v4l/
Dv4l2-pci-skeleton.c803 if (hdl->error) { in skeleton_probe()
804 ret = hdl->error; in skeleton_probe()
/samples/hid/
DMakefile172 $(error Cannot find a vmlinux for VMLINUX_BTF at any of "$(VMLINUX_BTF_PATHS)",\
/samples/
DKconfig153 bool "Build fanotify error monitoring sample"