Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A Dlocal_lock.h82 DEFINE_GUARD(local_lock, local_lock_t __percpu*,
85 DEFINE_GUARD(local_lock_irq, local_lock_t __percpu*,
99 DEFINE_GUARD(local_lock_nested_bh, local_lock_t __percpu*,
H A Dpercpu-rwsem.h129 DEFINE_GUARD(percpu_read, struct percpu_rw_semaphore *, in DEFINE_GUARD() function
133 DEFINE_GUARD(percpu_write, struct percpu_rw_semaphore *, in DEFINE_GUARD()
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 Dserio.h165 DEFINE_GUARD(serio_pause_rx, struct serio *, serio_pause_rx(_T), serio_continue_rx(_T))
H A Dmutex.h201 DEFINE_GUARD(mutex, struct mutex *, mutex_lock(_T), mutex_unlock(_T))
H A Dthermal.h141 DEFINE_GUARD(cooling_dev, struct thermal_cooling_device *, mutex_lock(&_T->lock),
H A Dcleanup.h306 #define DEFINE_GUARD(_name, _type, _lock, _unlock) \ macro
H A Ddevice.h940 DEFINE_GUARD(device, struct device *, device_lock(_T), device_unlock(_T)) in DEFINE_GUARD() function
H A Dpci.h1880 DEFINE_GUARD(pci_dev, struct pci_dev *, pci_dev_lock(_T), pci_dev_unlock(_T))
/linux-6.15/drivers/thermal/
H A Dthermal_core.h155 DEFINE_GUARD(thermal_zone, struct thermal_zone_device *, mutex_lock(&_T->lock),
158 DEFINE_GUARD(thermal_zone_reverse, struct thermal_zone_device *,
/linux-6.15/include/linux/sched/
H A Dtask.h238 DEFINE_GUARD(task_lock, struct task_struct *, task_lock(_T), task_unlock(_T))
/linux-6.15/drivers/thermal/testing/
H A Dzone.c54 DEFINE_GUARD(tt_zone, struct tt_thermal_zone *, mutex_lock(&_T->lock), mutex_unlock(&_T->lock))
/linux-6.15/include/net/
H A Ddevlink.h1538 DEFINE_GUARD(devl, struct devlink *, devl_lock(_T), devl_unlock(_T));
H A Dcfg80211.h6092 DEFINE_GUARD(wiphy, struct wiphy *,
/linux-6.15/drivers/pwm/
H A Dcore.c50 DEFINE_GUARD(pwmchip, struct pwm_chip *, pwmchip_lock(_T), pwmchip_unlock(_T)) in DEFINE_GUARD() function
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmvm.h1388 DEFINE_GUARD(mvm, struct iwl_mvm *, mutex_lock(&_T->mutex), mutex_unlock(&_T->mutex))
/linux-6.15/fs/
H A Dnamespace.c1829 DEFINE_GUARD(namespace_lock, struct rw_semaphore *, namespace_lock(), namespace_unlock())