Searched refs:sys (Results 151 - 175 of 1483) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/proc/
H A Dproc-self-map-files-001.c18 #include <sys/types.h>
19 #include <sys/stat.h>
23 #include <sys/mman.h>
H A Dsetns-dcache.c31 #include <sys/types.h>
32 #include <sys/stat.h>
34 #include <sys/socket.h>
H A Dproc-self-map-files-002.c18 #include <sys/types.h>
19 #include <sys/stat.h>
23 #include <sys/mman.h>
H A Dproc-uptime-002.c24 #include <sys/syscall.h>
29 #include <sys/types.h>
30 #include <sys/stat.h>
/linux-master/tools/testing/selftests/rtc/
H A Dsetdate.c11 #include <sys/ioctl.h>
12 #include <sys/time.h>
13 #include <sys/types.h>
/linux-master/tools/testing/selftests/powerpc/mm/
H A Dlarge_vm_fork_separation.c11 #include <sys/mman.h>
12 #include <sys/types.h>
13 #include <sys/wait.h>
/linux-master/tools/testing/selftests/drivers/net/netdevsim/
H A Ddevlink_in_netns.sh13 SYSFS_NET_DIR=/sys/bus/netdevsim/devices/$DEV_NAME/net/
54 echo "$BUS_ADDR $PORT_COUNT" > /sys/bus/netdevsim/new_device
61 echo "$BUS_ADDR" > /sys/bus/netdevsim/del_device
/linux-master/tools/testing/selftests/sync/
H A Dsync_test.c31 #include <sys/types.h>
32 #include <sys/stat.h>
33 #include <sys/wait.h>
70 ret = stat("/sys/kernel/debug/sync/sw_sync", &sbuf);
80 ksft_exit_fail_msg("stat failed on /sys/kernel/debug/sync/sw_sync: %s",
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dsend_signal_sched_switch.c5 #include <sys/mman.h>
7 #include <sys/types.h>
8 #include <sys/stat.h>
/linux-master/arch/powerpc/include/asm/
H A Dsyscall_wrapper.h19 long sys##name(const struct pt_regs *regs); \
20 ALLOW_ERROR_INJECTION(sys##name, ERRNO); \
23 long sys##name(const struct pt_regs *regs) \
/linux-master/samples/user_events/
H A Dexample.c10 #include <sys/ioctl.h>
11 #include <sys/mman.h>
12 #include <sys/uio.h>
18 const char *data_file = "/sys/kernel/tracing/user_events_data";
/linux-master/tools/testing/selftests/pidfd/
H A Dpidfd.h15 #include <sys/mount.h>
16 #include <sys/types.h>
17 #include <sys/wait.h>
/linux-master/tools/testing/selftests/user_events/
H A Duser_events_selftests.h6 #include <sys/stat.h>
7 #include <sys/types.h>
8 #include <sys/mount.h>
16 umount("/sys/kernel/tracing");
29 ret = stat("/sys/kernel/tracing", &buf);
37 ret = stat("/sys/kernel/tracing/README", &buf);
40 if (mount(NULL, "/sys/kernel/tracing", "tracefs", 0, NULL) != 0) {
48 ret = stat("/sys/kernel/tracing/README", &buf);
79 ret = stat("/sys/kernel/tracing/user_events_data", &buf);
/linux-master/tools/testing/selftests/damon/
H A Ddebugfs_target_ids_pid_leak.c13 #include <sys/types.h>
14 #include <sys/wait.h>
15 #include <sys/time.h>
18 #define DBGFS_TARGET_IDS "/sys/kernel/debug/damon/target_ids"
/linux-master/tools/testing/selftests/exec/
H A Drecursion-depth.c21 #include <sys/types.h>
22 #include <sys/stat.h>
24 #include <sys/mount.h>
/linux-master/tools/perf/scripts/python/
H A Dcompaction-times.py5 # 'echo 1 > /proc/sys/vm/compact_memory' to force compaction of all zones
8 import sys namespace
138 sys.stderr.write("missing start compaction event for pid %d\n" % pid)
147 sys.stderr.write("missing start compaction event for pid %d\n" % pid)
192 sys.stdout.write("%d[%s].%d: %s\n" % (self.pid, self.comm, i+1, pelem))
202 sys.stdout.write("%d[%s]: %s\n" % (self.pid, self.comm, self.val))
206 sys.stdout.write("total: %s\n" % chead.str())
249 sys.stdout.write(usage)
250 sys.stdout.write("\n")
251 sys
[all...]
/linux-master/tools/testing/selftests/openat2/
H A Drename_attack_test.c11 #include <sys/stat.h>
12 #include <sys/types.h>
13 #include <sys/mount.h>
14 #include <sys/mman.h>
15 #include <sys/prctl.h>
/linux-master/tools/testing/selftests/arm64/mte/
H A Dcheck_gcr_el1_cswitch.c13 #include <sys/auxv.h>
14 #include <sys/mman.h>
15 #include <sys/prctl.h>
16 #include <sys/types.h>
17 #include <sys/wait.h>
/linux-master/tools/testing/selftests/timers/
H A Dclocksource-switch.c30 #include <sys/stat.h>
31 #include <sys/time.h>
32 #include <sys/timex.h>
33 #include <sys/types.h>
34 #include <sys/wait.h>
47 fd = open("/sys/devices/system/clocksource/clocksource0/available_clocksource", O_RDONLY);
79 fd = open("/sys/devices/system/clocksource/clocksource0/current_clocksource", O_RDONLY);
91 fd = open("/sys/devices/system/clocksource/clocksource0/current_clocksource", O_WRONLY);
/linux-master/tools/testing/selftests/wireguard/qemu/
H A Dinit.c15 #include <sys/wait.h>
16 #include <sys/mount.h>
17 #include <sys/stat.h>
18 #include <sys/types.h>
19 #include <sys/io.h>
20 #include <sys/ioctl.h>
21 #include <sys/reboot.h>
22 #include <sys/utsname.h>
23 #include <sys/sendfile.h>
24 #include <sys/sysmacro
[all...]
/linux-master/tools/testing/selftests/bpf/
H A Dtest_flow_dissector.sh27 $bpftool prog loadall $BPF_FILE /sys/fs/bpf/flow \
31 /sys/fs/bpf/flow/_dissect flow_dissector; then
36 $bpftool prog attach pinned /sys/fs/bpf/flow/_dissect \
40 /sys/fs/bpf/flow/_dissect flow_dissector; then
46 /sys/fs/bpf/flow/_dissect flow_dissector; then
51 rm -rf /sys/fs/bpf/flow
91 if /bin/mount | grep /sys/fs/bpf > /dev/null; then
96 /bin/mount bpffs /sys/fs/bpf -t bpf
104 echo 0 > /proc/sys/net/ipv4/conf/default/rp_filter
105 echo 0 > /proc/sys/ne
[all...]
/linux-master/samples/seccomp/
H A Duser-trap.c9 #include <sys/sysmacros.h>
10 #include <sys/types.h>
11 #include <sys/wait.h>
12 #include <sys/socket.h>
13 #include <sys/stat.h>
14 #include <sys/mman.h>
15 #include <sys/syscall.h>
16 #include <sys/user.h>
17 #include <sys/ioctl.h>
18 #include <sys/ptrac
[all...]
/linux-master/tools/testing/selftests/x86/
H A Dsingle_step_syscall.c15 #include <sys/time.h>
18 #include <sys/syscall.h>
23 #include <sys/mman.h>
24 #include <sys/signal.h>
25 #include <sys/ucontext.h>
31 #include <sys/ptrace.h>
32 #include <sys/user.h>
/linux-master/tools/testing/selftests/net/forwarding/
H A Dtsn_lib.sh113 if ! [ -d /sys/bus/cpu/devices/cpu${cpu}/cpufreq ]; then
119 declare -g "${freq}=$(cat /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_min_freq)"
120 declare -g "${governor}=$(cat /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_governor)"
122 cat /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_max_freq > \
123 /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_min_freq
125 /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_governor
134 if ! [ -d /sys/bus/cpu/devices/cpu${cpu}/cpufreq ]; then
138 echo "${!freq}" > /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_min_freq
140 /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_governor
/linux-master/arch/arm/mach-orion5x/
H A Dpci.c139 static int __init pcie_setup(struct pci_sys_data *sys) argument
165 realio.start = sys->busnr * SZ_64K;
185 pci_add_resource_offset(&sys->resources, res, sys->mem_offset);
466 static int __init pci_setup(struct pci_sys_data *sys) argument
486 realio.start = sys->busnr * SZ_64K;
506 pci_add_resource_offset(&sys->resources, res, sys->mem_offset);
550 int __init orion5x_pci_sys_setup(int nr, struct pci_sys_data *sys) argument
555 orion_pcie_set_local_bus_nr(PCIE_BASE, sys
569 struct pci_sys_data *sys = pci_host_bridge_priv(bridge); local
[all...]

Completed in 249 milliseconds

1234567891011>>