Home
last modified time | relevance | path

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

/samples/bpf/
A 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()
A Dcookie_uid_helper_example.c73 error(1, errno, "map create failed!\n"); in maps_create()
177 error(1, errno, "bpf_obj_pin"); in prog_attach_iptables()
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()
252 error(1, errno, "send\n"); in udp_client()
254 error(1, 0, "%uB != %luB\n", res, sizeof(message)); in udp_client()
258 error(1, errno, "receive\n"); in udp_client()
262 error(1, EFAULT, "sender addr error: %d\n", res); in udp_client()
[all …]
A Dtrace_event_user.c117 err_exit(error); in print_stacks()
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()
299 int error = 1; in main() local
347 error = 0; in main()
[all …]
A 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()
A 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()
A Dnet_shared.h31 # error "Endianness detection needs to be set up for your compiler?!"
A Dxdp_sample_user.h42 const char *doc, int mask, bool error);
A 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()
A DMakefile316 $(error Cannot find a vmlinux for VMLINUX_BTF at any of "$(VMLINUX_BTF_PATHS)",\
A Dxdp_sample_user.c295 const char *doc, int mask, bool error) in sample_usage() argument
299 if (!error) in sample_usage()
/samples/seccomp/
A 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()
A Duser-trap.c115 resp->error = -EPERM; in handle_req()
192 resp->error = 0; in handle_req()
A Dbpf-helper.h70 #error "Unknown endianness"
135 #error __BITS_PER_LONG value unusable.
/samples/fanotify/
A Dfs-monitor.c25 __s32 error; member
93 printf("\terror: %d\n", err->error); in handle_notifications()
/samples/landlock/
A Dsandboxer.c234 bool error = false; in check_ruleset_scope() local
260 error = true; in check_ruleset_scope()
275 return error; in check_ruleset_scope()
/samples/rust/
A Drust_driver_auxiliary.rs8 auxiliary, bindings, c_str, device::Core, driver, error::Error, pci, prelude::*, InPlaceModule,
/samples/v4l/
A Dv4l2-pci-skeleton.c799 if (hdl->error) { in skeleton_probe()
800 ret = hdl->error; in skeleton_probe()
/samples/hid/
A DMakefile173 $(error Cannot find a vmlinux for VMLINUX_BTF at any of "$(VMLINUX_BTF_PATHS)",\
/samples/
A DKconfig153 bool "Build fanotify error monitoring sample"

Completed in 24 milliseconds