Home
last modified time | relevance | path

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

12345678910>>...278

/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/tools/testing/selftests/firmware/
Dfw_lib.sh24 if [ ! -d $DIR ]; then
32 if [ $uid -ne 0 ]; then
38 if [ ! -d $DIR ]; then
41 if [ ! -f $PROC_CONFIG ]; then
42 if modprobe configs 2>/dev/null; then
44 if [ ! -f $PROC_CONFIG ]; then
62 if [ -z $PROC_SYS_DIR ]; then
70 if [ -f $FW_FORCE_SYSFS_FALLBACK ]; then
74 if [ -f $FW_IGNORE_SYSFS_FALLBACK ]; then
78 if [ "$PROC_FW_FORCE_SYSFS_FALLBACK" = "1" ]; then
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/tools/testing/selftests/sysctl/
Dsysctl.sh43 if [ ! -d $DIR ]; then
53 if [ -z $DIR ]; then
56 if [ -z $DEFAULT_NUM_TESTS ]; then
59 if [ -z $SYSCTL ]; then
62 if [ -z $PROD_SYSCTL ]; then
65 if [ -z $WRITES_STRICT ]; then
73 if [ ! -e ${WRITES_STRICT} ]; then
77 if [ "$old_strict" = "1" ]; then
85 if [ -z $PAGE_SIZE ]; then
88 if [ -z $MAX_DIGITS ]; then
[all …]
/kernel/linux/linux-4.19/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
78 if [ -z "$J" ]; then
85 if [ "$KBUILD_EXTMOD" != "" ] ; then
90 if [ "$USE_JOBS" = "no" ]; then
93 elif [ "$NPROC" != "1" ]; then
99 if [ "$MODE" = "" ] ; 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 …]
/kernel/linux/linux-4.19/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc_traceonoff_triggers.tc14 if [ ! -f set_ftrace_filter ]; then
48 if [ $cnt -ne 0 ]; then
61 if [ $cnt -eq 0 ]; then
68 if [ -d ../../instances -a -f ../../available_filter_functions ]; then
72 if [ "$x" -eq 1 ]; then
79 if [ -d ../../instances ]; then # Check instances
82 if [ "$cur" = "$top" ]; then
90 if [ $cnt -ne 1 ]; then
98 if [ $cnt -ne $cnt2 ]; then
103 if [ $on != "0" ]; then
[all …]
Dfunc_set_ftrace_file.tc13 if [ ! -f set_ftrace_filter ]; then
41 if ! echo "$1" | grep -q "^$2\$"; then
57 if cat=`test_func "$cat" "$1"`; then
60 if dd1=`test_func "$dd1" "$1"`; then
63 if dd100=`test_func "$dd100" "$1"`; then
69 if [ -n "$cat" ]; then
72 if [ -n "$dd1" ]; then
75 if [ -n "$dd100" ]; then
81 if check_set_ftrace_filter "$ALL_FUNCS"; then
86 if check_set_ftrace_filter "$ALL_FUNCS" "$FUNC1:traceoff:unlimited"; then
[all …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/tools/testing/selftests/netfilter/
Dnft_nat.sh11 if [ $? -ne 0 ];then
17 if [ $? -ne 0 ];then
27 if [ $? -ne 0 ];then
67 if [ $? -ne 0 ]; then
72 if [ $? -ne 0 ]; then
79 if [ $? -ne 0 ]; then
84 if [ $? -ne 0 ]; then
98 if [ $? -ne 0 ]; then
104 if [ $? -ne 0 ]; then
110 if [ $? -ne 0 ]; then
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-4.19/scripts/dtc/
Ddtx_diff35 file. If DTx is a dts source file then it is pre-processed in the same
50 and DTx utilizes '#include' or '/include/' then the path of the
58 If DTx_1 and DTx_2 are in different architectures, then this script
71 If DTx_1 and DTx_2 are in different directories, then this script will
73 a local file that exists in both the path of DTx_1 and DTx_2 then the
91 if [ -d "${dtx}" ] ; then
95 if ( ! ${DTC} -I fs ${dtx} ) ; then
99 elif [ -f "${dtx}" ] && [ -r "${dtx}" ] ; then
102 if [ "${magic}" = "d00dfeed" ] ; then
106 if ( ! ${DTC} -I dtb ${dtx} ) ; then
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]

12345678910>>...278