/linux-master/drivers/ata/ |
H A D | ahci.c | 1609 spin_lock(&host->lock); 1615 spin_unlock(&host->lock);
|
/linux-master/block/ |
H A D | blk-cgroup.h | 96 spinlock_t lock; member in struct:blkcg 355 * read locked. If called under either blkcg or queue lock, the iteration
|
H A D | blk-cgroup.c | 193 * A group is RCU protected, but having an rcu lock does not mean that one 424 spin_lock(&blkcg->lock); 441 spin_unlock(&blkcg->lock); 466 * should be called under RCU read lock and takes @disk->queue->queue_lock. 534 lockdep_assert_held(&blkcg->lock); 590 spin_lock(&blkcg->lock); 592 spin_unlock(&blkcg->lock); 595 * in order to avoid holding the spin lock for too long, release 630 spin_lock_irq(&blkcg->lock); 658 spin_unlock_irq(&blkcg->lock); [all...] |
/linux-master/net/xdp/ |
H A D | xsk.c | 799 /* Since we dropped the RCU read lock, the socket state might have changed. */ 878 /* Drop the RCU lock since the SKB path might sleep. */ 881 /* Reaquire RCU lock before going into common code. */ 1079 * the two locks involved. Each map has a lock synchronizing 1080 * updates to the entries, and each socket has a lock that 1083 * "map lock"->"socket map list lock". We start off by 1115 mutex_lock(&net->xdp.lock); 1117 mutex_unlock(&net->xdp.lock); 1642 mutex_lock(&net->xdp.lock); [all...] |
/linux-master/net/ipv6/ |
H A D | addrconf.c | 387 rwlock_init(&ndev->lock); 824 read_lock_bh(&idev->lock); 830 read_unlock_bh(&idev->lock); 1132 spin_lock_init(&ifa->lock); 1164 write_lock_bh(&idev->lock); 1175 write_unlock_bh(&idev->lock); 1241 spin_lock(&ifa->lock); 1251 spin_unlock(&ifa->lock); 1297 spin_lock_bh(&ifp->lock); 1300 spin_unlock_bh(&ifp->lock); [all...] |
/linux-master/net/bluetooth/rfcomm/ |
H A D | sock.c | 40 .lock = __RW_LOCK_UNLOCKED(rfcomm_sk_list.lock) 97 /* We have to drop DLC lock here, otherwise 98 * rfcomm_sock_destruct() will dead lock. */ 131 read_lock(&rfcomm_sk_list.lock); 148 read_unlock(&rfcomm_sk_list.lock); 355 write_lock(&rfcomm_sk_list.lock); 367 write_unlock(&rfcomm_sk_list.lock); 407 /* Drop sock lock to avoid potential deadlock with the RFCOMM lock */ [all...] |
/linux-master/net/bluetooth/ |
H A D | iso.c | 22 .lock = __RW_LOCK_UNLOCKED(iso_sk_list.lock) 29 /* @lock: spinlock protecting changes to iso_conn fields */ 30 spinlock_t lock; member in struct:iso_conn 40 #define iso_conn_lock(c) spin_lock(&(c)->lock) 41 #define iso_conn_unlock(c) spin_unlock(&(c)->lock) 153 spin_lock_init(&conn->lock); 596 read_lock(&iso_sk_list.lock); 629 read_unlock(&iso_sk_list.lock); 639 read_lock(&iso_sk_list.lock); [all...] |
H A D | hci_sock.c | 162 .lock = __RW_LOCK_UNLOCKED(hci_sk_list.lock) 210 read_lock(&hci_sk_list.lock); 262 read_unlock(&hci_sk_list.lock); 352 read_lock(&hci_sk_list.lock); 354 read_unlock(&hci_sk_list.lock); 431 read_lock(&hci_sk_list.lock); 470 read_unlock(&hci_sk_list.lock); 761 read_lock(&hci_sk_list.lock); 774 read_unlock(&hci_sk_list.lock); [all...] |
H A D | hci_request.c | 81 spin_lock_irqsave(&hdev->cmd_q.lock, flags); 83 spin_unlock_irqrestore(&hdev->cmd_q.lock, flags); 201 /* check the state after obtaing the lock to protect the HCI_UP
|
/linux-master/kernel/trace/ |
H A D | ring_buffer.c | 454 arch_spinlock_t lock; member in struct:ring_buffer_per_cpu 1596 cpu_buffer->lock = (arch_spinlock_t)__ARCH_SPIN_LOCK_UNLOCKED; 1820 * lock. We also don't race with writers after disabling recording. 1924 * We are holding the reader lock, so the reader page won't be swapped 3092 * The lock and unlock are done within a preempt disable section. 3094 * by the current task between lock and unlock. But it can 3096 * information from the lock to the unlock without having to 4297 /* if you care about this being correct, lock the buffer */ 4320 /* if you care about this being correct, lock the buffer */ 4494 arch_spin_lock(&cpu_buffer->lock); [all...] |
/linux-master/include/net/bluetooth/ |
H A D | bluetooth.h | 396 rwlock_t lock; member in struct:bt_sock_list
|
/linux-master/include/linux/ |
H A D | hyperv.h | 200 * The ring buffer mutex lock. This lock prevents the ring buffer from 1289 spinlock_t lock; member in struct:hv_driver::__anon151
|
H A D | dma-fence.h | 36 * @lock: spin_lock_irqsave used for locking 67 spinlock_t *lock; member in struct:dma_fence 271 * This is called without &dma_fence.lock held, it can be called 284 spinlock_t *lock, u64 context, u64 seqno); 315 * rcu read lock 342 * The caller is required to hold the RCU read lock. 415 * This function requires &dma_fence.lock to be held.
|
/linux-master/include/acpi/ |
H A D | acpi_bus.h | 48 acpi_status acpi_evaluate_lck(acpi_handle handle, int lock);
|
/linux-master/fs/bcachefs/ |
H A D | journal_types.h | 211 spinlock_t lock; member in struct:journal
|
H A D | journal_reclaim.c | 180 lockdep_assert_held(&j->lock); 247 spin_lock(&j->lock); 249 spin_unlock(&j->lock); 276 spin_lock(&j->lock); 280 spin_unlock(&j->lock); 296 lockdep_assert_held(&j->lock); 323 spin_lock(&j->lock); 325 spin_unlock(&j->lock); 355 spin_lock(&j->lock); 358 spin_unlock(&j->lock); [all...] |
H A D | debug.c | 513 prt_printf(out, "%u", b->c.lock.readers != NULL); 789 mutex_lock(&s->lock); 819 mutex_unlock(&s->lock);
|
H A D | btree_locking.c | 12 __six_lock_init(&b->lock, "b->c.lock", &bch2_btree_node_lock_key, flags); 13 lockdep_set_novalidate_class(&b->lock); 61 /* lock */ 64 * @trans wants to lock @b with type @type 86 prt_printf(out, "Found lock cycle (%u entries):", g->nr); 348 * waiting on a lock: 355 * checking for lock cycles, which 366 if (list_empty_careful(&b->lock.wait_list)) 369 raw_spin_lock(&b->lock 408 bch2_six_check_for_deadlock(struct six_lock *lock, void *p) argument 823 __bch2_trans_mutex_lock(struct btree_trans *trans, struct mutex *lock) argument [all...] |
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_edif.c | 1850 * qla_enode_init - initialize enode structs & lock 1868 /* initialize lock which protects pur_core & init list */ 1895 /* grab lock so list doesn't move */ 2063 /* it is assume qpair lock is held */ 2100 /* initialize lock which protects doorbell & init list */ 2119 /* grab lock so list doesn't move */ 2168 /* grab lock so list doesn't move */ 2989 spinlock_t *lock = sp->qpair->qp_lock_ptr; local 3008 /* Acquire ring specific lock */ 3009 spin_lock_irqsave(lock, flag [all...] |
/linux-master/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_v3_hw.c | 910 spin_lock(&sas_dev->lock); 918 spin_unlock(&sas_dev->lock); 1608 spin_lock(&phy->lock); 1612 spin_unlock(&phy->lock); 1803 spin_lock_irqsave(&phy->lock, flags); 1825 spin_unlock_irqrestore(&phy->lock, flags);
|
H A D | hisi_sas_main.c | 166 spin_lock(&hisi_hba->lock); 168 spin_unlock(&hisi_hba->lock); 188 spin_lock(&hisi_hba->lock); 196 spin_unlock(&hisi_hba->lock); 202 spin_unlock(&hisi_hba->lock); 243 spin_lock(&sas_dev->lock); 245 spin_unlock(&sas_dev->lock); 408 spin_lock(&dq->lock); 412 spin_unlock(&dq->lock); 413 spin_lock(&sas_dev->lock); [all...] |
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_ethtool.c | 418 mutex_lock(&priv->lock); 420 mutex_unlock(&priv->lock); 842 mutex_lock(&priv->lock); 849 mutex_unlock(&priv->lock); 892 mutex_lock(&priv->lock); 894 mutex_unlock(&priv->lock);
|
/linux-master/drivers/net/ethernet/micrel/ |
H A D | ks8851_spi.c | 33 * @lock: Lock to ensure that the device is not accessed when busy. 42 * The @lock ensures that the chip is protected when certain operations are 49 struct mutex lock; member in struct:ks8851_net_spi 74 * ks8851_lock_spi - register access lock 78 * Claim chip register access lock 84 mutex_lock(&kss->lock); 92 * Release chip register access lock 98 mutex_unlock(&kss->lock); 104 * all require that the necessary lock is held to prevent accesses when the 421 ks->lock [all...] |
H A D | ks8851_par.c | 35 * @lock: Lock to ensure that the device is not accessed when busy. 40 * The @lock ensures that the chip is protected when certain operations are 47 spinlock_t lock; member in struct:ks8851_net_par 56 * ks8851_lock_par - register access lock 60 * Claim chip register access lock 66 spin_lock_irqsave(&ksp->lock, *flags); 74 * Release chip register access lock 80 spin_unlock_irqrestore(&ksp->lock, *flags); 284 ks->lock = ks8851_lock_par; 298 spin_lock_init(&ksp->lock); [all...] |
H A D | ks8851_common.c | 29 * ks8851_lock - register access lock 33 * Claim chip register access lock 37 ks->lock(ks, flags); 45 * Release chip register access lock 447 /* lock the card, even if we may not actually be doing anything 586 * having to sleep whilst holding the network device lock.
|