Searched refs:lock (Results 251 - 275 of 6560) sorted by relevance

<<11121314151617181920>>

/linux-master/tools/perf/util/
H A Drwsem.h17 pthread_rwlock_t lock;
/linux-master/arch/parisc/include/asm/
H A Dldcw.h7 be assured of 16-byte alignment for atomic lock data even if we
9 we use a struct containing an array of four ints for the atomic lock
30 unsigned long __ret = (unsigned long) &(a)->lock[0]; \
/linux-master/drivers/gpu/drm/xe/
H A Dxe_execlist.h14 #define xe_execlist_port_assert_held(port) lockdep_assert_held(&(port)->lock)
H A Dxe_guc_relay_types.h17 /**@lock: protects all internal data. */
18 spinlock_t lock; member in struct:xe_guc_relay
/linux-master/drivers/usb/gadget/function/
H A Du_ncm.h32 struct mutex lock; member in struct:f_ncm_opts
/linux-master/drivers/gpu/drm/amd/display/dc/dce/
H A Ddmub_hw_lock_mgr.c32 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 Dthread_with_file_types.h8 spinlock_t lock; member in struct:stdio_buf
H A Dbtree_node_scan_types.h27 struct mutex lock; member in struct:find_btree_nodes
/linux-master/drivers/fpga/
H A Ddfl-afu-region.c66 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 Dhypfs_dbfs.c42 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 Detnaviv_cmdbuf.c27 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 Ddrm_flip_work.c50 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 Domap_hwspinlock.c38 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/tee/optee/
H A Dnotif.c47 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/usb/serial/
H A Dsymbolserial.c27 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 Dqueue.c104 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 Dprivcmd-buf.c25 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 Dregression1.c49 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 Dptp_mock.c41 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 Ddm-ps-round-robin.c53 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 Dsbtsi_temp.c40 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 Dclip_tbl.c88 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 Dgen_stats.h27 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 Dusnic_fwd.c48 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 Dclk-vco-pll.c128 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...]

Completed in 432 milliseconds

<<11121314151617181920>>