Home
last modified time | relevance | path

Searched full:then (Results 51 – 75 of 10690) sorted by relevance

12345678910>>...428

/linux/tools/testing/selftests/power_supply/
H A Dhelpers.sh18 if [ -z "$VALUE" ]; then
33 if [ "$UNIT" = "uA" ]; then
36 elif [ "$UNIT" = "uV" ]; then
39 elif [ "$UNIT" = "uAh" ]; then
42 elif [ "$UNIT" = "uW" ]; then
45 elif [ "$UNIT" = "uWh" ]; then
62 if [ ! -e "$PROP_PATH" ] ; then
67 if ! cat "$PROP_PATH" >/dev/null; then
100 if [ "$DATA" -lt "$MIN" ] || [ "$DATA" -gt "$MAX" ]; then
123 if [ "$DATA" = "$item" ]; then
[all …]
/linux/tools/testing/selftests/firmware/
H A Dfw_fallback.sh34 if [ "$timeout" -eq 0 ]; then
61 if [ "$timeout" -eq 0 ]; then
75 if [ ! -e "$DIR"/trigger_custom_fallback ]; then
90 if [ "$timeout" -eq 0 ]; then
108 if [ ! -e "$DIR"/trigger_custom_fallback ]; then
123 if [ "$timeout" -eq 0 ]; then
149 if [ "$SECONDS_DELTA" -lt 4 ]; then
169 if [ ! -f $DEVPATH ]; then
187 if diff -q "$FW" /dev/test_firmware >/dev/null ; then
204 if diff -q "$FW" /dev/test_firmware >/dev/null ; then
[all …]
/linux/tools/bootconfig/scripts/
H A Dftrace2bconf.sh22 if [ x"$DEBUG" != x ]; then
27 if [ -z "$TRACEFS" ]; then
28 if ! grep -wq debugfs /proc/mounts; then
33 if [ ! -d $TRACEFS ]; then
50 if grep -qv "^#" $TRACEFS/set_graph_function $TRACEFS/set_graph_notrace ; then
69 if [ $group != "kprobes" ]; then
104 if grep -q "^hist:" $evdir/trigger; then
108 if echo $DEFINED_VARS $__vars | grep -vqw ${v#$}; then
120 if [ $GROUP_ENABLED -eq 0 ] && event_is_enabled $evdir/enable; then
124 if [ "$val" != "none" ]; then
[all …]
/linux/scripts/
H A Ddev-needs.sh14 /sys/devices and then lists the probe dependency chain (suppliers and
57 then
71 then
86 then
92 # then go up one level to find the real parent.
98 then
115 then
127 then
134 then
149 then
[all …]
H A Dpatch-kernel23 # It then looks for patches for the next sublevel in the patch directory.
25 # A check is then made for "*.rej" files to see if the patch was
26 # successful. If it is, then all of the "*.orig" files are removed.
69 if [ "$1" = -h -o "$1" = --help -o ! -r "$sourcedir/Makefile" ]; then
108 if [ -r ${filebase}.gz ]; then
112 elif [ -r ${filebase}.bz ]; then
116 elif [ -r ${filebase}.bz2 ]; then
120 elif [ -r ${filebase}.xz ]; then
124 elif [ -r ${filebase}.zip ]; then
128 elif [ -r ${filebase}.Z ]; then
[all …]
H A Dgit-resolve.sh25 # Then convert escaped ... sequence to .*?
32 if [ "$1" = "--force" ]; then
43 if [[ "$input" == *" "* ]]; then
55 if [ ${#matches[@]} -eq 1 ]; then
61 if [ ${#matches[@]} -eq 0 ] && [ $force -eq 0 ]; then
66 if [ -n "$subject" ]; then
72 if [ ${#matches[@]} -eq 0 ] && [ $force -eq 1 ]; then
77 if echo "$subject" | grep -qP "$grep_pattern"; then
82 if [ -n "$match" ]; then
89 if git log -1 --format="%s" "$match" | grep -qP "$grep_pattern"; then
[all …]
H A Drust_is_available.sh41 # If the script fails for any reason, or if there was any warning, then
44 trap 'if [ $? -ne 0 ] || [ $warning -ne 0 ]; then print_docs_reference; fi' EXIT
47 if [ -z "${RUSTC+x}" ]; then
53 if [ -z "${BINDGEN+x}" ]; then
59 if [ -z "${CC+x}" ]; then
66 if ! command -v "$RUSTC" >/dev/null; then
74 if ! command -v "$BINDGEN" >/dev/null; then
87 if [ -n "$rust_compiler_code" ]; then
100 if [ -z "$rust_compiler_version" ]; then
112 if [ "$rust_compiler_cversion" -lt "$rust_compiler_min_cversion" ]; then
[all …]
/linux/tools/testing/selftests/kmod/
H A Dkmod.sh63 if [ ! -d $DIR ]; then
73 if [ -z $DEFAULT_KMOD_DRIVER ]; then
77 if [ -z $DEFAULT_KMOD_FS ]; then
81 if [ -z $PROC_DIR ]; then
85 if [ -z $MODPROBE_LIMIT ]; then
89 if [ -z $DIR ]; then
93 if [ -z $DEFAULT_NUM_TESTS ]; then
102 if ! which modprobe 2> /dev/null > /dev/null; then
107 if ! which kmod 2> /dev/null > /dev/null; then
119 if [[ $KMOD_VERSION -le 19 ]]; then
[all …]
/linux/tools/testing/selftests/vsock/
H A Dvmtest.sh93 if [[ -s "${QEMU_PIDFILE}" ]]; then
97 # If failure occurred during or before qemu start up, then we need
99 if [[ -e "${QEMU_PIDFILE}" ]]; then
110 if [[ "${name}" = "${arg}" ]]; then
116 if [[ "${found}" -eq 0 ]]; then
123 if ! command -v > /dev/null "test_${arg}"; then
132 if [[ ! -x $(command -v "${dep}") ]]; then
138 if [[ ! -x $(command -v "${VSOCK_TEST}") ]]; then
155 if [[ "${version}" == *"${tv}"* ]]; then
161 if [[ ! "${ok}" -eq 1 ]]; then
[all …]
/linux/tools/testing/selftests/rcutorture/bin/
H A Dkvm-again.sh19 then
27 then
32 then
39 then
42 then
89 then
97 then
110 then
113 then
116 then
[all …]
H A Dfunctions.sh24 then
29 then
36 then
47 then
61 then
64 then
86 then
89 then
104 then
152 then
[all …]
/linux/tools/testing/selftests/ftrace/test.d/
H A Dfunctions34 if [ -d events/synthetic ]; then
48 if [ ! -f set_ftrace_filter ]; then
54 if [ "$tr" = "" ]; then
57 if ! grep -q "$t" set_ftrace_filter; then
61 if [ $tr = "enable_event" -o $tr = "disable_event" ]; then
68 if [ "$limit" != "unlimited" ]; then
93 if [ $stop -gt 10 ]; then
100 if ! echo "$del" >> dynamic_events; then
148 if [ $p != $i ]; then
149 if ! which $p ; then
[all …]
/linux/scripts/package/
H A Dmkdebian14 if is_enabled "$1"; then
16 elif [ $# -ge 3 ]; then
22 if [ "${KBUILD_DEBARCH:+set}" ]; then
38 if is_enabled CONFIG_64BIT; then
47 if is_enabled CONFIG_CPU_LITTLE_ENDIAN; then
49 elif is_enabled CONFIG_CPU_MIPSR6; then
58 if is_enabled CONFIG_AEABI; then
67 if is_enabled CONFIG_CPU_SH3; then
69 elif is_enabled CONFIG_CPU_SH4; then
74 if is_enabled CONFIG_64BIT; then
[all …]
/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Ddevlink_trap.sh40 if [ ! -d "$NETDEVSIM_PATH" ]; then
45 if [ -d "${NETDEVSIM_PATH}/devices/netdevsim${DEV_ADDR}" ]; then
54 if [ $((state & 1)) -ne 0 ]; then
81 if [ $(devlink_trap_type_get $trap_name) = "drop" ]; then
84 if [ $action != "trap" ]; then
90 if [ $action != "drop" ]; then
98 if [ $action != $orig_action ]; then
104 if [ $action != $orig_action ]; then
123 [ $trap_name == "egress_flow_action_drop" ]; then
172 if [ $(devlink_trap_type_get $trap_name) = "drop" ]; then
[all …]
/linux/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfunc-filter-pid.tc13 if [ ! -f options/function-fork ]; then
18 if [ ! -f options/funcgraph-proc ]; then
25 if [ $do_function_fork -eq 1 ]; then
30 if [ $do_funcgraph_proc -eq 1 ]; then
36 if [ $do_function_fork -eq 1 ]; then
40 if [ $do_funcgraph_proc -eq 1 ]; then
62 if [ $do_function_fork -eq 1 ]; then
74 if [ $count_pid -eq 0 -o $count_other -ne 0 ]; then
81 if [ $do_function_fork -eq 0 ]; then
95 if [ $count_pid -eq 0 -o $count_other -eq 0 ]; then
[all …]
/linux/tools/testing/selftests/mm/
H A Dcharge_reserved_hugetlb.sh9 if [[ $(id -u) -ne 0 ]]; then
21 if [[ "$1" == "-cgroup-v2" ]]; then
29 if [[ $cgroup2 ]]; then
31 if [[ -z "$cgroup_path" ]]; then
39 if [[ -z "$cgroup_path" ]]; then
48 if [[ $cgroup2 ]]; then
54 if [[ -e /mnt/huge ]]; then
59 if [[ -e $cgroup_path/hugetlb_cgroup_test ]]; then
62 if [[ -e $cgroup_path/hugetlb_cgroup_test1 ]]; then
65 if [[ -e $cgroup_path/hugetlb_cgroup_test2 ]]; then
[all …]
/linux/tools/perf/tests/shell/
H A Dtest_intel_pt.sh33 if [ "${sane}" = "/tmp/perf-test-intel-pt-sh" ] ; then
97 if ! perf_record_no_decode -o "${tmpfile}" -e dummy:u -C "$1" true >/dev/null 2>&1 ; then
119 if [ "${mmap_cnt}" -gt 0 ] ; then
130 if [ -z "${can_kernel_trace}" ] ; then
134 if [ ${can_kernel_trace} -eq 0 ] ; then
148 if ! $have_workload ; then
153 if [ "${k}" = "k" ] ; then
291 if ! perf check feature -q libelf ; then
296 if [ ! -e "${jitdump_h}" ] ; then
301 if [ -z "${have_jitdump_workload}" ] ; then
[all …]
H A Dbuildid.sh6 if ! [ -x "$(command -v readelf)" ]; then
12 if ! [ -x "$(command -v cc)" ]; then
20 if ! perf version --build-options | grep -q 'libbfd: .* on '; then
25 if ! which wine > /dev/null; then
31 if [ ${run_pe} -eq 1 ]; then
74 if [ ! -h $link ]; then
85 if [ $? -eq 0 ]; then
86 if [ -x $1 ] && [ ! -x $file ]; then
91 if [ ! -x $file ] && [ ! -e $file ]; then
95 elif [ ! -x $file ]; then
[all …]
/linux/samples/pktgen/
H A Dfunctions.sh23 if [[ -n "$VERBOSE" ]]; then
67 if [[ ! -e "$proc_ctrl" ]]; then
70 if [[ ! -w "$proc_ctrl" ]]; then
75 if [[ "$DEBUG" == "yes" ]]; then
81 if [[ "$proc_file" != "pgctrl" ]]; then
83 if [[ "$result" == "" ]]; then
87 if (( $status != 0 )); then
96 if [[ "$DEBUG" == "yes" ]]; then
103 if [[ "$result" == "" ]]; then
106 if (( $status != 0 )); then
[all …]
/linux/tools/testing/selftests/drivers/net/lib/sh/
H A Dlib_netcons.sh69 then
90 then
131 then
136 then
193 then
209 then
225 if [ ! -f "$TMPFILENAME" ]; then
230 if ! grep -q "${MSG}" "${TMPFILENAME}"; then
250 then
251 if ! grep -q "${USERDATA_KEY}=${USERDATA_VALUE}" "${TMPFILENAME}"; then
[all …]
/linux/scripts/dummy-tools/
H A Dgcc44 if [ "$search" = "$1" ]; then
54 if arg_contain --version "$@"; then
59 if arg_contain -E "$@"; then
61 if arg_contain - "$@"; then
71 if arg_contain -Wa,--version "$@"; then
76 if arg_contain -S "$@"; then
78 if arg_contain -fstack-protector "$@"; then
79 if arg_contain -mstack-protector-guard-reg=fs "$@"; then
88 if arg_contain -m64 "$@" && arg_contain -mprofile-kernel "$@"; then
89 if ! test -t 0 && ! grep -q notrace; then
[all …]
/linux/tools/testing/selftests/net/netfilter/
H A Dnft_flowtable.sh97 if ! ip -net "$nsr1" link set veth0 mtu "$omtu"; then
103 if ! ip -net "$nsr2" link set veth1 mtu "$rmtu"; then
107 if ! ip -net "$nsr1" link set veth1 mtu "$lmtu"; then
111 if ! ip -net "$nsr2" link set veth0 mtu "$lmtu"; then
133 if ! ip netns exec "$ns" sysctl net.ipv4.tcp_no_metrics_save=1 > /dev/null; then
180 if [ $? -ne 0 ]; then
200 if [ $? -ne 0 ]; then
207 if ! ip netns exec "$ns1" ping -c 1 -q 10.0.2.99 > /dev/null; then
212 if ! ip netns exec "$ns2" ping -c 1 -q 10.0.1.99 > /dev/null; then
248 if [ "$orig_cnt" -gt "$max_orig" ];then
[all …]
/linux/tools/testing/selftests/livepatch/
H A Dfunctions.sh35 if [ $uid -ne 0 ]; then
43 if [ -z "$KDIR" ]; then
47 if [ ! -d "$KDIR" ]; then
72 if [[ -n "$DYNAMIC_DEBUG" ]]; then
75 if [[ -n "$FTRACE_ENABLED" ]]; then
78 if [[ -n "$KPROBE_ENABLED" ]]; then
81 if [[ -n "$TRACING_ON" ]]; then
84 if [[ -n "$CURRENT_TRACER" ]]; then
87 if [[ -n "$FTRACE_FILTER" ]]; then
103 if [[ "$1" == "--fail" ]] ; then
[all …]
/linux/tools/sound/
H A Ddapm-graph22 if [ "${1}" -ne 0 ]; then
107 if [ "${w_name}" = "bias_level" ]; then
117 then local node_style="${STYLE_NODE_ON}"
124 if echo "${line}" | grep -q '^widget-type '; then
136 if echo "${line}" | grep -q '^in '; then
144 if [ "${w_route}" != "static" ]; then
172 if [ -z "${c_name}" ]; then
182 if [ ${is_component} = 1 ]; then
183 if [ -f "${c_dir}/bias_level" ]; then
186 if [ "$c_onoff" = "On" ]; then
[all …]
/linux/Documentation/devicetree/bindings/clock/
H A Dsamsung,exynos5433-clock.yaml99 then:
119 then:
136 then:
154 then:
180 then:
199 then:
224 then:
242 then:
259 then:
276 then:
[all …]

12345678910>>...428