Home
last modified time | relevance | path

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

123

/linux/drivers/gpio/
H A Dgpiolib-shared.h58 if (_T->lock->can_sleep)
59 mutex_lock(&_T->lock->mutex);
61 spin_lock_irqsave(&_T->lock->spinlock, _T->flags),
62 if (_T->lock->can_sleep)
63 mutex_unlock(&_T->lock->mutex);
65 spin_unlock_irqrestore(&_T->lock->spinlock, _T->flags),
/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/
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.h606 pm_runtime_get_noresume(_T), pm_runtime_put_noidle(_T));
609 pm_runtime_get_sync(_T), pm_runtime_put(_T));
611 pm_runtime_get_sync(_T), pm_runtime_put_autosuspend(_T));
620 pm_runtime_get_active(_T, RPM_TRANSPARENT), _RET == 0)
622 pm_runtime_resume_and_get(_T), _RET == 0)
624 pm_runtime_get_active(_T, RPM_TRANSPARENT), _RET == 0)
626 pm_runtime_resume_and_get(_T), _RET == 0)
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 Dtsm.h119 if (!IS_ERR_OR_NULL(_T)) put_device(&_T->dev))
H A Dnsproxy.h118 DEFINE_FREE(put_nsproxy, struct nsproxy *, if (_T) put_nsproxy(_T))
H A Dpci-ide.h116 DEFINE_FREE(pci_ide_stream_release, struct pci_ide *, if (_T) pci_ide_stream_release(_T))
H A Dslab.h517 DEFINE_FREE(kfree, void *, if (!IS_ERR_OR_NULL(_T)) kfree(_T))
518 DEFINE_FREE(kfree_sensitive, void *, if (_T) kfree_sensitive(_T))
1235 DEFINE_FREE(kvfree, void *, if (!IS_ERR_OR_NULL(_T)) kvfree(_T))
1238 DEFINE_FREE(kvfree_atomic, void *, if (!IS_ERR_OR_NULL(_T)) kvfree_atomic(_T))
H A Didr.h137 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 Ddevice.h1058 DEFINE_GUARD(device, struct device *, device_lock(_T), device_unlock(_T)) in DEFINE_GUARD() argument
1059 DEFINE_GUARD_COND(device, _intr, device_lock_interruptible(_T), _RET == 0) in DEFINE_GUARD()
1114 DEFINE_FREE(device_del, struct device *, if (_T) device_del(_T))
1310 DEFINE_FREE(put_device, struct device *, if (_T) put_device(_T))
/linux/kernel/sched/
H A Dsched.h1940 _T->rq = task_rq_lock(_T->lock, &_T->rf),
1941 task_rq_unlock(_T->rq, _T->lock, &_T->rf),
1943 …CLARE_LOCK_GUARD_1_ATTRS(task_rq_lock, __acquires(_T->pi_lock), __releases((*(struct task_struct *…
1944 #define class_task_rq_lock_constructor(_T) WITH_LOCK_GUARD_1_ATTRS(task_rq_lock, _T) argument
1947 _T->rq = __task_rq_lock(_T->lock, &_T->rf),
1948 __task_rq_unlock(_T->rq, _T->lock, &_T->rf),
1994 rq_lock(_T->lock, &_T->rf),
1995 rq_unlock(_T->lock, &_T->rf),
1998 …ARE_LOCK_GUARD_1_ATTRS(rq_lock, __acquires(__rq_lockp(_T)), __releases(__rq_lockp(*(struct rq **)_…
1999 #define class_rq_lock_constructor(_T) WITH_LOCK_GUARD_1_ATTRS(rq_lock, _T) argument
[all …]
/linux/drivers/cxl/
H A Dcxl.h722 DEFINE_FREE(put_cxl_root, struct cxl_root *, if (_T) put_device(&_T->port.dev))
723 DEFINE_FREE(put_cxl_port, struct cxl_port *, if (!IS_ERR_OR_NULL(_T)) put_device(&_T->dev))
724 …t_cxl_root_decoder, struct cxl_root_decoder *, if (!IS_ERR_OR_NULL(_T)) put_device(&_T->cxlsd.cxld…
725 DEFINE_FREE(put_cxl_region, struct cxl_region *, if (!IS_ERR_OR_NULL(_T)) put_device(&_T->dev))
726 DEFINE_FREE(put_cxl_dax_region, struct cxl_dax_region *, if (!IS_ERR_OR_NULL(_T)) put_device(&_T->d…
/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/sound/core/seq/
H A Dseq_clientmgr.h97 …NE_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.c54 DEFINE_GUARD(tt_zone, struct tt_thermal_zone *, mutex_lock(&_T->lock), mutex_unlock(&_T->lock))
306 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/linux/fs/
H A Dsuper.h130 sb_start_write(_T), in DEFINE_GUARD() argument
131 sb_end_write(_T)) in DEFINE_GUARD() argument
/linux/drivers/usb/gadget/function/
H A Du_ether.h177 DEFINE_FREE(detach_gadget, struct net_device *, if (_T) gether_detach_gadget(_T))
/linux/security/landlock/
H A Druleset.h201 if (!IS_ERR_OR_NULL(_T)) landlock_put_ruleset(_T))

123