Home
last modified time | relevance | path

Searched refs:_T (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/include/linux/
Dspinlock.h507 raw_spin_lock(_T->lock),
508 raw_spin_unlock(_T->lock))
511 raw_spin_lock_nested(_T->lock, SINGLE_DEPTH_NESTING),
512 raw_spin_unlock(_T->lock))
515 raw_spin_lock_irq(_T->lock),
516 raw_spin_unlock_irq(_T->lock))
519 raw_spin_lock_irqsave(_T->lock, _T->flags),
520 raw_spin_unlock_irqrestore(_T->lock, _T->flags),
524 spin_lock(_T->lock),
525 spin_unlock(_T->lock))
[all …]
Dcleanup.h38 static inline void __free_##_name(void *p) { _type _T = *(_type *)p; _free; }
74 { _type _T = *p; _exit; } \
106 DEFINE_CLASS(_name, _type, _unlock, ({ _lock; _T; }), _type _T)
140 static inline void class_##_name##_destructor(class_##_name##_t *_T) \
142 if (_T->lock) { _unlock; } \
149 class_##_name##_t _t = { .lock = l }, *_T = &_t; \
158 *_T __maybe_unused = &_t; \
Drwsem.h205 DEFINE_GUARD(rwsem_read, struct rw_semaphore *, down_read(_T), up_read(_T))
206 DEFINE_GUARD(rwsem_write, struct rw_semaphore *, down_write(_T), up_write(_T))
208 DEFINE_FREE(up_read, struct rw_semaphore *, if (_T) up_read(_T))
209 DEFINE_FREE(up_write, struct rw_semaphore *, if (_T) up_write(_T))
Dmutex.h223 DEFINE_GUARD(mutex, struct mutex *, mutex_lock(_T), mutex_unlock(_T))
224 DEFINE_FREE(mutex, struct mutex *, if (_T) mutex_unlock(_T))
Dsrcu.h347 _T->idx = srcu_read_lock(_T->lock),
348 srcu_read_unlock(_T->lock, _T->idx),
Dfile.h84 DEFINE_CLASS(fd, struct fd, fdput(_T), fdget(fd), int fd)
94 DEFINE_CLASS(get_unused_fd, int, if (_T >= 0) put_unused_fd(_T),
Dirqflags.h273 local_irq_save(_T->flags),
274 local_irq_restore(_T->flags),
Ddevice.h1010 DEFINE_GUARD(device, struct device *, device_lock(_T), device_unlock(_T)) in DEFINE_GUARD() argument
1060 DEFINE_FREE(device_del, struct device *, if (_T) device_del(_T))
1230 DEFINE_FREE(put_device, struct device *, if (_T) put_device(_T))
Dpercpu.h136 DEFINE_FREE(free_percpu, void __percpu *, free_percpu(_T))
Dslab.h231 DEFINE_FREE(kfree, void *, if (_T) kfree(_T))
/linux-6.6.21/tools/perf/tests/
Devent-times.c223 #define _T(attach, detach) \ in test__event_times() macro
229 _T(attach__enable_on_exec, detach__enable_on_exec) in test__event_times()
231 _T(attach__current_enabled, detach__disable) in test__event_times()
233 _T(attach__current_disabled, detach__disable) in test__event_times()
235 _T(attach__cpu_disabled, detach__disable) in test__event_times()
237 _T(attach__cpu_enabled, detach__disable) in test__event_times()
239 #undef _T in test__event_times()
/linux-6.6.21/kernel/sched/
Dsched.h1710 rq_lock(_T->lock, &_T->rf),
1711 rq_unlock(_T->lock, &_T->rf),
1715 rq_lock_irq(_T->lock, &_T->rf),
1716 rq_unlock_irq(_T->lock, &_T->rf),
1720 rq_lock_irqsave(_T->lock, &_T->rf),
1721 rq_unlock_irqrestore(_T->lock, &_T->rf),
2638 { class_##name##_t _t = { .lock = lock, .lock2 = lock2 }, *_T = &_t; \
2777 double_raw_lock(_T->lock, _T->lock2),
2778 double_raw_unlock(_T->lock, _T->lock2))
2838 double_rq_lock(_T->lock, _T->lock2),
[all …]
Dcore.c6405 sched_core_lock(*_T->lock, &_T->flags),
6406 sched_core_unlock(*_T->lock, &_T->flags),
/linux-6.6.21/include/linux/sched/
Dtask.h164 DEFINE_FREE(put_task, struct task_struct *, if (_T) put_task_struct(_T)) in DEFINE_FREE() argument
/linux-6.6.21/arch/x86/crypto/
Dsha1_ssse3_asm.S210 .set _T, \a define
212 .set \b, _T