Lines Matching defs:lgr
54 static inline struct list_head *smc_lgr_list_head(struct smc_link_group *lgr, in smc_lgr_list_head()
66 static void smc_lgr_schedule_free_work(struct smc_link_group *lgr) in smc_lgr_schedule_free_work()
180 struct smc_link_group *lgr = conn->lgr; in __smc_lgr_unregister_conn() local
192 struct smc_link_group *lgr = conn->lgr; in smc_lgr_unregister_conn() local
206 struct smc_link_group *lgr = conn->lgr; in smc_lgr_cleanup_early() local
223 static void smcr_lgr_link_deactivate_all(struct smc_link_group *lgr) in smcr_lgr_link_deactivate_all()
241 struct smc_link_group *lgr = container_of(to_delayed_work(work), in smc_lgr_free_work() local
277 struct smc_link_group *lgr = container_of(work, struct smc_link_group, in smc_lgr_terminate_work() local
284 static u8 smcr_next_link_id(struct smc_link_group *lgr) in smcr_next_link_id()
303 int smcr_link_init(struct smc_link_group *lgr, struct smc_link *lnk, in smcr_link_init()
369 struct smc_link_group *lgr; in smc_lgr_create() local
529 struct smc_link *smc_switch_conns(struct smc_link_group *lgr, in smc_switch_conns()
606 struct smc_link_group *lgr) in smcr_buf_unuse()
636 struct smc_link_group *lgr) in smc_buf_unuse()
649 struct smc_link_group *lgr = conn->lgr; in smc_conn_free() local
696 struct smc_link_group *lgr = lnk->lgr; in smcr_buf_unmap_lgr() local
715 struct smc_link_group *lgr = lnk->lgr; in smcr_rtoken_clear_link() local
748 static void smcr_buf_free(struct smc_link_group *lgr, bool is_rmb, in smcr_buf_free()
761 static void smcd_buf_free(struct smc_link_group *lgr, bool is_dmb, in smcd_buf_free()
774 static void smc_buf_free(struct smc_link_group *lgr, bool is_rmb, in smc_buf_free()
783 static void __smc_lgr_free_bufs(struct smc_link_group *lgr, bool is_rmb) in __smc_lgr_free_bufs()
802 static void smc_lgr_free_bufs(struct smc_link_group *lgr) in smc_lgr_free_bufs()
811 static void smc_lgr_free(struct smc_link_group *lgr) in smc_lgr_free()
839 static void smcd_unregister_all_dmbs(struct smc_link_group *lgr) in smcd_unregister_all_dmbs()
885 static void smc_lgr_cleanup(struct smc_link_group *lgr) in smc_lgr_cleanup()
904 static void __smc_lgr_terminate(struct smc_link_group *lgr, bool soft) in __smc_lgr_terminate()
937 void smc_lgr_terminate_sched(struct smc_link_group *lgr) in smc_lgr_terminate_sched()
956 struct smc_link_group *lgr, *l; in smc_smcd_terminate() local
982 struct smc_link_group *lgr, *lg; in smc_smcd_terminate_all() local
1006 struct smc_link_group *lgr, *lg; in smc_smcr_terminate_all() local
1042 void smcr_lgr_set_type(struct smc_link_group *lgr, enum smc_lgr_type new_type) in smcr_lgr_set_type()
1077 void smcr_lgr_set_type_asym(struct smc_link_group *lgr, in smcr_lgr_set_type_asym()
1098 struct smc_link_group *lgr, *n; in smcr_port_add() local
1121 struct smc_link_group *lgr = lnk->lgr; in smcr_link_down() local
1176 struct smc_link_group *lgr, *n; in smcr_port_err() local
1199 struct smc_link_group *lgr = link->lgr; in smc_link_down_work() local
1256 static bool smcr_lgr_match(struct smc_link_group *lgr, in smcr_lgr_match()
1277 static bool smcd_lgr_match(struct smc_link_group *lgr, in smcd_lgr_match()
1288 struct smc_link_group *lgr; in smc_conn_create() local
1511 struct smc_link_group *lgr = lnk->lgr; in smcr_buf_map_lgr() local
1532 struct smc_link_group *lgr = lnk->lgr; in smcr_buf_reg_lgr() local
1551 static struct smc_buf_desc *smcr_new_buf_create(struct smc_link_group *lgr, in smcr_new_buf_create()
1578 static int smcr_buf_map_usable_links(struct smc_link_group *lgr, in smcr_buf_map_usable_links()
1602 static struct smc_buf_desc *smcd_new_buf_create(struct smc_link_group *lgr, in smcd_new_buf_create()
1645 struct smc_link_group *lgr = conn->lgr; in __smc_buf_create() local
1791 static inline int smc_rmb_reserve_rtoken_idx(struct smc_link_group *lgr) in smc_rmb_reserve_rtoken_idx()
1802 static int smc_rtoken_find_by_link(struct smc_link_group *lgr, int lnk_idx, in smc_rtoken_find_by_link()
1816 void smc_rtoken_set(struct smc_link_group *lgr, int link_idx, int link_idx_new, in smc_rtoken_set()
1829 void smc_rtoken_set2(struct smc_link_group *lgr, int rtok_idx, int link_id, in smc_rtoken_set2()
1852 struct smc_link_group *lgr = smc_get_lgr(lnk); in smc_rtoken_add() local
1876 struct smc_link_group *lgr = smc_get_lgr(lnk); in smc_rtoken_delete() local