Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/scsi/libfc/
Dfc_npiv.c45 mutex_lock(&n_port->lp_mutex); in libfc_vport_create()
47 mutex_unlock(&n_port->lp_mutex); in libfc_vport_create()
71 mutex_lock(&n_port->lp_mutex); in fc_vport_id_lookup()
78 mutex_unlock(&n_port->lp_mutex); in fc_vport_id_lookup()
134 mutex_lock(&n_port->lp_mutex); in fc_vport_setlink()
135 mutex_lock_nested(&vn_port->lp_mutex, LPORT_MUTEX_VN_PORT); in fc_vport_setlink()
137 mutex_unlock(&vn_port->lp_mutex); in fc_vport_setlink()
138 mutex_unlock(&n_port->lp_mutex); in fc_vport_setlink()
153 mutex_lock_nested(&vn_port->lp_mutex, LPORT_MUTEX_VN_PORT); in fc_vports_linkchange()
155 mutex_unlock(&vn_port->lp_mutex); in fc_vports_linkchange()
Dfc_lport.c178 mutex_lock(&lport->lp_mutex); in fc_lport_rport_callback()
202 mutex_unlock(&lport->lp_mutex); in fc_lport_rport_callback()
254 mutex_lock(&lport->lp_mutex); in fc_get_host_port_state()
265 mutex_unlock(&lport->lp_mutex); in fc_get_host_port_state()
518 mutex_lock(&lport->lp_mutex); in fc_fabric_login()
525 mutex_unlock(&lport->lp_mutex); in fc_fabric_login()
556 mutex_lock(&lport->lp_mutex); in fc_linkup()
558 mutex_unlock(&lport->lp_mutex); in fc_linkup()
586 mutex_lock(&lport->lp_mutex); in fc_linkdown()
588 mutex_unlock(&lport->lp_mutex); in fc_linkdown()
[all …]
/linux-2.6.39/fs/ubifs/
Dmisc.h325 mutex_lock(&c->lp_mutex); in ubifs_get_lprops()
337 ubifs_assert(mutex_is_locked(&c->lp_mutex)); in ubifs_release_lprops()
340 mutex_unlock(&c->lp_mutex); in ubifs_release_lprops()
Dlpt_commit.c1174 mutex_lock(&c->lp_mutex); in lpt_gc_lnum()
1176 mutex_unlock(&c->lp_mutex); in lpt_gc_lnum()
1196 mutex_lock(&c->lp_mutex); in lpt_gc()
1207 mutex_unlock(&c->lp_mutex); in lpt_gc()
1229 mutex_lock(&c->lp_mutex); in ubifs_lpt_start_commit()
1246 mutex_unlock(&c->lp_mutex); in ubifs_lpt_start_commit()
1250 mutex_lock(&c->lp_mutex); in ubifs_lpt_start_commit()
1286 mutex_unlock(&c->lp_mutex); in ubifs_lpt_start_commit()
1334 mutex_lock(&c->lp_mutex); in ubifs_lpt_end_commit()
1336 mutex_unlock(&c->lp_mutex); in ubifs_lpt_end_commit()
[all …]
Dlprops.c542 ubifs_assert(mutex_is_locked(&c->lp_mutex)); in ubifs_change_lp()
767 ubifs_assert(mutex_is_locked(&c->lp_mutex)); in ubifs_fast_find_free()
790 ubifs_assert(mutex_is_locked(&c->lp_mutex)); in ubifs_fast_find_empty()
813 ubifs_assert(mutex_is_locked(&c->lp_mutex)); in ubifs_fast_find_freeable()
837 ubifs_assert(mutex_is_locked(&c->lp_mutex)); in ubifs_fast_find_frdi_idx()
Dubifs.h1390 struct mutex lp_mutex; member
Dsuper.c1971 mutex_init(&c->lp_mutex); in ubifs_fill_super()
/linux-2.6.39/drivers/char/
Dlp.c143 static DEFINE_MUTEX(lp_mutex);
497 mutex_lock(&lp_mutex); in lp_open()
558 mutex_unlock(&lp_mutex); in lp_open()
684 mutex_lock(&lp_mutex); in lp_ioctl()
698 mutex_unlock(&lp_mutex); in lp_ioctl()
713 mutex_lock(&lp_mutex); in lp_compat_ioctl()
734 mutex_unlock(&lp_mutex); in lp_compat_ioctl()
/linux-2.6.39/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c834 mutex_lock(&lport->lp_mutex); in bnx2fc_indicate_netevent()
838 mutex_unlock(&lport->lp_mutex); in bnx2fc_indicate_netevent()
1033 mutex_lock(&n_port->lp_mutex); in bnx2fc_vport_destroy()
1035 mutex_unlock(&n_port->lp_mutex); in bnx2fc_vport_destroy()
1567 mutex_lock(&lport->lp_mutex); in bnx2fc_stop()
1570 mutex_unlock(&lport->lp_mutex); in bnx2fc_stop()
/linux-2.6.39/drivers/scsi/fcoe/
Dfcoe.c584 mutex_lock(&lport->lp_mutex); in fcoe_netdev_features_change()
618 mutex_unlock(&lport->lp_mutex); in fcoe_netdev_features_change()
2459 mutex_lock(&n_port->lp_mutex); in fcoe_vport_destroy()
2461 mutex_unlock(&n_port->lp_mutex); in fcoe_vport_destroy()
Dfcoe_ctlr.c1232 mutex_lock(&lport->lp_mutex); in fcoe_ctlr_recv_clr_vlink()
1245 mutex_unlock(&lport->lp_mutex); in fcoe_ctlr_recv_clr_vlink()
1629 mutex_lock(&fip->lp->lp_mutex); in fcoe_ctlr_timer_work()
1636 mutex_unlock(&fip->lp->lp_mutex); in fcoe_ctlr_timer_work()
/linux-2.6.39/include/scsi/
Dlibfc.h893 struct mutex lp_mutex; member