| /linux/include/linux/ |
| H A D | spinlock.h | 535 raw_spin_lock(_T->lock), 536 raw_spin_unlock(_T->lock)) 537 DECLARE_LOCK_GUARD_1_ATTRS(raw_spinlock, __acquires(_T), __releases(*(raw_spinlock_t **)_T)) 538 #define class_raw_spinlock_constructor(_T) WITH_LOCK_GUARD_1_ATTRS(raw_spinlock, _T) 540 DEFINE_LOCK_GUARD_1_COND(raw_spinlock, _try, raw_spin_trylock(_T->lock)) 541 DECLARE_LOCK_GUARD_1_ATTRS(raw_spinlock_try, __acquires(_T), __releases(*(raw_spinlock_t **)_T)) 542 #define class_raw_spinlock_try_constructor(_T) WITH_LOCK_GUARD_1_ATTR [all...] |
| H A D | srcu.h | 621 _T->idx = srcu_read_lock(_T->lock), 622 srcu_read_unlock(_T->lock, _T->idx), 624 DECLARE_LOCK_GUARD_1_ATTRS(srcu, __acquires_shared(_T), __releases_shared(*(struct srcu_struct **)_T)) 625 #define class_srcu_constructor(_T) WITH_LOCK_GUARD_1_ATTRS(srcu, _T) 628 _T->scp = srcu_read_lock_fast(_T [all...] |
| 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 | 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 | 967 DEFINE_GUARD(device, struct device *, device_lock(_T), device_unlock(_T)) in DEFINE_GUARD() argument 1022 DEFINE_FREE(device_del, struct device *, if (_T) device_del(_T)) 1218 DEFINE_FREE(put_device, struct device *, if (_T) put_device(_T))
|
| /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/kernel/sched/ |
| H A D | sched.h | 1921 _T->rq = task_rq_lock(_T->lock, &_T->rf), 1922 task_rq_unlock(_T->rq, _T->lock, &_T->rf), 1924 …CLARE_LOCK_GUARD_1_ATTRS(task_rq_lock, __acquires(_T->pi_lock), __releases((*(struct task_struct *… 1925 #define class_task_rq_lock_constructor(_T) WITH_LOCK_GUARD_1_ATTRS(task_rq_lock, _T) argument 1928 _T->rq = __task_rq_lock(_T->lock, &_T->rf), 1929 __task_rq_unlock(_T->rq, _T->lock, &_T->rf), 1975 rq_lock(_T->lock, &_T->rf), 1976 rq_unlock(_T->lock, &_T->rf), 1979 …ARE_LOCK_GUARD_1_ATTRS(rq_lock, __acquires(__rq_lockp(_T)), __releases(__rq_lockp(*(struct rq **)_… 1980 #define class_rq_lock_constructor(_T) WITH_LOCK_GUARD_1_ATTRS(rq_lock, _T) argument [all …]
|
| /linux/arch/arm64/include/asm/ |
| H A D | simd.h | 48 kernel_neon_begin(_T->lock), 49 kernel_neon_end(_T->lock))
|
| /linux/drivers/cxl/ |
| H A D | cxl.h | 807 DEFINE_FREE(put_cxl_root, struct cxl_root *, if (_T) put_device(&_T->port.dev)) 808 DEFINE_FREE(put_cxl_port, struct cxl_port *, if (!IS_ERR_OR_NULL(_T)) put_device(&_T->dev)) 809 …t_cxl_root_decoder, struct cxl_root_decoder *, if (!IS_ERR_OR_NULL(_T)) put_device(&_T->cxlsd.cxld… 810 DEFINE_FREE(put_cxl_region, struct cxl_region *, if (!IS_ERR_OR_NULL(_T)) put_device(&_T->dev))
|
| /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/net/core/ |
| H A D | dev.h | 38 DEFINE_FREE(netdev_unlock, struct net_device *, if (_T) netdev_unlock(_T)); 52 if (_T) netdev_unlock_ops_compat(_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/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))
|