/linux-master/tools/testing/selftests/mm/ |
H A D | uffd-common.h | 15 #include <sys/types.h> 16 #include <sys/stat.h> 23 #include <sys/mman.h> 24 #include <sys/syscall.h> 25 #include <sys/ioctl.h> 26 #include <sys/wait.h> 34 #include <sys/random.h>
|
/linux-master/scripts/ |
H A D | spdxcheck.py | 10 import sys namespace 233 sys.stdout.write('%s: %d:%d %s: %s\n' %(fname, self.curline, col, pe.txt, tok)) 235 sys.stdout.write('%s: %d:0 %s\n' %(fname, self.curline, pe.txt)) 341 sys.stderr.write('stdin input "-" must be the only path argument\n') 342 sys.exit(1) 357 sys.stderr.write('%s: %s\n' %(se.el.path, se.txt)) 359 sys.stderr.write('%s\n' %se.txt) 360 sys.exit(1) 363 sys.stderr.write('FAIL: %s\n' %ex) 364 sys [all...] |
H A D | jobserver-exec | 10 import os, sys, errno 71 rc = subprocess.call(sys.argv[1:]) 77 sys.exit(rc)
|
/linux-master/tools/testing/selftests/nsfs/ |
H A D | owner.c | 9 #include <sys/types.h> 10 #include <sys/stat.h> 12 #include <sys/ioctl.h> 13 #include <sys/prctl.h> 14 #include <sys/wait.h>
|
H A D | pidns.c | 9 #include <sys/types.h> 10 #include <sys/stat.h> 12 #include <sys/ioctl.h> 13 #include <sys/prctl.h> 14 #include <sys/wait.h>
|
/linux-master/scripts/clang-tools/ |
H A D | run-clang-tools.py | 16 import sys namespace 67 print(f"Skipping non-C file: '{file}'", file=sys.stderr) 78 sys.stderr.buffer.write(p.stdout) 95 os.dup2(devnull, sys.stdout.fileno()) 96 sys.exit(1) # Python exits with error code 1 on EPIPE
|
/linux-master/tools/testing/selftests/powerpc/eeh/ |
H A D | eeh-functions.sh | 12 local path="/sys/bus/pci/devices/$dev/eeh_pe_state" 54 if [ ! -e "/sys/kernel/debug/powerpc/eeh_dev_check" ] && \ 55 [ ! -e "/sys/kernel/debug/powerpc/eeh_dev_break" ] ; then 62 echo 5000 > /sys/kernel/debug/powerpc/eeh_max_freezes 67 if [ -e "/sys/bus/pci/devices/$dev/pci_bus" ] ; then 76 if [ "ahci" = "$(basename $(realpath /sys/bus/pci/devices/$dev/driver))" ] ; then 100 if ! test -e /sys/bus/pci/devices/$dev/ ; then 106 echo $dev >/sys/kernel/debug/powerpc/eeh_dev_break 111 echo $dev >/sys/kernel/debug/powerpc/eeh_dev_check 139 test -e /sys/bu [all...] |
H A D | eeh-vf-unaware.sh | 22 echo "$vf" > /sys/bus/pci/devices/$vf/driver/unbind
|
/linux-master/tools/testing/selftests/firmware/ |
H A D | fw_lib.sh | 7 DIR=/sys/devices/virtual/misc/test_firmware 72 PROC_SYS_DIR="/proc/sys/kernel" 98 OLD_TIMEOUT="$(cat /sys/class/firmware/timeout)" 101 OLD_FWPATH="$(cat /sys/module/firmware_class/parameters/path)" 140 echo -n "$FWPATH" >/sys/module/firmware_class/parameters/path 192 echo "$OLD_TIMEOUT" >/sys/class/firmware/timeout 197 printf '\000' >/sys/module/firmware_class/parameters/path 199 echo -n "$OLD_FWPATH" >/sys/module/firmware_class/parameters/path 229 if [ -d /sys/class/firmware/ ]; then
|
/linux-master/tools/testing/selftests/net/ |
H A D | rps_default_mask.sh | 10 readonly INITIAL_RPS_DEFAULT_MASK=$(cat /proc/sys/net/core/rps_default_mask) 21 echo $INITIAL_RPS_DEFAULT_MASK > /proc/sys/net/core/rps_default_mask 34 rps_mask=$($cmd /sys/class/net/$dev_name/queues/rx-0/rps_cpus) 50 echo 0 > /proc/sys/net/core/rps_default_mask 55 echo 1 > /proc/sys/net/core/rps_default_mask 59 echo 3 > /proc/sys/net/core/rps_default_mask
|
/linux-master/tools/perf/trace/beauty/ |
H A D | waitid_options.c | 2 #include <sys/types.h> 3 #include <sys/wait.h>
|
/linux-master/tools/testing/selftests/proc/ |
H A D | thread-self.c | 22 #include <sys/mman.h> 23 #include <sys/wait.h>
|
/linux-master/tools/testing/selftests/media_tests/ |
H A D | media_device_open.c | 33 #include <sys/ioctl.h> 34 #include <sys/stat.h>
|
/linux-master/tools/testing/selftests/timers/ |
H A D | set-tai.c | 21 #include <sys/time.h> 22 #include <sys/timex.h>
|
/linux-master/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | fork_cleanup_test.c | 10 #include <sys/types.h> 11 #include <sys/wait.h>
|
/linux-master/arch/mips/boot/compressed/ |
H A D | calc_vmlinuz_load_addr.c | 6 #include <sys/types.h> 7 #include <sys/stat.h>
|
/linux-master/Documentation/admin-guide/aoe/ |
H A D | status.sh | 10 sysd=${sysfs_dir:-/sys} 14 # Suse 9.1 Pro doesn't put /sys in /etc/mtab
|
/linux-master/tools/usb/usbip/vudc/ |
H A D | vudc_server_example.sh | 43 CONFIGFS_MOUNT_POINT="/sys/kernel/config" 69 [[ -d /sys/class/udc/usbip-vudc.0 ]] || modprobe usbip-vudc num=1 100 # : /sys/devices/platform/usbip-vudc.0
|
/linux-master/tools/testing/selftests/splice/ |
H A D | splice_read.c | 9 #include <sys/types.h> 10 #include <sys/stat.h>
|
/linux-master/tools/testing/selftests/arm64/fp/ |
H A D | sve-probe-vls.c | 11 #include <sys/auxv.h> 12 #include <sys/prctl.h>
|
/linux-master/tools/testing/selftests/powerpc/tm/ |
H A D | tm-sigreturn.c | 19 #include <sys/types.h> 20 #include <sys/wait.h>
|
/linux-master/tools/testing/selftests/gpio/ |
H A D | gpio-chip-info.c | 13 #include <sys/ioctl.h> 14 #include <sys/types.h>
|
H A D | gpio-line-name.c | 13 #include <sys/ioctl.h> 14 #include <sys/types.h>
|
/linux-master/tools/power/cpupower/lib/ |
H A D | acpi_cppc.c | 7 #include <sys/types.h> 8 #include <sys/stat.h>
|
/linux-master/tools/testing/selftests/ir/ |
H A D | ir_loopback.sh | 22 RCDEV=$(grep -l DRV_NAME=rc-loopback /sys/class/rc/rc*/uevent | grep -o 'rc[0-9]\+')
|