Searched refs:lock (Results 551 - 575 of 6515) sorted by relevance

<<21222324252627282930>>

/linux-master/fs/xfs/scrub/
H A Discan.c42 * when updates are made to inodes that already been scanned. The iscan lock
221 mutex_lock(&iscan->lock);
225 mutex_unlock(&iscan->lock);
237 mutex_lock(&iscan->lock);
243 mutex_unlock(&iscan->lock);
442 mutex_lock(&iscan->lock);
445 mutex_unlock(&iscan->lock);
451 mutex_lock(&iscan->lock);
454 mutex_unlock(&iscan->lock);
465 mutex_lock(&iscan->lock);
[all...]
/linux-master/drivers/misc/
H A Dcs5535-mfgpt.c40 spinlock_t lock; member in struct:cs5535_mfgpt_chip
167 spin_lock_irqsave(&mfgpt->lock, flags);
184 spin_unlock_irqrestore(&mfgpt->lock, flags);
192 spin_lock_irqsave(&mfgpt->lock, flags);
194 spin_unlock_irqrestore(&mfgpt->lock, flags);
219 spin_lock_irqsave(&timer->chip->lock, flags);
221 spin_unlock_irqrestore(&timer->chip->lock, flags);
301 /* just to be safe, protect this section w/ lock */
302 spin_lock_irqsave(&mfgpt->lock, flags);
311 spin_unlock_irqrestore(&mfgpt->lock, flag
[all...]
/linux-master/drivers/clk/sunxi/
H A Dclk-sun4i-tcon-ch1.c28 spinlock_t lock; member in struct:tcon_ch1_clk
40 spin_lock_irqsave(&tclk->lock, flags);
44 spin_unlock_irqrestore(&tclk->lock, flags);
53 spin_lock_irqsave(&tclk->lock, flags);
57 spin_unlock_irqrestore(&tclk->lock, flags);
88 spin_lock_irqsave(&tclk->lock, flags);
93 spin_unlock_irqrestore(&tclk->lock, flags);
197 spin_lock_irqsave(&tclk->lock, flags);
206 spin_unlock_irqrestore(&tclk->lock, flags);
261 spin_lock_init(&tclk->lock);
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dsmt.c54 rwlock_init(&s->lock);
59 spin_lock_init(&s->smtab[i].lock);
113 spin_lock_bh(&e->lock);
116 spin_unlock_bh(&e->lock);
131 spin_lock(&e->lock);
133 spin_unlock(&e->lock);
215 write_lock_bh(&s->lock);
218 spin_lock(&e->lock);
228 spin_unlock(&e->lock);
230 write_unlock_bh(&s->lock);
[all...]
/linux-master/arch/sparc/kernel/
H A Diommu-common.c82 spin_lock_init(&(iommu->pools[i].lock));
91 spin_lock_init(&(p->lock));
133 spin_lock_irqsave(&pool->lock, flags);
160 spin_unlock(&(pool->lock));
162 spin_lock(&(pool->lock));
191 spin_unlock(&(pool->lock));
194 spin_lock(&(pool->lock));
218 spin_unlock_irqrestore(&(pool->lock), flags);
257 spin_lock_irqsave(&(pool->lock), flags);
259 spin_unlock_irqrestore(&(pool->lock), flag
[all...]
/linux-master/drivers/rtc/
H A Drtc-rp5c01.c67 spinlock_t lock; /* against concurrent RTC/NVRAM access */ member in struct:rp5c01_priv
97 spin_lock_irq(&priv->lock);
117 spin_unlock_irq(&priv->lock);
126 spin_lock_irq(&priv->lock);
147 spin_unlock_irq(&priv->lock);
169 spin_lock_irq(&priv->lock);
187 spin_unlock_irq(&priv->lock);
197 spin_lock_irq(&priv->lock);
214 spin_unlock_irq(&priv->lock);
245 spin_lock_init(&priv->lock);
[all...]
/linux-master/drivers/fpga/
H A Ddfl-afu-error.c44 mutex_lock(&pdata->lock);
46 mutex_unlock(&pdata->lock);
61 mutex_lock(&pdata->lock);
111 mutex_unlock(&pdata->lock);
124 mutex_lock(&pdata->lock);
126 mutex_unlock(&pdata->lock);
155 mutex_lock(&pdata->lock);
157 mutex_unlock(&pdata->lock);
173 mutex_lock(&pdata->lock);
176 mutex_unlock(&pdata->lock);
[all...]
/linux-master/drivers/infiniband/core/
H A Dmulticast.c62 spinlock_t lock; member in struct:mcast_port
100 spinlock_t lock; member in struct:mcast_group
190 spin_lock_irqsave(&port->lock, flags);
193 spin_unlock_irqrestore(&port->lock, flags);
197 spin_unlock_irqrestore(&port->lock, flags);
211 spin_lock_irqsave(&group->lock, flags);
218 spin_unlock_irqrestore(&group->lock, flags);
379 spin_lock_irq(&group->lock);
381 spin_unlock_irq(&group->lock);
396 spin_lock_irq(&group->lock);
[all...]
/linux-master/net/6lowpan/
H A Ddebugfs.c75 spin_lock_bh(&t->lock);
77 spin_unlock_bh(&t->lock);
88 spin_lock_bh(&t->lock);
90 spin_unlock_bh(&t->lock);
103 spin_lock_bh(&t->lock);
113 spin_unlock_bh(&t->lock);
149 spin_lock_bh(&t->lock);
152 spin_unlock_bh(&t->lock);
201 spin_lock_bh(&t->lock);
210 spin_unlock_bh(&t->lock);
[all...]
/linux-master/sound/isa/ad1816a/
H A Dad1816a_lib.c101 spin_lock_irqsave(&chip->lock, flags);
104 spin_unlock_irqrestore(&chip->lock, flags);
129 spin_unlock_irqrestore(&chip->lock, flags);
137 spin_lock_irqsave(&chip->lock, flags);
162 spin_unlock_irqrestore(&chip->lock, flags);
174 spin_lock(&chip->lock);
186 spin_unlock(&chip->lock);
217 spin_lock_irqsave(&chip->lock, flags);
238 spin_unlock_irqrestore(&chip->lock, flags);
249 spin_lock_irqsave(&chip->lock, flag
[all...]
/linux-master/drivers/clk/visconti/
H A Dclkc.c44 spin_lock_irqsave(gate->lock, flags);
47 spin_unlock_irqrestore(gate->lock, flags);
52 spin_unlock_irqrestore(gate->lock, flags);
61 spin_lock_irqsave(gate->lock, flags);
63 spin_unlock_irqrestore(gate->lock, flags);
82 spinlock_t *lock)
113 gate->lock = lock;
128 spinlock_t *lock)
174 lock);
74 visconti_clk_register_gate(struct device *dev, const char *name, const char *parent_name, struct regmap *regmap, const struct visconti_clk_gate_table *clks, u32 rson_offset, u32 rsoff_offset, u8 rs_idx, spinlock_t *lock) argument
124 visconti_clk_register_gates(struct visconti_clk_provider *ctx, const struct visconti_clk_gate_table *clks, int num_gate, const struct visconti_reset_data *reset, spinlock_t *lock) argument
[all...]
/linux-master/arch/powerpc/sysdev/
H A Dmsi_bitmap.c20 spin_lock_irqsave(&bmp->lock, flags);
28 spin_unlock_irqrestore(&bmp->lock, flags);
34 spin_unlock_irqrestore(&bmp->lock, flags);
47 spin_lock_irqsave(&bmp->lock, flags);
49 spin_unlock_irqrestore(&bmp->lock, flags);
59 spin_lock_irqsave(&bmp->lock, flags);
61 spin_unlock_irqrestore(&bmp->lock, flags);
98 spin_lock(&bmp->lock);
107 spin_unlock(&bmp->lock);
141 spin_lock_init(&bmp->lock);
[all...]
/linux-master/drivers/clk/imx/
H A Dclk-gate-93.c41 spinlock_t *lock; member in struct:imx93_clk_gate
70 spin_lock_irqsave(gate->lock, flags);
77 spin_unlock_irqrestore(gate->lock, flags);
87 spin_lock_irqsave(gate->lock, flags);
98 spin_unlock_irqrestore(gate->lock, flags);
124 spin_lock_irqsave(gate->lock, flags);
128 spin_unlock_irqrestore(gate->lock, flags);
138 spin_lock_irqsave(gate->lock, flags);
143 spin_unlock_irqrestore(gate->lock, flags);
172 gate->lock
[all...]
/linux-master/drivers/acpi/
H A Dsbshc.c23 struct mutex lock; member in struct:acpi_smb_hc
116 mutex_lock(&hc->lock);
158 mutex_unlock(&hc->lock);
181 mutex_lock(&hc->lock);
184 mutex_unlock(&hc->lock);
192 mutex_lock(&hc->lock);
195 mutex_unlock(&hc->lock);
223 mutex_lock(&hc->lock);
235 mutex_unlock(&hc->lock);
266 mutex_init(&hc->lock);
[all...]
/linux-master/drivers/usb/usbip/
H A Dvudc_rx.c68 spin_lock_irqsave(&udc->lock, flags);
75 spin_unlock_irqrestore(&udc->lock, flags);
83 spin_unlock_irqrestore(&udc->lock, flags);
107 spin_lock_irqsave(&udc->lock, flags);
112 spin_unlock_irqrestore(&udc->lock, flags);
118 spin_unlock_irqrestore(&udc->lock, flags);
177 spin_lock_irqsave(&udc->lock, flags);
180 spin_unlock_irqrestore(&udc->lock, flags);
205 spin_lock_irq(&ud->lock);
207 spin_unlock_irq(&ud->lock);
[all...]
/linux-master/net/core/
H A Dgen_estimator.c115 * @lock: lock for statistics and control path
125 * &rate_est with the statistics lock grabbed during this period.
133 spinlock_t *lock,
162 est->stats_lock = lock;
168 if (lock)
171 if (lock)
176 if (lock)
177 spin_lock_bh(lock);
190 if (lock)
130 gen_new_estimator(struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt) argument
233 gen_replace_estimator(struct gnet_stats_basic_sync *bstats, struct gnet_stats_basic_sync __percpu *cpu_bstats, struct net_rate_estimator __rcu **rate_est, spinlock_t *lock, bool running, struct nlattr *opt) argument
[all...]
/linux-master/drivers/gpu/drm/ttm/
H A Dttm_range_manager.c41 * Currently we use a spinlock for the lock, but a mutex *may* be
49 spinlock_t lock; member in struct:ttm_range_manager
84 spin_lock(&rman->lock);
89 spin_unlock(&rman->lock);
108 spin_lock(&rman->lock);
110 spin_unlock(&rman->lock);
152 spin_lock(&rman->lock);
154 spin_unlock(&rman->lock);
197 spin_lock_init(&rman->lock);
231 spin_lock(&rman->lock);
[all...]
/linux-master/drivers/md/
H A Ddm-ps-service-time.c28 spinlock_t lock; member in struct:selector
46 spin_lock_init(&s->lock);
169 spin_lock_irqsave(&s->lock, flags);
171 spin_unlock_irqrestore(&s->lock, flags);
182 spin_lock_irqsave(&s->lock, flags);
184 spin_unlock_irqrestore(&s->lock, flags);
193 spin_lock_irqsave(&s->lock, flags);
195 spin_unlock_irqrestore(&s->lock, flags);
284 spin_lock_irqsave(&s->lock, flags);
300 spin_unlock_irqrestore(&s->lock, flag
[all...]
H A Ddm-ps-queue-length.c33 spinlock_t lock; member in struct:selector
50 spin_lock_init(&s->lock);
157 spin_lock_irqsave(&s->lock, flags);
159 spin_unlock_irqrestore(&s->lock, flags);
170 spin_lock_irqsave(&s->lock, flags);
172 spin_unlock_irqrestore(&s->lock, flags);
181 spin_lock_irqsave(&s->lock, flags);
183 spin_unlock_irqrestore(&s->lock, flags);
198 spin_lock_irqsave(&s->lock, flags);
219 spin_unlock_irqrestore(&s->lock, flag
[all...]
/linux-master/drivers/gpio/
H A Dgpio-siox.c13 struct mutex lock; member in struct:gpio_siox_ddata
31 mutex_lock(&ddata->lock);
33 mutex_unlock(&ddata->lock);
44 mutex_lock(&ddata->lock);
74 mutex_unlock(&ddata->lock);
146 mutex_lock(&ddata->lock);
158 mutex_unlock(&ddata->lock);
169 mutex_lock(&ddata->lock);
176 mutex_unlock(&ddata->lock);
230 mutex_init(&ddata->lock);
[all...]
H A Dgpio-zevio.c58 spinlock_t lock; member in struct:zevio_gpio
82 spin_lock(&controller->lock);
88 spin_unlock(&controller->lock);
98 spin_lock(&controller->lock);
106 spin_unlock(&controller->lock);
114 spin_lock(&controller->lock);
120 spin_unlock(&controller->lock);
131 spin_lock(&controller->lock);
143 spin_unlock(&controller->lock);
194 spin_lock_init(&controller->lock);
[all...]
/linux-master/arch/powerpc/platforms/52xx/
H A Dmedia5200.c43 spinlock_t lock; member in struct:media5200_irq
53 spin_lock_irqsave(&media5200_irq.lock, flags);
57 spin_unlock_irqrestore(&media5200_irq.lock, flags);
65 spin_lock_irqsave(&media5200_irq.lock, flags);
69 spin_unlock_irqrestore(&media5200_irq.lock, flags);
86 raw_spin_lock(&desc->lock);
88 raw_spin_unlock(&desc->lock);
103 raw_spin_lock(&desc->lock);
107 raw_spin_unlock(&desc->lock);
169 spin_lock_init(&media5200_irq.lock);
[all...]
/linux-master/drivers/iio/light/
H A Dbh1750.c40 struct mutex lock; member in struct:bh1750_data
143 mutex_lock(&data->lock);
145 mutex_unlock(&data->lock);
179 mutex_lock(&data->lock);
181 mutex_unlock(&data->lock);
256 mutex_init(&data->lock);
273 mutex_lock(&data->lock);
275 mutex_unlock(&data->lock);
288 mutex_lock(&data->lock);
290 mutex_unlock(&data->lock);
[all...]
/linux-master/drivers/vfio/
H A Ddevice_cdev.c82 mutex_lock(&device->dev_set->lock);
119 mutex_unlock(&device->dev_set->lock);
129 mutex_unlock(&device->dev_set->lock);
140 * changing this flag. So read df->access_granted without lock
146 mutex_lock(&device->dev_set->lock);
151 mutex_unlock(&device->dev_set->lock);
171 mutex_lock(&device->dev_set->lock);
180 mutex_unlock(&device->dev_set->lock);
187 mutex_unlock(&device->dev_set->lock);
206 mutex_lock(&device->dev_set->lock);
[all...]
H A Diommufd.c26 lockdep_assert_held(&vdev->dev_set->lock);
37 lockdep_assert_held(&vdev->dev_set->lock);
55 lockdep_assert_held(&vdev->dev_set->lock);
128 lockdep_assert_held(&vdev->dev_set->lock);
143 lockdep_assert_held(&vdev->dev_set->lock);
161 lockdep_assert_held(&vdev->dev_set->lock);
197 lockdep_assert_held(&vdev->dev_set->lock);
209 lockdep_assert_held(&vdev->dev_set->lock);
223 lockdep_assert_held(&vdev->dev_set->lock);
238 lockdep_assert_held(&vdev->dev_set->lock);
[all...]

Completed in 390 milliseconds

<<21222324252627282930>>