Searched refs:state_mutex (Results 1 - 25 of 44) sorted by relevance

12

/linux-master/drivers/vfio/pci/pds/
H A Dvfio_dev.c48 mutex_lock(&pds_vfio->state_mutex);
77 mutex_unlock(&pds_vfio->state_mutex);
91 mutex_lock(&pds_vfio->state_mutex);
93 mutex_unlock(&pds_vfio->state_mutex);
134 mutex_init(&pds_vfio->state_mutex);
155 mutex_destroy(&pds_vfio->state_mutex);
183 mutex_lock(&pds_vfio->state_mutex);
187 mutex_unlock(&pds_vfio->state_mutex);
H A Dvfio_dev.h19 struct mutex state_mutex; /* protect migration state */ member in struct:pds_vfio_pci_device
H A Dpci_drv.c37 mutex_lock(&pds_vfio->state_mutex);
43 mutex_unlock(&pds_vfio->state_mutex);
169 mutex_lock(&pds_vfio->state_mutex);
171 mutex_unlock(&pds_vfio->state_mutex);
H A Ddirty.c608 mutex_lock(&pds_vfio->state_mutex);
610 mutex_unlock(&pds_vfio->state_mutex);
624 mutex_lock(&pds_vfio->state_mutex);
627 mutex_unlock(&pds_vfio->state_mutex);
638 mutex_lock(&pds_vfio->state_mutex);
640 mutex_unlock(&pds_vfio->state_mutex);
/linux-master/arch/powerpc/platforms/cell/spufs/
H A Dcontext.c40 mutex_init(&ctx->state_mutex);
74 mutex_lock(&ctx->state_mutex);
76 mutex_unlock(&ctx->state_mutex);
109 mutex_lock(&ctx->state_mutex);
H A Dsched.c542 mutex_unlock(&ctx->state_mutex);
544 mutex_lock(&ctx->state_mutex);
649 * This nests ctx->state_mutex, but we always lock
658 if (!mutex_trylock(&victim->state_mutex)) {
671 mutex_unlock(&victim->state_mutex);
689 mutex_unlock(&victim->state_mutex);
725 mutex_lock(&ctx->state_mutex);
742 * Should be called with ctx->state_mutex held.
775 * only be able to acquire the state_mutex once the context
861 mutex_lock(&ctx->state_mutex);
[all...]
H A Dspufs.h82 struct mutex state_mutex; member in struct:spu_context
118 /* updates protected by ctx->state_mutex */
261 return mutex_lock_interruptible(&ctx->state_mutex);
266 mutex_unlock(&ctx->state_mutex);
300 * Returns with state_mutex re-acquired when successful or
301 * with -ERESTARTSYS and the state_mutex dropped when interrupted.
H A Dfault.c131 * This is nasty: we need the state_mutex for all the bookkeeping even
134 mutex_lock(&ctx->state_mutex);
H A Drun.c337 mutex_lock(&ctx->state_mutex);
381 * This is nasty: we need the state_mutex for all the
385 mutex_lock(&ctx->state_mutex);
/linux-master/drivers/scsi/cxlflash/
H A Docxl_hw.h61 struct mutex state_mutex; /* Mutex to update context state */ member in struct:ocxlflash_context
H A Docxl_hw.c134 mutex_lock(&ctx->state_mutex);
138 mutex_unlock(&ctx->state_mutex);
141 mutex_unlock(&ctx->state_mutex);
340 mutex_lock(&ctx->state_mutex);
376 mutex_unlock(&ctx->state_mutex);
409 mutex_lock(&ctx->state_mutex);
412 mutex_unlock(&ctx->state_mutex);
508 mutex_init(&ctx->state_mutex);
543 mutex_lock(&ctx->state_mutex);
547 mutex_unlock(&ctx->state_mutex);
[all...]
/linux-master/drivers/infiniband/ulp/iser/
H A Discsi_iser.c475 mutex_lock(&iser_conn->state_mutex);
497 mutex_unlock(&iser_conn->state_mutex);
543 mutex_lock(&iser_conn->state_mutex);
554 mutex_unlock(&iser_conn->state_mutex);
634 mutex_lock(&iser_conn->state_mutex);
638 mutex_unlock(&iser_conn->state_mutex);
657 mutex_unlock(&iser_conn->state_mutex);
660 mutex_unlock(&iser_conn->state_mutex);
851 mutex_lock(&iser_conn->state_mutex);
855 mutex_unlock(&iser_conn->state_mutex);
[all...]
H A Diser_verbs.c354 mutex_lock(&iser_conn->state_mutex);
356 mutex_unlock(&iser_conn->state_mutex);
409 mutex_lock(&iser_conn->state_mutex);
422 mutex_unlock(&iser_conn->state_mutex);
444 lockdep_assert_held(&iser_conn->state_mutex);
482 lockdep_assert_held(&iser_conn->state_mutex);
530 lockdep_assert_held(&iser_conn->state_mutex);
581 lockdep_assert_held(&iser_conn->state_mutex);
625 lockdep_assert_held(&iser_conn->state_mutex);
655 lockdep_assert_held(&iser_conn->state_mutex);
[all...]
/linux-master/sound/usb/line6/
H A Dpcm.c145 * call this in line6pcm.state_mutex
168 * call this in line6pcm.state_mutex
307 mutex_lock(&line6pcm->state_mutex);
324 mutex_unlock(&line6pcm->state_mutex);
337 mutex_lock(&line6pcm->state_mutex);
344 mutex_unlock(&line6pcm->state_mutex);
356 mutex_lock(&line6pcm->state_mutex);
364 mutex_unlock(&line6pcm->state_mutex);
374 mutex_lock(&line6pcm->state_mutex);
376 mutex_unlock(&line6pcm->state_mutex);
[all...]
H A Dpcm.h147 struct mutex state_mutex; member in struct:snd_line6_pcm
/linux-master/net/nfc/hci/
H A Dllc_shdlc.c31 struct mutex state_mutex; member in struct:llc_shdlc
595 mutex_lock(&shdlc->state_mutex);
665 mutex_unlock(&shdlc->state_mutex);
676 mutex_lock(&shdlc->state_mutex);
683 mutex_unlock(&shdlc->state_mutex);
694 mutex_lock(&shdlc->state_mutex);
698 mutex_unlock(&shdlc->state_mutex);
735 mutex_init(&shdlc->state_mutex);
/linux-master/drivers/vfio/pci/hisilicon/
H A Dhisi_acc_vfio_pci.h104 struct mutex state_mutex; member in struct:hisi_acc_vf_core_device
H A Dhisi_acc_vfio_pci.c773 mutex_lock(&hisi_acc_vdev->state_mutex);
775 mutex_unlock(&hisi_acc_vdev->state_mutex);
794 mutex_unlock(&hisi_acc_vdev->state_mutex);
799 mutex_unlock(&hisi_acc_vdev->state_mutex);
1042 mutex_lock(&hisi_acc_vdev->state_mutex);
1062 mutex_unlock(&hisi_acc_vdev->state_mutex);
1081 mutex_lock(&hisi_acc_vdev->state_mutex);
1083 mutex_unlock(&hisi_acc_vdev->state_mutex);
1095 mutex_lock(&hisi_acc_vdev->state_mutex);
1097 mutex_unlock(&hisi_acc_vdev->state_mutex);
[all...]
/linux-master/drivers/vfio/pci/mlx5/
H A Dcmd.c45 lockdep_assert_held(&mvdev->state_mutex);
77 lockdep_assert_held(&mvdev->state_mutex);
97 lockdep_assert_held(&mvdev->state_mutex);
179 mutex_lock(&mvdev->state_mutex);
185 mutex_lock(&mvdev->state_mutex);
203 mutex_lock(&mvdev->state_mutex);
256 mutex_init(&mvdev->state_mutex);
374 lockdep_assert_held(&mvdev->state_mutex);
402 lockdep_assert_held(&migf->mvdev->state_mutex);
510 lockdep_assert_held(&migf->mvdev->state_mutex);
[all...]
H A Dmain.c339 mutex_lock(&mvdev->state_mutex);
507 mutex_lock(&mvdev->state_mutex);
903 mutex_lock(&migf->mvdev->state_mutex);
1213 * This function is called in all state_mutex unlock cases to
1227 mutex_unlock(&mvdev->state_mutex);
1241 mutex_lock(&mvdev->state_mutex);
1272 mutex_lock(&mvdev->state_mutex);
1287 mutex_lock(&mvdev->state_mutex);
1303 * with the state_mutex and mm_lock.
1304 * In case the state_mutex wa
[all...]
H A Dcmd.h181 struct mutex state_mutex; member in struct:mlx5vf_pci_core_device
/linux-master/drivers/net/phy/
H A Dphylink.c75 struct mutex state_mutex; member in struct:phylink
1444 mutex_lock(&pl->state_mutex);
1551 mutex_unlock(&pl->state_mutex);
1652 mutex_init(&pl->state_mutex);
1758 mutex_lock(&pl->state_mutex);
1769 mutex_unlock(&pl->state_mutex);
1893 mutex_lock(&pl->state_mutex);
1905 mutex_unlock(&pl->state_mutex);
2067 mutex_lock(&pl->state_mutex);
2069 mutex_unlock(&pl->state_mutex);
[all...]
/linux-master/drivers/net/ethernet/fungible/funeth/
H A Dfuneth.h55 struct mutex state_mutex; /* nests inside RTNL if both taken */ member in struct:fun_ethdev
H A Dfuneth_main.c1226 mutex_lock(&ed->state_mutex);
1237 mutex_unlock(&ed->state_mutex);
1257 mutex_lock(&ed->state_mutex);
1271 mutex_unlock(&ed->state_mutex);
1288 mutex_lock(&ed->state_mutex);
1298 mutex_unlock(&ed->state_mutex);
1309 mutex_lock(&ed->state_mutex);
1323 mutex_unlock(&ed->state_mutex);
1974 mutex_lock(&ed->state_mutex);
1976 mutex_unlock(&ed->state_mutex);
[all...]
/linux-master/samples/vfio-mdev/
H A Dmtty.c169 struct mutex state_mutex; member in struct:mdev_state
818 mutex_unlock(&mdev_state->state_mutex);
853 mutex_lock(&mdev_state->state_mutex);
1235 mutex_lock(&mdev_state->state_mutex);
1267 mutex_lock(&mdev_state->state_mutex);
1347 mutex_init(&mdev_state->state_mutex);
1390 mutex_destroy(&mdev_state->state_mutex);
1409 if (!mutex_trylock(&mdev_state->state_mutex)) {

Completed in 279 milliseconds

12