Home
last modified time | relevance | path

Searched full:then (Results 1 – 25 of 4688) sorted by relevance

12345678910>>...188

/Linux-v6.1/tools/testing/selftests/firmware/
Dfw_lib.sh30 if [ ! -d $DIR ]; then
38 if [ $uid -ne 0 ]; then
44 if [ ! -d $DIR ]; then
47 if [ ! -f $PROC_CONFIG ]; then
48 if modprobe configs 2>/dev/null; then
50 if [ ! -f $PROC_CONFIG ]; then
71 if [ -z $PROC_SYS_DIR ]; then
79 if [ -f $FW_FORCE_SYSFS_FALLBACK ]; then
83 if [ -f $FW_IGNORE_SYSFS_FALLBACK ]; then
87 if [ "$PROC_FW_FORCE_SYSFS_FALLBACK" = "1" ]; then
[all …]
/Linux-v6.1/tools/testing/selftests/net/
Dl2_tos_ttl_inherit.sh15 if [ "$(id -u)" != "0" ]; then
19 if ! which tcpdump > /dev/null 2>&1; then
45 if $found; then
50 if [ "$input_field" = "$field" ]; then
72 if [ "$tos_ttl" = "random" ]; then
75 elif [ "$tos_ttl" = "inherit" ]; then
87 if [ "$tos_ttl" = "random" ]; then
90 elif [ "$tos_ttl" = "inherit" ]; then
108 if [ "$type" = "gre" ] || [ "$type" = "vxlan" ]; then
109 if [ "$outer" = "4" ]; then
[all …]
Dnetdevice.sh22 if [ $? -eq 0 ];then
28 if [ $? -ne 0 ];then
46 if [ $NETDEV_STARTED -eq 0 ];then
52 if [ $? -ne 0 ];then
56 if [ $? -eq 0 ];then
65 if [ $? -eq 0 ];then
81 if [ $# -le 2 ];then
87 if [ $ret -ne 0 ];then
88 if [ $ret -eq "$1" ];then
109 if [ $? -ne 0 ];then
[all …]
/Linux-v6.1/tools/testing/selftests/net/mptcp/
Dmptcp_join.sh76 if [ $checksum -eq 1 ]; then
130 if ! ip -Version &> /dev/null; then
135 if ! iptables -V &> /dev/null; then
140 if ! ip6tables -V &> /dev/null; then
172 if [ "${#only_tests_ids[@]}" -eq 0 ] && [ "${#only_tests_names[@]}" -eq 0 ]; then
178 if [ "${TEST_COUNT}" -eq "${i}" ]; then
183 if [ "${TEST_NAME}" = "${i}" ]; then
198 if skip_test; then
202 if [ "${init}" != "1" ]; then
233 if [ $ip -eq 6 ]; then
[all …]
Dmptcp_connect.sh30 if [ $tc_loss -eq 100 ];then
32 elif [ $tc_loss -ge 10 ]; then
34 elif [ $tc_loss -ge 1 ]; then
63 if [ $OPTARG -ge 0 ];then
87 if [ $OPTARG -ge 0 ];then
95 if [ $OPTARG -ge 0 ];then
145 if [ $? -ne 0 ];then
210 if $checksum; then
242 if $ethtool_random_on;then
264 if [ $? -ne 0 ] ;then
[all …]
/Linux-v6.1/tools/leds/
Dget_led_device_info.sh7 if [ $num_args -eq 1 ]; then
17 elif [ $num_args -eq 2 ]; then
24 if [ ! -f $led_defs_path ]; then
32 if [ $? -ne 0 ]; then
42 if [ "$bus" = "input" ]; then
44 if [ ! -z "$usb_subdev" ]; then
49 if [ "$bus" = "usb" ]; then
53 if [ -d "$usb_interface/ieee80211" ]; then
60 elif [ "$bus" = "input" ]; then
64 elif [ $of_node_missing -eq 0 ]; then
[all …]
/Linux-v6.1/scripts/
Ddecode_stacktrace.sh12 if type llvm-cxxfilt >/dev/null 2>&1 ; then
14 elif type c++filt >/dev/null 2>&1 ; then
19 if [[ $1 == "-r" ]] ; then
26 if [ -e "$fn" ] ; then
32 if [[ $vmlinux == "" ]] ; then
45 if type debuginfod-find >/dev/null 2>&1 ; then
49 if [[ $vmlinux == "" && -z $debuginfod ]] ; then
58 if [[ $? != 0 ]]; then
65 if [[ -n $debuginfod ]] ; then
66 if [[ -n $modbuildid ]] ; then
[all …]
Dcoccicheck13 if [ ! -x "$SPATCH" ]; then
26 if [ -n "$V" -a "$V" != "0" ]; then
51 if [ $? -eq 0 ]; then
60 if [ "$C" = "1" -o "$C" = "2" ]; then
63 if [[ $# -le 0 ]]; then
83 if [ "$KBUILD_EXTMOD" = "" ] ; then
91 if [ -z "$J" ]; then
93 if [ $THREADS_PER_CORE -gt 1 -a $NPROC -gt 4 ] ; then
101 if [ "$KBUILD_EXTMOD" != "" ] ; then
106 if [ "$USE_JOBS" = "no" ]; then
[all …]
Dsetlocalversion20 if test "$1" = "--save-scmversion"; then
24 if test $# -gt 0; then
28 if test $# -gt 0 -o ! -d "$srctree"; then
38 if test -e .scmversion; then
42 if test "$1" = "--short"; then
48 head=$(git rev-parse --verify HEAD 2>/dev/null); then
52 if [ -z "$(git describe --exact-match 2>/dev/null)" ]; then
56 if $short; then
62 if atag="$(git describe 2>/dev/null)"; then
83 } | read dummy; then
[all …]
/Linux-v6.1/tools/testing/selftests/sysctl/
Dsysctl.sh47 if [ -z $DIR ]; then
50 if [ -z $DEFAULT_NUM_TESTS ]; then
53 if [ -z $SYSCTL ]; then
56 if [ -z $PROD_SYSCTL ]; then
59 if [ -z $WRITES_STRICT ]; then
67 if [ ! -e ${WRITES_STRICT} ]; then
71 if [ "$old_strict" = "1" ]; then
79 if [ -z $PAGE_SIZE ]; then
82 if [ -z $MAX_DIGITS ]; then
85 if [ -z $INT_MAX ]; then
[all …]
/Linux-v6.1/tools/bootconfig/scripts/
Dbconf2ftrace.sh34 if [ x"$APPLY" != x ]; then
35 if [ `id -u` -ne 0 ]; then
43 if [ x"$APPLY" != x ]; then # apply command
48 if [ x"$DEBUG" != x ]; then
53 if [ -z "$TRACEFS" ]; then
54 if ! grep -wq debugfs /proc/mounts; then
59 if [ ! -d $TRACEFS ]; then
65 if [ x"$INIT" != x ]; then
78 if xbc_has_key $1; then
85 if xbc_has_key $1; then
[all …]
/Linux-v6.1/tools/testing/selftests/memory-hotplug/
Dmem-on-off-test.sh13 if [ $UID != 0 ]; then
20 if [ ! -d "$SYSFS" ]; then
25 if ! ls $SYSFS/devices/system/memory/memory* > /dev/null 2>&1; then
30 if ! grep -q 1 $SYSFS/devices/system/memory/memory*/removable; then
45 grep -q $state $memory/state; then
85 if ! online_memory $memory; then
88 elif ! memory_is_online $memory; then
99 if online_memory $memory 2> /dev/null; then
102 elif ! memory_is_offline $memory; then
113 if ! offline_memory $memory; then
[all …]
/Linux-v6.1/tools/testing/selftests/cpufreq/
Dmodule.sh7 if [ $FILE_MODULE ]; then
26 if [ $? != 0 ]; then
34 if [ $? != 0 ]; then
49 if [ $2 -eq 1 ]; then
58 if [ $? != 0 ]; then
63 if [ $2 -eq 1 ]; then
75 if [ $? != 0 ]; then
92 if [ $? != 0 ]; then
103 # Remove CPUs before inserting module and then bring them back
112 if [ $1 = "cpufreq_ondemand.ko" ]; then
[all …]
/Linux-v6.1/tools/debugging/
Dkernel-chktaint21 if [ "$1"x != "x" ]; then
22 if [ "$1"x == "--helpx" ] || [ "$1"x == "-hx" ] ; then
25 elif [ $1 -ge 0 ] 2>/dev/null ; then
33 if [ ! -r $TAINTFILE ]; then
41 if [ $taint -eq 0 ]; then
55 if [ `expr $T % 2` -eq 0 ]; then
63 if [ `expr $T % 2` -eq 0 ]; then
71 if [ `expr $T % 2` -eq 0 ]; then
79 if [ `expr $T % 2` -eq 0 ]; then
87 if [ `expr $T % 2` -eq 0 ]; then
[all …]
/Linux-v6.1/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc_traceonoff_triggers.tc34 if [ $cnt -ne 0 ]; then
47 if [ $cnt -eq 0 ]; then
54 if [ -d ../../instances -a -f ../../available_filter_functions ]; then
58 if [ "$x" -eq 1 ]; then
65 if [ -d ../../instances ]; then # Check instances
68 if [ "$cur" = "$top" ]; then
76 if [ $cnt -ne 1 ]; then
84 if [ $cnt -ne $cnt2 ]; then
89 if [ $on != "0" ]; then
97 if [ "$csum1" != "$csum2" ]; then
[all …]
Dfunc_set_ftrace_file.tc27 if ! echo "$1" | grep -q "^$2\$"; then
43 if cat=`test_func "$cat" "$1"`; then
46 if dd1=`test_func "$dd1" "$1"`; then
49 if dd100=`test_func "$dd100" "$1"`; then
55 if [ -n "$cat" ]; then
58 if [ -n "$dd1" ]; then
61 if [ -n "$dd100" ]; then
67 if check_set_ftrace_filter "$ALL_FUNCS"; then
72 if check_set_ftrace_filter "$ALL_FUNCS" "$FUNC1:traceoff:unlimited"; then
77 if check_set_ftrace_filter "$FUNC1" "$FUNC1:traceoff:unlimited"; then
[all …]
/Linux-v6.1/tools/testing/selftests/netfilter/
Dnft_nat.sh22 if [ $? -ne 0 ];then
28 if [ $? -ne 0 ];then
34 if [ $? -ne 0 ];then
42 if [ $? -ne 0 ];then
48 if [ $? -ne 0 ];then
54 if [ $? -ne 0 ];then
95 if [ $? -ne 0 ]; then
100 if [ $? -ne 0 ]; then
107 if [ $? -ne 0 ]; then
112 if [ $? -ne 0 ]; then
[all …]
/Linux-v6.1/scripts/dtc/
Ddtx_diff38 file. If DTx is a dts source file then it is pre-processed in the same
53 and DTx utilizes '#include' or '/include/' then the path of the
61 If DTx_1 and DTx_2 are in different architectures, then this script
70 If DTx_1 and DTx_2 are in different directories, then this script will
72 a local file that exists in both the path of DTx_1 and DTx_2 then the
90 if [ -d "${dtx}" ] ; then
94 if ( ! ${DTC} -I fs ${dtx} ) ; then
98 elif [ -f "${dtx}" ] && [ -r "${dtx}" ] ; then
101 if [ "${magic}" = "d00dfeed" ] ; then
105 if ( ! ${DTC} -I dtb ${dtx} ) ; then
[all …]
/Linux-v6.1/samples/bpf/
Ddo_hbm_test.sh13 echo "egress or ingress bandwidth. It then uses iperf3 or netperf to create"
96 if mount | grep $BPFFS > /dev/null; then
207 if [ $debug_flag -eq 1 ] ; then
224 if [ $ecn -ne 0 ] ; then
228 if [ $use_netperf -eq 0 ] ; then
230 if [ "$cc" != "x" ] ; then
235 if [ "$netem" -ne "0" ] ; then
236 if [ "$qdisc" != "" ] ; then
241 elif [ "$qdisc" != "" ] ; then
249 if [ $use_netperf -ne 0 ] ; then
[all …]
/Linux-v6.1/tools/testing/selftests/rcutorture/bin/
Dkvm-test-1-run-qemu.sh26 then
31 then
45 then
61 then
64 then
73 then
76 then
79 then
93 then
98 then
[all …]
Dparse-console.sh24 then
31 then
38 then
42 then
97 then
99 then
106 then
113 then
122 then
128 then
[all …]
/Linux-v6.1/tools/testing/selftests/powerpc/eeh/
Deeh-functions.sh14 # 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-v6.1/tools/testing/selftests/kexec/
Dkexec_common_lib.sh48 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 …]
Dtest_kexec_file_load.sh30 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-v6.1/tools/perf/
Dperf-completion.sh11 if [ -z "$exclude" ]; then
29 if [ $j -ge 2 ] && [ -n "$first" ]; then
34 if [ $i = $COMP_CWORD ]; then
37 if (($i < ${#COMP_WORDS[@]} - 1)); then
45 if [ $i = $COMP_CWORD ]; then
55 if [ $preload_get_comp_words_by_ref = "true" ]; then
63 if [ "$1" = "-n" ]; then
92 if [ $preload__ltrim_colon_completions = "true" ]; then
99 if [[ "$1" == *:* && "$COMP_WORDBREAKS" == *:* ]]; then
117 if [ $preload__ltrim_colon_completions = "true" ]; then
[all …]

12345678910>>...188