| /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 | 618 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 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 | 913 DEFINE_GUARD(device, struct device *, device_lock(_T), device_unlock(_T)) in DEFINE_GUARD() argument 968 DEFINE_FREE(device_del, struct device *, if (_T) device_del(_T)) 1164 DEFINE_FREE(put_device, struct device *, if (_T) put_device(_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)) 1247 DEFINE_FREE(kvfree, void *, if (!IS_ERR_OR_NULL(_T)) kvfree(_T))
|
| /linux/drivers/gpio/ |
| H A D | gpiolib-shared.h | 55 if (_T->lock->can_sleep) 56 mutex_lock(&_T->lock->mutex); 58 spin_lock_irqsave(&_T->lock->spinlock, _T->flags), 59 if (_T->lock->can_sleep) 60 mutex_unlock(&_T->lock->mutex); 62 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 | 1918 _T->rq = task_rq_lock(_T->lock, &_T->rf), 1919 task_rq_unlock(_T->rq, _T->lock, &_T->rf), 1921 …CLARE_LOCK_GUARD_1_ATTRS(task_rq_lock, __acquires(_T->pi_lock), __releases((*(struct task_struct *… 1922 #define class_task_rq_lock_constructor(_T) WITH_LOCK_GUARD_1_ATTRS(task_rq_lock, _T) argument 1925 _T->rq = __task_rq_lock(_T->lock, &_T->rf), 1926 __task_rq_unlock(_T->rq, _T->lock, &_T->rf), 1972 rq_lock(_T->lock, &_T->rf), 1973 rq_unlock(_T->lock, &_T->rf), 1976 …ARE_LOCK_GUARD_1_ATTRS(rq_lock, __acquires(__rq_lockp(_T)), __releases(__rq_lockp(*(struct rq **)_… 1977 #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/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/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/security/landlock/ |
| H A D | ruleset.h | 201 if (!IS_ERR_OR_NULL(_T)) landlock_put_ruleset(_T))
|
| /linux/include/sound/ |
| H A D | pcm.h | 677 snd_pcm_stream_lock(_T->lock), 678 snd_pcm_stream_unlock(_T->lock)) 680 snd_pcm_stream_lock_irq(_T->lock), 681 snd_pcm_stream_unlock_irq(_T->lock)) 683 snd_pcm_stream_lock_irqsave(_T->lock, _T->flags), 684 snd_pcm_stream_unlock_irqrestore(_T->lock, _T->flags),
|
| /linux/drivers/pci/ |
| H A D | ide.c | 206 DEFINE_FREE(free_stream, struct stream_index *, if (_T) free_stream_index(_T)) in DEFINE_FREE() argument 408 if (_T) ida_free(&_T->hb->ide_stream_ids_ida, _T->stream_id))
|