Searched refs:lockp (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/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.6/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.6/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.6/net/netfilter/ |
D | nf_conntrack_core.c | 2360 spinlock_t *lockp; in get_next_corpse() local 2368 lockp = &nf_conntrack_locks[*bucket % CONNTRACK_LOCKS]; in get_next_corpse() 2370 nf_conntrack_lock(lockp); in get_next_corpse() 2394 spin_unlock(lockp); in get_next_corpse() 2402 spin_unlock(lockp); in get_next_corpse()
|
D | nf_conntrack_netlink.c | 1191 spinlock_t *lockp; in ctnetlink_dump_table() local 1206 lockp = &nf_conntrack_locks[cb->args[0] % CONNTRACK_LOCKS]; in ctnetlink_dump_table() 1207 nf_conntrack_lock(lockp); in ctnetlink_dump_table() 1209 spin_unlock(lockp); in ctnetlink_dump_table() 1245 spin_unlock(lockp); in ctnetlink_dump_table() 1249 spin_unlock(lockp); in ctnetlink_dump_table()
|
/Linux-v6.6/drivers/scsi/ |
D | pmcraid.c | 3890 spinlock_t *lockp; /* hrrq buffer lock */ in pmcraid_tasklet_function() local 3897 lockp = &(pinstance->hrrq_lock[id]); in pmcraid_tasklet_function() 3905 spin_lock_irqsave(lockp, hrrq_lock_flags); in pmcraid_tasklet_function() 3930 spin_unlock_irqrestore(lockp, hrrq_lock_flags); in pmcraid_tasklet_function() 3950 spin_lock_irqsave(lockp, hrrq_lock_flags); in pmcraid_tasklet_function() 3954 spin_unlock_irqrestore(lockp, hrrq_lock_flags); in pmcraid_tasklet_function()
|