Home
last modified time | relevance | path

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

12

/linux/include/linux/
H A Dlocal_lock.h84 DEFINE_GUARD(local_lock, local_lock_t __percpu*,
87 DEFINE_GUARD(local_lock_irq, local_lock_t __percpu*,
101 DEFINE_GUARD(local_lock_nested_bh, local_lock_t __percpu*,
H A Dpercpu-rwsem.h141 DEFINE_GUARD(percpu_read, struct percpu_rw_semaphore *, in DEFINE_GUARD() function
145 DEFINE_GUARD(percpu_write, struct percpu_rw_semaphore *, in DEFINE_GUARD()
H A Dpm_runtime.h617 DEFINE_GUARD(pm_runtime_noresume, struct device *,
620 DEFINE_GUARD(pm_runtime_active, struct device *,
622 DEFINE_GUARD(pm_runtime_active_auto, struct device *,
H A Drwsem.h253 DEFINE_GUARD(rwsem_read, struct rw_semaphore *, down_read(_T), up_read(_T))
257 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.h228 DEFINE_GUARD(mutex, struct mutex *, mutex_lock(_T), mutex_unlock(_T))
H A Dring_buffer.h147 DEFINE_GUARD(ring_buffer_nest, struct trace_buffer *,
H A Dthermal.h141 DEFINE_GUARD(cooling_dev, struct thermal_cooling_device *, mutex_lock(&_T->lock),
H A Dserial_core.h791 DEFINE_GUARD(uart_port_lock, struct uart_port *, uart_port_lock(_T), uart_port_unlock(_T));
794 DEFINE_GUARD(uart_port_lock_irq, struct uart_port *, uart_port_lock_irq(_T),
H A Dmmap_lock.h398 DEFINE_GUARD(mmap_read_lock, struct mm_struct *, in DEFINE_GUARD() function
H A Dcpufreq.h171 DEFINE_GUARD(cpufreq_policy_write, struct cpufreq_policy *,
174 DEFINE_GUARD(cpufreq_policy_read, struct cpufreq_policy *,
H A Dcleanup.h378 #define DEFINE_GUARD(_name, _type, _lock, _unlock) \ macro
H A Ddevice.h932 DEFINE_GUARD(device, struct device *, device_lock(_T), device_unlock(_T)) in DEFINE_GUARD() function
/linux/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/sound/core/seq/
H A Dseq_fifo.h40 DEFINE_GUARD(snd_seq_fifo, struct snd_seq_fifo *, snd_seq_fifo_lock(_T), snd_seq_fifo_unlock(_T))
/linux/include/sound/
H A Dsoundfont.h133 DEFINE_GUARD(snd_soundfont_lock_preset, struct snd_sf_list *,
H A Dhdaudio.h654 DEFINE_GUARD(snd_hdac_dsp_lock, struct hdac_stream *, snd_hdac_dsp_lock(_T), snd_hdac_dsp_unlock(_T…
H A Demu10k1.h1845 DEFINE_GUARD(snd_emu1010_fpga_lock, struct snd_emu10k1 *, mutex_lock(&(_T)->emu1010.lock), mutex_un…
/linux/include/linux/sched/
H A Dtask.h226 DEFINE_GUARD(task_lock, struct task_struct *, task_lock(_T), task_unlock(_T))
/linux/sound/hda/codecs/realtek/
H A Drealtek.h317 DEFINE_GUARD(coef_mutex, struct hda_codec *, coef_mutex_lock(_T), coef_mutex_unlock(_T))
/linux/drivers/tty/serial/8250/
H A D8250.h191 DEFINE_GUARD(serial8250_rpm, struct uart_8250_port *,
/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/drivers/clocksource/
H A Dtimer-nxp-stm.c80 DEFINE_GUARD(stm_instances, struct mutex *, mutex_lock(_T), mutex_unlock(_T)) in DEFINE_GUARD() function
/linux/drivers/i2c/busses/
H A Di2c-rtl9300.c77 DEFINE_GUARD(rtl9300_i2c, struct rtl9300_i2c *, mutex_lock(&_T->lock), mutex_unlock(&_T->lock))
/linux/drivers/nvdimm/
H A Dnd.h635 DEFINE_GUARD(nvdimm_bus, struct device *,

12