Lines Matching refs:rv
190 ssize_t rv = read(fd, buf, sizeof(buf)); in test_proc_pid_maps() local
193 assert(rv == 0); in test_proc_pid_maps()
196 assert(rv == len); in test_proc_pid_maps()
219 ssize_t rv = read(fd, buf, sizeof(buf)); in test_proc_pid_numa_maps() local
221 assert(rv == 0); in test_proc_pid_numa_maps()
242 ssize_t rv = read(fd, buf, sizeof(buf)); in test_proc_pid_smaps() local
245 assert(rv == 0); in test_proc_pid_smaps()
249 assert(rv > len); in test_proc_pid_smaps()
298 ssize_t rv = read(fd, buf, sizeof(buf)); in test_proc_pid_smaps_rollup() local
300 assert(rv == sizeof(g_smaps_rollup) - 1); in test_proc_pid_smaps_rollup()
308 int rv = EXIT_SUCCESS; in main() local
336 rv = ptrace(PTRACE_TRACEME, 0, NULL, NULL); in main()
337 if (rv != 0) { in main()
380 if (rv == EXIT_SUCCESS) { in main()
381 rv = test_proc_pid_maps(pid); in main()
383 if (rv == EXIT_SUCCESS) { in main()
384 rv = test_proc_pid_numa_maps(pid); in main()
386 if (rv == EXIT_SUCCESS) { in main()
387 rv = test_proc_pid_smaps(pid); in main()
389 if (rv == EXIT_SUCCESS) { in main()
390 rv = test_proc_pid_smaps_rollup(pid); in main()
405 return rv; in main()