/linux-master/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_ptp.c | 24 spinlock_t lock; member in struct:qede_ptp 49 spin_lock_bh(&ptp->lock); 51 spin_unlock_bh(&ptp->lock); 72 spin_lock_bh(&ptp->lock); 74 spin_unlock_bh(&ptp->lock); 88 spin_lock_bh(&ptp->lock); 90 spin_unlock_bh(&ptp->lock); 114 spin_lock_bh(&ptp->lock); 116 spin_unlock_bh(&ptp->lock); 152 spin_lock_bh(&ptp->lock); [all...] |
/linux-master/drivers/staging/media/imx/ |
H A D | imx-ic-prp.c | 41 /* lock to protect all members below */ 42 struct mutex lock; member in struct:prp_priv 103 mutex_lock(&priv->lock); 124 mutex_unlock(&priv->lock); 139 mutex_lock(&priv->lock); 149 mutex_unlock(&priv->lock); 166 mutex_lock(&priv->lock); 206 mutex_unlock(&priv->lock); 225 mutex_lock(&priv->lock); 285 mutex_unlock(&priv->lock); [all...] |
/linux-master/drivers/block/aoe/ |
H A D | aoeblk.c | 128 spin_lock_irqsave(&d->lock, flags); 150 spin_unlock_irqrestore(&d->lock, flags); 222 spin_lock_irqsave(&d->lock, flags); 225 spin_unlock_irqrestore(&d->lock, flags); 229 spin_unlock_irqrestore(&d->lock, flags); 240 spin_lock_irqsave(&d->lock, flags); 243 spin_unlock_irqrestore(&d->lock, flags); 247 spin_unlock_irqrestore(&d->lock, flags); 255 spin_lock_irq(&d->lock); 260 spin_unlock_irq(&d->lock); [all...] |
/linux-master/fs/btrfs/ |
H A D | block-rsv.c | 113 spin_lock(&block_rsv->lock); 134 spin_unlock(&block_rsv->lock); 139 spin_lock(&dest->lock); 150 spin_unlock(&dest->lock); 179 spin_lock_init(&rsv->lock); 236 spin_lock(&block_rsv->lock); 240 spin_unlock(&block_rsv->lock); 254 spin_lock(&block_rsv->lock); 259 spin_unlock(&block_rsv->lock); 302 spin_lock(&block_rsv->lock); [all...] |
/linux-master/drivers/scsi/csiostor/ |
H A D | csio_attr.c | 215 spin_lock_irq(&hw->lock); 217 spin_unlock_irq(&hw->lock); 231 spin_lock_irq(&hw->lock); 236 spin_unlock_irq(&hw->lock); 251 spin_lock_irq(&hw->lock); 261 spin_unlock_irq(&hw->lock); 275 spin_lock_irq(&hw->lock); 299 spin_unlock_irq(&hw->lock); 314 spin_lock_irq(&hw->lock); 320 spin_unlock_irq(&hw->lock); [all...] |
/linux-master/drivers/media/dvb-frontends/ |
H A D | cxd2099.c | 47 struct mutex lock; /* device access lock */ member in struct:cxd 231 mutex_lock(&ci->lock); 371 mutex_unlock(&ci->lock); 382 mutex_lock(&ci->lock); 385 mutex_unlock(&ci->lock); 394 mutex_lock(&ci->lock); 397 mutex_unlock(&ci->lock); 407 mutex_lock(&ci->lock); 410 mutex_unlock(&ci->lock); [all...] |
/linux-master/drivers/staging/media/sunxi/sun6i-isp/ |
H A D | sun6i_isp_capture.c | 161 spin_lock_irqsave(&state->lock, flags); 183 spin_unlock_irqrestore(&state->lock, flags); 193 spin_lock_irqsave(&state->lock, flags); 214 spin_unlock_irqrestore(&state->lock, flags); 222 spin_lock_irqsave(&state->lock, flags); 245 spin_unlock_irqrestore(&state->lock, flags); 253 spin_lock_irqsave(&state->lock, flags); 255 spin_unlock_irqrestore(&state->lock, flags); 306 spin_lock_irqsave(&state->lock, flags); 308 spin_unlock_irqrestore(&state->lock, flag 540 struct mutex *lock = &isp_dev->capture.lock; local 571 struct mutex *lock = &isp_dev->capture.lock; local [all...] |
/linux-master/fs/lockd/ |
H A D | svcproc.c | 57 struct nlm_lock *lock = &argp->lock; local 66 if (!(host = nlmsvc_lookup_host(rqstp, lock->caller, lock->len)) 73 error = cast_status(nlm_lookup_file(rqstp, &file, lock)); 79 mode = lock_to_openmode(&lock->fl); 80 lock->fl.c.flc_flags = FL_POSIX; 81 lock->fl.c.flc_file = file->f_file[mode]; 82 lock->fl.c.flc_pid = current->tgid; 83 lock [all...] |
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_gt_pagefault.c | 146 mutex_lock(&xe->usm.lock); 152 mutex_unlock(&xe->usm.lock); 158 * TODO: Avoid exclusive lock if VM doesn't have userptrs, or 161 down_write(&vm->lock); 171 downgrade_write(&vm->lock); 196 downgrade_write(&vm->lock); 219 * XXX: Should we drop the lock before waiting? This only helps if doing 236 up_write(&vm->lock); 238 up_read(&vm->lock); 288 spin_lock_irq(&pf_queue->lock); [all...] |
/linux-master/drivers/net/phy/ |
H A D | phy.c | 149 mutex_lock(&phydev->lock); 151 mutex_unlock(&phydev->lock); 291 mutex_lock(&phydev->lock); 311 mutex_unlock(&phydev->lock); 558 mutex_lock(&phydev->lock); 560 mutex_unlock(&phydev->lock); 581 mutex_lock(&phydev->lock); 583 mutex_unlock(&phydev->lock); 605 mutex_lock(&phydev->lock); 607 mutex_unlock(&phydev->lock); [all...] |
/linux-master/drivers/iio/accel/ |
H A D | sca3000.c | 118 * be used to remove a lock. 158 * @lock: lock used to protect elements of sca3000_state 168 struct mutex lock; member in struct:sca3000_state 303 * sca3000_reg_lock_on() - test if the ctrl register lock is on 354 * sca3000_write_ctrl_reg() - write to a lock protect ctrl register 359 * Certain control registers are protected against overwriting by the lock 392 * sca3000_read_ctrl_reg() - read from lock protected control register. 434 mutex_lock(&st->lock); 443 mutex_unlock(&st->lock); [all...] |
/linux-master/drivers/clk/st/ |
H A D | clkgen-fsyn.c | 238 * @lock: spinlock. 245 spinlock_t *lock; member in struct:st_clk_quadfs_pll 257 if (pll->lock) 258 spin_lock_irqsave(pll->lock, flags); 280 if (pll->lock) 281 spin_unlock_irqrestore(pll->lock, flags); 298 if (pll->lock) 299 spin_lock_irqsave(pll->lock, flags); 310 if (pll->lock) 311 spin_unlock_irqrestore(pll->lock, flag 443 st_clk_register_quadfs_pll( const char *name, const char *parent_name, struct clkgen_quadfs_data *quadfs, void __iomem *reg, spinlock_t *lock) argument 509 spinlock_t *lock; member in struct:st_clk_quadfs_fsynth 881 st_clk_register_quadfs_fsynth( const char *name, const char *parent_name, struct clkgen_quadfs_data *quadfs, void __iomem *reg, u32 chan, unsigned long flags, spinlock_t *lock) argument 920 st_of_create_quadfs_fsynths( struct device_node *np, const char *pll_name, struct clkgen_quadfs_data_clks *quadfs, void __iomem *reg, spinlock_t *lock) argument 989 spinlock_t *lock; local [all...] |
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | mac80211_if.c | 328 * precondition: perimeter lock is not acquired. 408 spin_lock_bh(&wl->lock); 417 spin_unlock_bh(&wl->lock); 433 spin_lock_bh(&wl->lock); 435 spin_unlock_bh(&wl->lock); 439 spin_lock_bh(&wl->lock); 450 spin_unlock_bh(&wl->lock); 470 spin_lock_bh(&wl->lock); 472 spin_unlock_bh(&wl->lock); 482 spin_lock_bh(&wl->lock); [all...] |
/linux-master/kernel/time/ |
H A D | timer_migration.c | 24 * lock contention won't happen across nodes. Depending on the number of 46 * which would result in massive lock bouncing. 69 * time. This spares locking in active path as the lock protects (after 98 * For setting up new groups and handling events it's required to lock both 99 * child and parent group. The lock ordering is always bottom up. This also 102 * the per CPU tmigr_cpu->lock is held. 107 * When @timer_base->lock as well as tmigr related locks are required, the lock 108 * ordering is: first @timer_base->lock, afterwards tmigr related locks. 214 * while holding the lock i [all...] |
/linux-master/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_rx_filter.c | 65 spin_lock_bh(&lif->rx_filters.lock); 67 spin_unlock_bh(&lif->rx_filters.lock); 73 spin_lock_bh(&lif->rx_filters.lock); 75 spin_unlock_bh(&lif->rx_filters.lock); 82 spin_lock_bh(&lif->rx_filters.lock); 88 spin_unlock_bh(&lif->rx_filters.lock); 95 spin_lock_init(&lif->rx_filters.lock); 97 spin_lock_bh(&lif->rx_filters.lock); 102 spin_unlock_bh(&lif->rx_filters.lock); 114 spin_lock_bh(&lif->rx_filters.lock); [all...] |
/linux-master/drivers/usb/host/ |
H A D | uhci-hcd.c | 289 __releases(uhci->lock) 290 __acquires(uhci->lock) 360 spin_unlock_irq(&uhci->lock); 362 spin_lock_irq(&uhci->lock); 411 __releases(uhci->lock) 412 __acquires(uhci->lock) 430 spin_unlock_irq(&uhci->lock); 432 spin_lock_irq(&uhci->lock); 465 spin_lock(&uhci->lock); 497 spin_unlock(&uhci->lock); [all...] |
/linux-master/drivers/usb/serial/ |
H A D | mct_u232.c | 100 spinlock_t lock; member in struct:mct_u232_private 397 spin_lock_init(&priv->lock); 436 spin_lock_irqsave(&priv->lock, flags); 447 spin_unlock_irqrestore(&priv->lock, flags); 453 spin_lock_irqsave(&priv->lock, flags); 456 spin_unlock_irqrestore(&priv->lock, flags); 485 spin_lock_irq(&priv->lock); 491 spin_unlock_irq(&priv->lock); 551 spin_lock_irqsave(&priv->lock, flags); 586 spin_unlock_irqrestore(&priv->lock, flag [all...] |
/linux-master/drivers/platform/surface/ |
H A D | surface_aggregator_cdev.c | 38 struct rw_semaphore lock; member in struct:ssam_cdev 142 lockdep_assert_held_read(&client->cdev->lock); 193 lockdep_assert_held_read(&client->cdev->lock); 220 down_read(&client->cdev->lock); 249 up_read(&client->cdev->lock); 264 lockdep_assert_held_read(&client->cdev->lock); 376 lockdep_assert_held_read(&client->cdev->lock); 391 lockdep_assert_held_read(&client->cdev->lock); 408 lockdep_assert_held_read(&client->cdev->lock); 436 lockdep_assert_held_read(&client->cdev->lock); [all...] |
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_ptp.c | 22 mutex_lock(&ptp->nic->mbox.lock); 25 mutex_unlock(&ptp->nic->mbox.lock); 31 mutex_unlock(&ptp->nic->mbox.lock); 36 mutex_unlock(&ptp->nic->mbox.lock); 58 mutex_lock(&pfvf->mbox.lock); 61 mutex_unlock(&pfvf->mbox.lock); 67 mutex_unlock(&pfvf->mbox.lock); 127 mutex_lock(&pfvf->mbox.lock); 130 mutex_unlock(&pfvf->mbox.lock); 137 mutex_unlock(&pfvf->mbox.lock); [all...] |
/linux-master/net/mptcp/ |
H A D | pm.c | 24 lockdep_assert_held(&msk->pm.lock); 67 spin_lock_bh(&msk->pm.lock); 69 spin_unlock_bh(&msk->pm.lock); 93 spin_lock_bh(&pm->lock); 95 spin_unlock_bh(&pm->lock); 106 /* try to avoid acquiring the lock below */ 110 spin_lock_bh(&pm->lock); 116 spin_unlock_bh(&pm->lock); 144 spin_lock_bh(&pm->lock); 158 spin_unlock_bh(&pm->lock); [all...] |
/linux-master/drivers/thermal/ |
H A D | thermal_debugfs.c | 160 * @lock: per object lock to protect the internals 167 struct mutex lock; member in struct:thermal_debugfs 196 mutex_init(&thermal_dbg->lock); 290 mutex_lock(&thermal_dbg->lock); 306 mutex_unlock(&thermal_dbg->lock); 385 mutex_lock(&thermal_dbg->lock); 389 mutex_unlock(&thermal_dbg->lock); 415 mutex_lock(&thermal_dbg->lock); 462 mutex_unlock(&thermal_dbg->lock); [all...] |
/linux-master/arch/powerpc/platforms/52xx/ |
H A D | mpc52xx_gpt.c | 80 * @lock: spinlock to coordinate between different functions. 91 raw_spinlock_t lock; member in struct:mpc52xx_gpt_priv 142 raw_spin_lock_irqsave(&gpt->lock, flags); 144 raw_spin_unlock_irqrestore(&gpt->lock, flags); 152 raw_spin_lock_irqsave(&gpt->lock, flags); 154 raw_spin_unlock_irqrestore(&gpt->lock, flags); 172 raw_spin_lock_irqsave(&gpt->lock, flags); 179 raw_spin_unlock_irqrestore(&gpt->lock, flags); 262 raw_spin_lock_irqsave(&gpt->lock, flags); 266 raw_spin_unlock_irqrestore(&gpt->lock, flag [all...] |
/linux-master/drivers/usb/isp1760/ |
H A D | isp1760-udc.c | 195 spin_lock_irqsave(&udc->lock, flags); 205 spin_unlock_irqrestore(&udc->lock, flags); 215 spin_lock_irqsave(&udc->lock, flags); 226 spin_unlock_irqrestore(&udc->lock, flags); 342 spin_lock(&udc->lock); 345 spin_unlock(&udc->lock); 352 spin_unlock(&udc->lock); 360 spin_unlock(&udc->lock); 370 spin_unlock(&udc->lock); 383 spin_lock(&udc->lock); [all...] |
/linux-master/drivers/usb/c67x00/ |
H A D | c67x00-ll-hpi.c | 93 spin_lock_irqsave(&dev->hpi.lock, flags); 95 spin_unlock_irqrestore(&dev->hpi.lock, flags); 110 spin_lock_irqsave(&dev->hpi.lock, flags); 112 spin_unlock_irqrestore(&dev->hpi.lock, flags); 124 spin_lock_irqsave(&dev->hpi.lock, flags); 130 spin_unlock_irqrestore(&dev->hpi.lock, flags); 142 spin_lock_irqsave(&dev->hpi.lock, flags); 147 spin_unlock_irqrestore(&dev->hpi.lock, flags); 155 spin_lock_irqsave(&dev->hpi.lock, flags); 158 spin_unlock_irqrestore(&dev->hpi.lock, flag [all...] |
/linux-master/drivers/usb/usbip/ |
H A D | vhci_sysfs.c | 82 spin_lock_irqsave(&vhci->lock, flags); 87 spin_lock(&vdev->ud.lock); 90 spin_unlock(&vdev->ud.lock); 96 spin_lock(&vdev->ud.lock); 99 spin_unlock(&vdev->ud.lock); 102 spin_unlock_irqrestore(&vhci->lock, flags); 190 /* lock */ 191 spin_lock_irqsave(&vhci->lock, flags); 192 spin_lock(&vdev->ud.lock); 198 spin_unlock(&vdev->ud.lock); [all...] |