Home
last modified time | relevance | path

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

1234

/linux/include/linux/
H A Dspinlock.h536 raw_spin_lock(_T->lock),
537 raw_spin_unlock(_T->lock))
539 DEFINE_LOCK_GUARD_1_COND(raw_spinlock, _try, raw_spin_trylock(_T->lock))
542 raw_spin_lock_nested(_T->lock, SINGLE_DEPTH_NESTING),
543 raw_spin_unlock(_T->lock))
546 raw_spin_lock_irq(_T->lock),
547 raw_spin_unlock_irq(_T->lock))
549 DEFINE_LOCK_GUARD_1_COND(raw_spinlock_irq, _try, raw_spin_trylock_irq(_T->lock))
552 raw_spin_lock_bh(_T->lock),
553 raw_spin_unlock_bh(_T
[all...]
H A Dcleanup.h211 static __always_inline void __free_##_name(void *p) { _type _T = *(_type *)p; _free; }
282 { _type _T = *p; _exit; } \
353 static inline void * class_##_name##_lock_ptr(class_##_name##_t *_T) \
363 static __always_inline void *class_##_name##_lock_ptr(class_##_name##_t *_T) \
371 static __always_inline int class_##_name##_lock_err(class_##_name##_t *_T) \
385 __DEFINE_GUARD_LOCK_PTR(_name, _T)
389 __DEFINE_GUARD_LOCK_PTR(_name, _T)
392 DEFINE_CLASS(_name, _type, if (!__GUARD_IS_ERR(_T)) { _unlock; }, ({ _lock; _T; }), _type _T); \
398 ({ void *_t = _T; int _RET = (_lock); if (_T && !(_cond)) _t = ERR_PTR(_RET); _t; }), \
399 class_##_name##_t _T) \
[all …]
H A Dsrcu.h600 _T->idx = srcu_read_lock(_T->lock),
601 srcu_read_unlock(_T->lock, _T->idx),
605 _T->scp = srcu_read_lock_fast(_T->lock),
606 srcu_read_unlock_fast(_T->lock, _T->scp),
610 _T->scp = srcu_read_lock_fast_notrace(_T->lock),
611 srcu_read_unlock_fast_notrace(_T->lock, _T->scp),
H A Drwsem.h253 DEFINE_GUARD(rwsem_read, struct rw_semaphore *, down_read(_T), up_read(_T))
254 DEFINE_GUARD_COND(rwsem_read, _try, down_read_trylock(_T))
255 DEFINE_GUARD_COND(rwsem_read, _intr, down_read_interruptible(_T), _RET == 0)
257 DEFINE_GUARD(rwsem_write, struct rw_semaphore *, down_write(_T), up_write(_T))
258 DEFINE_GUARD_COND(rwsem_write, _try, down_write_trylock(_T))
259 DEFINE_GUARD_COND(rwsem_write, _kill, down_write_killable(_T), _RET == 0)
H A Dfile.h83 DEFINE_CLASS(fd, struct fd, fdput(_T), fdget(fd), int fd)
84 DEFINE_CLASS(fd_raw, struct fd, fdput(_T), fdget_raw(fd), int fd)
85 DEFINE_CLASS(fd_pos, struct fd, fdput_pos(_T), fdget_pos(fd), int fd)
95 DEFINE_CLASS(get_unused_fd, int, if (_T >= 0) put_unused_fd(_T),
97 DEFINE_FREE(fput, struct file *, if (!IS_ERR_OR_NULL(_T)) fput(_T))
H A Dpm_runtime.h618 pm_runtime_get_noresume(_T), pm_runtime_put_noidle(_T));
621 pm_runtime_get_sync(_T), pm_runtime_put(_T));
623 pm_runtime_get_sync(_T), pm_runtime_put_autosuspend(_T));
632 pm_runtime_get_active(_T, RPM_TRANSPARENT), _RET == 0)
634 pm_runtime_resume_and_get(_T), _RET == 0)
636 pm_runtime_get_active(_T, RPM_TRANSPARENT), _RET == 0)
638 pm_runtime_resume_and_get(_T), _RET == 0)
H A Dcred.h192 revert_creds(_T), in DEFINE_CLASS() argument
285 if (_T) put_cred(_T),
288 DEFINE_FREE(put_cred, struct cred *, if (!IS_ERR_OR_NULL(_T)) put_cred(_T))
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 Dnsproxy.h118 DEFINE_FREE(put_nsproxy, struct nsproxy *, if (_T) put_nsproxy(_T))
H A Dtsm.h119 if (!IS_ERR_OR_NULL(_T)) put_device(&_T->dev))
H A Dpci-ide.h118 DEFINE_FREE(pci_ide_stream_release, struct pci_ide *, if (_T) pci_ide_stream_release(_T))
H A Didr.h137 if (_T.id >= 0) idr_remove(_T.idr, _T.id),
H A Dslab.h512 DEFINE_FREE(kfree, void *, if (!IS_ERR_OR_NULL(_T)) kfree(_T))
513 DEFINE_FREE(kfree_sensitive, void *, if (_T) kfree_sensitive(_T))
1141 DEFINE_FREE(kvfree, void *, if (!IS_ERR_OR_NULL(_T)) kvfree(_T))
H A Dserio.h165 DEFINE_GUARD(serio_pause_rx, struct serio *, serio_pause_rx(_T), serio_continue_rx(_T))
/linux/drivers/gpu/drm/xe/
H A Dxe_pm.h44 xe_pm_runtime_get(_T), xe_pm_runtime_put(_T))
46 xe_pm_runtime_get_noresume(_T), xe_pm_runtime_put(_T))
47 DEFINE_GUARD_COND(xe_pm_runtime, _ioctl, xe_pm_runtime_get_ioctl(_T), _RET >= 0)
55 __xe_pm_runtime_noop(_T), xe_pm_runtime_put(_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/include/linux/sched/
H A Dtask.h162 DEFINE_FREE(put_task, struct task_struct *, if (_T) put_task_struct(_T)) in DEFINE_FREE() argument
226 DEFINE_GUARD(task_lock, struct task_struct *, task_lock(_T), task_unlock(_T))
/linux/kernel/sched/
H A Dsched.h1859 _T->rq = task_rq_lock(_T->lock, &_T->rf),
1860 task_rq_unlock(_T->rq, _T->lock, &_T->rf),
1864 _T->rq = __task_rq_lock(_T->lock, &_T->rf),
1865 __task_rq_unlock(_T->rq, _T->lock, &_T->rf),
1911 rq_lock(_T->lock, &_T->rf),
1912 rq_unlock(_T->lock, &_T->rf),
1916 rq_lock_irq(_T->lock, &_T->rf),
1917 rq_unlock_irq(_T->lock, &_T->rf),
1921 rq_lock_irqsave(_T->lock, &_T->rf),
1922 rq_unlock_irqrestore(_T->lock, &_T->rf),
[all …]
/linux/kernel/trace/rv/
H A Drv.h20 DEFINE_FREE(rv_remove, struct dentry *, if (_T) rv_remove(_T));
/linux/crypto/asymmetric_keys/
H A Dx509_parser.h49 if (!IS_ERR(_T)) x509_free_certificate(_T))
/linux/drivers/cxl/
H A Dcxl.h785 DEFINE_FREE(put_cxl_root, struct cxl_root *, if (_T) put_device(&_T->port.dev))
786 DEFINE_FREE(put_cxl_port, struct cxl_port *, if (!IS_ERR_OR_NULL(_T)) put_device(&_T->dev))
787 …t_cxl_root_decoder, struct cxl_root_decoder *, if (!IS_ERR_OR_NULL(_T)) put_device(&_T->cxlsd.cxld…
788 DEFINE_FREE(put_cxl_region, struct cxl_region *, if (!IS_ERR_OR_NULL(_T)) put_device(&_T->dev))
/linux/include/linux/firmware/qcom/
H A Dqcom_tzmem.h61 DEFINE_FREE(qcom_tzmem, void *, if (_T) qcom_tzmem_free(_T))
/linux/drivers/firewire/
H A Dcore-card.c379 DEFINE_FREE(node_unref, struct fw_node *, if (_T) fw_node_put(_T)) in DEFINE_FREE() argument
380 DEFINE_FREE(card_unref, struct fw_card *, if (_T) fw_card_put(_T)) in DEFINE_FREE()
596 DEFINE_FREE(workqueue_destroy, struct workqueue_struct *, if (_T) destroy_workqueue(_T)) in DEFINE_FREE() argument
/linux/include/linux/fs/
H A Dsuper.h130 sb_start_write(_T), in DEFINE_GUARD() argument
131 sb_end_write(_T)) in DEFINE_GUARD() argument

1234