| /linux/include/linux/ |
| H A D | srcu.h | 632 _T->idx = srcu_read_lock(_T->lock), 633 srcu_read_unlock(_T->lock, _T->idx), 635 DECLARE_LOCK_GUARD_1_ATTRS(srcu, __acquires_shared(_T), __releases_shared(*(struct srcu_struct **)_… 636 #define class_srcu_constructor(_T) WITH_LOCK_GUARD_1_ATTRS(srcu, _T) argument 639 _T->scp = srcu_read_lock_fast(_T->lock), 640 srcu_read_unlock_fast(_T->lock, _T->scp), 642 …ARE_LOCK_GUARD_1_ATTRS(srcu_fast, __acquires_shared(_T), __releases_shared(*(struct srcu_struct **… 643 #define class_srcu_fast_constructor(_T) WITH_LOCK_GUARD_1_ATTRS(srcu_fast, _T) argument 646 _T->scp = srcu_read_lock_fast_notrace(_T->lock), 647 srcu_read_unlock_fast_notrace(_T->lock, _T->scp), [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 | slab.h | 599 DEFINE_FREE(kfree, void *, if (!IS_ERR_OR_NULL(_T)) kfree(_T)) 600 DEFINE_FREE(kfree_sensitive, void *, if (_T) kfree_sensitive(_T)) 1423 DEFINE_FREE(kvfree, void *, if (!IS_ERR_OR_NULL(_T)) kvfree(_T)) 1426 DEFINE_FREE(kvfree_atomic, void *, if (!IS_ERR_OR_NULL(_T)) kvfree_atomic(_T))
|
| H A D | device.h | 1122 DEFINE_GUARD(device, struct device *, device_lock(_T), device_unlock(_T)) in DEFINE_GUARD() argument 1123 DEFINE_GUARD_COND(device, _intr, device_lock_interruptible(_T), _RET == 0) in DEFINE_GUARD() 1167 DEFINE_FREE(device_del, struct device *, if (_T) device_del(_T)) 1363 DEFINE_FREE(put_device, struct device *, if (_T) put_device(_T))
|
| H A D | mmap_lock.h | 631 mmap_read_lock(_T), mmap_read_unlock(_T)) 632 DEFINE_GUARD_COND(mmap_read_lock, _try, mmap_read_trylock(_T)) in mmap_lock_is_contended() 623 DEFINE_GUARD(mmap_read_lock,struct mm_struct *,mmap_read_lock (_T),mmap_read_unlock (_T)) DEFINE_GUARD() argument
|
| /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 | 1988 _T->rq = task_rq_lock(_T->lock, &_T->rf), 1989 task_rq_unlock(_T->rq, _T->lock, &_T->rf), 1991 …CLARE_LOCK_GUARD_1_ATTRS(task_rq_lock, __acquires(_T->pi_lock), __releases((*(struct task_struct *… 1992 #define class_task_rq_lock_constructor(_T) WITH_LOCK_GUARD_1_ATTRS(task_rq_lock, _T) argument 1995 _T->rq = __task_rq_lock(_T->lock, &_T->rf), 1996 __task_rq_unlock(_T->rq, _T->lock, &_T->rf), 2042 rq_lock(_T->lock, &_T->rf), 2043 rq_unlock(_T->lock, &_T->rf), 2046 DECLARE_LOCK_GUARD_1_ATTRS(rq_lock, __acquires(__rq_lockp(_T)), 2047 __releases(__rq_lockp(*(struct rq **)_T))); [all …]
|
| /linux/drivers/cxl/ |
| H A D | cxl.h | 741 DEFINE_FREE(put_cxl_root, struct cxl_root *, if (_T) put_device(&_T->port.dev)) 742 DEFINE_FREE(put_cxl_port, struct cxl_port *, if (!IS_ERR_OR_NULL(_T)) put_device(&_T->dev)) 743 …t_cxl_root_decoder, struct cxl_root_decoder *, if (!IS_ERR_OR_NULL(_T)) put_device(&_T->cxlsd.cxld… 744 DEFINE_FREE(put_cxl_region, struct cxl_region *, if (!IS_ERR_OR_NULL(_T)) put_device(&_T->dev)) 745 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 | 96 DEFINE_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 | 53 DEFINE_GUARD(tt_zone, struct tt_thermal_zone *, mutex_lock(&_T->lock), mutex_unlock(&_T->lock)) 305 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/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 | 204 if (!IS_ERR_OR_NULL(_T)) landlock_put_ruleset(_T))
|
| /linux/drivers/pci/ |
| H A D | ide.c | 204 DEFINE_FREE(free_stream, struct stream_index *, if (_T) free_stream_index(_T)) in DEFINE_FREE() argument 406 if (_T) ida_free(&_T->hb->ide_stream_ids_ida, _T->stream_id))
|