Lines Matching refs:CHECK
50 if (CHECK(pipe(pipefd) < 0, "trigger", "pipe failed\n")) in trigger_fstat_events()
54 if (CHECK(sockfd < 0, "trigger", "socket failed\n")) in trigger_fstat_events()
58 if (CHECK(procfd < 0, "trigger", "open /proc/self/comm failed\n")) in trigger_fstat_events()
61 if (CHECK(devfd < 0, "trigger", "open /dev/urandom failed\n")) in trigger_fstat_events()
64 if (CHECK(localfd < 0, "trigger", "open /tmp/d_path_loadgen.txt failed\n")) in trigger_fstat_events()
69 if (CHECK(indicatorfd < 0, "trigger", "open /tmp/ failed\n")) in trigger_fstat_events()
73 if (CHECK(ret < 0, "trigger", "set_pathname failed for pipe[0]\n")) in trigger_fstat_events()
76 if (CHECK(ret < 0, "trigger", "set_pathname failed for pipe[1]\n")) in trigger_fstat_events()
79 if (CHECK(ret < 0, "trigger", "set_pathname failed for socket\n")) in trigger_fstat_events()
82 if (CHECK(ret < 0, "trigger", "set_pathname failed for proc\n")) in trigger_fstat_events()
85 if (CHECK(ret < 0, "trigger", "set_pathname failed for dev\n")) in trigger_fstat_events()
88 if (CHECK(ret < 0, "trigger", "set_pathname failed for file\n")) in trigger_fstat_events()
91 if (CHECK(ret < 0, "trigger", "set_pathname failed for dir\n")) in trigger_fstat_events()
128 if (CHECK(!skel, "setup", "d_path skeleton failed\n")) in test_d_path_basic()
132 if (CHECK(err, "setup", "attach failed: %d\n", err)) in test_d_path_basic()
142 if (CHECK(!bss->called_stat, in test_d_path_basic()
147 if (CHECK(!bss->called_close, in test_d_path_basic()
153 CHECK(strncmp(src.paths[i], bss->paths_stat[i], MAX_PATH_LEN), in test_d_path_basic()
157 CHECK(strncmp(src.paths[i], bss->paths_close[i], MAX_PATH_LEN), in test_d_path_basic()
162 CHECK(bss->rets_stat[i] != strlen(bss->paths_stat[i]) + 1, in test_d_path_basic()
167 CHECK(bss->rets_close[i] != strlen(bss->paths_stat[i]) + 1, in test_d_path_basic()