/linux/tools/debugging/ |
H A 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 …]
|
/linux/drivers/net/wireguard/selftest/ |
H A D | counter.c | 24 #define T(n, v) do { \ in wg_packet_counter_selftest() macro 34 /* 1 */ T(0, true); in wg_packet_counter_selftest() 35 /* 2 */ T(1, true); in wg_packet_counter_selftest() 36 /* 3 */ T(1, false); in wg_packet_counter_selftest() 37 /* 4 */ T(9, true); in wg_packet_counter_selftest() 38 /* 5 */ T(8, true); in wg_packet_counter_selftest() 39 /* 6 */ T(7, true); in wg_packet_counter_selftest() 40 /* 7 */ T(7, false); in wg_packet_counter_selftest() 41 /* 8 */ T(T_LIM, true); in wg_packet_counter_selftest() 42 /* 9 */ T(T_LIM - 1, true); in wg_packet_counter_selftest() [all …]
|
/linux/tools/perf/tests/ |
H A 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 …]
|
H A D | mem2node.c | 22 #define T TEST_ASSERT_VAL macro 62 T("failed: alloc bitmap", in test__mem2node() 66 T("failed: mem2node__init", !mem2node__init(&map, &env)); in test__mem2node() 67 T("failed: mem2node__node", 0 == mem2node__node(&map, 0x50)); in test__mem2node() 68 T("failed: mem2node__node", 1 == mem2node__node(&map, 0x100)); in test__mem2node() 69 T("failed: mem2node__node", 1 == mem2node__node(&map, 0x250)); in test__mem2node() 70 T("failed: mem2node__node", 3 == mem2node__node(&map, 0x500)); in test__mem2node() 71 T("failed: mem2node__node", 3 == mem2node__node(&map, 0x650)); in test__mem2node() 72 T("failed: mem2node__node", -1 == mem2node__node(&map, 0x450)); in test__mem2node() 73 T("failed: mem2node__node", -1 == mem2node__node(&map, 0x1050)); in test__mem2node()
|
/linux/rust/kernel/ |
H A D | init.rs | 850 pub unsafe trait PinInit<T: ?Sized, E = Infallible>: Sized { 859 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E>; in __pinned_init() 901 fn pin_chain<F>(self, f: F) -> ChainPinInit<Self, F, T, E> in pin_chain() argument 903 F: FnOnce(Pin<&mut T>) -> Result<(), E>, in pin_chain() 910 pub struct ChainPinInit<I, F, T: ?Sized, E>(I, F, __internal::Invariant<(E, KBox<T>)>); 916 unsafe impl<T: ?Sized, E, I, F> PinInit<T, E> for ChainPinInit<I, F, T, E> 918 I: PinInit<T, E>, 919 F: FnOnce(Pin<&mut T>) -> Result<(), E>, 921 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E> { in __pinned_init() 963 pub unsafe trait Init<T: ?Sized, E = Infallible>: PinInit<T, E> { [all …]
|
H A D | workqueue.rs | 212 pub fn try_spawn<T: 'static + Send + FnOnce()>( in try_spawn() 215 func: T, in try_spawn() argument 231 struct ClosureWork<T> { 233 work: Work<ClosureWork<T>>, 234 func: Option<T>, 237 impl<T> ClosureWork<T> { 238 fn project(self: Pin<&mut Self>) -> &mut Option<T> { in project() argument 244 impl<T: FnOnce()> WorkItem for ClosureWork<T> { 354 pub struct Work<T: ?Sized, const ID: u64 = 0> { 357 _inner: PhantomData<T>, [all …]
|
/linux/tools/testing/selftests/rcutorture/bin/ |
H A D | torture.sh | 239 T="`mktemp -d ${TMPDIR-/tmp}/torture.sh.XXXXXX`" 242 echo " --- " $scriptname $args | tee -a $T/log 243 echo " --- Results directory: " $ds | tee -a $T/log 253 echo " --- Zero time for rcutorture, disabling" | tee -a $T/log 265 echo " --- Zero time for locktorture, disabling" | tee -a $T/log 277 echo " --- Zero time for scftorture, disabling" | tee -a $T/log 281 touch $T/failures 282 touch $T/successes 297 echo " --- $curflavor:" Start `date` | tee -a $T/log 303 "$@" $boottag "$cur_bootargs" --datestamp "$ds/results-$curflavor" > $T/$curflavor.out 2>&1 [all …]
|
H A D | kvm-remote.sh | 37 # T: /tmp/kvm-remote.sh.NNNNNN where "NNNNNN" is set by mktemp 46 T="`mktemp -d ${TMPDIR-/tmp}/kvm-remote.sh.XXXXXX`" 47 trap 'rm -rf $T' 0 48 TD="`basename "$T"`" 50 resdir="$T/res" 68 kvm.sh --remote "$@" $datestamp --buildonly > $T/kvm.sh.out 2>&1 73 cat $T/kvm.sh.out 76 oldrun="`grep -m 1 "^Results directory: " $T/kvm.sh.out | awk '{ print $3 }'`" 81 cat $T/kvm.sh.out | tee -a "$oldrun/remote-log" 84 kvm-again.sh $oldrun --dryrun --remote --rundir "$rundir" > $T/kv [all...] |
H A D | parse-build.sh | 18 T="`mktemp -d ${TMPDIR-/tmp}/parse-build.sh.XXXXXX`" 38 grep warning: < $F > $T/warnings 39 grep "include/linux/*rcu*\.h:" $T/warnings > $T/hwarnings 40 grep "kernel/rcu/[^/]*:" $T/warnings > $T/cwarnings 41 grep "^ld: .*undefined reference to" $T/warnings | head -1 > $T/ldwarnings 42 cat $T/hwarnings $T/cwarnings $T/ldwarnings > $T/rcuwarnings 43 if test -s $T/rcuwarnings 46 cat $T/rcuwarnings
|
H A D | configcheck.sh | 12 T="`mktemp -d ${TMPDIR-/tmp}/configcheck.sh.XXXXXX`" 17 if ! grep -q "^$1$" $T/.config 27 if grep -q "^$1=n$" $T/.config 31 if grep -q "^$1=" $T/.config 39 sed -e 's/"//g' < $1 > $T/.config 40 sed -e 's/^#CHECK#//' < $2 > $T/ConfigFragment 41 grep '^CONFIG_.*=n$' $T/ConfigFragment | 42 sed -e 's/^/test_kconfig_disabled /' -e 's/=n$//' > $T/kconfig-n.sh 43 . $T/kconfig-n.sh 44 grep -v '^CONFIG_.*=n$' $T/ConfigFragment | grep '^CONFIG_' | [all …]
|
H A D | config2csv.sh | 33 T=`mktemp -d /tmp/config2latex.sh.XXXXXX` 36 cat << '---EOF---' >> $T/p.awk 41 echo ' s["'$i'"] = 1;' >> $T/p.awk 42 grep -v '^#' < $i | grep -v '^ *$' > $T/p 45 tr -s ' ' '\012' < $i.boot | grep -v '^#' >> $T/p 47 sed -e 's/^[^=]*$/&=?/' < $T/p | 48 sed -e 's/^\([^=]*\)=\(.*\)$/\tp["\1:'"$i"'"] = "\2";\n\tc["\1"] = 1;/' >> $T/p.awk 50 cat << '---EOF---' >> $T/p.awk 65 awk -f $T/p.awk < /dev/null > $T/p.csv 66 cp $T/p.csv $csvout
|
/linux/drivers/comedi/drivers/tests/ |
H A D | ni_routes_test.c | 310 const struct ni_route_tables *T = &private.routing_tables; in test_ni_route_to_register() local 313 unittest(ni_route_to_register(O(0), O(0), T) < 0, in test_ni_route_to_register() 315 unittest(ni_route_to_register(O(1), O(0), T) == 1, in test_ni_route_to_register() 317 unittest(ni_route_to_register(O(6), O(5), T) == 6, in test_ni_route_to_register() 319 unittest(ni_route_to_register(O(8), O(9), T) == 8, in test_ni_route_to_register() 323 unittest(ni_route_to_register(rgout0_src0, TRIGGER_LINE(0), T) == 0, in test_ni_route_to_register() 325 unittest(ni_route_to_register(rgout0_src0, TRIGGER_LINE(1), T) == 0, in test_ni_route_to_register() 327 unittest(ni_route_to_register(rgout0_src1, TRIGGER_LINE(2), T) == 1, in test_ni_route_to_register() 329 unittest(ni_route_to_register(rgout0_src1, TRIGGER_LINE(3), T) == 1, in test_ni_route_to_register() 332 unittest(ni_route_to_register(brd0_src0, TRIGGER_LINE(4), T) == in test_ni_route_to_register() [all …]
|
/linux/scripts/ |
H A D | decodecode | 14 rm -f $T $T.s $T.o $T.oo $T.aa $T.dis 25 T=`mktemp` || die "cannot create temp file" 51 rm $T 215 touch $T.oo 221 echo All code >> $T.oo 222 echo ======== >> $T.oo 224 echo -n " .$type 0x" > $T.s 226 echo $beforemark | sed -e 's/ /,0x/g; s/[<>()]//g' >> $T.s 228 disas $T $pc_sub 230 cat $T.dis >> $T.oo [all …]
|
/linux/tools/memory-model/scripts/ |
H A D | checkghlitmus.sh | 15 T=/tmp/checkghlitmus.sh.$$ 17 mkdir $T 40 xargs -r grep -L "^P${LKMM_PROCS}"> $T/list-C-already 44 find litmus -name '*.litmus' -print | mselect7 -arch C > $T/list-C 45 xargs < $T/list-C -r grep -E -l '^ \* Result: (Never|Sometimes|Always|DEADLOCK)' > $T/list-C-result 46 xargs < $T/list-C-result -r grep -L "^P${LKMM_PROCS}" > $T/list-C-result-short 49 sort $T/list-C-already $T/list-C-result-short | uniq -u > $T/list-C-needed 52 if scripts/runlitmushist.sh < $T/list-C-needed > $T/run.stdout 2> $T/run.stderr 59 sed < $T/list-C-result-short -e 's,^,scripts/judgelitmus.sh ,' | 60 sh > $T/judge.stdout 2> $T/judge.stderr [all …]
|
H A D | cmplitmushist.sh | 10 T=/tmp/cmplitmushist.sh.$$ 12 mkdir $T 58 grep -v 'maxresident)k\|minor)pagefaults\|^Time' $1 > $T/oldout 59 grep -v 'maxresident)k\|minor)pagefaults\|^Time' $2 > $T/newout 60 if cmp -s $T/oldout $T/newout && grep -q '^Observation' $1 67 grep '^Observation' $1 > $T/oldout 68 grep '^Observation' $2 > $T/newout 69 if test -s $T/oldout -o -s $T/newout 71 if cmp -s $T/oldout $T/newout 83 grep '^Observation' $1 | awk '{ print $3 }' > $T/oldout [all …]
|
H A 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' -print | mselect7 -arch 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
|
H A 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/"',' |
|
H A D | runlitmushist.sh | 20 T=/tmp/runlitmushist.sh.$$ 22 mkdir $T 35 echo T=$T >> $T/$i.sh 36 cat << '___EOF___' >> $T/$i.sh 68 awk -v dq='"' -v hwfnseg="$hwfnseg" -v ncpu="$LKMM_JOBS" -v t="$T" ' 83 cat $T/*.sh.out 84 if grep -q '!!!' $T/*.sh.out 87 grep '!!!' $T/*.sh.out 1>&2 88 nfail="`grep '!!!' $T/*.sh.out | wc -l`"
|
H A 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 147 rm -rf $T
|
/linux/Documentation/admin-guide/media/ |
H A D | dvb-usb-af9015-cardlist.rst | 17 * - AVerMedia AVerTV DVB-T Volar X 29 * - Conceptronic USB2.0 DVB-T CTVDIGRCU V3.0 37 * - Fujitsu-Siemens Slim Mobile USB DVB-T 43 * - KWorld PlusTV DVB-T PCI Pro Card (DVB-T PC160-T) 45 * - KWorld PlusTV Dual DVB-T PCI (DVB-T PC160-2T) 47 * - KWorld PlusTV Dual DVB-T Stick (DVB-T 399U) 49 * - KWorld USB DVB-T Stick Mobile (UB383-T) 51 * - KWorld USB DVB-T TV Stick II (VS-DVB-T 395U) 63 * - Sveon STV20 Tuner USB DVB-T HDTV 65 * - Sveon STV22 Dual USB DVB-T Tuner HDTV [all …]
|
H A D | cx88-cardlist.rst | 74 - KWorld/VStream XPert DVB-T 90 - Hauppauge Nova-T DVB-T 94 - Conexant DVB-T reference design 102 - DViCO FusionHDTV DVB-T Plus 110 - digitalnow DNTV Live! DVB-T 130 - DViCO FusionHDTV 3 Gold-T 134 - ADS Tech Instant TV DVB-T PCI 138 - TerraTec Cinergy 1400 DVB-T 158 - WinFast DTV1000-T 178 - Hauppauge WinTV-HVR1100 DVB-T/Hybrid [all …]
|
/linux/rust/kernel/net/ |
H A D | phy.rs | 307 struct Adapter<T: Driver> { 308 _p: PhantomData<T>, 311 impl<T: Driver> Adapter<T> { 323 T::soft_reset(dev)?; in soft_reset_callback() 338 T::probe(dev)?; in probe_callback() 354 T::get_features(dev)?; in get_features_callback() 368 T::suspend(dev)?; in suspend_callback() 382 T::resume(dev)?; in resume_callback() 398 T::config_aneg(dev)?; in config_aneg_callback() 414 T::read_status(dev)?; in read_status_callback() [all …]
|
/linux/include/linux/ |
H A D | overflow.h | 34 #define __type_max(T) ((T)((__type_half_max(T) - 1) + __type_half_max(T))) argument 36 #define __type_min(T) ((T)((T)-type_max(T)-(T)1)) argument 210 #define __overflows_type_constexpr(x, T) ( \ argument 212 (x) > type_max(T) : \ 213 is_unsigned_type(typeof(T)) ? \ 214 (x) < 0 || (x) > type_max(T) : \ 215 (x) < type_min(T) || (x) > type_max(T)) 217 #define __overflows_type(x, T) ({ \ argument 218 typeof(T) v = 0; \ 236 #define overflows_type(n, T) \ argument [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | ramnv50.c | 71 #define T(t) cfg->timing_10_##t macro 86 switch ((!T(CWL)) * ram->base.type) { in nv50_ram_timing_calc() 88 T(CWL) = T(CL) - 1; in nv50_ram_timing_calc() 91 T(CWL) = ((cur2 & 0xff000000) >> 24) + 1; in nv50_ram_timing_calc() 98 timing[6] = (0x2d + T(CL) - T(CWL) + in nv50_ram_timing_calc() 100 T(CWL) << 8 | in nv50_ram_timing_calc() 101 (0x2f + T(CL) - T(CWL)); in nv50_ram_timing_calc() 104 timing[6] = (0x2b + T(CL) - T(CWL)) << 16 | in nv50_ram_timing_calc() 105 max_t(s8, T(CWL) - 2, 1) << 8 | in nv50_ram_timing_calc() 106 (0x2e + T(CL) - T(CWL)); in nv50_ram_timing_calc() [all …]
|
/linux/scripts/coccinelle/api/alloc/ |
H A D | zalloc-simple.cocci | 31 type T, T2; 37 * x = (T)\(kmalloc(E1, ...)\|vmalloc(E1)\|dma_alloc_coherent(...,E1,...)\| 48 type T, T2; 58 - x = (T *)kmalloc(E1,E2); 61 - x = (T)kmalloc(E1,E2); 62 + x = (T)kzalloc(E1,E2); 67 - x = (T *)vmalloc(E1); 70 - x = (T)vmalloc(E1); 71 + x = (T)vzalloc(E1); 76 - x = (T *)kmalloc_node(E1,E2,E3); [all …]
|