/Linux-v6.1/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 …]
|
/Linux-v6.1/drivers/net/wireguard/selftest/ |
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-v6.1/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 …]
|
/Linux-v6.1/rust/alloc/vec/ |
D | mod.rs | 402 pub struct Vec<T, #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global> { 403 buf: RawVec<T, A>, 411 impl<T> Vec<T> { 545 pub unsafe fn from_raw_parts(ptr: *mut T, length: usize, capacity: usize) -> Self { in from_raw_parts() argument 550 impl<T, A: Allocator> Vec<T, A> { 692 pub unsafe fn from_raw_parts_in(ptr: *mut T, length: usize, capacity: usize, alloc: A) -> Self { in from_raw_parts_in() argument 729 pub fn into_raw_parts(self) -> (*mut T, usize, usize) { in into_raw_parts() argument 773 pub fn into_raw_parts_with_alloc(self) -> (*mut T, usize, usize, A) { in into_raw_parts_with_alloc() argument 1003 pub fn into_boxed_slice(mut self) -> Box<[T], A> { in into_boxed_slice() argument 1091 pub fn as_slice(&self) -> &[T] { in as_slice() argument [all …]
|
D | into_iter.rs | 33 T, 36 pub(super) buf: NonNull<T>, 37 pub(super) phantom: PhantomData<T>, 42 pub(super) ptr: *const T, 43 pub(super) end: *const T, 47 impl<T: fmt::Debug, A: Allocator> fmt::Debug for IntoIter<T, A> { 53 impl<T, A: Allocator> IntoIter<T, A> { 66 pub fn as_slice(&self) -> &[T] { in as_slice() argument 84 pub fn as_mut_slice(&mut self) -> &mut [T] { in as_mut_slice() argument 95 fn as_raw_mut_slice(&mut self) -> *mut [T] { in as_raw_mut_slice() argument [all …]
|
D | drain.rs | 26 T: 'a, 34 pub(super) iter: slice::Iter<'a, T>, 35 pub(super) vec: NonNull<Vec<T, A>>, 39 impl<T: fmt::Debug, A: Allocator> fmt::Debug for Drain<'_, T, A> { 45 impl<'a, T, A: Allocator> Drain<'a, T, A> { 59 pub fn as_slice(&self) -> &[T] { in as_slice() argument 73 impl<'a, T, A: Allocator> AsRef<[T]> for Drain<'a, T, A> { 74 fn as_ref(&self) -> &[T] { in as_ref() argument 80 unsafe impl<T: Sync, A: Sync + Allocator> Sync for Drain<'_, T, A> {} 82 unsafe impl<T: Send, A: Send + Allocator> Send for Drain<'_, T, A> {} [all …]
|
D | drain_filter.rs | 26 T, 30 F: FnMut(&mut T) -> bool, 32 pub(super) vec: &'a mut Vec<T, A>, 49 impl<T, F, A: Allocator> DrainFilter<'_, T, F, A> 51 F: FnMut(&mut T) -> bool, 62 impl<T, F, A: Allocator> Iterator for DrainFilter<'_, T, F, A> 64 F: FnMut(&mut T) -> bool, 66 type Item = T; 68 fn next(&mut self) -> Option<T> { in next() argument 85 let src: *const T = &v[i]; in next() [all …]
|
D | partial_eq.rs | 12 impl<T, U, $($vars)*> PartialEq<$rhs> for $lhs 14 T: PartialEq<U>, 25 __impl_slice_eq1! { [A1: Allocator, A2: Allocator] Vec<T, A1>, Vec<U, A2>, #[stable(feature = "rust… 26 __impl_slice_eq1! { [A: Allocator] Vec<T, A>, &[U], #[stable(feature = "rust1", since = "1.0.0")] } 27 __impl_slice_eq1! { [A: Allocator] Vec<T, A>, &mut [U], #[stable(feature = "rust1", since = "1.0.0"… 28 __impl_slice_eq1! { [A: Allocator] &[T], Vec<U, A>, #[stable(feature = "partialeq_vec_for_ref_slice… 29 __impl_slice_eq1! { [A: Allocator] &mut [T], Vec<U, A>, #[stable(feature = "partialeq_vec_for_ref_s… 30 __impl_slice_eq1! { [A: Allocator] Vec<T, A>, [U], #[stable(feature = "partialeq_vec_for_slice", si… 31 __impl_slice_eq1! { [A: Allocator] [T], Vec<U, A>, #[stable(feature = "partialeq_vec_for_slice", si… 33 __impl_slice_eq1! { [A: Allocator] Cow<'_, [T]>, Vec<U, A> where T: Clone, #[stable(feature = "rust… [all …]
|
/Linux-v6.1/rust/alloc/ |
D | boxed.rs | 185 T: ?Sized, 187 >(Unique<T>, A); 189 impl<T> Box<T> { 203 pub fn new(x: T) -> Self { in new() 229 pub fn new_uninit() -> Box<mem::MaybeUninit<T>> { in new_uninit() 255 pub fn new_zeroed() -> Box<mem::MaybeUninit<T>> { in new_zeroed() 265 pub fn pin(x: T) -> Pin<Box<T>> { in pin() argument 284 pub fn try_new(x: T) -> Result<Self, AllocError> { in try_new() 311 pub fn try_new_uninit() -> Result<Box<mem::MaybeUninit<T>>, AllocError> { in try_new_uninit() 337 pub fn try_new_zeroed() -> Result<Box<mem::MaybeUninit<T>>, AllocError> { in try_new_zeroed() [all …]
|
D | slice.rs | 167 pub fn into_vec<T, A: Allocator>(b: Box<[T], A>) -> Vec<T, A> { in into_vec() argument 171 Vec::from_raw_parts_in(b as *mut T, len, len, alloc) in into_vec() 177 pub fn to_vec<T: ConvertVec, A: Allocator>(s: &[T], alloc: A) -> Vec<T, A> { in to_vec() argument 178 T::to_vec(s, alloc) in to_vec() 189 impl<T: Clone> ConvertVec for T { implementation 192 struct DropGuard<'a, T, A: Allocator> { in to_vec() 193 vec: &'a mut Vec<T, A>, in to_vec() 196 impl<'a, T, A: Allocator> Drop for DropGuard<'a, T, A> { in to_vec() 226 impl<T: Copy> ConvertVec for T { implementation 243 impl<T> [T] { implementation [all …]
|
D | raw_vec.rs | 54 pub(crate) struct RawVec<T, A: Allocator = Global> { 55 ptr: Unique<T>, 60 impl<T> RawVec<T, Global> { 107 impl<T, A: Allocator> RawVec<T, A> { 113 pub(crate) const MIN_NON_ZERO_CAP: usize = if mem::size_of::<T>() == 1 { 115 } else if mem::size_of::<T>() <= 1024 { 156 pub unsafe fn into_box(self, len: usize) -> Box<[MaybeUninit<T>], A> { in into_box() argument 165 let slice = slice::from_raw_parts_mut(me.ptr() as *mut MaybeUninit<T>, len); in into_box() 173 if mem::size_of::<T>() == 0 || capacity == 0 { in allocate_in() 178 let layout = match Layout::array::<T>(capacity) { in allocate_in() [all …]
|
/Linux-v6.1/drivers/comedi/drivers/tests/ |
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-v6.1/scripts/ |
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 200 touch $T.oo 206 echo All code >> $T.oo 207 echo ======== >> $T.oo 209 echo -n " .$type 0x" > $T.s 211 echo $beforemark | sed -e 's/ /,0x/g; s/[<>()]//g' >> $T.s 213 disas $T $pc_sub 215 cat $T.dis >> $T.oo [all …]
|
/Linux-v6.1/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 | 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 | 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 | 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/"',' |
|
/Linux-v6.1/tools/testing/selftests/rcutorture/bin/ |
D | torture.sh | 209 T=/tmp/torture.sh.$$ 211 mkdir $T 213 echo " --- " $scriptname $args | tee -a $T/log 214 echo " --- Results directory: " $ds | tee -a $T/log 224 echo " --- Zero time for rcutorture, disabling" | tee -a $T/log 236 echo " --- Zero time for locktorture, disabling" | tee -a $T/log 248 echo " --- Zero time for scftorture, disabling" | tee -a $T/log 252 touch $T/failures 253 touch $T/successes 268 echo " --- $curflavor:" Start `date` | tee -a $T/log [all …]
|
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 grep "^ld: .*undefined reference to" $T/warnings | head -1 > $T/ldwarnings 43 cat $T/hwarnings $T/cwarnings $T/ldwarnings > $T/rcuwarnings 44 if test -s $T/rcuwarnings 47 cat $T/rcuwarnings
|
D | kvm-remote.sh | 47 T=${TMPDIR-/tmp}/$TD 49 mkdir $T 51 resdir="$T/res" 69 kvm.sh --remote "$@" $datestamp --buildonly > $T/kvm.sh.out 2>&1 74 cat $T/kvm.sh.out 77 oldrun="`grep -m 1 "^Results directory: " $T/kvm.sh.out | awk '{ print $3 }'`" 82 cat $T/kvm.sh.out | tee -a "$oldrun/remote-log" 85 kvm-again.sh $oldrun --dryrun --remote --rundir "$rundir" > $T/kvm-again.sh.out 2>&1 90 cat $T/kvm-again.sh.out | tee -a "$oldrun/remote-log" 103 kvm-again.sh "$oldrun" "$@" --dryrun --remote --rundir "$rundir" > $T/kvm-again.sh.out 2>&1 [all …]
|
D | config2csv.sh | 33 T=/tmp/config2latex.sh.$$ 35 mkdir $T 37 cat << '---EOF---' >> $T/p.awk 42 echo ' s["'$i'"] = 1;' >> $T/p.awk 43 grep -v '^#' < $i | grep -v '^ *$' > $T/p 46 tr -s ' ' '\012' < $i.boot | grep -v '^#' >> $T/p 48 sed -e 's/^[^=]*$/&=?/' < $T/p | 49 sed -e 's/^\([^=]*\)=\(.*\)$/\tp["\1:'"$i"'"] = "\2";\n\tc["\1"] = 1;/' >> $T/p.awk 51 cat << '---EOF---' >> $T/p.awk 66 awk -f $T/p.awk < /dev/null > $T/p.csv [all …]
|
D | kvm.sh | 17 T=${TMPDIR-/tmp}/kvm.sh.$$ 19 mkdir $T 303 touch $T/cfgcpu 314 echo 'BEGIN {' > $T/cfgcpu.awk 321 echo "$TORTURE_KCONFIG_ARG" | tr -s ' ' | tr ' ' '\012' > $T/KCONFIG_ARG 322 cpu_count=`configNR_CPUS.sh $T/KCONFIG_ARG` 328 echo 'scenariocpu["'"$CF1"'"] = '"$cpu_count"';' >> $T/cfgcpu.awk 334 cat << '___EOF___' >> $T/cfgcpu.awk 341 echo $configs_derep | awk -f $T/cfgcpu.awk > $T/cfgcpu 342 sort -k2nr $T/cfgcpu -T="$T" > $T/cfgcpu.sort [all …]
|
/Linux-v6.1/Documentation/admin-guide/media/ |
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 …]
|
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
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-v6.1/scripts/coccinelle/api/alloc/ |
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 …]
|