Lines Matching refs:lgr
71 spin_lock_irqsave(&conn->lgr->smcd->lock, flags); in smc_ism_set_conn()
72 conn->lgr->smcd->conn[conn->rmb_desc->sba_idx] = conn; in smc_ism_set_conn()
73 spin_unlock_irqrestore(&conn->lgr->smcd->lock, flags); in smc_ism_set_conn()
84 spin_lock_irqsave(&conn->lgr->smcd->lock, flags); in smc_ism_unset_conn()
85 conn->lgr->smcd->conn[conn->rmb_desc->sba_idx] = NULL; in smc_ism_unset_conn()
86 spin_unlock_irqrestore(&conn->lgr->smcd->lock, flags); in smc_ism_unset_conn()
194 int smc_ism_register_dmb(struct smc_link_group *lgr, int dmb_len, in smc_ism_register_dmb() argument
203 dmb.vlan_id = lgr->vlan_id; in smc_ism_register_dmb()
204 dmb.rgid = lgr->peer_gid; in smc_ism_register_dmb()
205 rc = lgr->smcd->ops->register_dmb(lgr->smcd, &dmb); in smc_ism_register_dmb()
350 int smc_ism_signal_shutdown(struct smc_link_group *lgr) in smc_ism_signal_shutdown() argument
355 if (lgr->peer_shutdown) in smc_ism_signal_shutdown()
358 memcpy(ev_info.uid, lgr->id, SMC_LGR_ID_SIZE); in smc_ism_signal_shutdown()
359 ev_info.vlan_id = lgr->vlan_id; in smc_ism_signal_shutdown()
361 rc = lgr->smcd->ops->signal_event(lgr->smcd, lgr->peer_gid, in smc_ism_signal_shutdown()