/linux-master/net/smc/ |
H A D | smc_ism.c | 69 struct smcd_dev *smcd) 71 return smcd->ops->query_remote_gid(smcd, peer_gid, vlan_id ? 1 : 0, 83 u16 smc_ism_get_chid(struct smcd_dev *smcd) argument 85 return smcd->ops->get_chid(smcd); 99 spin_lock_irqsave(&conn->lgr->smcd->lock, flags); 100 conn->lgr->smcd->conn[conn->rmb_desc->sba_idx] = conn; 101 spin_unlock_irqrestore(&conn->lgr->smcd->lock, flags); 112 spin_lock_irqsave(&conn->lgr->smcd 68 smc_ism_cantalk(struct smcd_gid *peer_gid, unsigned short vlan_id, struct smcd_dev *smcd) argument 121 smc_ism_get_vlan(struct smcd_dev *smcd, unsigned short vlanid) argument 165 smc_ism_put_vlan(struct smcd_dev *smcd, unsigned short vlanid) argument 199 smc_ism_unregister_dmb(struct smcd_dev *smcd, struct smc_buf_desc *dmb_desc) argument 248 smc_nl_handle_smcd_dev(struct smcd_dev *smcd, struct sk_buff *skb, struct netlink_callback *cb) argument 318 struct smcd_dev *smcd; local 344 struct smcd_dev *smcd; member in struct:smc_ism_event_work 411 struct smcd_dev *smcd; local 439 struct smcd_dev *smcd; local 474 struct smcd_dev *smcd = ism_get_priv(ism, &smc_ism_client); local 499 struct smcd_dev *smcd = ism_get_priv(ism, &smc_ism_client); local 524 struct smcd_dev *smcd = ism_get_priv(ism, &smc_ism_client); local [all...] |
H A D | smc_ism.h | 26 extern struct smcd_dev_list smcd_dev_list; /* list of smcd devices */ 59 static inline int smc_ism_write(struct smcd_dev *smcd, u64 dmb_tok, argument 65 rc = smcd->ops->move_data(smcd, dmb_tok, idx, sf, offset, data, len); 80 static inline bool smc_ism_is_emulated(struct smcd_dev *smcd) argument 82 u16 chid = smcd->ops->get_chid(smcd);
|
H A D | smc_pnet.h | 64 int smc_pnetid_by_table_smcd(struct smcd_dev *smcd);
|
H A D | smc_pnet.c | 106 struct smcd_dev *smcd; local 163 /* remove smcd devices */ 165 list_for_each_entry(smcd, &smcd_dev_list.list, list) { 166 if (smcd->pnetid_by_user && 168 smc_pnet_match(pnet_name, smcd->pnetid))) { 169 pr_warn_ratelimited("smc: smcd device %s " 172 dev_name(smcd->ops->get_dev(smcd)), 173 smcd->pnetid); 174 memset(smcd 415 struct smcd_dev *smcd; local [all...] |
H A D | smc_core.c | 63 *lgr_lock = &lgr->smcd->lgr_lock; 64 return &lgr->smcd->lgr_list; 508 struct smcd_dev *smcd = lgr->smcd; local 525 smcd->ops->get_local_gid(smcd, &smcd_gid); 542 if (nla_put_u32(skb, SMC_NLA_LGR_D_CHID, smc_ism_get_chid(lgr->smcd))) 544 memcpy(smc_pnet, lgr->smcd->pnetid, SMC_MAX_PNETID_LEN); 837 struct smcd_dev *smcd; local 884 smcd 1557 smc_smcd_terminate_all(struct smcd_dev *smcd) argument 2600 struct smcd_dev *smcd; local 2621 struct smcd_dev *smcd; local [all...] |
H A D | smc_clc.c | 842 struct smcd_dev *smcd; local 900 smcd = ini->ism_dev[0]; 901 smcd->ops->get_local_gid(smcd, &smcd_gid); 950 smcd = ini->ism_dev[i]; 951 smcd->ops->get_local_gid(smcd, &smcd_gid); 955 if (smc_ism_is_emulated(smcd)) { 1036 struct smcd_dev *smcd = conn->lgr->smcd; local [all...] |
H A D | smc_diag.c | 170 struct smcd_dev *smcd = conn->lgr->smcd; local 178 smcd->ops->get_local_gid(smcd, &smcd_gid);
|
H A D | af_smc.c | 1047 struct smcd_dev *smcd; local 1055 list_for_each_entry(smcd, &smcd_dev_list.list, list) { 1056 if (smcd->going_away || smcd == ini->ism_dev[0]) 1058 chid = smc_ism_get_chid(smcd); 1062 if (!smc_pnet_is_pnetid_set(smcd->pnetid) || 1063 smc_pnet_is_ndev_pnetid(sock_net(&smc->sk), smcd->pnetid)) { 1071 ini->ism_dev[i] = smcd; 2092 static bool smc_is_already_selected(struct smcd_dev *smcd, argument 2099 if (smcd 2111 struct smcd_dev *smcd; local [all...] |
H A D | smc_core.h | 362 struct smcd_dev *smcd; member in struct:smc_link_group::__anon3999::__anon4001
|
H A D | smc_tx.c | 308 rc = smc_ism_write(conn->lgr->smcd, conn->peer_token,
|
/linux-master/drivers/s390/net/ |
H A D | ism_drv.c | 741 static int smcd_query_rgid(struct smcd_dev *smcd, struct smcd_gid *rgid, argument 744 return ism_query_rgid(smcd->priv, rgid->gid, vid_valid, vid); 747 static int smcd_register_dmb(struct smcd_dev *smcd, struct smcd_dmb *dmb, argument 750 return ism_register_dmb(smcd->priv, (struct ism_dmb *)dmb, client); 753 static int smcd_unregister_dmb(struct smcd_dev *smcd, struct smcd_dmb *dmb) argument 755 return ism_unregister_dmb(smcd->priv, (struct ism_dmb *)dmb); 758 static int smcd_add_vlan_id(struct smcd_dev *smcd, u64 vlan_id) argument 760 return ism_add_vlan_id(smcd->priv, vlan_id); 763 static int smcd_del_vlan_id(struct smcd_dev *smcd, u64 vlan_id) argument 765 return ism_del_vlan_id(smcd 768 smcd_set_vlan_required(struct smcd_dev *smcd) argument 773 smcd_reset_vlan_required(struct smcd_dev *smcd) argument 795 smcd_signal_ieq(struct smcd_dev *smcd, struct smcd_gid *rgid, u32 trigger_irq, u32 event_code, u64 info) argument 802 smcd_move(struct smcd_dev *smcd, u64 dmb_tok, unsigned int idx, bool sf, unsigned int offset, void *data, unsigned int size) argument 819 smcd_get_local_gid(struct smcd_dev *smcd, struct smcd_gid *smcd_gid) argument 834 smcd_get_chid(struct smcd_dev *smcd) argument [all...] |