Home
last modified time | relevance | path

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

12345

/linux/include/linux/
H A Dspinlock.h559 raw_spin_lock(_T->lock),
560 raw_spin_unlock(_T->lock))
561 DECLARE_LOCK_GUARD_1_ATTRS(raw_spinlock, __acquires(_T), __releases(*(raw_spinlock_t **)_T))
562 #define class_raw_spinlock_constructor(_T) WITH_LOCK_GUARD_1_ATTRS(raw_spinlock, _T) argument
564 DEFINE_LOCK_GUARD_1_COND(raw_spinlock, _try, raw_spin_trylock(_T->lock))
565 DECLARE_LOCK_GUARD_1_ATTRS(raw_spinlock_try, __acquires(_T), __releases(*(raw_spinlock_t **)_T))
566 #define class_raw_spinlock_try_constructor(_T) WITH_LOCK_GUARD_1_ATTRS(raw_spinlock_try, _T) argument
569 raw_spin_lock_nested(_T->lock, SINGLE_DEPTH_NESTING),
570 raw_spin_unlock(_T->lock))
571 DECLARE_LOCK_GUARD_1_ATTRS(raw_spinlock_nested, __acquires(_T), __releases(*(raw_spinlock_t **)_T))
[all …]
H A Dcleanup.h211 static __always_inline void __free_##_name(void *p) { _type _T = *(_type *)p; _free; }
280 { _type _T = *p; _exit; } \
288 static __always_inline void class_##_name##ext##_destructor(class_##_name##_t *_T) \
289 { if (_cond) return; class_##_name##_destructor(_T); } \
354 static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \
364 static __always_inline void *class_##_name##_lock_ptr(class_##_name##_t *_T) \
372 static __always_inline int class_##_name##_lock_err(class_##_name##_t *_T) \
386 __DEFINE_GUARD_LOCK_PTR(_name, _T)
390 __DEFINE_GUARD_LOCK_PTR(_name, _T)
393 static __always_inline __nonnull_args(1) _type class_##_name##_constructor(_type _T); \
[all …]
H A Dsrcu.h739 _T->idx = srcu_read_lock(_T->lock),
740 srcu_read_unlock(_T->lock, _T->idx),
742 DECLARE_LOCK_GUARD_1_ATTRS(srcu, __acquires_shared(_T), __releases_shared(*(struct srcu_struct **)_T))
743 #define class_srcu_constructor(_T) WITH_LOCK_GUARD_1_ATTRS(srcu, _T)
746 _T->scp = srcu_read_lock_fast(_T
636 class_srcu_constructor(_T) global() argument
643 class_srcu_fast_constructor(_T) global() argument
650 class_srcu_fast_notrace_constructor(_T) global() argument
657 class_srcu_fast_updown_constructor(_T) global() argument
[all...]
H A Dfile.h84 DEFINE_CLASS(fd, struct fd, fdput(_T), fdget(fd), int fd)
85 DEFINE_CLASS(fd_raw, struct fd, fdput(_T), fdget_raw(fd), int fd)
86 DEFINE_CLASS(fd_pos, struct fd, fdput_pos(_T), fdget_pos(fd), int fd)
96 DEFINE_CLASS(get_unused_fd, int, if (_T >= 0) put_unused_fd(_T),
98 DEFINE_FREE(fput, struct file *, if (!IS_ERR_OR_NULL(_T)) fput(_T))
H A Dpm_runtime.h642 pm_runtime_get_noresume(_T), pm_runtime_put_noidle(_T));
645 pm_runtime_get_sync(_T), pm_runtime_put(_T));
647 pm_runtime_get_sync(_T), pm_runtime_put_autosuspend(_T));
656 pm_runtime_get_active(_T, RPM_TRANSPARENT), _RET == 0)
658 pm_runtime_resume_and_get(_T), _RET == 0)
660 pm_runtime_get_active(_T, RPM_TRANSPARENT), _RET == 0)
662 pm_runtime_resume_and_get(_T), _RE
[all...]
H A Dmnt_namespace.h19 DEFINE_FREE(put_mnt_ns, struct mnt_namespace *, if (!IS_ERR_OR_NULL(_T)) put_mnt_ns(_T))
H A Dexecmem.h179 DEFINE_FREE(execmem, void *, if (_T) execmem_free(_T));
H A Dmmap_lock.h647 mmap_read_lock(_T), mmap_read_unlock(_T))
648 DEFINE_GUARD_COND(mmap_read_lock, _try, mmap_read_trylock(_T))
650 mmap_write_lock(_T), mmap_write_unlock(_T))
631 DEFINE_GUARD(mmap_read_lock,struct mm_struct *,mmap_read_lock (_T),mmap_read_unlock (_T)) DEFINE_GUARD() argument
H A Dtsm.h119 if (!IS_ERR_OR_NULL(_T)) put_device(&_T->dev))
H A Dpci-ide.h116 DEFINE_FREE(pci_ide_stream_release, struct pci_ide *, if (_T) pci_ide_stream_release(_T))
H A Dnsproxy.h119 DEFINE_FREE(put_nsproxy, struct nsproxy *, if (_T) put_nsproxy(_T))
H A Didr.h138 if (_T.id >= 0) idr_remove(_T.idr, _T.id),
H A Dserio.h165 DEFINE_GUARD(serio_pause_rx, struct serio *, serio_pause_rx(_T), serio_continue_rx(_T))
H A Dslab.h599 DEFINE_FREE(kfree, void *, if (!IS_ERR_OR_NULL(_T)) kfree(_T))
600 DEFINE_FREE(kfree_sensitive, void *, if (_T) kfree_sensitive(_T))
1423 DEFINE_FREE(kvfree, void *, if (!IS_ERR_OR_NULL(_T)) kvfree(_T))
1426 DEFINE_FREE(kvfree_atomic, void *, if (!IS_ERR_OR_NULL(_T)) kvfree_atomic(_T))
/linux/tools/perf/tests/
H A Devent-times.c222 #define _T(attach, detach) \ in test__event_times() macro
228 _T(attach__enable_on_exec, detach__enable_on_exec) in test__event_times()
230 _T(attach__current_enabled, detach__disable) in test__event_times()
232 _T(attach__current_disabled, detach__disable) in test__event_times()
234 _T(attach__cpu_disabled, detach__disable) in test__event_times()
236 _T(attach__cpu_enabled, detach__disable) in test__event_times()
238 #undef _T in test__event_times()
/linux/kernel/sched/
H A Dsched.h2036 _T->rq = task_rq_lock(_T->lock, &_T->rf), in rq_unlock()
2037 task_rq_unlock(_T->rq, _T->lock, &_T->rf), in rq_unlock()
2039 DECLARE_LOCK_GUARD_1_ATTRS(task_rq_lock, __acquires(_T->pi_lock), __releases((*(struct task_struct **)_T)->pi_lock)) in rq_unlock()
2040 #define class_task_rq_lock_constructor(_T) WITH_LOCK_GUARD_1_ATTRS(task_rq_lock, _T) in rq_unlock()
1993 class_task_rq_lock_constructor(_T) global() argument
2049 class_rq_lock_constructor(_T) global() argument
2058 class_rq_lock_irq_constructor(_T) global() argument
2067 class_rq_lock_irqsave_constructor(_T) global() argument
2076 class_raw_spin_rq_lock_irqsave_constructor(_T) global() argument
[all...]
/linux/drivers/cxl/
H A Dcxl.h769 DEFINE_FREE(put_cxl_root, struct cxl_root *, if (_T) put_device(&_T->port.dev))
770 DEFINE_FREE(put_cxl_port, struct cxl_port *, if (!IS_ERR_OR_NULL(_T)) put_device(&_T->dev))
771 DEFINE_FREE(put_cxl_root_decoder, struct cxl_root_decoder *, if (!IS_ERR_OR_NULL(_T)) put_device(&_T->cxlsd.cxld.dev))
772 DEFINE_FREE(put_cxl_region, struct cxl_region *, if (!IS_ERR_OR_NULL(_T)) put_device(&_T->dev))
773 DEFINE_FREE(put_cxl_dax_region, struct cxl_dax_region *, if (!IS_ERR_OR_NULL(_T)) put_device(&_T
[all...]
/linux/arch/arm64/include/asm/
H A Dsimd.h48 kernel_neon_begin(_T->lock),
49 kernel_neon_end(_T->lock))
/linux/kernel/trace/rv/
H A Drv.h20 DEFINE_FREE(rv_remove, struct dentry *, if (_T) rv_remove(_T));
/linux/include/linux/firmware/qcom/
H A Dqcom_tzmem.h61 DEFINE_FREE(qcom_tzmem, void *, if (_T) qcom_tzmem_free(_T))
/linux/security/landlock/
H A Druleset.h212 if (!IS_ERR_OR_NULL(_T)) landlock_put_ruleset(_T))
/linux/sound/core/seq/
H A Dseq_clientmgr.h96 DEFINE_FREE(snd_seq_client, struct snd_seq_client *, if (!IS_ERR_OR_NULL(_T)) snd_seq_client_unref(_T))
/linux/drivers/thermal/testing/
H A Dzone.c53 DEFINE_GUARD(tt_zone, struct tt_thermal_zone *, mutex_lock(&_T->lock), mutex_unlock(&_T->lock))
305 if (!IS_ERR_OR_NULL(_T)) tt_put_tt_zone(_T))
/linux/net/core/
H A Ddev.h47 DEFINE_FREE(netdev_unlock, struct net_device *, if (_T) netdev_unlock(_T));
61 if (_T) netdev_unlock_ops_compat(_T));
/linux/include/sound/
H A Dcore.h342 DEFINE_FREE(snd_card_unref, struct snd_card *, if (_T) snd_card_unref(_T))
351 DEFINE_FREE(snd_card_free, struct snd_card *, if (_T) snd_card_free(_T))

12345