Home
last modified time | relevance | path

Searched refs:DEFINE_GUARD (Results 1 – 10 of 10) sorted by relevance

/linux/include/linux/
H A Dlocal_lock.h54 DEFINE_GUARD(local_lock, local_lock_t __percpu*,
57 DEFINE_GUARD(local_lock_irq, local_lock_t __percpu*,
71 DEFINE_GUARD(local_lock_nested_bh, local_lock_t __percpu*,
H A Drwsem.h241 DEFINE_GUARD(rwsem_read, struct rw_semaphore *, down_read(_T), up_read(_T))
245 DEFINE_GUARD(rwsem_write, struct rw_semaphore *, down_write(_T), up_write(_T))
H A Dmutex.h201 DEFINE_GUARD(mutex, struct mutex *, mutex_lock(_T), mutex_unlock(_T))
H A Dcleanup.h290 #define DEFINE_GUARD(_name, _type, _lock, _unlock) \ macro
H A Ddevice.h1032 DEFINE_GUARD(device, struct device *, device_lock(_T), device_unlock(_T)) in DEFINE_GUARD() function
H A Dpci.h1859 DEFINE_GUARD(pci_dev, struct pci_dev *, pci_dev_lock(_T), pci_dev_unlock(_T))
/linux/include/linux/sched/
H A Dtask.h237 DEFINE_GUARD(task_lock, struct task_struct *, task_lock(_T), task_unlock(_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))
/linux/include/linux/iio/
H A Diio.h669 DEFINE_GUARD(iio_claim_direct, struct iio_dev *, iio_device_claim_direct_mode(_T),
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmvm.h1383 DEFINE_GUARD(mvm, struct iwl_mvm *, mutex_lock(&_T->mutex), mutex_unlock(&_T->mutex))