Lines Matching refs:CHECK

37 	if (CHECK(pipe(pipefd) < 0, "trigger", "pipe failed\n"))  in trigger_fstat_events()
41 if (CHECK(sockfd < 0, "trigger", "socket failed\n")) in trigger_fstat_events()
45 if (CHECK(procfd < 0, "trigger", "open /proc/self/comm failed\n")) in trigger_fstat_events()
48 if (CHECK(devfd < 0, "trigger", "open /dev/urandom failed\n")) in trigger_fstat_events()
51 if (CHECK(localfd < 0, "trigger", "open /tmp/d_path_loadgen.txt failed\n")) in trigger_fstat_events()
56 if (CHECK(indicatorfd < 0, "trigger", "open /tmp/ failed\n")) in trigger_fstat_events()
60 if (CHECK(ret < 0, "trigger", "set_pathname failed for pipe[0]\n")) in trigger_fstat_events()
63 if (CHECK(ret < 0, "trigger", "set_pathname failed for pipe[1]\n")) in trigger_fstat_events()
66 if (CHECK(ret < 0, "trigger", "set_pathname failed for socket\n")) in trigger_fstat_events()
69 if (CHECK(ret < 0, "trigger", "set_pathname failed for proc\n")) in trigger_fstat_events()
72 if (CHECK(ret < 0, "trigger", "set_pathname failed for dev\n")) in trigger_fstat_events()
75 if (CHECK(ret < 0, "trigger", "set_pathname failed for file\n")) in trigger_fstat_events()
78 if (CHECK(ret < 0, "trigger", "set_pathname failed for dir\n")) in trigger_fstat_events()
109 if (CHECK(!skel, "setup", "d_path skeleton failed\n")) in test_d_path()
113 if (CHECK(err, "setup", "attach failed: %d\n", err)) in test_d_path()
123 if (CHECK(!bss->called_stat, in test_d_path()
128 if (CHECK(!bss->called_close, in test_d_path()
134 CHECK(strncmp(src.paths[i], bss->paths_stat[i], MAX_PATH_LEN), in test_d_path()
138 CHECK(strncmp(src.paths[i], bss->paths_close[i], MAX_PATH_LEN), in test_d_path()
143 CHECK(bss->rets_stat[i] != strlen(bss->paths_stat[i]) + 1, in test_d_path()
148 CHECK(bss->rets_close[i] != strlen(bss->paths_stat[i]) + 1, in test_d_path()