/linux-master/drivers/usb/gadget/function/ |
H A D | u_ncm.h | 32 struct mutex lock; member in struct:f_ncm_opts
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_guc_relay_types.h | 17 /**@lock: protects all internal data. */ 18 spinlock_t lock; member in struct:xe_guc_relay
|
/linux-master/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dmub_hw_lock_mgr.c | 32 bool lock, 43 cmd.lock_hw.lock_hw_data.lock = lock; 47 if (!lock) 31 dmub_hw_lock_mgr_cmd(struct dc_dmub_srv *dmub_srv, bool lock, union dmub_hw_lock_flags *hw_locks, struct dmub_hw_lock_inst_flags *inst_flags) argument
|
/linux-master/fs/bcachefs/ |
H A D | thread_with_file_types.h | 8 spinlock_t lock; member in struct:stdio_buf
|
/linux-master/drivers/tee/optee/ |
H A D | notif.c | 47 spin_lock_irqsave(&optee->notif.lock, flags); 72 spin_unlock_irqrestore(&optee->notif.lock, flags); 74 spin_lock_irqsave(&optee->notif.lock, flags); 78 spin_unlock_irqrestore(&optee->notif.lock, flags); 93 spin_lock_irqsave(&optee->notif.lock, flags); 104 spin_unlock_irqrestore(&optee->notif.lock, flags); 111 spin_lock_init(&optee->notif.lock);
|
/linux-master/drivers/fpga/ |
H A D | dfl-afu-region.c | 66 mutex_lock(&pdata->lock); 72 mutex_unlock(&pdata->lock); 83 mutex_unlock(&pdata->lock); 121 mutex_lock(&pdata->lock); 130 mutex_unlock(&pdata->lock); 155 mutex_lock(&pdata->lock); 165 mutex_unlock(&pdata->lock);
|
/linux-master/arch/s390/hypfs/ |
H A D | hypfs_dbfs.c | 42 mutex_lock(&df->lock); 45 mutex_unlock(&df->lock); 50 mutex_unlock(&df->lock); 54 mutex_unlock(&df->lock); 66 mutex_lock(&df->lock); 71 mutex_unlock(&df->lock); 85 mutex_init(&df->lock);
|
/linux-master/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_cmdbuf.c | 27 struct mutex lock; member in struct:etnaviv_cmdbuf_suballoc 44 mutex_init(&suballoc->lock); 95 mutex_lock(&suballoc->lock); 100 mutex_unlock(&suballoc->lock); 111 mutex_unlock(&suballoc->lock); 127 mutex_lock(&suballoc->lock); 132 mutex_unlock(&suballoc->lock);
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_flip_work.c | 50 spin_lock_irqsave(&work->lock, flags); 52 spin_unlock_irqrestore(&work->lock, flags); 93 spin_lock_irqsave(&work->lock, flags); 96 spin_unlock_irqrestore(&work->lock, flags); 111 spin_lock_irqsave(&work->lock, flags); 114 spin_unlock_irqrestore(&work->lock, flags); 140 spin_lock_init(&work->lock);
|
/linux-master/drivers/hwspinlock/ |
H A D | omap_hwspinlock.c | 38 static int omap_hwspinlock_trylock(struct hwspinlock *lock) argument 40 void __iomem *lock_addr = lock->priv; 42 /* attempt to acquire the lock by reading its value */ 46 static void omap_hwspinlock_unlock(struct hwspinlock *lock) argument 48 void __iomem *lock_addr = lock->priv; 50 /* release the lock by writing 0 to it */ 59 * expected to hold the lock. 64 static void omap_hwspinlock_relax(struct hwspinlock *lock) argument 102 * enabled again iff at least one lock is requested 114 bank = devm_kzalloc(&pdev->dev, struct_size(bank, lock, num_lock [all...] |
/linux-master/drivers/usb/serial/ |
H A D | symbolserial.c | 27 spinlock_t lock; /* protects the following flags */ member in struct:symbol_private 77 spin_lock_irqsave(&priv->lock, flags); 88 spin_unlock_irqrestore(&priv->lock, flags); 97 spin_lock_irqsave(&priv->lock, flags); 100 spin_unlock_irqrestore(&priv->lock, flags); 121 spin_lock_irq(&priv->lock); 123 spin_unlock_irq(&priv->lock); 133 spin_lock_irq(&priv->lock); 137 spin_unlock_irq(&priv->lock); 156 spin_lock_init(&priv->lock); [all...] |
/linux-master/drivers/net/wireless/st/cw1200/ |
H A D | queue.c | 104 spin_lock_bh(&stats->lock); 108 spin_unlock_bh(&stats->lock); 138 spin_lock_bh(&queue->lock); 140 spin_unlock_bh(&queue->lock); 153 spin_lock_init(&stats->lock); 180 spin_lock_init(&queue->lock); 209 spin_lock_bh(&queue->lock); 221 spin_lock_bh(&stats->lock); 227 spin_unlock_bh(&stats->lock); 232 spin_unlock_bh(&queue->lock); [all...] |
/linux-master/drivers/xen/ |
H A D | privcmd-buf.c | 25 struct mutex lock; member in struct:privcmd_buf_private 45 mutex_init(&file_priv->lock); 70 mutex_lock(&file_priv->lock); 79 mutex_unlock(&file_priv->lock); 93 mutex_lock(&vma_priv->file_priv->lock); 95 mutex_unlock(&vma_priv->file_priv->lock); 108 mutex_lock(&file_priv->lock); 114 mutex_unlock(&file_priv->lock); 154 mutex_lock(&file_priv->lock); 174 mutex_unlock(&file_priv->lock); [all...] |
/linux-master/tools/testing/radix-tree/ |
H A D | regression1.c | 49 pthread_mutex_t lock; member in struct:page 61 pthread_mutex_init(&p->lock, NULL); 70 pthread_mutex_destroy(&p->lock); 91 pthread_mutex_lock(&page->lock); 96 pthread_mutex_unlock(&page->lock); 106 pthread_mutex_unlock(&page->lock); 139 pthread_mutex_lock(&p->lock); 141 pthread_mutex_unlock(&p->lock); 147 pthread_mutex_lock(&p->lock); 149 pthread_mutex_unlock(&p->lock); [all...] |
/linux-master/drivers/ptp/ |
H A D | ptp_mock.c | 41 spinlock_t lock; member in struct:mock_phc 57 spin_lock(&phc->lock); 60 spin_unlock(&phc->lock); 69 spin_lock(&phc->lock); 71 spin_unlock(&phc->lock); 82 spin_lock(&phc->lock); 84 spin_unlock(&phc->lock); 94 spin_lock(&phc->lock); 96 spin_unlock(&phc->lock); 147 spin_lock_init(&phc->lock); [all...] |
/linux-master/drivers/md/ |
H A D | dm-ps-round-robin.c | 53 spinlock_t lock; member in struct:selector 63 spin_lock_init(&s->lock); 158 spin_lock_irqsave(&s->lock, flags); 160 spin_unlock_irqrestore(&s->lock, flags); 171 spin_lock_irqsave(&s->lock, flags); 173 spin_unlock_irqrestore(&s->lock, flags); 182 spin_lock_irqsave(&s->lock, flags); 184 spin_unlock_irqrestore(&s->lock, flags); 195 spin_lock_irqsave(&s->lock, flags); 200 spin_unlock_irqrestore(&s->lock, flag [all...] |
/linux-master/drivers/hwmon/ |
H A D | sbtsi_temp.c | 40 struct mutex lock; member in struct:sbtsi_data 92 mutex_lock(&data->lock); 100 mutex_unlock(&data->lock); 103 mutex_lock(&data->lock); 106 mutex_unlock(&data->lock); 109 mutex_lock(&data->lock); 112 mutex_unlock(&data->lock); 152 mutex_lock(&data->lock); 159 mutex_unlock(&data->lock); 212 mutex_init(&data->lock); [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | clip_tbl.c | 88 read_lock_bh(&ctbl->lock); 98 read_unlock_bh(&ctbl->lock); 103 read_unlock_bh(&ctbl->lock); 105 write_lock_bh(&ctbl->lock); 110 spin_lock_init(&ce->lock); 120 write_unlock_bh(&ctbl->lock); 134 write_unlock_bh(&ctbl->lock); 140 write_unlock_bh(&ctbl->lock); 160 read_lock_bh(&ctbl->lock); 170 read_unlock_bh(&ctbl->lock); [all...] |
/linux-master/include/net/ |
H A D | gen_stats.h | 27 spinlock_t * lock; member in struct:gnet_dump 41 int gnet_stats_start_copy(struct sk_buff *skb, int type, spinlock_t *lock, 46 spinlock_t *lock, struct gnet_dump *d, 73 spinlock_t *lock, 79 spinlock_t *lock,
|
/linux-master/drivers/infiniband/hw/usnic/ |
H A D | usnic_fwd.c | 48 lockdep_assert_held(&ufdev->lock); 77 spin_lock(&ufdev->lock); 79 spin_unlock(&ufdev->lock); 94 spin_lock_init(&ufdev->lock); 108 spin_lock(&ufdev->lock); 110 spin_unlock(&ufdev->lock); 115 spin_lock(&ufdev->lock); 118 spin_unlock(&ufdev->lock); 123 spin_lock(&ufdev->lock); 125 spin_unlock(&ufdev->lock); [all...] |
/linux-master/drivers/clk/spear/ |
H A D | clk-vco-pll.c | 128 if (pll->vco->lock) 129 spin_lock_irqsave(pll->vco->lock, flags); 133 if (pll->vco->lock) 134 spin_unlock_irqrestore(pll->vco->lock, flags); 151 if (pll->vco->lock) 152 spin_lock_irqsave(pll->vco->lock, flags); 159 if (pll->vco->lock) 160 spin_unlock_irqrestore(pll->vco->lock, flags); 196 if (vco->lock) 197 spin_lock_irqsave(vco->lock, flag 272 clk_register_vco_pll(const char *vco_name, const char *pll_name, const char *vco_gate_name, const char *parent_name, unsigned long flags, void __iomem *mode_reg, void __iomem *cfg_reg, struct pll_rate_tbl *rtbl, u8 rtbl_cnt, spinlock_t *lock, struct clk **pll_clk, struct clk **vco_gate_clk) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | chid.c | 28 spin_lock_irq(&chid->lock); 33 spin_unlock_irq(&chid->lock); 42 spin_lock_irq(&chid->lock); 49 spin_unlock_irq(&chid->lock); 98 spin_lock_init(&chid->lock);
|
/linux-master/drivers/infiniband/hw/cxgb4/ |
H A D | id_table.c | 49 spin_lock_irqsave(&alloc->lock, flags); 67 spin_unlock_irqrestore(&alloc->lock, flags); 77 spin_lock_irqsave(&alloc->lock, flags); 79 spin_unlock_irqrestore(&alloc->lock, flags); 92 spin_lock_init(&alloc->lock);
|
/linux-master/fs/xfs/ |
H A D | xfs_mru_cache.c | 11 * a lock to protect its internal state. At initialisation time, the client 95 spinlock_t lock; /* Lock to protect this struct. */ member in struct:xfs_mru_cache 224 * We get called holding the mru->lock, which we drop and then reacquire. 230 __releases(mru->lock) __acquires(mru->lock) 243 * needing to hold the lock 247 spin_unlock(&mru->lock); 254 spin_lock(&mru->lock); 276 spin_lock(&mru->lock); 290 spin_unlock(&mru->lock); [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | l2t.c | 50 * Module locking notes: There is a RW lock protecting the L2 table as a 52 * under the protection of the table lock, individual entry changes happen 53 * while holding that entry's spinlock. The table lock nests outside the 54 * entry locks. Allocations of new entries take the table lock as writers so 56 * take the table lock as readers so multiple entries can be updated in 121 * Must be called with the entry's lock held. 135 spin_lock_bh(&e->lock); 138 spin_unlock_bh(&e->lock); 143 spin_lock_bh(&e->lock); 146 spin_unlock_bh(&e->lock); [all...] |