Home
last modified time | relevance | path

Searched refs:lp_mutex (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/scsi/libfc/
H A Dfc_npiv.c34 mutex_lock(&n_port->lp_mutex); in libfc_vport_create()
36 mutex_unlock(&n_port->lp_mutex); in libfc_vport_create()
60 mutex_lock(&n_port->lp_mutex); in fc_vport_id_lookup()
67 mutex_unlock(&n_port->lp_mutex); in fc_vport_id_lookup()
123 mutex_lock(&n_port->lp_mutex); in fc_vport_setlink()
124 mutex_lock_nested(&vn_port->lp_mutex, LPORT_MUTEX_VN_PORT); in fc_vport_setlink()
126 mutex_unlock(&vn_port->lp_mutex); in fc_vport_setlink()
127 mutex_unlock(&n_port->lp_mutex); in fc_vport_setlink()
142 mutex_lock_nested(&vn_port->lp_mutex, LPORT_MUTEX_VN_PORT); in fc_vports_linkchange()
144 mutex_unlock(&vn_port->lp_mutex); in fc_vports_linkchange()
H A Dfc_lport.c178 mutex_lock(&lport->lp_mutex); in fc_lport_rport_callback()
208 mutex_unlock(&lport->lp_mutex); in fc_lport_rport_callback()
236 lockdep_assert_held(&lport->lp_mutex); in fc_lport_ptp_setup()
268 mutex_lock(&lport->lp_mutex); in fc_get_host_port_state()
279 mutex_unlock(&lport->lp_mutex); in fc_get_host_port_state()
405 lockdep_assert_held(&lport->lp_mutex); in fc_lport_recv_rlir_req()
427 lockdep_assert_held(&lport->lp_mutex); in fc_lport_recv_echo_req()
468 lockdep_assert_held(&lport->lp_mutex); in fc_lport_recv_rnid_req()
514 lockdep_assert_held(&lport->lp_mutex); in fc_lport_recv_logo_req()
532 mutex_lock(&lport->lp_mutex); in fc_fabric_login()
[all …]
H A Dfc_rport.c1425 lockdep_assert_held(&lport->lp_mutex); in fc_rport_recv_rtv_req()
1599 lockdep_assert_held(&lport->lp_mutex); in fc_rport_recv_adisc_req()
1702 lockdep_assert_held(&lport->lp_mutex); in fc_rport_recv_els_req()
1798 lockdep_assert_held(&lport->lp_mutex); in fc_rport_recv_req()
1852 lockdep_assert_held(&lport->lp_mutex); in fc_rport_recv_plogi_req()
2158 lockdep_assert_held(&lport->lp_mutex); in fc_rport_recv_logo_req()
/linux/fs/ubifs/
H A Dmisc.h244 mutex_lock(&c->lp_mutex); in ubifs_get_lprops()
256 ubifs_assert(c, mutex_is_locked(&c->lp_mutex)); in ubifs_release_lprops()
259 mutex_unlock(&c->lp_mutex); in ubifs_release_lprops()
H A Dlpt_commit.c1132 mutex_lock(&c->lp_mutex); in lpt_gc_lnum()
1134 mutex_unlock(&c->lp_mutex); in lpt_gc_lnum()
1154 mutex_lock(&c->lp_mutex); in lpt_gc()
1165 mutex_unlock(&c->lp_mutex); in lpt_gc()
1187 mutex_lock(&c->lp_mutex); in ubifs_lpt_start_commit()
1204 mutex_unlock(&c->lp_mutex); in ubifs_lpt_start_commit()
1208 mutex_lock(&c->lp_mutex); in ubifs_lpt_start_commit()
1248 mutex_unlock(&c->lp_mutex); in ubifs_lpt_start_commit()
1296 mutex_lock(&c->lp_mutex); in ubifs_lpt_end_commit()
1298 mutex_unlock(&c->lp_mutex); in ubifs_lpt_end_commit()
[all …]
H A Dcommit.c79 mutex_lock(&c->lp_mutex); in nothing_to_commit()
88 mutex_unlock(&c->lp_mutex); in nothing_to_commit()
95 mutex_unlock(&c->lp_mutex); in nothing_to_commit()
H A Dlprops.c534 ubifs_assert(c, mutex_is_locked(&c->lp_mutex)); in ubifs_change_lp()
759 ubifs_assert(c, mutex_is_locked(&c->lp_mutex)); in ubifs_fast_find_free()
782 ubifs_assert(c, mutex_is_locked(&c->lp_mutex)); in ubifs_fast_find_empty()
805 ubifs_assert(c, mutex_is_locked(&c->lp_mutex)); in ubifs_fast_find_freeable()
829 ubifs_assert(c, mutex_is_locked(&c->lp_mutex)); in ubifs_fast_find_frdi_idx()
H A Dubifs.h1455 struct mutex lp_mutex; member
H A Dsuper.c2094 mutex_init(&c->lp_mutex); in alloc_ubifs_info()
/linux/drivers/char/
H A Dlp.c143 static DEFINE_MUTEX(lp_mutex);
503 mutex_lock(&lp_mutex); in lp_open()
564 mutex_unlock(&lp_mutex); in lp_open()
731 mutex_lock(&lp_mutex); in lp_ioctl()
746 mutex_unlock(&lp_mutex); in lp_ioctl()
759 mutex_lock(&lp_mutex); in lp_compat_ioctl()
780 mutex_unlock(&lp_mutex); in lp_compat_ioctl()
/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c949 mutex_lock(&lport->lp_mutex); in bnx2fc_indicate_netevent()
953 mutex_unlock(&lport->lp_mutex); in bnx2fc_indicate_netevent()
1192 mutex_lock(&n_port->lp_mutex); in bnx2fc_vport_destroy()
1200 mutex_unlock(&n_port->lp_mutex); in bnx2fc_vport_destroy()
1204 mutex_unlock(&n_port->lp_mutex); in bnx2fc_vport_destroy()
1869 mutex_lock(&lport->lp_mutex); in bnx2fc_stop()
1873 mutex_unlock(&lport->lp_mutex); in bnx2fc_stop()
/linux/drivers/scsi/fcoe/
H A Dfcoe_transport.c257 mutex_lock(&n_port->lp_mutex); in fcoe_validate_vport_create()
278 mutex_unlock(&n_port->lp_mutex); in fcoe_validate_vport_create()
H A Dfcoe.c654 mutex_lock(&lport->lp_mutex); in fcoe_netdev_features_change()
688 mutex_unlock(&lport->lp_mutex); in fcoe_netdev_features_change()
2697 mutex_lock(&n_port->lp_mutex); in fcoe_vport_destroy()
2699 mutex_unlock(&n_port->lp_mutex); in fcoe_vport_destroy()
H A Dfcoe_ctlr.c1457 mutex_lock(&lport->lp_mutex); in fcoe_ctlr_recv_clr_vlink()
1460 mutex_unlock(&lport->lp_mutex); in fcoe_ctlr_recv_clr_vlink()
1856 mutex_lock(&fip->lp->lp_mutex); in fcoe_ctlr_timer_work()
1863 mutex_unlock(&fip->lp->lp_mutex); in fcoe_ctlr_timer_work()
/linux/include/scsi/
H A Dlibfc.h761 struct mutex lp_mutex; member