Searched refs:smcd (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/net/smc/ |
D | smc_ism.c | 24 int smc_ism_cantalk(u64 peer_gid, unsigned short vlan_id, struct smcd_dev *smcd) in smc_ism_cantalk() argument 26 return smcd->ops->query_remote_gid(smcd, peer_gid, vlan_id ? 1 : 0, in smc_ism_cantalk() 30 int smc_ism_write(struct smcd_dev *smcd, const struct smc_ism_position *pos, in smc_ism_write() argument 35 rc = smcd->ops->move_data(smcd, pos->token, pos->index, pos->signal, in smc_ism_write() 46 spin_lock_irqsave(&conn->lgr->smcd->lock, flags); in smc_ism_set_conn() 47 conn->lgr->smcd->conn[conn->rmb_desc->sba_idx] = conn; in smc_ism_set_conn() 48 spin_unlock_irqrestore(&conn->lgr->smcd->lock, flags); in smc_ism_set_conn() 59 spin_lock_irqsave(&conn->lgr->smcd->lock, flags); in smc_ism_unset_conn() 60 conn->lgr->smcd->conn[conn->rmb_desc->sba_idx] = NULL; in smc_ism_unset_conn() 61 spin_unlock_irqrestore(&conn->lgr->smcd->lock, flags); in smc_ism_unset_conn() [all …]
|
D | smc_core.c | 236 lgr->smcd = smcismdev; in smc_lgr_create() 368 smc_ism_unregister_dmb(lgr->smcd, buf_desc); in smcd_buf_free() 416 smc_ism_put_vlan(lgr->smcd, lgr->vlan_id); in smc_lgr_free() 497 if (lgr->is_smcd && lgr->smcd == dev && in smc_smcd_terminate() 577 return lgr->peer_gid == peer_gid && lgr->smcd == smcismdev; in smcd_lgr_match() 583 struct smc_clc_msg_local *lcl, struct smcd_dev *smcd, in smc_conn_create() argument 606 if ((is_smcd ? smcd_lgr_match(lgr, smcd, peer_gid) : in smc_conn_create() 635 lcl->id_for_peer, vlan_id, smcd, peer_gid); in smc_conn_create()
|
D | smc_core.h | 203 struct smcd_dev *smcd; member 266 struct smc_clc_msg_local *lcl, struct smcd_dev *smcd,
|
D | smc_clc.c | 481 cclc.gid = conn->lgr->smcd->local_gid; in smc_clc_send_confirm() 554 aclc.gid = conn->lgr->smcd->local_gid; in smc_clc_send_accept()
|
D | smc_diag.c | 177 .my_gid = conn->lgr->smcd->local_gid, in __smc_diag_dump()
|
D | smc_tx.c | 262 rc = smc_ism_write(conn->lgr->smcd, &pos, data, len); in smcd_tx_ism_write()
|
D | af_smc.c | 1121 new_smc->conn.lgr->smcd)) { in smc_listen_ism_init()
|
/Linux-v4.19/drivers/s390/net/ |
D | ism_drv.c | 189 ism->smcd->local_gid = cmd.response.gid; in ism_read_local_gid() 194 static int ism_query_rgid(struct smcd_dev *smcd, u64 rgid, u32 vid_valid, in ism_query_rgid() argument 197 struct ism_dev *ism = smcd->priv; in ism_query_rgid() 247 static int ism_register_dmb(struct smcd_dev *smcd, struct smcd_dmb *dmb) in ism_register_dmb() argument 249 struct ism_dev *ism = smcd->priv; in ism_register_dmb() 278 static int ism_unregister_dmb(struct smcd_dev *smcd, struct smcd_dmb *dmb) in ism_unregister_dmb() argument 280 struct ism_dev *ism = smcd->priv; in ism_unregister_dmb() 299 static int ism_add_vlan_id(struct smcd_dev *smcd, u64 vlan_id) in ism_add_vlan_id() argument 301 struct ism_dev *ism = smcd->priv; in ism_add_vlan_id() 313 static int ism_del_vlan_id(struct smcd_dev *smcd, u64 vlan_id) in ism_del_vlan_id() argument [all …]
|
D | ism.h | 195 struct smcd_dev *smcd; member
|
/Linux-v4.19/include/net/ |
D | smc.h | 81 int smcd_register_dev(struct smcd_dev *smcd); 82 void smcd_unregister_dev(struct smcd_dev *smcd); 83 void smcd_free_dev(struct smcd_dev *smcd);
|