/tools/debugging/ |
D | kernel-chktaint | 48 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/ |
D | kmod-path.c | 44 #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 …]
|
D | mem2node.c | 22 #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/ |
D | cmplitmushist.sh | 10 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 …]
|
D | newlitmushist.sh | 19 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
|
D | checkghlitmus.sh | 14 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 …]
|
D | checklitmushist.sh | 19 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/"',' |
|
D | parseargs.sh | 14 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
|
D | runlitmushist.sh | 18 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
|
D | initlitmushist.sh | 41 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/ |
D | parse-build.sh | 18 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
|
D | configinit.sh | 18 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
|
D | configcheck.sh | 10 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"'";
|
D | parse-console.sh | 14 T=${TMPDIR-/tmp}/parse-console.sh.$$ 81 }' > $T.seq 85 if test -s $T.seq 87 print_warning $title `cat $T.seq` 94 print_warning HOTPLUG FAILURES $title `cat $T.seq` 99 if test -s $T.seq 101 print_warning $title `cat $T.seq` 110 grep -v 'Warning: unable to open an initial console' > $T.diags 111 if test -s $T.diags 152 cat $T.diags >> $file.diags
|
D | kvm.sh | 17 T=${TMPDIR-/tmp}/kvm.sh.$$ 19 mkdir $T 212 touch $T/cfgcpu 232 echo $CF1 $cpu_count >> $T/cfgcpu 239 sort -k2nr $T/cfgcpu -T="$T" > $T/cfgcpu.sort 242 awk < $T/cfgcpu.sort > $T/cfgcpu.pack -v ncpus=$cpus ' 291 cat << ___EOF___ > $T/script 327 awk < $T/cfgcpu.pack \ 448 }' >> $T/script 450 cat << ___EOF___ >> $T/script [all …]
|
D | config_override.sh | 32 T=${TMPDIR-/tmp}/config_override.sh.$$ 34 mkdir $T 46 }' > $T/script 47 sh $T/script < $base
|
D | kvm-build.sh | 20 T=${TMPDIR-/tmp}/test-linux.sh.$$ 22 mkdir $T 24 cp ${config_template} $T/config 25 cat << ___EOF___ >> $T/config 31 configinit.sh $T/config $resdir
|
D | kvm-test-1-run.sh | 28 T=${TMPDIR-/tmp}/kvm-test-1-run.sh.$$ 30 mkdir $T 52 config_override.sh $config_dir/CFcommon $config_template > $T/Kc1 55 cp $config_template $T/Kc1 62 echo $TORTURE_KCONFIG_ARG | tr -s " " "\012" > $T/cmdline 64 cat $T/cmdline >> $resdir/ConfigFragment.input 65 config_override.sh $T/Kc1 $T/cmdline > $T/Kc2 68 cp $T/Kc1 $T/Kc2 70 cat $T/Kc2 >> $resdir/ConfigFragment 83 elif kvm-build.sh $T/Kc2 $resdir
|
D | mkinitrd.sh | 23 T=${TMPDIR-/tmp}/mkinitrd.sh.$$ 25 mkdir $T 27 cat > $T/init << '__EOF___' 60 dracut --force --no-hostonly --no-hostonly-cmdline --module "base" $T/initramfs.img 64 zcat $T/initramfs.img | cpio -id 65 cp $T/init init
|
/tools/include/uapi/linux/ |
D | const.h | 18 #define _AT(T,X) X 22 #define _AT(T,X) ((T)(X)) argument
|
/tools/include/linux/ |
D | overflow.h | 36 #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/ |
D | test_core.c | 522 #define T(x) { x, #x } macro 527 T(test_cgcore_internal_process_constraint), 528 T(test_cgcore_top_down_constraint_enable), 529 T(test_cgcore_top_down_constraint_disable), 530 T(test_cgcore_no_internal_process_constraint_on_threads), 531 T(test_cgcore_parent_becomes_threaded), 532 T(test_cgcore_invalid_domain), 533 T(test_cgcore_populated), 534 T(test_cgcore_lesser_euid_open), 535 T(test_cgcore_lesser_ns_open), [all …]
|
D | test_freezer.c | 864 #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 …]
|
D | test_memcontrol.c | 1173 #define T(x) { x, #x } macro 1178 T(test_memcg_subtree_control), 1179 T(test_memcg_current), 1180 T(test_memcg_min), 1181 T(test_memcg_low), 1182 T(test_memcg_high), 1183 T(test_memcg_max), 1184 T(test_memcg_oom_events), 1185 T(test_memcg_swap_max), 1186 T(test_memcg_sock), [all …]
|
/tools/perf/util/ |
D | s390-cpumsf-kernel.h | 20 unsigned int T:1; /* 26 PSW DAT mode */ member
|