Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dcleanup.h38 static inline void __free_##_name(void *p) { _type _T = *(_type *)p; _free; }
74 { _type _T = *p; _exit; } \
124 DEFINE_CLASS(_name, _type, if (_T) { _unlock; }, ({ _lock; _T; }), _type _T); \
125 static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \
126 { return (void *)(__force unsigned long)*_T; }
131 ({ void *_t = _T; if (_T && !(_condlock)) _t = NULL; _t; }), \
132 class_##_name##_t _T) \
133 static inline void * class_##_name##_ext##_lock_ptr(class_##_name##_t *_T) \
134 { return class_##_name##_lock_ptr(_T); }
200 static inline void class_##_name##_destructor(class_##_name##_t *_T) \
[all …]
H A Dspinlock.h507 raw_spin_lock(_T->lock),
508 raw_spin_unlock(_T->lock))
510 DEFINE_LOCK_GUARD_1_COND(raw_spinlock, _try, raw_spin_trylock(_T->lock))
513 raw_spin_lock_nested(_T->lock, SINGLE_DEPTH_NESTING),
514 raw_spin_unlock(_T->lock))
517 raw_spin_lock_irq(_T->lock),
518 raw_spin_unlock_irq(_T->lock))
520 DEFINE_LOCK_GUARD_1_COND(raw_spinlock_irq, _try, raw_spin_trylock_irq(_T->lock))
523 raw_spin_lock_irqsave(_T->lock, _T->flags),
524 raw_spin_unlock_irqrestore(_T->lock, _T->flags),
[all …]
H A Drwsem.h205 DEFINE_GUARD(rwsem_read, struct rw_semaphore *, down_read(_T), up_read(_T))
206 DEFINE_GUARD_COND(rwsem_read, _try, down_read_trylock(_T))
207 DEFINE_GUARD_COND(rwsem_read, _intr, down_read_interruptible(_T) == 0)
209 DEFINE_GUARD(rwsem_write, struct rw_semaphore *, down_write(_T), up_write(_T))
210 DEFINE_GUARD_COND(rwsem_write, _try, down_write_trylock(_T))
H A Dmutex.h250 DEFINE_GUARD(mutex, struct mutex *, mutex_lock(_T), mutex_unlock(_T))
251 DEFINE_GUARD_COND(mutex, _try, mutex_trylock(_T))
252 DEFINE_GUARD_COND(mutex, _intr, mutex_lock_interruptible(_T) == 0)
H A Dsrcu.h347 _T->idx = srcu_read_lock(_T->lock),
348 srcu_read_unlock(_T->lock, _T->idx),
H A 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),
H A Dserio.h165 DEFINE_GUARD(serio_pause_rx, struct serio *, serio_pause_rx(_T), serio_continue_rx(_T))
H A Dirqflags.h273 local_irq_save(_T->flags),
274 local_irq_restore(_T->flags),
H A 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))
1233 DEFINE_FREE(put_device, struct device *, if (_T) put_device(_T))
H A Dpercpu.h136 DEFINE_FREE(free_percpu, void __percpu *, free_percpu(_T))
H A Dslab.h231 DEFINE_FREE(kfree, void *, if (!IS_ERR_OR_NULL(_T)) kfree(_T))
H A Dpci.h1149 DEFINE_FREE(pci_dev_put, struct pci_dev *, if (_T) pci_dev_put(_T))
1831 DEFINE_GUARD(pci_dev, struct pci_dev *, pci_dev_lock(_T), pci_dev_unlock(_T))
H A Dof.h138 DEFINE_FREE(device_node, struct device_node *, if (_T) of_node_put(_T))
H A Dproperty.h184 DEFINE_FREE(fwnode_handle, struct fwnode_handle *, fwnode_handle_put(_T))
/openbmc/linux/tools/perf/tests/
H A 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()
/openbmc/qemu/python/qemu/qmp/
H A Dlegacy.py97 _T = TypeVar('_T') variable in QEMUMonitorProtocol
100 self, future: Awaitable[_T], timeout: Optional[float] = None argument
101 ) -> _T:
112 def __enter__(self: _T) -> _T: argument
/openbmc/linux/kernel/sched/
H A Dsched.h1711 rq_lock(_T->lock, &_T->rf),
1712 rq_unlock(_T->lock, &_T->rf),
1716 rq_lock_irq(_T->lock, &_T->rf),
1717 rq_unlock_irq(_T->lock, &_T->rf),
1721 rq_lock_irqsave(_T->lock, &_T->rf),
1722 rq_unlock_irqrestore(_T->lock, &_T->rf),
2646 { class_##name##_t _t = { .lock = lock, .lock2 = lock2 }, *_T = &_t; \
2785 double_raw_lock(_T->lock, _T->lock2),
2786 double_raw_unlock(_T->lock, _T->lock2))
2846 double_rq_lock(_T->lock, _T->lock2),
[all …]
H A Dcore.c6405 sched_core_lock(*_T->lock, &_T->flags),
6406 sched_core_unlock(*_T->lock, &_T->flags),
/openbmc/linux/include/linux/sched/
H A Dtask.h165 DEFINE_FREE(put_task, struct task_struct *, if (_T) put_task_struct(_T)) in DEFINE_FREE() argument
/openbmc/qemu/python/qemu/machine/
H A Dmachine.py107 _T = TypeVar('_T', bound='QEMUMachine') variable
195 def __enter__(self: _T) -> _T: argument
211 def add_fd(self: _T, fd: int, fdset: int, argument
212 opaque: str, opts: str = '') -> _T:
/openbmc/qemu/po/
H A Dzh_CN.po63 msgstr "显示标签页(_T)"
/openbmc/linux/arch/x86/crypto/
H A Dsha1_ssse3_asm.S210 .set _T, \a define
212 .set \b, _T
/openbmc/qemu/pc-bios/
H A Dqemu.rsrc97 $"5955 5580 5402 507C FDA9 FE08 DA8F 5F54" /* YUUÄT.P|˝©˛.⁄è_T */
/openbmc/qemu/target/mips/tcg/
H A Dmsa_helper.c7447 #define FMAXMIN_A(F, G, X, _S, _T, BITS, STATUS) \ argument
7449 uint## BITS ##_t S = _S, T = _T; \