Lines Matching defs:lgr
59 static inline struct list_head *smc_lgr_list_head(struct smc_link_group *lgr, in smc_lgr_list_head()
81 static void smc_lgr_schedule_free_work(struct smc_link_group *lgr) in smc_lgr_schedule_free_work()
198 struct smc_link_group *lgr = conn->lgr; in __smc_lgr_unregister_conn() local
212 struct smc_link_group *lgr = conn->lgr; in smc_lgr_unregister_conn() local
279 static int smc_nl_fill_lgr_v2_common(struct smc_link_group *lgr, in smc_nl_fill_lgr_v2_common()
310 static int smc_nl_fill_smcr_lgr_v2(struct smc_link_group *lgr, in smc_nl_fill_smcr_lgr_v2()
331 static int smc_nl_fill_lgr(struct smc_link_group *lgr, in smc_nl_fill_lgr()
379 static int smc_nl_fill_lgr_link(struct smc_link_group *lgr, in smc_nl_fill_lgr_link()
440 static int smc_nl_handle_lgr(struct smc_link_group *lgr, in smc_nl_handle_lgr()
480 struct smc_link_group *lgr; in smc_nl_fill_lgr_list() local
498 static int smc_nl_fill_smcd_lgr(struct smc_link_group *lgr, in smc_nl_fill_smcd_lgr()
560 struct smc_link_group *lgr; in smc_nl_handle_smcd_lgr() local
631 void smc_lgr_cleanup_early(struct smc_link_group *lgr) in smc_lgr_cleanup_early()
647 static void smcr_lgr_link_deactivate_all(struct smc_link_group *lgr) in smcr_lgr_link_deactivate_all()
665 struct smc_link_group *lgr = container_of(to_delayed_work(work), in smc_lgr_free_work() local
701 struct smc_link_group *lgr = container_of(work, struct smc_link_group, in smc_lgr_terminate_work() local
708 static u8 smcr_next_link_id(struct smc_link_group *lgr) in smcr_next_link_id()
737 int smcr_link_init(struct smc_link_group *lgr, struct smc_link *lnk, in smcr_link_init()
821 struct smc_link_group *lgr; in smc_lgr_create() local
1016 struct smc_link *smc_switch_conns(struct smc_link_group *lgr, in smc_switch_conns()
1095 struct smc_link_group *lgr) in smcr_buf_unuse()
1129 struct smc_link_group *lgr) in smc_buf_unuse()
1155 struct smc_link_group *lgr = conn->lgr; in smc_conn_free() local
1218 struct smc_link_group *lgr = lnk->lgr; in smcr_buf_unmap_lgr() local
1237 struct smc_link_group *lgr = lnk->lgr; in smcr_rtoken_clear_link() local
1248 struct smc_link_group *lgr = lnk->lgr; in __smcr_link_clear() local
1291 static void smcr_buf_free(struct smc_link_group *lgr, bool is_rmb, in smcr_buf_free()
1306 static void smcd_buf_free(struct smc_link_group *lgr, bool is_dmb, in smcd_buf_free()
1319 static void smc_buf_free(struct smc_link_group *lgr, bool is_rmb, in smc_buf_free()
1328 static void __smc_lgr_free_bufs(struct smc_link_group *lgr, bool is_rmb) in __smc_lgr_free_bufs()
1347 static void smc_lgr_free_bufs(struct smc_link_group *lgr) in smc_lgr_free_bufs()
1356 static void __smc_lgr_free(struct smc_link_group *lgr) in __smc_lgr_free()
1371 static void smc_lgr_free(struct smc_link_group *lgr) in smc_lgr_free()
1393 void smc_lgr_hold(struct smc_link_group *lgr) in smc_lgr_hold()
1398 void smc_lgr_put(struct smc_link_group *lgr) in smc_lgr_put()
1436 static void smc_lgr_cleanup(struct smc_link_group *lgr) in smc_lgr_cleanup()
1454 static void __smc_lgr_terminate(struct smc_link_group *lgr, bool soft) in __smc_lgr_terminate()
1487 void smc_lgr_terminate_sched(struct smc_link_group *lgr) in smc_lgr_terminate_sched()
1506 struct smc_link_group *lgr, *l; in smc_smcd_terminate() local
1532 struct smc_link_group *lgr, *lg; in smc_smcd_terminate_all() local
1556 struct smc_link_group *lgr, *lg; in smc_smcr_terminate_all() local
1592 void smcr_lgr_set_type(struct smc_link_group *lgr, enum smc_lgr_type new_type) in smcr_lgr_set_type()
1627 void smcr_lgr_set_type_asym(struct smc_link_group *lgr, in smcr_lgr_set_type_asym()
1650 struct smc_link_group *lgr, *n; in smcr_port_add() local
1674 struct smc_link_group *lgr = lnk->lgr; in smcr_link_down() local
1732 struct smc_link_group *lgr, *n; in smcr_port_err() local
1755 struct smc_link_group *lgr = link->lgr; in smc_link_down_work() local
1813 static bool smcr_lgr_match(struct smc_link_group *lgr, u8 smcr_version, in smcr_lgr_match()
1844 static bool smcd_lgr_match(struct smc_link_group *lgr, in smcd_lgr_match()
1856 struct smc_link_group *lgr; in smc_conn_create() local
2132 struct smc_link_group *lgr = lnk->lgr; in smcr_buf_map_lgr() local
2153 struct smc_link_group *lgr = lnk->lgr; in smcr_buf_reg_lgr() local
2192 static struct smc_buf_desc *smcr_new_buf_create(struct smc_link_group *lgr, in smcr_new_buf_create()
2240 static int smcr_buf_map_usable_links(struct smc_link_group *lgr, in smcr_buf_map_usable_links()
2265 static struct smc_buf_desc *smcd_new_buf_create(struct smc_link_group *lgr, in smcd_new_buf_create()
2305 struct smc_link_group *lgr = conn->lgr; in __smc_buf_create() local
2442 static inline int smc_rmb_reserve_rtoken_idx(struct smc_link_group *lgr) in smc_rmb_reserve_rtoken_idx()
2453 static int smc_rtoken_find_by_link(struct smc_link_group *lgr, int lnk_idx, in smc_rtoken_find_by_link()
2467 void smc_rtoken_set(struct smc_link_group *lgr, int link_idx, int link_idx_new, in smc_rtoken_set()
2480 void smc_rtoken_set2(struct smc_link_group *lgr, int rtok_idx, int link_id, in smc_rtoken_set2()
2503 struct smc_link_group *lgr = smc_get_lgr(lnk); in smc_rtoken_add() local
2527 struct smc_link_group *lgr = smc_get_lgr(lnk); in smc_rtoken_delete() local