Home
last modified time | relevance | path

Searched refs:lockp (Results 1 – 7 of 7) sorted by relevance

/linux/sound/core/seq/
A Dseq_lock.h10 #define snd_use_lock_init(lockp) atomic_set(lockp, 0) argument
13 #define snd_use_lock_use(lockp) atomic_inc(lockp) argument
16 #define snd_use_lock_free(lockp) atomic_dec(lockp) argument
20 #define snd_use_lock_sync(lockp) snd_use_lock_sync_helper(lockp, __BASE_FILE__, __LINE__) argument
A Dseq_lock.c12 void snd_use_lock_sync_helper(snd_use_lock_t *lockp, const char *file, int line) in snd_use_lock_sync_helper() argument
16 if (atomic_read(lockp) < 0) { in snd_use_lock_sync_helper()
17 pr_warn("ALSA: seq_lock: lock trouble [counter = %d] in %s:%d\n", atomic_read(lockp), file, line); in snd_use_lock_sync_helper()
20 while (atomic_read(lockp) > 0) { in snd_use_lock_sync_helper()
22 pr_warn("ALSA: seq_lock: waiting [%d left] in %s:%d\n", atomic_read(lockp), file, line); in snd_use_lock_sync_helper()
/linux/include/acpi/platform/
A Daclinuxex.h104 static inline acpi_cpu_flags acpi_os_acquire_raw_lock(acpi_raw_spinlock lockp) in acpi_os_acquire_raw_lock() argument
108 raw_spin_lock_irqsave(lockp, flags); in acpi_os_acquire_raw_lock()
112 static inline void acpi_os_release_raw_lock(acpi_raw_spinlock lockp, in acpi_os_release_raw_lock() argument
115 raw_spin_unlock_irqrestore(lockp, flags); in acpi_os_release_raw_lock()
/linux/drivers/acpi/
A Dosl.c1604 acpi_cpu_flags acpi_os_acquire_lock(acpi_spinlock lockp) in acpi_os_acquire_lock() argument
1605 __acquires(lockp) in acpi_os_acquire_lock()
1608 spin_lock_irqsave(lockp, flags); in acpi_os_acquire_lock()
1616 void acpi_os_release_lock(acpi_spinlock lockp, acpi_cpu_flags flags) in acpi_os_release_lock() argument
1617 __releases(lockp) in acpi_os_release_lock()
1619 spin_unlock_irqrestore(lockp, flags); in acpi_os_release_lock()
/linux/net/netfilter/
A Dnf_conntrack_core.c2266 spinlock_t *lockp; in get_next_corpse() local
2274 lockp = &nf_conntrack_locks[*bucket % CONNTRACK_LOCKS]; in get_next_corpse()
2276 nf_conntrack_lock(lockp); in get_next_corpse()
2295 spin_unlock(lockp); in get_next_corpse()
2303 spin_unlock(lockp); in get_next_corpse()
A Dnf_conntrack_netlink.c1175 spinlock_t *lockp; in ctnetlink_dump_table() local
1190 lockp = &nf_conntrack_locks[cb->args[0] % CONNTRACK_LOCKS]; in ctnetlink_dump_table()
1191 nf_conntrack_lock(lockp); in ctnetlink_dump_table()
1193 spin_unlock(lockp); in ctnetlink_dump_table()
1228 spin_unlock(lockp); in ctnetlink_dump_table()
1232 spin_unlock(lockp); in ctnetlink_dump_table()
/linux/drivers/scsi/
A Dpmcraid.c4383 spinlock_t *lockp; /* hrrq buffer lock */ in pmcraid_tasklet_function() local
4390 lockp = &(pinstance->hrrq_lock[id]); in pmcraid_tasklet_function()
4398 spin_lock_irqsave(lockp, hrrq_lock_flags); in pmcraid_tasklet_function()
4423 spin_unlock_irqrestore(lockp, hrrq_lock_flags); in pmcraid_tasklet_function()
4443 spin_lock_irqsave(lockp, hrrq_lock_flags); in pmcraid_tasklet_function()
4447 spin_unlock_irqrestore(lockp, hrrq_lock_flags); in pmcraid_tasklet_function()

Completed in 32 milliseconds