/linux-master/tools/testing/selftests/timers/ |
H A D | leapcrash.c | 21 #include <sys/time.h> 22 #include <sys/timex.h>
|
H A D | rtcpie.c | 13 #include <sys/ioctl.h> 14 #include <sys/time.h> 15 #include <sys/types.h>
|
/linux-master/tools/testing/selftests/powerpc/dexcr/ |
H A D | dexcr.h | 12 #include <sys/prctl.h> 13 #include <sys/types.h>
|
/linux-master/tools/testing/selftests/mm/ |
H A D | memfd_secret.c | 9 #include <sys/uio.h> 10 #include <sys/mman.h> 11 #include <sys/wait.h> 12 #include <sys/types.h> 13 #include <sys/ptrace.h> 14 #include <sys/syscall.h> 15 #include <sys/resource.h> 16 #include <sys/capability.h>
|
H A D | hugetlb_madv_vs_map.c | 4 * # echo 1 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages 23 #include <sys/mman.h> 24 #include <sys/types.h>
|
H A D | mlock-random-test.c | 7 #include <sys/resource.h> 8 #include <sys/capability.h> 9 #include <sys/mman.h> 13 #include <sys/ipc.h> 14 #include <sys/shm.h>
|
/linux-master/tools/testing/selftests/powerpc/benchmarks/ |
H A D | fork.c | 21 #include <sys/shm.h> 22 #include <sys/syscall.h> 23 #include <sys/time.h> 24 #include <sys/types.h> 25 #include <sys/wait.h>
|
H A D | null_syscall.c | 15 #include <sys/types.h> 16 #include <sys/time.h> 17 #include <sys/syscall.h>
|
/linux-master/tools/testing/selftests/x86/ |
H A D | sysret_rip.c | 14 #include <sys/signal.h> 15 #include <sys/ucontext.h> 16 #include <sys/syscall.h> 21 #include <sys/user.h> 22 #include <sys/mman.h>
|
H A D | ioperm.c | 17 #include <sys/types.h> 18 #include <sys/wait.h> 21 #include <sys/io.h>
|
/linux-master/tools/testing/selftests/breakpoints/ |
H A D | breakpoint_test_arm64.c | 14 #include <sys/types.h> 15 #include <sys/wait.h> 16 #include <sys/ptrace.h> 17 #include <sys/param.h> 18 #include <sys/uio.h>
|
H A D | step_after_suspend_test.c | 16 #include <sys/ptrace.h> 17 #include <sys/stat.h> 18 #include <sys/timerfd.h> 19 #include <sys/types.h> 20 #include <sys/wait.h> 141 power_state_fd = open("/sys/power/state", O_RDWR); 144 "open(\"/sys/power/state\") failed %s)\n",
|
/linux-master/tools/testing/selftests/livepatch/ |
H A D | functions.sh | 9 KLP_SYSFS_DIR="/sys/kernel/livepatch" 58 DYNAMIC_DEBUG=$(grep '^kernel/livepatch' /sys/kernel/debug/dynamic_debug/control | \ 65 echo -n "$DYNAMIC_DEBUG" > /sys/kernel/debug/dynamic_debug/control 73 cat <<-EOF > /sys/kernel/debug/dynamic_debug/control 91 echo "livepatch: $err" | sed 's#/proc/sys/kernel/#kernel.#' > /dev/kmsg 156 loop_until '[[ -e "/sys/module/$mod" ]]' || 186 loop_until '[[ -e "/sys/kernel/livepatch/$mod" ]]' || 199 loop_until 'grep -q '^0$' /sys/kernel/livepatch/$mod/transition' || 224 loop_until '[[ $(cat "/sys/module/$mod/refcnt") == "0" ]]' || 234 loop_until '[[ ! -e "/sys/modul [all...] |
/linux-master/tools/testing/selftests/kcmp/ |
H A D | kcmp_test.c | 15 #include <sys/syscall.h> 16 #include <sys/types.h> 17 #include <sys/stat.h> 18 #include <sys/wait.h> 19 #include <sys/epoll.h>
|
/linux-master/tools/perf/util/ |
H A D | trace-event-info.c | 11 #include <sys/types.h> 12 #include <sys/stat.h> 13 #include <sys/wait.h> 22 #include <sys/param.h> 144 static bool name_in_tp_list(char *sys, struct tracepoint_path *tps) argument 147 if (!strcmp(sys, tps->name)) 161 static int copy_event_system(const char *sys, struct tracepoint_path *tps) argument 171 dir = opendir(sys); 173 pr_debug("can't read directory '%s'", sys); 181 if (asprintf(&format, "%s/%s/format", sys, den 242 system_in_tp_list(char *sys, struct tracepoint_path *tps) argument 258 char *sys; local [all...] |
/linux-master/tools/testing/selftests/powerpc/nx-gzip/ |
H A D | gzip_vas.c | 14 #include <sys/types.h> 15 #include <sys/stat.h> 16 #include <sys/time.h> 17 #include <sys/fcntl.h> 18 #include <sys/mman.h> 21 #include <sys/ioctl.h> 30 #include <sys/platform/ppc.h>
|
/linux-master/tools/testing/selftests/net/ |
H A D | io_uring_zerocopy_tx.c | 29 #include <sys/ioctl.h> 30 #include <sys/mman.h> 31 #include <sys/resource.h> 32 #include <sys/socket.h> 33 #include <sys/stat.h> 34 #include <sys/time.h> 35 #include <sys/types.h> 36 #include <sys/un.h> 37 #include <sys/wait.h>
|
/linux-master/tools/spi/ |
H A D | spidev_fdx.c | 8 #include <sys/ioctl.h> 9 #include <sys/types.h> 10 #include <sys/stat.h>
|
/linux-master/tools/testing/selftests/powerpc/mm/ |
H A D | wild_bctr.c | 12 #include <sys/mman.h> 13 #include <sys/types.h> 14 #include <sys/wait.h>
|
/linux-master/tools/laptop/freefall/ |
H A D | freefall.c | 14 #include <sys/stat.h> 15 #include <sys/types.h> 20 #include <sys/mman.h> 36 "/sys/block/%s/device/unload_heads", device+5); 77 write_int("/sys/class/leds/hp::hddprotect/brightness", on); 90 /* /sys/class/power_supply/AC0/online */ 131 if (stat("/sys/class/leds/hp::hddprotect/brightness", &st))
|
/linux-master/tools/testing/selftests/powerpc/signal/ |
H A D | sig_sc_double_restart.c | 22 #include <sys/types.h> 23 #include <sys/wait.h> 24 #include <sys/syscall.h> 173 return test_harness(test_restart, "sig sys restart");
|
/linux-master/tools/testing/selftests/timens/ |
H A D | timer.c | 5 #include <sys/syscall.h> 6 #include <sys/types.h> 7 #include <sys/wait.h>
|
/linux-master/tools/testing/selftests/intel_pstate/ |
H A D | aperf.c | 6 #include <sys/types.h> 7 #include <sys/stat.h> 9 #include <sys/timeb.h>
|
/linux-master/tools/testing/selftests/proc/ |
H A D | read.c | 25 #include <sys/types.h> 31 #include <sys/stat.h> 32 #include <sys/vfs.h>
|
/linux-master/tools/perf/trace/beauty/ |
H A D | sockaddr.c | 5 #include <sys/socket.h> 6 #include <sys/types.h> 7 #include <sys/un.h>
|