Home
last modified time | relevance | path

Searched refs:pr_perror (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/tools/testing/selftests/timens/
H A Dprocfs.c32 return pr_perror("setns()"); in switch_ns()
44 return pr_perror("Unable to open %s", path); in init_namespaces()
47 return pr_perror("Unable to stat the parent timens"); in init_namespaces()
54 return pr_perror("Unable to open %s", path); in init_namespaces()
57 return pr_perror("Unable to stat the timens"); in init_namespaces()
75 pr_perror("Unable to open /proc/uptime"); in read_proc_uptime()
81 pr_perror("fscanf"); in read_proc_uptime()
101 pr_perror("Unable to open /proc/stat"); in read_proc_stat_btime()
112 pr_perror("fscanf"); in read_proc_stat_btime()
H A Dtimerfd.c35 return pr_perror("clock_gettime(%d)", clockid); in run_test()
52 return pr_perror("timerfd_create(%d)", clockid); in run_test()
58 return pr_perror("timerfd_settime(%d)", clockid); in run_test()
61 return pr_perror("timerfd_gettime(%d)", clockid); in run_test()
102 return pr_perror("/proc/self/timens_offsets"); in main()
105 return pr_perror("/proc/self/timens_offsets"); in main()
113 return pr_perror("Unable to fork"); in main()
127 return pr_perror("Unable to wait the child process"); in main()
H A Dtimer.c47 return pr_perror("timerfd_create"); in run_test()
53 return pr_perror("timerfd_settime"); in run_test()
56 return pr_perror("timerfd_gettime"); in run_test()
95 return pr_perror("/proc/self/timens_offsets"); in main()
98 return pr_perror("/proc/self/timens_offsets"); in main()
106 return pr_perror("Unable to fork"); in main()
120 return pr_perror("Unable to wait the child process"); in main()
H A Dvfork_exec.c54 return pr_perror("thread"); in check_in_thread()
56 return pr_perror("pthread_join"); in check_in_thread()
89 return pr_perror("strtoul"); in main()
111 return pr_perror("fork"); in main()
121 pr_perror("execve"); in main()
126 return pr_perror("waitpid"); in main()
H A Dtimens.h59 return pr_perror("Can't unshare() timens"); in unshare_timens()
76 return pr_perror("/proc/self/timens_offsets"); in _settime()
79 return pr_perror("/proc/self/timens_offsets"); in _settime()
92 pr_perror("clock_gettime(%d)", (int)clk_id); in _gettime()
100 pr_perror("syscall(SYS_clock_gettime(%d))", (int)clk_id); in _gettime()
H A Dtimens.c51 pr_perror("setns()"); in switch_ns()
66 return pr_perror("Unable to open %s", path); in init_namespaces()
70 return pr_perror("Unable to stat the parent timens"); in init_namespaces()
77 return pr_perror("Unable to open %s", path); in init_namespaces()
80 return pr_perror("Unable to stat the timens"); in init_namespaces()
83 return pr_perror("The same child_ns after CLONE_NEWTIME"); in init_namespaces()
H A Dexec.c29 return pr_perror("sscanf"); in main()
63 return pr_perror("fork"); in main()
81 return pr_perror("execve"); in main()
85 return pr_perror("waitpid"); in main()
H A Dfutex.c82 return pr_perror("/proc/self/timens_offsets"); in main()
85 return pr_perror("/proc/self/timens_offsets"); in main()
91 return pr_perror("Unable to fork"); in main()
104 return pr_perror("Unable to wait the child process"); in main()
H A Dclock_nanosleep.c59 return pr_perror("clock_gettime"); in run_test()
134 return pr_perror("Unable to open timens_for_children"); in main()
137 return pr_perror("Unable to set timens"); in main()
H A Dgettime_perf.c86 return pr_perror("Can't open a time namespace"); in main()
94 return pr_perror("setns"); in main()
H A Dlog.h24 #define pr_perror(fmt, ...) pr_p(pr_err, fmt, ##__VA_ARGS__) macro