/linux/tools/testing/selftests/rcutorture/bin/ ! |
H A D | parse-console.sh | 24 then 31 then 38 then 42 then 97 then 99 then 106 then 113 then 122 then 128 then [all …]
|
H A D | kvm-test-1-run-qemu.sh | 25 then 30 then 44 then 60 then 63 then 72 then 75 then 78 then 92 then 97 then [all …]
|
/linux/tools/perf/tests/shell/ ! |
H A D | record_bpf_filter.sh | 27 then 29 then 46 then 52 then 54 then 72 then 80 then 94 then 102 then 110 then [all …]
|
H A D | lock_contention.sh | 24 if [ "$(id -u)" != 0 ]; then 30 if ! perf list tracepoint | grep -q lock:contention_begin; then 37 if [ `nproc` -lt 4 ]; then 50 if [ "$(cat "${result}" | wc -l)" != "1" ]; then 61 if ! perf lock con -b true > /dev/null 2>&1 ; then 68 if [ "$(cat "${result}" | wc -l)" != "1" ]; then 80 if [ "$(cat "${result}" | wc -l)" != "1" ]; then 91 if [ "$(cat "${result}" | wc -l)" != "1" ]; then 97 if ! perf lock con -b true > /dev/null 2>&1 ; then 103 if [ "$(cat "${result}" | wc -l)" != "1" ]; then [all …]
|
/linux/tools/testing/selftests/net/mptcp/ ! |
H A D | mptcp_connect.sh | 38 if [ $tc_loss -eq 100 ];then 40 elif [ $tc_loss -ge 10 ]; then 42 elif [ $tc_loss -ge 1 ]; then 71 if [ $OPTARG -ge 0 ];then 95 if [ $OPTARG -ge 0 ];then 103 if [ $OPTARG -ge 0 ];then 208 if $checksum; then 219 if ip netns exec $ns ethtool -K $dev $flags 2>/dev/null; then 241 if $ethtool_random_on;then 263 if ! ip netns exec ${disabled_ns} sysctl net.mptcp >/dev/null; then [all …]
|
/linux/tools/testing/selftests/powerpc/eeh/ ! |
H A D | eeh-functions.sh | 14 # if a driver doesn't support the error handling callbacks then the 19 if [ -z "$eeh_state" ]; then 26 # If EEH_PE_ISOLATED or EEH_PE_RECOVERING are set then the PE is in an 28 if [ "$((sw_state & 0x3))" -ne 0 ] ; then 36 if [ "$((fw_state & 0x18))" -ne "$((0x18))" ] ; then 49 if ! eeh_supported ; then 55 [ ! -e "/sys/kernel/debug/powerpc/eeh_dev_break" ] ; then 67 if [ -e "/sys/bus/pci/devices/$dev/pci_bus" ] ; then 73 # happens to be hosting the root filesystem, and then we go and break 76 if [ "ahci" = "$(basename $(realpath /sys/bus/pci/devices/$dev/driver))" ] ; then [all …]
|
/linux/tools/memory-model/scripts/ ! |
H A D | cmplitmushist.sh | 24 then 26 then 33 then 43 then 46 then 49 then 52 then 61 then 70 then 72 then [all …]
|
/linux/tools/testing/selftests/kexec/ ! |
H A D | kexec_common_lib.sh | 48 if ! grep -q "^\S\+ $efivarfs efivarfs" /proc/mounts; then 54 if [ -f "$secure_boot_file" ] && [ -f "$setup_mode_file" ]; then 60 if [ $secureboot_mode -eq 1 ] && [ $setup_mode -eq 0 ]; then 75 if [ -f $secure_boot_file ]; then 99 if [ "$system_arch" == "ppc64le" ]; then 107 if [ $secureboot_mode -eq 0 ]; then 115 if [ $(id -ru) -ne 0 ]; then 128 if [ $? -eq 0 ]; then 136 # then via proc, and finally by extracting it from the kernel image or the 145 if [ -f $module_dir/config ]; then [all …]
|
H A D | test_kexec_file_load.sh | 30 if [ $? -eq 1 ]; then 41 # First check for appended signature (modsig), then xattr 42 if [ $ima_read_policy -eq 1 ]; then 46 if [ $ret -eq 1 ]; then 66 if [ $ret -eq 1 ]; then 81 if [ $? -eq 1 ]; then 87 if [ $? -eq 0 ]; then 104 if [ $? -eq 0 ]; then 121 if [ $? -eq 0 ]; then 128 && [ $ima_modsig -eq 0 ]; then [all …]
|
/linux/scripts/ ! |
H A D | setlocalversion | 21 if test "$1" = "--no-local"; then 27 if test $# -gt 0; then 31 if test $# -gt 0 -o ! -d "$srctree"; then 39 if [ "$(git cat-file -t "$tag" 2> /dev/null)" != tag ]; then 50 if [ "$1" != 0 ]; then 77 if test -n "$(git rev-parse --show-cdup 2>/dev/null)"; then 81 if ! head=$(git rev-parse --verify HEAD 2>/dev/null); then 95 if [ -n "${file_localversion#-}" ] ; then 103 if [ -z "${count}" ] && [ -n "${file_localversion}" ]; then 108 if [ -z "${count}" ]; then [all …]
|
H A D | link-vmlinux.sh | 63 if is_enabled CONFIG_LTO_CLANG || is_enabled CONFIG_X86_KERNEL_IBT; then 72 if is_enabled CONFIG_GENERIC_BUILTIN_DTB; then 76 if is_enabled CONFIG_MODULES; then 82 if [ "${SRCARCH}" = "um" ]; then 97 if [ -n "${strip_debug}" ] ; then 101 if [ -n "${generate_map}" ]; then 129 if is_enabled CONFIG_CPU_BIG_ENDIAN; then 144 if is_enabled CONFIG_KALLSYMS_ALL; then 197 if [ "$1" = "clean" ]; then 205 if is_enabled CONFIG_ARCH_WANTS_PRE_LINK_VMLINUX; then [all …]
|
H A D | check-uapi.sh | 129 if [ "$IGNORE_AMBIGUOUS_CHANGES" = "true" ]; then 159 if [ ! -f usr/include/Makefile ]; then 209 if [ -n "$ref" ]; then 248 if [ "${#threads[@]}" -ge "$MAX_THREADS" ]; then 249 if wait "${threads[0]}"; then 262 if wait "$t"; then 269 if [ -n "$abi_error_log" ]; then 282 if [ "$failed" -gt 0 ]; then 285 if [ -n "$abi_error_log" ]; then 305 if [ ! -f "$base_header" ]; then [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ ! |
H A D | airoha,en7581-pinctrl.yaml | 81 then: 89 then: 97 then: 105 then: 113 then: 124 then: 132 then: 140 then: 148 then: 158 then: [all …]
|
H A D | ralink,rt5350-pinctrl.yaml | 56 then: 65 then: 74 then: 83 then: 92 then: 101 then: 110 then: 119 then: 128 then: 137 then: [all …]
|
H A D | ralink,rt305x-pinctrl.yaml | 56 then: 65 then: 74 then: 83 then: 92 then: 101 then: 110 then: 119 then: 128 then: 137 then: [all …]
|
/linux/tools/testing/selftests/ftrace/test.d/event/ ! |
H A D | event-mod.tc | 8 if ! modprobe trace-events-sample ; then 26 if [ $val -ne 1 ]; then 34 if [ "$val" != "0" ]; then 38 if [ $count -ne 0 ]; then 50 if [ $val -ne 0 ]; then 57 if [ $cnt -ne 0 ]; then 66 if [ $val -ne 1 ]; then 75 if [ "$val" != "X" ]; then 81 if [ $val -ne 0 ]; then 97 if [ $val -ne 0 ]; then [all …]
|
/linux/tools/testing/selftests/ublk/ ! |
H A D | test_common.sh | 7 if command -v "$1" >/dev/null 2>&1; then 82 if [ $err_code -ne 0 ]; then 90 if [ $err_code -ne 0 ]; then 98 if [ $UID != 0 ]; then 137 if [ "$UBLK_TEST_SHOW_RESULT" -ne 0 ]; then 138 if [ "$2" -eq 0 ]; then 140 elif [ "$2" -eq 4 ]; then 146 if [ "$2" -ne 0 ]; then 159 if [ "${code}" -ne 0 ]; then 172 if $UBLK_PROG "features" | grep "$1" > /dev/null 2>&1; then [all …]
|
/linux/tools/testing/selftests/mm/ ! |
H A D | run_vmtests.sh | 113 if [ "$VM_SELFTEST_ITEMS" == "default" ]; then 118 if [[ " ${VM_SELFTEST_ITEMS[*]} " =~ " ${1} " ]]; then 151 if [ "$name" = "HugePages_Free:" ]; then 154 if [ "$name" = "Hugepagesize:" ]; then 167 if [[ $uffd_min_KB -gt $hugetlb_min_KB ]]; then 174 if [ -n "$freepgs" ] && [ -n "$hpgsize_KB" ]; then 181 if ! echo $((lackpgs + nr_hugepgs)) > /proc/sys/vm/nr_hugepages; then 186 if [ "$name" = "HugePages_Free:" ]; then 192 if [ "$freepgs" -lt "$needpgs" ]; then 204 if [ -z "$ARCH" ]; then [all …]
|
/linux/tools/testing/selftests/net/ ! |
H A D | rtnetlink.sh | 47 if [ $ret -eq 0 ]; then 56 if [ $1 -eq 0 ]; then 65 if [ "$VERBOSE" = "1" ]; then 70 if [ "$VERBOSE" = "1" -a -n "$out" ]; then 95 if [ "$VERBOSE" = "1" ]; then 122 if [[ $ret -ne 0 ]] && [[ "${PAUSE_ON_FAIL}" = "yes" ]]; then 127 if [ "${PAUSE}" = "yes" ]; then 155 if [ $ret -ne 0 ] ;then 185 if [ $ret -ne 0 ];then 212 if [ $ret -ne 0 ];then [all …]
|
/linux/tools/testing/selftests/ntb/ ! |
H A D | ntb_test.sh | 23 echo "If the NTB device loops back to the same host then," 27 echo "device. SSH will then be used to test the remote side." 28 echo "An SSH key between the root users of the host would then" 83 if [[ "$REMOTE_HOST" != "" ]]; then 93 if [[ "$VPATH" == *":/"* ]]; then 102 if [[ "$REMOTE" != "" ]]; then 114 if [[ "$REMOTE" != "" ]]; then 125 if [[ "$REMOTE" != "" ]]; then 148 if [[ ${PORT} -eq $PEER_PORT ]]; then 184 if ! write_file "N" "$LOC/../link" 2> /dev/null; then [all …]
|
/linux/tools/testing/selftests/cpu-hotplug/ ! |
H A D | cpu-on-off-test.sh | 13 if [ $UID != 0 ]; then 22 if [ ! -d "$SYSFS" ]; then 27 if ! ls $SYSFS/devices/system/cpu/cpu* > /dev/null 2>&1; then 36 if [[ "$online_cpus" = "$online_max" ]]; then 48 if [[ "a$offline_cpus" = "a" ]]; then 64 if [ -f $cpu/online ] && grep -q $state $cpu/online; then 104 if ! online_cpu $cpu; then 107 elif ! cpu_is_online $cpu; then 117 if online_cpu $cpu 2> /dev/null; then 120 elif ! cpu_is_offline $cpu; then [all …]
|
/linux/tools/testing/selftests/ftrace/ ! |
H A D | ftracetest | 51 if [ -n "${UMOUNT_DIR}" ]; then 63 if [ `id -u` -ne 0 ]; then 100 if [ $VERBOSE -eq -1 ]; then 109 if [ $VERBOSE -ne 0 ]; then 137 if [ -f "$1" ]; then 145 if [ -d "$1" ]; then 155 if [ ! -z "$OPT_TEST_CASES" ]; then 162 if [ -z "$TRACING_DIR" ]; then 164 if [ -z "$DEBUGFS_DIR" ]; then 165 # If tracefs exists, then so does /sys/kernel/tracing [all …]
|
/linux/tools/testing/selftests/bpf/ ! |
H A D | test_bpftool_map.sh | 33 if [ "$BPF_FS_PARENT" = "$BPF_FS_TMP_PARENT" ]; then 60 if [ "$?" = 0 ]; then 69 if [ $(id -u) -ne 0 ]; then 80 if ! "$bpftool_path" version > /dev/null 2>&1; then 89 if [ ! -f /sys/kernel/btf/vmlinux ]; then 121 if ! "$bpftool_path" map lookup "$name_cmd" "$map_name" key $key 1>/dev/null; then 127 if ! "$bpftool_path" btf dump map "$name_cmd" "$map_name" 1>/dev/null; then 149 $value 2>/dev/null; then 150 if [ "$write_should_succeed" = "false" ]; then 155 if [ "$write_should_succeed" = "true" ]; then [all …]
|
/linux/tools/testing/selftests/firmware/ ! |
H A D | fw_filesystem.sh | 24 if [ "$HAS_FW_LOADER_USER_HELPER" = "yes" ]; then 29 if printf '\000' >"$DIR"/trigger_request 2> /dev/null; then 34 if [ ! -e "$DIR"/trigger_async_request ]; then 38 if printf '\000' >"$DIR"/trigger_async_request 2> /dev/null; then 45 if echo -n "nope-$NAME" >"$DIR"/trigger_request 2> /dev/null; then 49 if diff -q "$FW" /dev/test_firmware >/dev/null ; then 53 if [ "$HAS_FW_LOADER_USER_HELPER" = "yes" ]; then 60 if ! echo -n "$NAME" >"$DIR"/trigger_request ; then 66 if ! diff -q "$FW" /dev/test_firmware >/dev/null ; then 74 if [ ! -e "$DIR"/trigger_async_request ]; then [all …]
|
/linux/tools/testing/selftests/net/rds/ ! |
H A D | run.sh | 13 if test -f "$build_include"; then 34 if ! which "$GCOV_CMD" > /dev/null 2>&1; then 43 if [ "$GCOV_VER" != "$GCC_VER" ]; then 47 if ! which "$GCOV_CMD" > /dev/null 2>&1; then 57 if [ "$GCOV_VER" != "$GCC_VER" ]; then 70 if ! grep -x "CONFIG_GCOV_PROFILE_RDS=y" "$kconfig" > /dev/null 2>&1; then 74 if ! grep -x "CONFIG_GCOV_KERNEL=y" "$kconfig" > /dev/null 2>&1; then 78 if grep -x "CONFIG_GCOV_PROFILE_ALL=y" "$kconfig" > /dev/null 2>&1; then 83 if [ "$GENERATE_GCOV_REPORT" -eq 0 ]; then 95 if ! grep -x "$1=y" "$kconfig" > /dev/null 2>&1; then [all …]
|