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

12

/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 Dfault.c131 * This is nasty: we need the state_mutex for all the bookkeeping even
134 mutex_lock(&ctx->state_mutex);
H A Dfile.c761 mutex_lock(&ctx->state_mutex);
893 mutex_lock(&ctx->state_mutex);
1682 mutex_lock(&ctx->state_mutex);
2463 * Must be called with ctx->state_mutex held.
2493 mutex_lock(&ctx->state_mutex);
2523 mutex_unlock(&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);
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.
/linux-master/sound/usb/line6/
H A Dpcm.h147 struct mutex state_mutex; member in struct:snd_line6_pcm
/linux-master/drivers/block/drbd/
H A Ddrbd_int.h886 struct mutex *state_mutex; /* either own_state_mutex or first_peer_device(device)->connection->cstate_mutex */ member in struct:drbd_device
H A Ddrbd_main.c1970 device->state_mutex = &device->own_state_mutex;
H A Ddrbd_nl.c637 mutex_lock(device->state_mutex);
755 mutex_unlock(device->state_mutex);
4129 mutex_lock(device->state_mutex); /* Protects us against serialized state changes. */
4172 mutex_unlock(device->state_mutex);
H A Ddrbd_receiver.c897 device->state_mutex = peer_device->connection->agreed_pro_version < 100 ?
1095 mutex_lock(peer_device->device->state_mutex);
1103 mutex_unlock(peer_device->device->state_mutex);
4295 mutex_lock(device->state_mutex);
4296 mutex_unlock(device->state_mutex);
4354 mutex_is_locked(device->state_mutex)) {
H A Ddrbd_state.c575 mutex_lock(device->state_mutex);
633 mutex_unlock(device->state_mutex);
709 mutex_unlock(device->state_mutex),
710 mutex_lock(device->state_mutex));
H A Ddrbd_worker.c1787 /* The worker should not sleep waiting for state_mutex,
1789 if (!mutex_trylock(device->state_mutex)) {
1796 mutex_lock(device->state_mutex);
1915 mutex_unlock(device->state_mutex);
/linux-master/drivers/block/
H A Drbd.c313 struct mutex state_mutex; member in struct:rbd_obj_request
345 struct mutex state_mutex; member in struct:rbd_img_request
1479 mutex_init(&obj_request->state_mutex);
1598 mutex_init(&img_request->state_mutex);
3391 mutex_lock(&obj_req->state_mutex);
3396 mutex_unlock(&obj_req->state_mutex);
3575 mutex_lock(&img_req->state_mutex);
3579 mutex_unlock(&img_req->state_mutex);
3582 mutex_lock(&img_req->state_mutex);
3584 mutex_unlock(&img_req->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 Discsi_iser.h390 * @state_mutex: protects iser onnection state
412 struct mutex state_mutex; member in struct:iser_conn
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/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/drivers/net/phy/
H A Dphylink.c75 struct mutex state_mutex; member in struct:phylink
1459 mutex_lock(&pl->state_mutex);
1566 mutex_unlock(&pl->state_mutex);
1667 mutex_init(&pl->state_mutex);
1773 mutex_lock(&pl->state_mutex);
1784 mutex_unlock(&pl->state_mutex);
1911 mutex_lock(&pl->state_mutex);
1923 mutex_unlock(&pl->state_mutex);
2093 mutex_lock(&pl->state_mutex);
2095 mutex_unlock(&pl->state_mutex);
[all...]
/linux-master/drivers/s390/block/
H A Ddasd.c127 mutex_init(&device->state_mutex);
558 mutex_lock(&device->state_mutex);
560 mutex_unlock(&device->state_mutex);
601 mutex_lock(&device->state_mutex);
612 mutex_unlock(&device->state_mutex);
H A Ddasd_int.h566 struct mutex state_mutex; member in struct:dasd_device
/linux-master/drivers/scsi/cxlflash/
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...]
H A Docxl_hw.h61 struct mutex state_mutex; /* Mutex to update context state */ member in struct:ocxlflash_context
/linux-master/drivers/scsi/
H A Dscsi_error.c1160 * Lock sdev->state_mutex to avoid that scsi_device_quiesce() can
1164 mutex_lock(&sdev->state_mutex);
1166 mutex_unlock(&sdev->state_mutex);
1173 mutex_lock(&sdev->state_mutex);
1179 mutex_unlock(&sdev->state_mutex);
1812 mutex_lock(&sdev->state_mutex);
1814 mutex_unlock(&sdev->state_mutex);

Completed in 766 milliseconds

12