Home
last modified time | relevance | path

Searched refs:_T (Results 1 – 25 of 67) sorted by relevance

123

/linux/include/linux/ !
H A Dspinlock.h536 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_bh(_T->lock),
553 raw_spin_unlock_bh(_T
[all...]
H A Dcleanup.h28 * DEFINE_FREE(pci_dev_put, struct pci_dev *, if (_T) pci_dev_put(_T))
47 * DEFINE_GUARD(pci_dev, struct pci_dev *, pci_dev_lock(_T), pci_dev_unlock(_T))
69 * DEFINE_GUARD_COND(pci_dev, _try, pci_dev_trylock(_T))
116 * DEFINE_FREE(remove_free, struct object *, if (_T) remove_free(_T))
159 * based cleanup function. @free is an expression using '_T' to access the
178 * DEFINE_FREE(kfree, void *, if (_T) kfree(_T))
[all...]
H A Dlocal_lock.h83 local_lock(_T),
84 local_unlock(_T))
86 local_lock_irq(_T),
87 local_unlock_irq(_T))
89 local_lock_irqsave(_T->lock, _T->flags),
90 local_unlock_irqrestore(_T->lock, _T->flags),
100 local_lock_nested_bh(_T),
101 local_unlock_nested_bh(_T))
[all...]
H A Dfile.h83 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 Drwsem.h253 DEFINE_GUARD(rwsem_read, struct rw_semaphore *, down_read(_T), up_read(_T))
254 DEFINE_GUARD_COND(rwsem_read, _try, down_read_trylock(_T))
255 DEFINE_GUARD_COND(rwsem_read, _intr, down_read_interruptible(_T), _RET == 0)
257 DEFINE_GUARD(rwsem_write, struct rw_semaphore *, down_write(_T), up_write(_T))
258 DEFINE_GUARD_COND(rwsem_write, _try, down_write_trylock(_T))
259 DEFINE_GUARD_COND(rwsem_write, _kill, down_write_killable(_T), _RET == 0)
H A Dpercpu-rwsem.h142 percpu_down_read(_T), percpu_up_read(_T)) in DEFINE_GUARD() argument
143 DEFINE_GUARD_COND(percpu_read, _try, percpu_down_read_trylock(_T)) in DEFINE_GUARD()
146 percpu_down_write(_T), percpu_up_write(_T)) in DEFINE_GUARD()
H A Dmnt_namespace.h17 DEFINE_FREE(put_mnt_ns, struct mnt_namespace *, if (!IS_ERR_OR_NULL(_T)) put_mnt_ns(_T))
H A Dexecmem.h179 DEFINE_FREE(execmem, void *, if (_T) execmem_free(_T));
H A Dfwctl.h116 DEFINE_FREE(fwctl, struct fwctl_device *, if (_T) fwctl_put(_T));
H A Dnsproxy.h126 DEFINE_FREE(put_nsproxy, struct nsproxy *, if (_T) put_nsproxy(_T))
H A Didr.h137 if (_T.id >= 0) idr_remove(_T.idr, _T.id),
H A Dslab.h476 DEFINE_FREE(kfree, void *, if (!IS_ERR_OR_NULL(_T)) kfree(_T))
477 DEFINE_FREE(kfree_sensitive, void *, if (_T) kfree_sensitive(_T))
1081 DEFINE_FREE(kvfree, void *, if (!IS_ERR_OR_NULL(_T)) kvfree(_T))
H A Dserio.h165 DEFINE_GUARD(serio_pause_rx, struct serio *, serio_pause_rx(_T), serio_continue_rx(_T))
/linux/include/linux/gpio/ !
H A Dgeneric.h111 gpio_generic_chip_lock(_T->lock),
112 gpio_generic_chip_unlock(_T->lock))
116 gpio_generic_chip_lock_irqsave(_T->lock, _T->flags),
117 gpio_generic_chip_unlock_irqrestore(_T->lock, _T->flags),
H A Ddriver.h566 if (*_T.label) kfree(*_T.label),
675 if (!IS_ERR_OR_NULL(_T)) gpio_device_put(_T))
/linux/tools/perf/tests/ !
H A Devent-times.c222 #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/drivers/thermal/ !
H A Dthermal_core.h155 DEFINE_GUARD(thermal_zone, struct thermal_zone_device *, mutex_lock(&_T->lock),
156 mutex_unlock(&_T->lock))
159 mutex_unlock(&_T->lock), mutex_lock(&_T->lock))
214 if (_T) put_device(&_T->device), thermal_zone_get_by_id(id), int id)
/linux/include/linux/sched/ !
H A Dtask.h162 DEFINE_FREE(put_task, struct task_struct *, if (_T) put_task_struct(_T)) in DEFINE_FREE() argument
227 DEFINE_GUARD(task_lock, struct task_struct *, task_lock(_T), task_unlock(_T))
/linux/include/linux/firmware/qcom/ !
H A Dqcom_tzmem.h52 DEFINE_FREE(qcom_tzmem, void *, if (_T) qcom_tzmem_free(_T))
/linux/crypto/asymmetric_keys/ !
H A Dx509_parser.h49 if (!IS_ERR(_T)) x509_free_certificate(_T))
/linux/drivers/gpu/drm/xe/ !
H A Dxe_guc_buf.h38 xe_guc_buf_release(_T),
43 xe_guc_buf_release(_T),
/linux/kernel/sched/ !
H A Dsched.h1820 _T->rq = task_rq_lock(_T->lock, &_T->rf),
1821 task_rq_unlock(_T->rq, _T->lock, &_T->rf),
1867 rq_lock(_T->lock, &_T->rf),
1868 rq_unlock(_T->lock, &_T
[all...]
/linux/net/core/ !
H A Ddev.h38 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 Dzone.c54 DEFINE_GUARD(tt_zone, struct tt_thermal_zone *, mutex_lock(&_T->lock), mutex_unlock(&_T->lock))
309 if (!IS_ERR_OR_NULL(_T)) tt_put_tt_zone(_T))
/linux/kernel/futex/ !
H A Dfutex.h241 if (_T) futex_hash_put(_T),
245 if (_T) futex_private_hash_put(_T),

123