Searched refs:lockp (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.1/sound/core/seq/ |
D | seq_lock.h | 10 #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
|
D | seq_lock.c | 12 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-v6.1/include/acpi/platform/ |
D | aclinuxex.h | 104 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-v6.1/drivers/acpi/ |
D | osl.c | 1521 acpi_cpu_flags acpi_os_acquire_lock(acpi_spinlock lockp) in acpi_os_acquire_lock() argument 1522 __acquires(lockp) in acpi_os_acquire_lock() 1525 spin_lock_irqsave(lockp, flags); in acpi_os_acquire_lock() 1533 void acpi_os_release_lock(acpi_spinlock lockp, acpi_cpu_flags flags) in acpi_os_release_lock() argument 1534 __releases(lockp) in acpi_os_release_lock() 1536 spin_unlock_irqrestore(lockp, flags); in acpi_os_release_lock()
|
/Linux-v6.1/net/netfilter/ |
D | nf_conntrack_core.c | 2376 spinlock_t *lockp; in get_next_corpse() local 2384 lockp = &nf_conntrack_locks[*bucket % CONNTRACK_LOCKS]; in get_next_corpse() 2386 nf_conntrack_lock(lockp); in get_next_corpse() 2410 spin_unlock(lockp); in get_next_corpse() 2418 spin_unlock(lockp); in get_next_corpse()
|
D | nf_conntrack_netlink.c | 1186 spinlock_t *lockp; in ctnetlink_dump_table() local 1201 lockp = &nf_conntrack_locks[cb->args[0] % CONNTRACK_LOCKS]; in ctnetlink_dump_table() 1202 nf_conntrack_lock(lockp); in ctnetlink_dump_table() 1204 spin_unlock(lockp); in ctnetlink_dump_table() 1240 spin_unlock(lockp); in ctnetlink_dump_table() 1244 spin_unlock(lockp); in ctnetlink_dump_table()
|
/Linux-v6.1/drivers/scsi/ |
D | pmcraid.c | 3891 spinlock_t *lockp; /* hrrq buffer lock */ in pmcraid_tasklet_function() local 3898 lockp = &(pinstance->hrrq_lock[id]); in pmcraid_tasklet_function() 3906 spin_lock_irqsave(lockp, hrrq_lock_flags); in pmcraid_tasklet_function() 3931 spin_unlock_irqrestore(lockp, hrrq_lock_flags); in pmcraid_tasklet_function() 3951 spin_lock_irqsave(lockp, hrrq_lock_flags); in pmcraid_tasklet_function() 3955 spin_unlock_irqrestore(lockp, hrrq_lock_flags); in pmcraid_tasklet_function()
|