Home
last modified time | relevance | path

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

12345678910>>...25

/linux-6.15/tools/debugging/
H A Dkernel-chktaint62 T=`expr $T / 2`
70 T=`expr $T / 2`
78 T=`expr $T / 2`
86 T=`expr $T / 2`
94 T=`expr $T / 2`
102 T=`expr $T / 2`
110 T=`expr $T / 2`
118 T=`expr $T / 2`
126 T=`expr $T / 2`
134 T=`expr $T / 2`
[all …]
/linux-6.15/drivers/net/wireguard/selftest/
H A Dcounter.c71 T(i, true); in wg_packet_counter_selftest()
72 T(0, true); in wg_packet_counter_selftest()
73 T(0, false); in wg_packet_counter_selftest()
77 T(i, true); in wg_packet_counter_selftest()
78 T(1, true); in wg_packet_counter_selftest()
79 T(0, false); in wg_packet_counter_selftest()
83 T(i, true); in wg_packet_counter_selftest()
87 T(i, true); in wg_packet_counter_selftest()
88 T(0, false); in wg_packet_counter_selftest()
99 T(0, true); in wg_packet_counter_selftest()
[all …]
/linux-6.15/rust/kernel/sync/
H A Darc.rs150 impl<T: ?Sized> ArcInner<T> {
205 impl<T> InPlaceInit<T> for Arc<T> {
225 impl<T> Arc<T> {
244 impl<T: ?Sized> Arc<T> {
420 impl<T: ?Sized> AsRef<T> for Arc<T> {
463 impl<T: ?Sized> From<UniqueArc<T>> for Arc<T> {
469 impl<T: ?Sized> From<Pin<UniqueArc<T>>> for Arc<T> {
592 impl<T: ?Sized> From<ArcBorrow<'_, T>> for Arc<T> {
691 impl<T> InPlaceInit<T> for UniqueArc<T> {
711 impl<T> InPlaceWrite<T> for UniqueArc<MaybeUninit<T>> {
[all …]
H A Dlock.rs122 unsafe impl<T: ?Sized + Send, B: Backend> Send for Lock<T, B> {}
126 unsafe impl<T: ?Sized + Send, B: Backend> Sync for Lock<T, B> {}
128 impl<T, B: Backend> Lock<T, B> {
165 impl<T: ?Sized, B: Backend> Lock<T, B> {
198 unsafe impl<T: Sync + ?Sized, B: Backend> Sync for Guard<'_, T, B> {}
200 impl<'a, T: ?Sized, B: Backend> Guard<'a, T, B> {
243 impl<T: ?Sized, B: Backend> core::ops::Deref for Guard<'_, T, B> {
244 type Target = T;
252 impl<T: ?Sized, B: Backend> core::ops::DerefMut for Guard<'_, T, B> {
259 impl<T: ?Sized, B: Backend> Drop for Guard<'_, T, B> {
[all …]
/linux-6.15/tools/perf/tests/
H A Dkmod-path.c44 #define T(path, an, k, c, n) \ macro
81 T("x.gz", true , false, 1 , "x.gz"); in test__kmod_path__parse()
82 T("x.gz", false , false, 1 , NULL ); in test__kmod_path__parse()
83 T("x.gz", true , false, 1 , "x.gz"); in test__kmod_path__parse()
84 T("x.gz", false , false, 1 , NULL ); in test__kmod_path__parse()
90 T("x.ko.gz", true , true, 1 , "[x]"); in test__kmod_path__parse()
91 T("x.ko.gz", false , true, 1 , NULL ); in test__kmod_path__parse()
92 T("x.ko.gz", true , true, 1 , "[x]"); in test__kmod_path__parse()
93 T("x.ko.gz", false , true, 1 , NULL ); in test__kmod_path__parse()
118 T("[vdso]", true , false, false, "[vdso]"); in test__kmod_path__parse()
[all …]
/linux-6.15/rust/kernel/alloc/
H A Dkbox.rs108 unsafe impl<T, A> Send for Box<T, A>
116 unsafe impl<T, A> Sync for Box<T, A>
123 impl<T, A> Box<T, A>
177 impl<T, A> Box<MaybeUninit<T>, A>
207 impl<T, A> Box<T, A>
299 impl<T, A> From<Box<T, A>> for Pin<Box<T, A>>
315 impl<T, A> InPlaceWrite<T> for Box<MaybeUninit<T>, A>
340 impl<T, A> InPlaceInit<T> for Box<T, A>
436 impl<T, A> Deref for Box<T, A>
450 impl<T, A> DerefMut for Box<T, A>
[all …]
H A Dkvec.rs120 pub type KVec<T> = Vec<T, Kmalloc>;
133 pub type VVec<T> = Vec<T, Vmalloc>;
149 unsafe impl<T, A> Send for Vec<T, A>
164 impl<T, A> Vec<T, A>
526 impl<T, A> Drop for Vec<T, A>
546 impl<T, A, const N: usize> From<Box<[T; N], A>> for Vec<T, A>
564 impl<T> Default for KVec<T> {
577 impl<T, A> Deref for Vec<T, A>
605 impl<T, I: SliceIndex<[T]>, A> Index<I> for Vec<T, A>
617 impl<T, I: SliceIndex<[T]>, A> IndexMut<I> for Vec<T, A>
[all …]
/linux-6.15/rust/kernel/
H A Dtypes.rs203 pub struct ScopeGuard<T, F: FnOnce(T)>(Option<(T, F)>);
205 impl<T, F: FnOnce(T)> ScopeGuard<T, F> {
227 impl<T, F: FnOnce(T)> Deref for ScopeGuard<T, F> {
236 impl<T, F: FnOnce(T)> DerefMut for ScopeGuard<T, F> {
243 impl<T, F: FnOnce(T)> Drop for ScopeGuard<T, F> {
313 unsafe impl<T> Zeroable for Opaque<T> {}
315 impl<T> Opaque<T> {
458 impl<T: AlwaysRefCounted> ARef<T> {
510 impl<T: AlwaysRefCounted> Clone for ARef<T> {
527 impl<T: AlwaysRefCounted> From<&T> for ARef<T> {
[all …]
H A Dlist.rs48 unsafe impl<T, const ID: u64> Send for List<T, ID>
50 ListArc<T, ID>: Send,
56 unsafe impl<T, const ID: u64> Sync for List<T, ID>
58 ListArc<T, ID>: Sync,
217 impl<T: ?Sized, const ID: u64> ListLinksSelfPtr<T, ID> {
237 impl<T: ?Sized + ListItem<ID>, const ID: u64> List<T, ID> {
353 pub unsafe fn remove(&mut self, item: &T) -> Option<ListArc<T, ID>> { in remove() argument
519 impl<T: ?Sized + ListItem<ID>, const ID: u64> Default for List<T, ID> {
525 impl<T: ?Sized + ListItem<ID>, const ID: u64> Drop for List<T, ID> {
725 impl<'a, T: ?Sized + ListItem<ID>, const ID: u64> Cursor<'a, T, ID> {
[all …]
H A Dworkqueue.rs215 func: T, in try_spawn() argument
237 impl<T> ClosureWork<T> {
244 impl<T: FnOnce()> WorkItem for ClosureWork<T> {
363 unsafe impl<T: ?Sized, const ID: u64> Send for Work<T, ID> {}
369 impl<T: ?Sized, const ID: u64> Work<T, ID> {
522 impl{T} HasWork<Self> for ClosureWork<T> { self.work }
537 T: HasWork<T, ID>,
558 unsafe impl<T, const ID: u64> RawWorkItem<ID> for Arc<T>
561 T: HasWork<T, ID>,
590 T: HasWork<T, ID>,
[all …]
H A Drevocable.rs65 pub struct Revocable<T> {
68 data: Opaque<T>,
74 unsafe impl<T: Send> Send for Revocable<T> {}
79 unsafe impl<T: Sync + Send> Sync for Revocable<T> {}
81 impl<T> Revocable<T> {
172 impl<T> PinnedDrop for Revocable<T> {
195 pub struct RevocableGuard<'a, T> {
196 data_ref: *const T,
201 impl<T> RevocableGuard<'_, T> {
211 impl<T> Deref for RevocableGuard<'_, T> {
[all …]
H A Ddevice_id.rs49 ids: [T::RawType; N],
50 sentinel: MaybeUninit<T::RawType>,
53 impl<T: RawDeviceId, const N: usize> RawIdArray<T, N> {
63 raw_ids: RawIdArray<T, N>,
67 impl<T: RawDeviceId, U, const N: usize> IdArray<T, U, N> {
71 pub const fn new(ids: [(T, U); N]) -> Self { in new() argument
124 pub trait IdTable<T: RawDeviceId, U> {
126 fn as_ptr(&self) -> *const T::RawType; in as_ptr()
129 fn id(&self, index: usize) -> &T::RawType; in id()
135 impl<T: RawDeviceId, U, const N: usize> IdTable<T, U> for IdArray<T, U, N> {
[all …]
/linux-6.15/rust/kernel/time/hrtimer/
H A Darc.rs17 T: HasHrTimer<T>,
24 unsafe impl<T> HrTimerHandle for ArcHrTimerHandle<T>
26 T: HasHrTimer<T>,
41 impl<T> Drop for ArcHrTimerHandle<T>
43 T: HasHrTimer<T>,
50 impl<T> HrTimerPointer for Arc<T>
52 T: 'static,
54 T: HasHrTimer<T>,
69 impl<T> RawHrTimerCallback for Arc<T>
71 T: 'static,
[all …]
H A Dtbox.rs21 T: HasHrTimer<T>,
30 unsafe impl<T, A> HrTimerHandle for BoxHrTimerHandle<T, A>
32 T: HasHrTimer<T>,
46 impl<T, A> Drop for BoxHrTimerHandle<T, A>
48 T: HasHrTimer<T>,
59 impl<T, A> HrTimerPointer for Pin<Box<T, A>>
61 T: 'static,
63 T: HasHrTimer<T>,
64 T: for<'a> HrTimerCallback<Pointer<'a> = Pin<Box<T, A>>>,
91 impl<T, A> RawHrTimerCallback for Pin<Box<T, A>>
[all …]
H A Dpin.rs16 T: HasHrTimer<T>,
23 unsafe impl<'a, T> HrTimerHandle for PinHrTimerHandle<'a, T>
25 T: HasHrTimer<T>,
32 let timer_ptr = unsafe { <T as HasHrTimer<T>>::raw_get_timer(self_ptr) }; in cancel()
40 impl<'a, T> Drop for PinHrTimerHandle<'a, T>
42 T: HasHrTimer<T>,
51 unsafe impl<'a, T> UnsafeHrTimerPointer for Pin<&'a T>
53 T: Send + Sync,
54 T: HasHrTimer<T>,
73 impl<'a, T> RawHrTimerCallback for Pin<&'a T>
[all …]
H A Dpin_mut.rs13 T: HasHrTimer<T>,
21 unsafe impl<'a, T> HrTimerHandle for PinMutHrTimerHandle<'a, T>
23 T: HasHrTimer<T>,
30 let timer_ptr = unsafe { <T as HasHrTimer<T>>::raw_get_timer(self_ptr) }; in cancel()
38 impl<'a, T> Drop for PinMutHrTimerHandle<'a, T>
40 T: HasHrTimer<T>,
49 unsafe impl<'a, T> UnsafeHrTimerPointer for Pin<&'a mut T>
51 T: Send + Sync,
52 T: HasHrTimer<T>,
77 impl<'a, T> RawHrTimerCallback for Pin<&'a mut T>
[all …]
/linux-6.15/rust/pin-init/src/
H A D__internal.rs17 pub(crate) type Invariant<T> = PhantomData<fn(*mut T) -> *mut T>;
27 unsafe impl<T: ?Sized, F, E> Init<T, E> for InitClosure<F, T, E>
39 unsafe impl<T: ?Sized, F, E> PinInit<T, E> for InitClosure<F, T, E>
111 impl<T: ?Sized> Clone for AllData<T> {
117 impl<T: ?Sized> Copy for AllData<T> {}
145 impl<T> Drop for StackInit<T> {
156 impl<T> StackInit<T> {
224 impl<T: ?Sized> DropGuard<T> {
241 impl<T: ?Sized> Drop for DropGuard<T> {
274 impl<T: ?Sized> AlwaysFail<T> {
[all …]
H A Dlib.rs1047 unsafe impl<T: ?Sized, E, I, F> PinInit<T, E> for ChainPinInit<I, F, T, E>
1154 unsafe impl<T: ?Sized, E, I, F> Init<T, E> for ChainInit<I, F, T, E>
1170 unsafe impl<T: ?Sized, E, I, F> PinInit<T, E> for ChainInit<I, F, T, E>
1310 unsafe impl<T, E> Init<T, E> for T { implementation
1319 unsafe impl<T, E> PinInit<T, E> for T { implementation
1444 {<T>} MaybeUninit<T>,
1447 {<T: ?Sized + Zeroable>} UnsafeCell<T>,
1455 {<T>} Option<NonNull<T>>,
1464 {<T>} *mut T, {<T>} *const T,
1468 {<T>} *mut [T], {<T>} *const [T], *mut str, *const str,
[all …]
/linux-6.15/rust/kernel/list/
H A Darc.rs167 arc: Arc<T>,
170 impl<T: ListArcSafe<ID>, const ID: u64> ListArc<T, ID> {
202 impl<T, const ID: u64> From<UniqueArc<T>> for ListArc<T, ID>
213 impl<T, const ID: u64> From<Pin<UniqueArc<T>>> for ListArc<T, ID>
229 impl<T, const ID: u64> ListArc<T, ID>
239 T: ListArcSafe<ID2>, in pair_from_unique()
277 pub fn try_from_arc(arc: Arc<T>) -> Result<Self, Arc<T>> in try_from_arc()
411 impl<T, const ID: u64> Deref for ListArc<T, ID>
415 type Target = T;
423 impl<T, const ID: u64> Drop for ListArc<T, ID>
[all …]
/linux-6.15/tools/testing/selftests/rcutorture/bin/
H A Dtorture.sh281 touch $T/failures
282 touch $T/successes
308 cat $T/$curflavor.out | tee -a $T/log
337 mv $T/last-resdir $T/last-resdir-nodebug || :
342 mv $T/last-resdir $T/last-resdir-kasan || :
353 mv $T/last-resdir $T/last-resdir-kcsan || :
541 mv $T/last-resdir-nodebug $T/first-resdir-nodebug || :
544 mv $T/last-resdir-kasan $T/first-resdir-kasan || :
548 mv $T/last-resdir-kcsan $T/first-resdir-kcsan || :
604 cat "$T/successes" | tee -a $T/log
[all …]
/linux-6.15/drivers/comedi/drivers/tests/
H A Dni_routes_test.c402 unittest(!route_is_valid(O(0), O(0), T), in test_route_is_valid()
404 unittest(route_is_valid(O(0), O(1), T), in test_route_is_valid()
406 unittest(route_is_valid(O(5), O(6), T), in test_route_is_valid()
408 unittest(route_is_valid(O(8), O(9), T), in test_route_is_valid()
501 unittest(route_register_is_valid(0, O(1), T), in test_route_register_is_valid()
503 unittest(route_register_is_valid(4, O(6), T), in test_route_register_is_valid()
505 unittest(route_register_is_valid(9, O(8), T), in test_route_register_is_valid()
547 unittest(ni_get_reg_value(0, O(0), T) == -1, in test_ni_get_reg_value()
549 unittest(ni_get_reg_value(0, O(1), T) == 0, in test_ni_get_reg_value()
551 unittest(ni_get_reg_value(4, O(6), T) == 4, in test_ni_get_reg_value()
[all …]
/linux-6.15/scripts/
H A Ddecodecode14 rm -f $T $T.s $T.o $T.oo $T.aa $T.dis
51 rm $T
215 touch $T.oo
221 echo All code >> $T.oo
228 disas $T $pc_sub
230 cat $T.dis >> $T.oo
238 rm -f $T.o $T.s $T.dis
245 echo $code >> $T.s
246 disas $T 0
247 cat $T.dis >> $T.aa
[all …]
/linux-6.15/tools/memory-model/scripts/
H A Dcheckghlitmus.sh15 T=/tmp/checkghlitmus.sh.$$
17 mkdir $T
40 xargs -r grep -L "^P${LKMM_PROCS}"> $T/list-C-already
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
64 cat $T/run.stderr 1>&2
[all …]
H A Dcmplitmushist.sh10 T=/tmp/cmplitmushist.sh.$$
12 mkdir $T
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
85 if cmp -s $T/oldout $T/newout
97 . $T/cmpscript > $T/cmpscript.out
98 cat $T/cmpscript.out
[all …]
H A 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

12345678910>>...25