Lines Matching refs:CHECK_PERROR_RET
26 #define CHECK_PERROR_RET(condition) ({ \ macro
53 CHECK_PERROR_RET(ret < 0 || ret >= sizeof(buf)); in bpf_find_probe_type()
56 CHECK_PERROR_RET(fd < 0); in bpf_find_probe_type()
60 CHECK_PERROR_RET(ret < 0 || ret >= sizeof(buf)); in bpf_find_probe_type()
64 CHECK_PERROR_RET(errno); in bpf_find_probe_type()
75 CHECK_PERROR_RET(ret < 0 || ret >= sizeof(buf)); in bpf_get_retprobe_bit()
78 CHECK_PERROR_RET(fd < 0); in bpf_get_retprobe_bit()
82 CHECK_PERROR_RET(ret < 0 || ret >= sizeof(buf)); in bpf_get_retprobe_bit()
83 CHECK_PERROR_RET(strlen(buf) < strlen("config:")); in bpf_get_retprobe_bit()
87 CHECK_PERROR_RET(errno); in bpf_get_retprobe_bit()
164 CHECK_PERROR_RET(bpf_task_fd_query(getpid(), fd, 0, buf, buf_len, in test_nondebug_fs_kuprobe_common()
241 CHECK_PERROR_RET(kfd < 0); in test_debug_fs_uprobe()
244 CHECK_PERROR_RET(res < 0 || res >= sizeof(event_alias)); in test_debug_fs_uprobe()
249 CHECK_PERROR_RET(res < 0 || res >= sizeof(buf)); in test_debug_fs_uprobe()
250 CHECK_PERROR_RET(write(kfd, buf, strlen(buf)) < 0); in test_debug_fs_uprobe()
258 CHECK_PERROR_RET(efd < 0); in test_debug_fs_uprobe()
261 CHECK_PERROR_RET(bytes <= 0 || bytes >= sizeof(buf)); in test_debug_fs_uprobe()