/linux/include/linux/ |
H A D | spinlock.h | 536 raw_spin_lock(_T->lock), 537 raw_spin_unlock(_T->lock)) 539 DEFINE_LOCK_GUARD_1_COND(raw_spinlock, _try, raw_spin_trylock(_T->lock)) 542 raw_spin_lock_nested(_T->lock, SINGLE_DEPTH_NESTING), 543 raw_spin_unlock(_T->lock)) 546 raw_spin_lock_irq(_T->lock), 547 raw_spin_unlock_irq(_T->lock)) 549 DEFINE_LOCK_GUARD_1_COND(raw_spinlock_irq, _try, raw_spin_trylock_irq(_T->lock)) 552 raw_spin_lock_irqsave(_T->lock, _T->flags), 553 raw_spin_unlock_irqrestore(_T->lock, _T->flags), [all …]
|
H A D | local_lock.h | 55 local_lock(_T), 56 local_unlock(_T)) 58 local_lock_irq(_T), 59 local_unlock_irq(_T)) 61 local_lock_irqsave(_T->lock, _T->flags), 62 local_unlock_irqrestore(_T->lock, _T->flags), 72 local_lock_nested_bh(_T), 73 local_unlock_nested_bh(_T))
|
H A D | file.h | 88 DEFINE_CLASS(fd, struct fd, fdput(_T), fdget(fd), int fd) 89 DEFINE_CLASS(fd_raw, struct fd, fdput(_T), fdget_raw(fd), int fd) 99 DEFINE_CLASS(get_unused_fd, int, if (_T >= 0) put_unused_fd(_T), 101 DEFINE_FREE(fput, struct file *, if (!IS_ERR_OR_NULL(_T)) fput(_T))
|
H A D | rwsem.h | 241 DEFINE_GUARD(rwsem_read, struct rw_semaphore *, down_read(_T), up_read(_T)) 242 DEFINE_GUARD_COND(rwsem_read, _try, down_read_trylock(_T)) 243 DEFINE_GUARD_COND(rwsem_read, _intr, down_read_interruptible(_T) == 0) 245 DEFINE_GUARD(rwsem_write, struct rw_semaphore *, down_write(_T), up_write(_T)) 246 DEFINE_GUARD_COND(rwsem_write, _try, down_write_trylock(_T))
|
H A D | srcu.h | 396 _T->idx = srcu_read_lock(_T->lock), 397 srcu_read_unlock(_T->lock, _T->idx),
|
H A D | mnt_namespace.h | 17 DEFINE_FREE(put_mnt_ns, struct mnt_namespace *, if (!IS_ERR_OR_NULL(_T)) put_mnt_ns(_T))
|
H A D | nsproxy.h | 126 DEFINE_FREE(put_nsproxy, struct nsproxy *, if (_T) put_nsproxy(_T))
|
H A D | irqflags.h | 261 local_irq_save(_T->flags), 262 local_irq_restore(_T->flags),
|
H A D | firmware.h | 214 DEFINE_FREE(firmware, struct firmware *, release_firmware(_T))
|
H A D | of.h | 138 DEFINE_FREE(device_node, struct device_node *, if (_T) of_node_put(_T))
|
/linux/tools/perf/tests/ |
H A D | event-times.c | 223 #define _T(attach, detach) \ in test__event_times() macro 229 _T(attach__enable_on_exec, detach__enable_on_exec) in test__event_times() 231 _T(attach__current_enabled, detach__disable) in test__event_times() 233 _T(attach__current_disabled, detach__disable) in test__event_times() 235 _T(attach__cpu_disabled, detach__disable) in test__event_times() 237 _T(attach__cpu_enabled, detach__disable) in test__event_times() 239 #undef _T in test__event_times()
|
/linux/include/linux/sched/ |
H A D | task.h | 172 DEFINE_FREE(put_task, struct task_struct *, if (_T) put_task_struct(_T)) in DEFINE_FREE() 237 DEFINE_GUARD(task_lock, struct task_struct *, task_lock(_T), task_unlock(_T)) 166 DEFINE_FREE(put_task,struct task_struct *,if (_T)put_task_struct (_T)) DEFINE_FREE() argument
|
/linux/include/linux/firmware/qcom/ |
H A D | qcom_tzmem.h | 52 DEFINE_FREE(qcom_tzmem, void *, if (_T) qcom_tzmem_free(_T))
|
/linux/kernel/sched/ |
H A D | sched.h | 1783 _T->rq = task_rq_lock(_T->lock, &_T->rf), 1784 task_rq_unlock(_T->rq, _T->lock, &_T->rf), 1830 rq_lock(_T->lock, &_T->rf), in queue_balance_callback() 1831 rq_unlock(_T->lock, &_T in queue_balance_callback() [all...] |
H A D | syscalls.c | 284 DEFINE_CLASS(find_get_task, struct task_struct *, if (_T) put_task_struct(_T), in effective_cpu_util() 385 DEFINE_CLASS(find_get_task,struct task_struct *,if (_T)put_task_struct (_T),find_get_task (pid),pid_t pid) DEFINE_CLASS() argument
|
/linux/crypto/asymmetric_keys/ |
H A D | x509_parser.h | 49 if (!IS_ERR(_T)) x509_free_certificate(_T))
|
/linux/include/linux/iio/ |
H A D | iio.h | 669 DEFINE_GUARD(iio_claim_direct, struct iio_dev *, iio_device_claim_direct_mode(_T), 670 iio_device_release_direct_mode(_T)) 674 int d = iio_device_claim_direct_mode(_T); 679 dev = _T;
|
/linux/include/linux/gpio/ |
H A D | driver.h | 544 if (*_T.label) kfree(*_T.label), 648 if (!IS_ERR_OR_NULL(_T)) gpio_device_put(_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/fs/pstore/ |
H A D | inode.c | 38 DEFINE_FREE(pstore_iput, struct inode *, if (_T) iput(_T)) 66 DEFINE_FREE(pstore_private, struct pstore_private *, free_pstore_private(_T));
|
/linux/drivers/cxl/ |
H A D | acpi.c | 341 if (!IS_ERR_OR_NULL(_T)) put_device(&_T->cxlsd.cxld.dev)) 342 DEFINE_FREE(del_cxl_resource, struct resource *, if (_T) del_cxl_resource(_T)) in DEFINE_FREE() argument
|
/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))
|
/linux/drivers/platform/x86/intel/pmc/ |
H A D | core_ssram.c | 32 DEFINE_FREE(pmc_core_iounmap, void __iomem *, iounmap(_T));
|
/linux/arch/x86/crypto/ |
H A D | sha1_ssse3_asm.S | 210 .set _T, \a define 212 .set \b, _T
|
/linux/sound/core/ |
H A D | control_led.c | 243 DEFINE_FREE(snd_card_unref, struct snd_card *, if (_T) snd_card_unref(_T)) in DEFINE_FREE() 239 DEFINE_FREE(snd_card_unref,struct snd_card *,if (_T)snd_card_unref (_T)) DEFINE_FREE() argument
|