| /linux/include/linux/ |
| H A D | local_lock.h | 84 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 D | percpu-rwsem.h | 141 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 D | pm_runtime.h | 617 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 D | rwsem.h | 253 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 D | serio.h | 165 DEFINE_GUARD(serio_pause_rx, struct serio *, serio_pause_rx(_T), serio_continue_rx(_T))
|
| H A D | mutex.h | 228 DEFINE_GUARD(mutex, struct mutex *, mutex_lock(_T), mutex_unlock(_T))
|
| H A D | ring_buffer.h | 147 DEFINE_GUARD(ring_buffer_nest, struct trace_buffer *,
|
| H A D | thermal.h | 141 DEFINE_GUARD(cooling_dev, struct thermal_cooling_device *, mutex_lock(&_T->lock),
|
| H A D | serial_core.h | 791 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 D | mmap_lock.h | 398 DEFINE_GUARD(mmap_read_lock, struct mm_struct *, in DEFINE_GUARD() function
|
| H A D | cpufreq.h | 171 DEFINE_GUARD(cpufreq_policy_write, struct cpufreq_policy *, 174 DEFINE_GUARD(cpufreq_policy_read, struct cpufreq_policy *,
|
| H A D | cleanup.h | 378 #define DEFINE_GUARD(_name, _type, _lock, _unlock) \ macro
|
| H A D | device.h | 932 DEFINE_GUARD(device, struct device *, device_lock(_T), device_unlock(_T)) in DEFINE_GUARD() function
|
| /linux/drivers/thermal/ |
| H A D | thermal_core.h | 155 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 D | seq_fifo.h | 40 DEFINE_GUARD(snd_seq_fifo, struct snd_seq_fifo *, snd_seq_fifo_lock(_T), snd_seq_fifo_unlock(_T))
|
| /linux/include/sound/ |
| H A D | soundfont.h | 133 DEFINE_GUARD(snd_soundfont_lock_preset, struct snd_sf_list *,
|
| H A D | hdaudio.h | 654 DEFINE_GUARD(snd_hdac_dsp_lock, struct hdac_stream *, snd_hdac_dsp_lock(_T), snd_hdac_dsp_unlock(_T…
|
| H A D | emu10k1.h | 1845 DEFINE_GUARD(snd_emu1010_fpga_lock, struct snd_emu10k1 *, mutex_lock(&(_T)->emu1010.lock), mutex_un…
|
| /linux/include/linux/sched/ |
| H A D | task.h | 226 DEFINE_GUARD(task_lock, struct task_struct *, task_lock(_T), task_unlock(_T))
|
| /linux/sound/hda/codecs/realtek/ |
| H A D | realtek.h | 317 DEFINE_GUARD(coef_mutex, struct hda_codec *, coef_mutex_lock(_T), coef_mutex_unlock(_T))
|
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250.h | 191 DEFINE_GUARD(serial8250_rpm, struct uart_8250_port *,
|
| /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/drivers/clocksource/ |
| H A D | timer-nxp-stm.c | 80 DEFINE_GUARD(stm_instances, struct mutex *, mutex_lock(_T), mutex_unlock(_T)) in DEFINE_GUARD() function
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-rtl9300.c | 77 DEFINE_GUARD(rtl9300_i2c, struct rtl9300_i2c *, mutex_lock(&_T->lock), mutex_unlock(&_T->lock))
|
| /linux/drivers/nvdimm/ |
| H A D | nd.h | 635 DEFINE_GUARD(nvdimm_bus, struct device *,
|