Home
last modified time | relevance | path

Searched refs:T (Results 1 – 25 of 36) sorted by relevance

12

/tools/debugging/
Dkernel-chktaint48 T=$taint
55 if [ `expr $T % 2` -eq 0 ]; then
62 T=`expr $T / 2`
63 if [ `expr $T % 2` -eq 0 ]; then
70 T=`expr $T / 2`
71 if [ `expr $T % 2` -eq 0 ]; then
78 T=`expr $T / 2`
79 if [ `expr $T % 2` -eq 0 ]; then
86 T=`expr $T / 2`
87 if [ `expr $T % 2` -eq 0 ]; then
[all …]
/tools/perf/tests/
Dkmod-path.c44 #define T(path, an, k, c, n) \ macro
53 T("/xxxx/xxxx/x-x.ko", true , true, 0 , "[x_x]"); in test__kmod_path__parse()
54 T("/xxxx/xxxx/x-x.ko", false , true, 0 , NULL ); in test__kmod_path__parse()
55 T("/xxxx/xxxx/x-x.ko", true , true, 0 , "[x_x]"); in test__kmod_path__parse()
56 T("/xxxx/xxxx/x-x.ko", false , true, 0 , NULL ); in test__kmod_path__parse()
63 T("/xxxx/xxxx/x.ko.gz", true , true, 1 , "[x]"); in test__kmod_path__parse()
64 T("/xxxx/xxxx/x.ko.gz", false , true, 1 , NULL ); in test__kmod_path__parse()
65 T("/xxxx/xxxx/x.ko.gz", true , true, 1 , "[x]"); in test__kmod_path__parse()
66 T("/xxxx/xxxx/x.ko.gz", false , true, 1 , NULL ); in test__kmod_path__parse()
72 T("/xxxx/xxxx/x.gz", true , false, 1 , "x.gz"); in test__kmod_path__parse()
[all …]
Dmem2node.c22 #define T TEST_ASSERT_VAL macro
61 T("failed: alloc bitmap", in test__mem2node()
65 T("failed: mem2node__init", !mem2node__init(&map, &env)); in test__mem2node()
66 T("failed: mem2node__node", 0 == mem2node__node(&map, 0x50)); in test__mem2node()
67 T("failed: mem2node__node", 1 == mem2node__node(&map, 0x100)); in test__mem2node()
68 T("failed: mem2node__node", 1 == mem2node__node(&map, 0x250)); in test__mem2node()
69 T("failed: mem2node__node", 3 == mem2node__node(&map, 0x500)); in test__mem2node()
70 T("failed: mem2node__node", 3 == mem2node__node(&map, 0x650)); in test__mem2node()
71 T("failed: mem2node__node", -1 == mem2node__node(&map, 0x450)); in test__mem2node()
72 T("failed: mem2node__node", -1 == mem2node__node(&map, 0x1050)); in test__mem2node()
/tools/memory-model/scripts/
Dcmplitmushist.sh10 T=/tmp/cmplitmushist.sh.$$
12 mkdir $T
21 grep -v 'maxresident)k\|minor)pagefaults\|^Time' $1 > $T/oldout
22 grep -v 'maxresident)k\|minor)pagefaults\|^Time' $2 > $T/newout
23 if cmp -s $T/oldout $T/newout && grep -q '^Observation' $1
30 grep '^Observation' $1 > $T/oldout
31 grep '^Observation' $2 > $T/newout
32 if test -s $T/oldout -o -s $T/newout
34 if cmp -s $T/oldout $T/newout
46 grep '^Observation' $1 | awk '{ print $3 }' > $T/oldout
[all …]
Dnewlitmushist.sh19 T=/tmp/newlitmushist.sh.$$
21 mkdir $T
42 xargs -r grep -L "^P${LKMM_PROCS}"> $T/list-C-already
46 find litmus -name '*.litmus' -exec grep -l -m 1 "^C " {} \; > $T/list-C-all
47 xargs < $T/list-C-all -r grep -L "^P${LKMM_PROCS}" > $T/list-C-short
50 sort $T/list-C-already $T/list-C-short | uniq -u > $T/list-C-new
53 sed < $T/list-C-short -e 's,^.*$,if test & -nt '"$LKMM_DESTDIR"'/&.out; then echo &; fi,' > $T/list…
54 sh $T/list-C-script > $T/list-C-newer
57 sort -u $T/list-C-new $T/list-C-newer > $T/list-C-needed
59 scripts/runlitmushist.sh < $T/list-C-needed
Dcheckghlitmus.sh14 T=/tmp/checkghlitmus.sh.$$
16 mkdir $T
39 xargs -r grep -L "^P${LKMM_PROCS}"> $T/list-C-already
43 find litmus -name '*.litmus' -exec grep -l -m 1 "^C " {} \; > $T/list-C
44 xargs < $T/list-C -r egrep -l '^ \* Result: (Never|Sometimes|Always|DEADLOCK)' > $T/list-C-result
45 xargs < $T/list-C-result -r grep -L "^P${LKMM_PROCS}" > $T/list-C-result-short
48 sort $T/list-C-already $T/list-C-result-short | uniq -u > $T/list-C-needed
51 if scripts/runlitmushist.sh < $T/list-C-needed > $T/run.stdout 2> $T/run.stderr
58 sed < $T/list-C-result-short -e 's,^,scripts/judgelitmus.sh ,' |
59 sh > $T/judge.stdout 2> $T/judge.stderr
[all …]
Dchecklitmushist.sh19 T=/tmp/checklitmushist.sh.$$
21 mkdir $T
34 mkdir $T/results
35 find litmus -type d -print | ( cd $T/results; sed -e 's/^/mkdir -p /' | sh )
41 xargs -r grep -L "^P${LKMM_PROCS}"> $T/list-C-already
42 xargs < $T/list-C-already -r grep -L "^P${LKMM_PROCS}" > $T/list-C-short
46 LKMM_DESTDIR=$T/results; export LKMM_DESTDIR
47 scripts/runlitmushist.sh < $T/list-C-short > $T/runlitmushist.sh.out 2>&1
55 ( cd $T/results; find litmus -type f -name '*.litmus.out' -print |
58 sed < $T/list-C-short -e 's,^,'"$LKMM_DESTDIR/"',' |
Dparseargs.sh14 T=/tmp/parseargs.sh.$$
15 mkdir $T
19 echo if test -z '"$'$1'"' > $T/s
20 echo then >> $T/s
21 echo $1='"'$2'"' >> $T/s
22 echo export $1 >> $T/s
23 echo fi >> $T/s
24 echo $1_DEF='$'$1 >> $T/s
25 . $T/s
136 rm -rf $T
Drunlitmushist.sh18 T=/tmp/runlitmushist.sh.$$
20 mkdir $T
33 echo dir="$LKMM_DESTDIR" > $T/$i.sh
34 echo T=$T >> $T/$i.sh
35 echo herdoptions=\"$LKMM_HERD_OPTIONS\" >> $T/$i.sh
36 cat << '___EOF___' >> $T/$i.sh
Dinitlitmushist.sh41 T=/tmp/initlitmushist.sh.$$
43 mkdir $T
63 find litmus -name '*.litmus' -exec grep -l -m 1 "^C " {} \; > $T/list-C
64 xargs < $T/list-C -r grep -L "^P${LKMM_PROCS}" > $T/list-C-short
66 scripts/runlitmushist.sh < $T/list-C-short
/tools/testing/selftests/rcutorture/bin/
Dparse-build.sh18 T=${TMPDIR-/tmp}/parse-build.sh.$$
20 mkdir $T
39 grep warning: < $F > $T/warnings
40 grep "include/linux/*rcu*\.h:" $T/warnings > $T/hwarnings
41 grep "kernel/rcu/[^/]*:" $T/warnings > $T/cwarnings
42 cat $T/hwarnings $T/cwarnings > $T/rcuwarnings
43 if test -s $T/rcuwarnings
46 cat $T/rcuwarnings
Dconfiginit.sh18 T=${TMPDIR-/tmp}/configinit.sh.$$
20 mkdir $T
27 sed -e 's/^\(CONFIG[0-9A-Z_]*\)=.*$/grep -v "^# \1" |/' < $c > $T/u.sh
28 sed -e 's/^\(CONFIG[0-9A-Z_]*=\).*$/grep -v \1 |/' < $c >> $T/u.sh
29 grep '^grep' < $T/u.sh > $T/upd.sh
30 echo "cat - $c" >> $T/upd.sh
37 sh $T/upd.sh < .config.sav > .config
Dconfigcheck.sh10 T=${TMPDIR-/tmp}/abat-chk-config.sh.$$
12 mkdir $T
14 cat $1 > $T/.config
20 print "if grep -q \"" $0 "\" < '"$T/.config"'";
25 print "\tif grep -q \"" $2 "\" < '"$T/.config"'";
Dparse-console.sh14 T=${TMPDIR-/tmp}/parse-console.sh.$$
94 }' > $T.seq
98 if test -s $T.seq
100 print_warning $title `cat $T.seq`
107 print_warning HOTPLUG FAILURES $title `cat $T.seq`
112 if test -s $T.seq
114 print_warning $title `cat $T.seq`
120 console-badness.sh < $file > $T.diags
121 if test -s $T.diags
162 cat $T.diags >> $file.diags
Dkvm-test-1-run.sh28 T=${TMPDIR-/tmp}/kvm-test-1-run.sh.$$
30 mkdir $T
57 echo $3 | sed -e 's/^ *//' -e 's/ *$//' | tr -s " " "\012" > $T/Kconfig_args
59 cat $T/Kconfig_args >> $resdir/ConfigFragment.input
60 config_override.sh $T/$2 $T/Kconfig_args > $T/$2.tmp
61 mv $T/$2.tmp $T/$2
66 echo > $T/KcList
73 cp $T/KcList $resdir/ConfigFragment
86 elif kvm-build.sh $T/KcList $resdir
170 sed -e 's/$/ 2>\&1 \&/' < $resdir/qemu-cmd > $T/qemu-cmd
[all …]
Dconfig_override.sh32 T=${TMPDIR-/tmp}/config_override.sh.$$
34 mkdir $T
46 }' > $T/script
47 sh $T/script < $base
Dkvm-build.sh26 T=${TMPDIR-/tmp}/test-linux.sh.$$
28 mkdir $T
30 cp ${config_template} $T/config
31 cat << ___EOF___ >> $T/config
37 configinit.sh $T/config $resdir
Dkvm.sh17 T=${TMPDIR-/tmp}/kvm.sh.$$
19 mkdir $T
263 touch $T/cfgcpu
281 echo $CF1 $cpu_count >> $T/cfgcpu
287 sort -k2nr $T/cfgcpu -T="$T" > $T/cfgcpu.sort
290 awk < $T/cfgcpu.sort > $T/cfgcpu.pack -v ncpus=$cpus '
339 cat << ___EOF___ > $T/script
382 awk < $T/cfgcpu.pack \
503 }' >> $T/script
505 cat << ___EOF___ >> $T/script
[all …]
Dkvm-recheck.sh16 T=/tmp/kvm-recheck.sh.$$
47 configcheck.sh $i/.config $i/ConfigFragment > $T 2>&1
48 cat $T
77 if grep -q CONFIG_KCSAN=y $T
89 EDITOR=echo kvm-find-errors.sh "${@: -1}" > $T 2>&1
91 builderrors="`tr ' ' '\012' < $T | grep -c '/Make.out.diags'`"
96 runerrors="`tr ' ' '\012' < $T | grep -c '/console.log.diags'`"
/tools/include/uapi/linux/
Dconst.h18 #define _AT(T,X) X
22 #define _AT(T,X) ((T)(X)) argument
/tools/include/linux/
Doverflow.h36 #define type_max(T) ((T)((__type_half_max(T) - 1) + __type_half_max(T))) argument
37 #define type_min(T) ((T)((T)-type_max(T)-(T)1)) argument
/tools/testing/selftests/cgroup/
Dtest_kmem.c401 #define T(x) { x, #x } macro
406 T(test_kmem_basic),
407 T(test_kmem_memcg_deletion),
408 T(test_kmem_proc_kpagecgroup),
409 T(test_kmem_kernel_stacks),
410 T(test_kmem_dead_cgroups),
411 T(test_percpu_basic),
413 #undef T
Dtest_freezer.c864 #define T(x) { x, #x } macro
869 T(test_cgfreezer_simple),
870 T(test_cgfreezer_tree),
871 T(test_cgfreezer_forkbomb),
872 T(test_cgfreezer_mkdir),
873 T(test_cgfreezer_rmdir),
874 T(test_cgfreezer_migrate),
875 T(test_cgfreezer_ptrace),
876 T(test_cgfreezer_stopped),
877 T(test_cgfreezer_ptraced),
[all …]
Dtest_core.c840 #define T(x) { x, #x } macro
845 T(test_cgcore_internal_process_constraint),
846 T(test_cgcore_top_down_constraint_enable),
847 T(test_cgcore_top_down_constraint_disable),
848 T(test_cgcore_no_internal_process_constraint_on_threads),
849 T(test_cgcore_parent_becomes_threaded),
850 T(test_cgcore_invalid_domain),
851 T(test_cgcore_populated),
852 T(test_cgcore_proc_migration),
853 T(test_cgcore_thread_migration),
[all …]
/tools/testing/selftests/bpf/progs/
Dbtf_data.c27 typedef int T; typedef
36 T m_2;

12