Searched refs:sys (Results 301 - 325 of 1512) sorted by relevance

<<11121314151617181920>>

/linux-master/tools/testing/selftests/timers/
H A Dleapcrash.c21 #include <sys/time.h>
22 #include <sys/timex.h>
H A Drtcpie.c13 #include <sys/ioctl.h>
14 #include <sys/time.h>
15 #include <sys/types.h>
/linux-master/tools/testing/selftests/powerpc/dexcr/
H A Ddexcr.h12 #include <sys/prctl.h>
13 #include <sys/types.h>
/linux-master/tools/testing/selftests/mm/
H A Dmemfd_secret.c9 #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 Dhugetlb_madv_vs_map.c4 * # echo 1 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
23 #include <sys/mman.h>
24 #include <sys/types.h>
H A Dmlock-random-test.c7 #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 Dfork.c21 #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 Dnull_syscall.c15 #include <sys/types.h>
16 #include <sys/time.h>
17 #include <sys/syscall.h>
/linux-master/tools/testing/selftests/x86/
H A Dsysret_rip.c14 #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 Dioperm.c17 #include <sys/types.h>
18 #include <sys/wait.h>
21 #include <sys/io.h>
/linux-master/tools/testing/selftests/breakpoints/
H A Dbreakpoint_test_arm64.c14 #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 Dstep_after_suspend_test.c16 #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 Dfunctions.sh9 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 Dkcmp_test.c15 #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 Dtrace-event-info.c11 #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 Dgzip_vas.c14 #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 Dio_uring_zerocopy_tx.c29 #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 Dspidev_fdx.c8 #include <sys/ioctl.h>
9 #include <sys/types.h>
10 #include <sys/stat.h>
/linux-master/tools/testing/selftests/powerpc/mm/
H A Dwild_bctr.c12 #include <sys/mman.h>
13 #include <sys/types.h>
14 #include <sys/wait.h>
/linux-master/tools/laptop/freefall/
H A Dfreefall.c14 #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 Dsig_sc_double_restart.c22 #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 Dtimer.c5 #include <sys/syscall.h>
6 #include <sys/types.h>
7 #include <sys/wait.h>
/linux-master/tools/testing/selftests/intel_pstate/
H A Daperf.c6 #include <sys/types.h>
7 #include <sys/stat.h>
9 #include <sys/timeb.h>
/linux-master/tools/testing/selftests/proc/
H A Dread.c25 #include <sys/types.h>
31 #include <sys/stat.h>
32 #include <sys/vfs.h>
/linux-master/tools/perf/trace/beauty/
H A Dsockaddr.c5 #include <sys/socket.h>
6 #include <sys/types.h>
7 #include <sys/un.h>

Completed in 284 milliseconds

<<11121314151617181920>>