Searched refs:DEFINE_GUARD (Results 1 – 10 of 10) sorted by relevance
/linux/include/linux/ |
H A D | local_lock.h | 54 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 D | rwsem.h | 241 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 D | mutex.h | 201 DEFINE_GUARD(mutex, struct mutex *, mutex_lock(_T), mutex_unlock(_T))
|
H A D | cleanup.h | 290 #define DEFINE_GUARD(_name, _type, _lock, _unlock) \ macro
|
H A D | device.h | 1032 DEFINE_GUARD(device, struct device *, device_lock(_T), device_unlock(_T)) in DEFINE_GUARD() function
|
H A D | pci.h | 1859 DEFINE_GUARD(pci_dev, struct pci_dev *, pci_dev_lock(_T), pci_dev_unlock(_T))
|
/linux/include/linux/sched/ |
H A D | task.h | 237 DEFINE_GUARD(task_lock, struct task_struct *, task_lock(_T), task_unlock(_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))
|
/linux/include/linux/iio/ |
H A D | iio.h | 669 DEFINE_GUARD(iio_claim_direct, struct iio_dev *, iio_device_claim_direct_mode(_T),
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | mvm.h | 1383 DEFINE_GUARD(mvm, struct iwl_mvm *, mutex_lock(&_T->mutex), mutex_unlock(&_T->mutex))
|