/linux-master/net/bridge/ |
H A D | br_netlink.c | 315 /* we might be called only with br->lock */ 1117 spin_lock_bh(&p->br->lock); 1119 spin_unlock_bh(&p->br->lock); 1125 spin_lock_bh(&p->br->lock); 1127 spin_unlock_bh(&p->br->lock); 1212 spin_lock_bh(&br->lock); 1214 spin_unlock_bh(&br->lock); 1385 spin_lock_bh(&br->lock); 1387 spin_unlock_bh(&br->lock); 1568 spin_lock_bh(&br->lock); [all...] |
/linux-master/net/bluetooth/ |
H A D | sco.c | 41 .lock = __RW_LOCK_UNLOCKED(sco_sk_list.lock) 48 spinlock_t lock; member in struct:sco_conn 56 #define sco_conn_lock(c) spin_lock(&c->lock) 57 #define sco_conn_unlock(c) spin_unlock(&c->lock) 138 spin_lock_init(&conn->lock); 370 read_lock(&sco_sk_list.lock); 385 read_unlock(&sco_sk_list.lock); 625 write_lock(&sco_sk_list.lock); 638 write_unlock(&sco_sk_list.lock); [all...] |
H A D | l2cap_sock.c | 42 .lock = __RW_LOCK_UNLOCKED(l2cap_sk_list.lock) 1200 * Must be called on unlocked socket, with l2cap channel lock. 1329 /* mutex lock must be taken before l2cap_chan_lock() */ 1584 /* Channel lock is released before requesting new skb and then
|
H A D | l2cap_core.c | 125 /* Only lock if chan reference is not 0 */ 146 /* Only lock if chan reference is not 0 */ 452 mutex_init(&chan->lock); 454 /* Set default lock nesting level */ 1666 * on the hci_dev object to be locked. So we must lock the hci device 7239 * we left off, because the list lock would prevent calling the
|
H A D | hci_sync.c | 141 spin_lock_irqsave(&hdev->cmd_q.lock, flags); 143 spin_unlock_irqrestore(&hdev->cmd_q.lock, flags); 1887 /* This is safe as long as there is no command send while the lock is 1921 /* This is safe as long as there is no command send while the lock is 2553 /* No hdev->lock, but: addr, addr_type are immutable. 5050 /* This function requires the caller holds hdev->lock */ 5978 /* Some fake CSR controllers lock up after setting this type of
|
H A D | hci_event.c | 3831 lockdep_assert_held(&hdev->lock); 6036 /* This function requires the caller holds hdev->lock */
|
/linux-master/mm/ |
H A D | zswap.c | 169 * The lock ordering is zswap_tree.lock -> zswap_pool.lru_lock. 170 * The only case where lru_lock is not acquired while holding tree.lock is 189 /* The lock protects zswap_next_shrink updates. */ 227 spinlock_t lock; member in struct:zswap_tree 642 * destroyed by the put after we drop the lock 802 /* lock out zswap shrinker walking memcg tree */ 920 * The caller hold the tree lock and search the entry from the tree, 1166 spin_lock(&tree->lock); 1168 spin_unlock(&tree->lock); 1203 shrink_memcg_cb(struct list_head *item, struct list_lru_one *l, spinlock_t *lock, void *arg) argument [all...] |
H A D | hugetlb.c | 118 spin_unlock_irqrestore(&spool->lock, irq_flags); 140 spin_lock_init(&spool->lock); 159 spin_lock_irqsave(&spool->lock, flags); 181 spin_lock_irq(&spool->lock); 208 spin_unlock_irq(&spool->lock); 227 spin_lock_irqsave(&spool->lock, flags); 418 * However, the lock is also used to synchronize page 419 * faults with truncation. If the lock is not present, 424 pr_warn_once("HugeTLB: unable to allocate vma specific lock\n"); 566 * Must be called with resv->lock hel [all...] |
/linux-master/include/net/ |
H A D | tls.h | 152 spinlock_t lock; /* protects records list */ member in struct:tls_offload_context_tx
|
H A D | macsec.h | 122 * @lock: protects next_pn manipulations 130 spinlock_t lock; member in struct:macsec_rx_sa 173 * @lock: protects next_pn manipulations 181 spinlock_t lock; member in struct:macsec_tx_sa
|
H A D | af_unix.h | 67 spinlock_t lock; member in struct:unix_sock 82 #define unix_state_lock(s) spin_lock(&unix_sk(s)->lock) 83 #define unix_state_unlock(s) spin_unlock(&unix_sk(s)->lock) 96 spin_lock_nested(&unix_sk(sk)->lock, subclass);
|
/linux-master/include/net/bluetooth/ |
H A D | hci_core.h | 356 struct mutex lock; member in struct:hci_dev 833 /* Accessed without hdev->lock: */ 1557 * Before accessing runtime data, you _must_ lock the object and then check that 1646 #define hci_dev_lock(d) mutex_lock(&d->lock) 1647 #define hci_dev_unlock(d) mutex_unlock(&d->lock)
|
/linux-master/include/linux/ |
H A D | mm.h | 399 * if KVM does not lock down the memory type. 548 /* These three entries are valid only while holding ptl lock */ 553 spinlock_t *ptl; /* Page table lock. 661 * Try to read-lock a vma. The function is allowed to occasionally yield false 677 if (unlikely(down_read_trylock(&vma->vm_lock->lock) == 0)) 692 up_read(&vma->vm_lock->lock); 701 up_read(&vma->vm_lock->lock); 720 * Exclude concurrent readers under the per-VMA lock until the currently 730 down_write(&vma->vm_lock->lock); 738 up_write(&vma->vm_lock->lock); [all...] |
/linux-master/drivers/video/fbdev/core/ |
H A D | fb_defio.c | 154 mutex_lock(&fbdefio->lock); 172 mutex_unlock(&fbdefio->lock); 179 mutex_unlock(&fbdefio->lock); 245 mutex_lock(&fbdefio->lock); 260 mutex_unlock(&fbdefio->lock); 275 mutex_init(&fbdefio->lock); 297 mutex_destroy(&fbdefio->lock); 343 mutex_destroy(&fbdefio->lock);
|
/linux-master/drivers/soc/mediatek/ |
H A D | mtk-svs.c | 475 * @lock: mutex lock to protect voltage update process 517 struct mutex lock; member in struct:svs_bank 617 mutex_lock(&svsb->lock); 692 mutex_unlock(&svsb->lock); 1809 mutex_init(&svsb->lock);
|
/linux-master/drivers/nfc/ |
H A D | trf7970a.c | 103 * and lock commands use the OPTION flag to indicate that an EOF must be 451 struct mutex lock; member in struct:trf7970a 827 mutex_lock(&trf->lock); 830 mutex_unlock(&trf->lock); 836 mutex_unlock(&trf->lock); 844 mutex_unlock(&trf->lock); 979 mutex_unlock(&trf->lock); 1014 mutex_lock(&trf->lock); 1025 mutex_unlock(&trf->lock); 1131 mutex_lock(&trf->lock); [all...] |
/linux-master/drivers/net/wireless/virtual/ |
H A D | mac80211_hwsim.c | 5701 spin_lock_irqsave(&data2->pending.lock, flags); 5714 spin_unlock_irqrestore(&data2->pending.lock, flags);
|
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | mac.c | 9024 read_lock_bh(&idev->lock); 9076 read_unlock_bh(&idev->lock);
|
/linux-master/drivers/net/ |
H A D | macsec.c | 459 spin_lock_bh(&tx_sa->lock); 461 spin_unlock_bh(&tx_sa->lock); 470 spin_lock_bh(&tx_sa->lock); 480 spin_unlock_bh(&tx_sa->lock); 730 spin_lock(&rx_sa->lock); 739 spin_unlock(&rx_sa->lock); 758 spin_unlock(&rx_sa->lock); 800 spin_unlock(&rx_sa->lock); 1239 spin_lock(&rx_sa->lock); 1245 spin_unlock(&rx_sa->lock); [all...] |
/linux-master/drivers/net/ethernet/ti/icssg/ |
H A D | icssg_prueth.c | 1040 spin_lock_irqsave(&emac->lock, flags); 1042 spin_unlock_irqrestore(&emac->lock, flags); 1779 spin_lock_init(&emac->lock);
|
/linux-master/drivers/net/ethernet/ti/ |
H A D | am65-cpts.c | 169 spinlock_t lock; /* protects events lists*/ member in struct:am65_cpts 286 spin_lock_irqsave(&cpts->lock, flags); 359 spin_unlock_irqrestore(&cpts->lock, flags); 379 spin_lock_irqsave(&cpts->lock, flags); 384 spin_unlock_irqrestore(&cpts->lock, flags); 460 spin_lock_irqsave(&cpts->lock, flags); 488 spin_unlock_irqrestore(&cpts->lock, flags); 777 spin_lock_irqsave(&cpts->txq.lock, flags); 779 spin_unlock_irqrestore(&cpts->txq.lock, flags); 781 /* no need to grab txq.lock a [all...] |
/linux-master/drivers/net/ethernet/renesas/ |
H A D | ravb_main.c | 1094 spin_lock(&priv->lock); 1096 spin_unlock(&priv->lock); 1189 spin_lock(&priv->lock); 1231 spin_unlock(&priv->lock); 1252 spin_lock(&priv->lock); 1272 spin_unlock(&priv->lock); 1291 spin_lock(&priv->lock); 1297 spin_unlock(&priv->lock); 1331 spin_lock_irqsave(&priv->lock, flags); 1336 spin_unlock_irqrestore(&priv->lock, flag [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_tcam.h | 21 struct mutex lock; /* guards vregion list */ member in struct:mlxsw_sp_acl_tcam
|
H A D | spectrum_acl_tcam.c | 109 struct mutex lock; /* guards region list updates */ member in struct:mlxsw_sp_acl_tcam_group 146 struct mutex lock; /* Protects consistency of region, region2 pointers member in struct:mlxsw_sp_acl_tcam_vregion 242 mutex_init(&group->lock); 251 mutex_destroy(&group->lock); 393 mutex_lock(&group->lock); 421 mutex_unlock(&group->lock); 427 mutex_unlock(&group->lock); 437 mutex_lock(&group->lock); 441 mutex_unlock(&group->lock); 721 mutex_lock(&vregion->lock); [all...] |
H A D | pci.c | 72 spinlock_t lock; /* for queue accesses */ member in struct:mlxsw_pci_queue 122 struct mutex lock; /* Lock access to command registers */ member in struct:mlxsw_pci::__anon54 555 spin_lock(&q->lock); 577 spin_unlock(&q->lock); 943 spin_lock_init(&q->lock); 1803 spin_lock_bh(&q->lock); 1851 spin_unlock_bh(&q->lock); 1870 err = mutex_lock_interruptible(&mlxsw_pci->cmd.lock); 1944 mutex_unlock(&mlxsw_pci->cmd.lock); 2017 mutex_init(&mlxsw_pci->cmd.lock); [all...] |