Home
last modified time | relevance | path

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

12345678910>>...20

/Linux-v6.6/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 …]
/Linux-v6.6/drivers/net/wireguard/selftest/
Dcounter.c24 #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.6/rust/kernel/sync/
Darc.rs128 pub struct Arc<T: ?Sized> {
129 ptr: NonNull<ArcInner<T>>,
130 _p: PhantomData<ArcInner<T>>,
135 struct ArcInner<T: ?Sized> {
137 data: T,
141 impl<T: ?Sized> core::ops::Receiver for Arc<T> {}
145 impl<T: ?Sized + Unsize<U>, U: ?Sized> core::ops::CoerceUnsized<Arc<U>> for Arc<T> {}
148 impl<T: ?Sized + Unsize<U>, U: ?Sized> core::ops::DispatchFromDyn<Arc<U>> for Arc<T> {}
154 unsafe impl<T: ?Sized + Sync + Send> Send for Arc<T> {}
161 unsafe impl<T: ?Sized + Sync + Send> Sync for Arc<T> {}
[all …]
Dlock.rs78 pub struct Lock<T: ?Sized, B: Backend> {
90 pub(crate) data: UnsafeCell<T>,
94 unsafe impl<T: ?Sized + Send, B: Backend> Send for Lock<T, B> {}
98 unsafe impl<T: ?Sized + Send, B: Backend> Sync for Lock<T, B> {}
100 impl<T, B: Backend> Lock<T, B> {
103 pub fn new(t: T, name: &'static CStr, key: &'static LockClassKey) -> impl PinInit<Self> { in new() argument
116 impl<T: ?Sized, B: Backend> Lock<T, B> {
118 pub fn lock(&self) -> Guard<'_, T, B> { in lock() argument
133 pub struct Guard<'a, T: ?Sized, B: Backend> {
134 pub(crate) lock: &'a Lock<T, B>,
[all …]
/Linux-v6.6/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 …]
/Linux-v6.6/rust/kernel/
Dtypes.rs51 impl<T: 'static> ForeignOwnable for Box<T> {
52 type Borrowed<'a> = &'a T;
58 unsafe fn borrow<'a>(ptr: *const core::ffi::c_void) -> &'a T { in borrow() argument
156 pub struct ScopeGuard<T, F: FnOnce(T)>(Option<(T, F)>);
158 impl<T, F: FnOnce(T)> ScopeGuard<T, F> {
160 pub fn new_with_data(data: T, cleanup_func: F) -> Self { in new_with_data() argument
166 pub fn dismiss(mut self) -> T { in dismiss() argument
180 impl<T, F: FnOnce(T)> Deref for ScopeGuard<T, F> {
181 type Target = T;
183 fn deref(&self) -> &T { in deref() argument
[all …]
Dinit.rs768 pub unsafe trait PinInit<T: ?Sized, E = Infallible>: Sized {
777 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E>; in __pinned_init()
818 fn pin_chain<F>(self, f: F) -> ChainPinInit<Self, F, T, E> in pin_chain() argument
820 F: FnOnce(Pin<&mut T>) -> Result<(), E>, in pin_chain()
827 pub struct ChainPinInit<I, F, T: ?Sized, E>(I, F, __internal::Invariant<(E, Box<T>)>);
833 unsafe impl<T: ?Sized, E, I, F> PinInit<T, E> for ChainPinInit<I, F, T, E>
835 I: PinInit<T, E>,
836 F: FnOnce(Pin<&mut T>) -> Result<(), E>,
838 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E> { in __pinned_init()
883 pub unsafe trait Init<T: ?Sized, E = Infallible>: PinInit<T, E> {
[all …]
/Linux-v6.6/rust/alloc/vec/
Dspec_extend.rs12 pub(super) trait SpecExtend<T, I> {
17 pub(super) trait TrySpecExtend<T, I> {
22 impl<T, I, A: Allocator> SpecExtend<T, I> for Vec<T, A>
24 I: Iterator<Item = T>,
31 impl<T, I, A: Allocator> TrySpecExtend<T, I> for Vec<T, A>
33 I: Iterator<Item = T>,
41 impl<T, I, A: Allocator> SpecExtend<T, I> for Vec<T, A>
43 I: TrustedLen<Item = T>,
50 impl<T, I, A: Allocator> TrySpecExtend<T, I> for Vec<T, A>
52 I: TrustedLen<Item = T>,
[all …]
Dmod.rs399 pub struct Vec<T, #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global> {
400 buf: RawVec<T, A>,
408 impl<T> Vec<T> {
645 pub unsafe fn from_raw_parts(ptr: *mut T, length: usize, capacity: usize) -> Self { in from_raw_parts() argument
650 impl<T, A: Allocator> Vec<T, A> {
900 pub unsafe fn from_raw_parts_in(ptr: *mut T, length: usize, capacity: usize, alloc: A) -> Self { in from_raw_parts_in() argument
937 pub fn into_raw_parts(self) -> (*mut T, usize, usize) { in into_raw_parts() argument
981 pub fn into_raw_parts_with_alloc(self) -> (*mut T, usize, usize, A) { in into_raw_parts_with_alloc() argument
1217 pub fn into_boxed_slice(mut self) -> Box<[T], A> { in into_boxed_slice() argument
1305 pub fn as_slice(&self) -> &[T] { in as_slice() argument
[all …]
Dinto_iter.rs36 T,
39 pub(super) buf: NonNull<T>,
40 pub(super) phantom: PhantomData<T>,
45 pub(super) ptr: *const T,
46 …pub(super) end: *const T, // If T is a ZST, this is actually ptr+len. This encoding is picked so t…
52 impl<T: fmt::Debug, A: Allocator> fmt::Debug for IntoIter<T, A> {
58 impl<T, A: Allocator> IntoIter<T, A> {
71 pub fn as_slice(&self) -> &[T] { in as_slice() argument
89 pub fn as_mut_slice(&mut self) -> &mut [T] { in as_mut_slice() argument
100 fn as_raw_mut_slice(&mut self) -> *mut [T] { in as_raw_mut_slice() argument
[all …]
Ddrain.rs26 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
117 if !T::IS_ZST { in keep_rest()
142 impl<'a, T, A: Allocator> AsRef<[T]> for Drain<'a, T, A> {
143 fn as_ref(&self) -> &[T] { in as_ref() argument
149 unsafe impl<T: Sync, A: Sync + Allocator> Sync for Drain<'_, T, A> {}
[all …]
Ddrain_filter.rs27 T,
31 F: FnMut(&mut T) -> bool,
33 pub(super) vec: &'a mut Vec<T, A>,
50 impl<T, F, A: Allocator> DrainFilter<'_, T, F, A>
52 F: FnMut(&mut T) -> bool,
101 if !T::IS_ZST && this.idx < this.old_len && this.del > 0 { in keep_rest()
116 impl<T, F, A: Allocator> Iterator for DrainFilter<'_, T, F, A>
118 F: FnMut(&mut T) -> bool,
120 type Item = T;
122 fn next(&mut self) -> Option<T> { in next() argument
[all …]
/Linux-v6.6/rust/kernel/init/
D__internal.rs16 pub(super) type Invariant<T> = PhantomData<fn(*mut T) -> *mut T>;
21 pub(crate) struct InitClosure<F, T: ?Sized, E>(pub(crate) F, pub(crate) Invariant<(E, T)>);
25 unsafe impl<T: ?Sized, F, E> Init<T, E> for InitClosure<F, T, E>
27 F: FnOnce(*mut T) -> Result<(), E>,
30 unsafe fn __init(self, slot: *mut T) -> Result<(), E> { in __init()
37 unsafe impl<T: ?Sized, F, E> PinInit<T, E> for InitClosure<F, T, E>
39 F: FnOnce(*mut T) -> Result<(), E>,
42 unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), E> { in __pinned_init()
105 pub struct AllData<T: ?Sized>(PhantomData<fn(Box<T>) -> Box<T>>);
107 impl<T: ?Sized> Clone for AllData<T> {
[all …]
/Linux-v6.6/rust/alloc/
Dboxed.rs200 T: ?Sized,
202 >(Unique<T>, A);
204 impl<T> Box<T> {
219 pub fn new(x: T) -> Self { in new()
246 pub fn new_uninit() -> Box<mem::MaybeUninit<T>> { in new_uninit()
272 pub fn new_zeroed() -> Box<mem::MaybeUninit<T>> { in new_zeroed()
287 pub fn pin(x: T) -> Pin<Box<T>> { in pin() argument
306 pub fn try_new(x: T) -> Result<Self, AllocError> { in try_new()
333 pub fn try_new_uninit() -> Result<Box<mem::MaybeUninit<T>>, AllocError> { in try_new_uninit()
359 pub fn try_new_zeroed() -> Result<Box<mem::MaybeUninit<T>>, AllocError> { in try_new_zeroed()
[all …]
Dslice.rs102 pub fn into_vec<T, A: Allocator>(b: Box<[T], A>) -> Vec<T, A> { in into_vec() argument
106 Vec::from_raw_parts_in(b as *mut T, len, len, alloc) in into_vec()
112 pub fn to_vec<T: ConvertVec, A: Allocator>(s: &[T], alloc: A) -> Vec<T, A> { in to_vec() argument
113 T::to_vec(s, alloc) in to_vec()
124 impl<T: Clone> ConvertVec for T { implementation
127 struct DropGuard<'a, T, A: Allocator> { in to_vec()
128 vec: &'a mut Vec<T, A>, in to_vec()
131 impl<'a, T, A: Allocator> Drop for DropGuard<'a, T, A> { in to_vec()
161 impl<T: Copy> ConvertVec for T { implementation
178 impl<T> [T] { implementation
[all …]
/Linux-v6.6/tools/testing/selftests/rcutorture/bin/
Dtorture.sh223 T="`mktemp -d ${TMPDIR-/tmp}/torture.sh.XXXXXX`"
226 echo " --- " $scriptname $args | tee -a $T/log
227 echo " --- Results directory: " $ds | tee -a $T/log
237 echo " --- Zero time for rcutorture, disabling" | tee -a $T/log
249 echo " --- Zero time for locktorture, disabling" | tee -a $T/log
261 echo " --- Zero time for scftorture, disabling" | tee -a $T/log
265 touch $T/failures
266 touch $T/successes
281 echo " --- $curflavor:" Start `date` | tee -a $T/log
287 "$@" $boottag "$cur_bootargs" --datestamp "$ds/results-$curflavor" > $T/$curflavor.out 2>&1
[all …]
Dkvm-remote.sh46 T="`mktemp -d ${TMPDIR-/tmp}/kvm-remote.sh.XXXXXX`"
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/kvm-again.sh.out 2>&1
89 cat $T/kvm-again.sh.out | tee -a "$oldrun/remote-log"
102 kvm-again.sh "$oldrun" "$@" --dryrun --remote --rundir "$rundir" > $T/kvm-again.sh.out 2>&1
[all …]
Dparse-build.sh18 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
/Linux-v6.6/drivers/comedi/drivers/tests/
Dni_routes_test.c310 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.6/scripts/
Ddecodecode14 rm -f $T $T.s $T.o $T.oo $T.aa $T.dis
25 T=`mktemp` || die "cannot create temp file"
51 rm $T
210 touch $T.oo
216 echo All code >> $T.oo
217 echo ======== >> $T.oo
219 echo -n " .$type 0x" > $T.s
221 echo $beforemark | sed -e 's/ /,0x/g; s/[<>()]//g' >> $T.s
223 disas $T $pc_sub
225 cat $T.dis >> $T.oo
[all …]
/Linux-v6.6/tools/memory-model/scripts/
Dcheckghlitmus.sh15 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 …]
Dcmplitmushist.sh10 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 …]
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' -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
/Linux-v6.6/include/linux/
Doverflow.h34 #define type_max(T) ((T)((__type_half_max(T) - 1) + __type_half_max(T))) argument
35 #define type_min(T) ((T)((T)-type_max(T)-(T)1)) argument
131 #define __overflows_type_constexpr(x, T) ( \ argument
133 (x) > type_max(typeof(T)) : \
134 is_unsigned_type(typeof(T)) ? \
135 (x) < 0 || (x) > type_max(typeof(T)) : \
136 (x) < type_min(typeof(T)) || (x) > type_max(typeof(T)))
138 #define __overflows_type(x, T) ({ \ argument
139 typeof(T) v = 0; \
157 #define overflows_type(n, T) \ argument
[all …]
/Linux-v6.6/Documentation/admin-guide/media/
Ddvb-usb-af9015-cardlist.rst17 * - 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 …]

12345678910>>...20