Home
last modified time | relevance | path

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

12345678910>>...268

/Linux-v5.10/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
69 if [ -z $PROC_SYS_DIR ]; then
77 if [ -f $FW_FORCE_SYSFS_FALLBACK ]; then
81 if [ -f $FW_IGNORE_SYSFS_FALLBACK ]; then
85 if [ "$PROC_FW_FORCE_SYSFS_FALLBACK" = "1" ]; then
[all …]
/Linux-v5.10/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-v5.10/tools/testing/selftests/sysctl/
Dsysctl.sh46 if [ -z $DIR ]; then
49 if [ -z $DEFAULT_NUM_TESTS ]; then
52 if [ -z $SYSCTL ]; then
55 if [ -z $PROD_SYSCTL ]; then
58 if [ -z $WRITES_STRICT ]; then
66 if [ ! -e ${WRITES_STRICT} ]; then
70 if [ "$old_strict" = "1" ]; then
78 if [ -z $PAGE_SIZE ]; then
81 if [ -z $MAX_DIGITS ]; then
84 if [ -z $INT_MAX ]; then
[all …]
/Linux-v5.10/scripts/
Dcoccicheck13 if [ ! -x "$SPATCH" ]; then
27 if [ -n "$V" -a "$V" != "0" ]; then
52 if [ $? -eq 0 ]; then
61 if [ "$C" = "1" -o "$C" = "2" ]; then
72 if [ "$KBUILD_EXTMOD" = "" ] ; then
80 if [ -z "$J" ]; then
82 if [ $THREADS_PER_CORE -gt 1 -a $NPROC -gt 4 ] ; then
90 if [ "$KBUILD_EXTMOD" != "" ] ; then
95 if [ "$USE_JOBS" = "no" ]; then
98 elif [ "$NPROC" != "1" ]; 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
69 # awk substr() then picks the 'g' and first 12
71 if atag="$(git describe --abbrev=12 2>/dev/null)"; then
[all …]
Ddecode_stacktrace.sh6 if [[ $# < 1 ]]; then
12 if [[ $1 == "-r" ]] ; then
19 if [ -e "$fn" ] ; then
25 if [[ $vmlinux == "" ]] ; then
40 if [[ "$modpath" != "" ]] ; then
42 if readelf -WS "$fn" | grep -qwF .debug_line ; then
53 if [[ $release == "" ]] ; then
58 if [ -e "$dn" ] ; then
75 if [[ $module == "" ]] ; then
77 elif [[ "${modcache[$module]+isset}" == "isset" ]]; then
[all …]
/Linux-v5.10/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-v5.10/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-v5.10/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-v5.10/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-v5.10/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
74 If DTx_1 and DTx_2 are in different directories, then this script will
76 a local file that exists in both the path of DTx_1 and DTx_2 then the
94 if [ -d "${dtx}" ] ; then
98 if ( ! ${DTC} -I fs ${dtx} ) ; then
102 elif [ -f "${dtx}" ] && [ -r "${dtx}" ] ; then
105 if [ "${magic}" = "d00dfeed" ] ; then
109 if ( ! ${DTC} -I dtb ${dtx} ) ; then
[all …]
/Linux-v5.10/samples/bpf/
Ddo_hbm_test.sh13 echo "egress or ingress bandwidht. It then uses iperf3 or netperf to create"
196 if [ $debug_flag -eq 1 ] ; then
213 if [ $ecn -ne 0 ] ; then
217 if [ $use_netperf -eq 0 ] ; then
219 if [ "$cc" != "x" ] ; then
224 if [ "$netem" -ne "0" ] ; then
225 if [ "$qdisc" != "" ] ; then
230 elif [ "$qdisc" != "" ] ; then
238 if [ $use_netperf -ne 0 ] ; then
239 if [ "$server" != "" ] ; then
[all …]
/Linux-v5.10/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-v5.10/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
76 if [ ! -d "$efi_vars" ]; then
82 [ -f "$setup_mode_file/data" ]; then
86 if [ $secureboot_mode -eq 1 ] && [ $setup_mode -eq 0 ]; then
108 if [ $secureboot_mode -eq 0 ]; then
113 if [ $secureboot_mode -eq 0 ]; then
121 if [ $(id -ru) -ne 0 ]; then
134 if [ $? -eq 0 ]; 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
103 if [ "$sig" == "$module_sig_string" ]; then
120 if [ $? -eq 0 ]; then
127 && [ $ima_modsig -eq 0 ]; then
[all …]
/Linux-v5.10/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-v5.10/tools/perf/
Dperf-with-kcore.sh19 if [ -n "$PERF" ] ; then
23 if [ -z "$PERF" ] ; then
27 if [ ! -x "$PERF" ] ; then
39 if [ $EUID -eq 0 ] ; then
95 if [ $EUID -ne 0 ] ; then
100 if [ -z "$SUDO_USER" ] ; then
113 if [ -n "$SUDO_GID" ] ; then
124 if [ $EUID -eq 0 ] ; then
136 if [ -n "$PERMISSIONS_OK" ] ; then
145 if [ $EUID -ne 0 ] ; then
[all …]
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 …]
/Linux-v5.10/tools/testing/selftests/rcutorture/bin/
Dkvm-test-1-run.sh41 then
56 then
77 then
87 then
96 then
111 then
117 then
130 then
139 then
157 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-v5.10/tools/testing/selftests/vm/
Drun_vmtests13 if [ "$name" = "HugePages_Free:" ]; then
16 if [ "$name" = "Hugepagesize:" ]; then
32 if [ -n "$freepgs" ] && [ -n "$hpgsize_KB" ]; then
40 if [ $? -ne 0 ]; then
45 if [ "$name" = "HugePages_Free:" ]; then
51 if [ $freepgs -lt $needpgs ]; then
63 if [ -z $ARCH ]; then
76 if [ $? -ne 0 ]; then
91 if [ $? -ne 0 ]; then
104 if [ $? -ne 0 ]; then
[all …]
/Linux-v5.10/tools/testing/selftests/net/
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-v5.10/tools/testing/selftests/ntb/
Dntb_test.sh23 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-v5.10/tools/testing/selftests/net/mptcp/
Dmptcp_connect.sh26 if [ $tc_loss -eq 100 ];then
28 elif [ $tc_loss -ge 10 ]; then
30 elif [ $tc_loss -ge 1 ]; then
58 if [ $OPTARG -ge 0 ];then
82 if [ $OPTARG -ge 0 ];then
90 if [ $OPTARG -ge 0 ];then
135 if [ $? -ne 0 ];then
227 if $ethtool_random_on;then
249 if [ $? -ne 0 ] ;then
267 if [ "$(ip netns exec ${disabled_ns} sysctl net.mptcp.enabled | awk '{ print $3 }')" -ne 1 ]; then
[all …]

12345678910>>...268