| /linux/drivers/gpio/ |
| H A D | gpiolib-shared.h | 58 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 D | xe_pm.h | 44 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 D | event-times.c | 222 #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 D | file.h | 83 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 D | pm_runtime.h | 606 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 D | mnt_namespace.h | 19 DEFINE_FREE(put_mnt_ns, struct mnt_namespace *, if (!IS_ERR_OR_NULL(_T)) put_mnt_ns(_T))
|
| H A D | execmem.h | 179 DEFINE_FREE(execmem, void *, if (_T) execmem_free(_T));
|
| H A D | tsm.h | 119 if (!IS_ERR_OR_NULL(_T)) put_device(&_T->dev))
|
| H A D | nsproxy.h | 118 DEFINE_FREE(put_nsproxy, struct nsproxy *, if (_T) put_nsproxy(_T))
|
| H A D | pci-ide.h | 116 DEFINE_FREE(pci_ide_stream_release, struct pci_ide *, if (_T) pci_ide_stream_release(_T))
|
| H A D | slab.h | 517 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 D | idr.h | 137 if (_T.id >= 0) idr_remove(_T.idr, _T.id),
|
| H A D | serio.h | 165 DEFINE_GUARD(serio_pause_rx, struct serio *, serio_pause_rx(_T), serio_continue_rx(_T))
|
| H A D | device.h | 1058 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 D | sched.h | 1940 _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 D | cxl.h | 722 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 D | simd.h | 48 kernel_neon_begin(_T->lock), 49 kernel_neon_end(_T->lock))
|
| /linux/kernel/trace/rv/ |
| H A D | rv.h | 20 DEFINE_FREE(rv_remove, struct dentry *, if (_T) rv_remove(_T));
|
| /linux/include/linux/firmware/qcom/ |
| H A D | qcom_tzmem.h | 61 DEFINE_FREE(qcom_tzmem, void *, if (_T) qcom_tzmem_free(_T))
|
| /linux/sound/core/seq/ |
| H A D | seq_clientmgr.h | 97 …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 D | zone.c | 54 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 D | dev.h | 47 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 D | super.h | 130 sb_start_write(_T), in DEFINE_GUARD() argument 131 sb_end_write(_T)) in DEFINE_GUARD() argument
|
| /linux/drivers/usb/gadget/function/ |
| H A D | u_ether.h | 177 DEFINE_FREE(detach_gadget, struct net_device *, if (_T) gether_detach_gadget(_T))
|
| /linux/security/landlock/ |
| H A D | ruleset.h | 201 if (!IS_ERR_OR_NULL(_T)) landlock_put_ruleset(_T))
|