Lines Matching refs:smc_link
94 struct smc_link { struct
306 struct smc_link lnk[SMC_LINKS_PER_LGR_MAX];
482 static inline bool smc_link_usable(struct smc_link *lnk) in smc_link_usable()
498 static inline bool smc_link_sendable(struct smc_link *lnk) in smc_link_sendable()
504 static inline bool smc_link_active(struct smc_link *lnk) in smc_link_active()
564 int smc_rmb_rtoken_handling(struct smc_connection *conn, struct smc_link *link,
566 int smc_rtoken_add(struct smc_link *lnk, __be64 nw_vaddr, __be32 nw_rkey);
567 int smc_rtoken_delete(struct smc_link *lnk, __be32 nw_rkey);
581 int smcr_link_init(struct smc_link_group *lgr, struct smc_link *lnk,
583 void smcr_link_clear(struct smc_link *lnk, bool log);
584 void smcr_link_hold(struct smc_link *lnk);
585 void smcr_link_put(struct smc_link *lnk);
587 struct smc_link *to_lnk);
588 int smcr_buf_map_lgr(struct smc_link *lnk);
589 int smcr_buf_reg_lgr(struct smc_link *lnk);
593 int smcr_link_reg_buf(struct smc_link *link, struct smc_buf_desc *rmb_desc);
594 struct smc_link *smc_switch_conns(struct smc_link_group *lgr,
595 struct smc_link *from_lnk, bool is_dev_err);
596 void smcr_link_down_cond(struct smc_link *lnk);
597 void smcr_link_down_cond_sched(struct smc_link *lnk);
603 static inline struct smc_link_group *smc_get_lgr(struct smc_link *link) in smc_get_lgr()