Lines Matching refs:CHECK_PERROR_RET
27 #define CHECK_PERROR_RET(condition) ({ \ macro
54 CHECK_PERROR_RET(ret < 0 || ret >= sizeof(buf)); in bpf_find_probe_type()
57 CHECK_PERROR_RET(fd < 0); in bpf_find_probe_type()
61 CHECK_PERROR_RET(ret < 0 || ret >= sizeof(buf)); in bpf_find_probe_type()
65 CHECK_PERROR_RET(errno); in bpf_find_probe_type()
76 CHECK_PERROR_RET(ret < 0 || ret >= sizeof(buf)); in bpf_get_retprobe_bit()
79 CHECK_PERROR_RET(fd < 0); in bpf_get_retprobe_bit()
83 CHECK_PERROR_RET(ret < 0 || ret >= sizeof(buf)); in bpf_get_retprobe_bit()
84 CHECK_PERROR_RET(strlen(buf) < strlen("config:")); in bpf_get_retprobe_bit()
88 CHECK_PERROR_RET(errno); in bpf_get_retprobe_bit()
165 CHECK_PERROR_RET(bpf_task_fd_query(getpid(), fd, 0, buf, buf_len, in test_nondebug_fs_kuprobe_common()
242 CHECK_PERROR_RET(kfd < 0); in test_debug_fs_uprobe()
245 CHECK_PERROR_RET(res < 0 || res >= sizeof(event_alias)); in test_debug_fs_uprobe()
250 CHECK_PERROR_RET(res < 0 || res >= sizeof(buf)); in test_debug_fs_uprobe()
251 CHECK_PERROR_RET(write(kfd, buf, strlen(buf)) < 0); in test_debug_fs_uprobe()
259 CHECK_PERROR_RET(efd < 0); in test_debug_fs_uprobe()
262 CHECK_PERROR_RET(bytes <= 0 || bytes >= sizeof(buf)); in test_debug_fs_uprobe()