Lines Matching defs:lgr

157 	u8			link_idx;	/* index in lgr link array */
161 struct smc_link_group *lgr; /* parent link group */
188 /* tx/rx buffer list element for sndbufs list and rmbs list of a lgr */
244 enum smc_lgr_type { /* redundancy state of lgr */
245 SMC_LGR_NONE, /* no active links, lgr to be deleted */
285 u8 id[SMC_LGR_ID_SIZE]; /* unique lgr id */
286 struct delayed_work free_work; /* delayed freeing of an lgr */
287 struct work_struct terminate_work; /* abnormal lgr termination */
289 u8 sync_err : 1; /* lgr no longer fits to peer */
290 u8 terminating : 1;/* lgr is terminating */
291 u8 freeing : 1; /* lgr is being freed */
293 refcount_t refcnt; /* lgr reference count */
322 /* pnet id of this lgr */
328 /* protects lgr reconfig. */
355 /* max conn can be assigned to lgr */
357 /* max links can be added in lgr */
439 * @lgr link group to search in
443 u32 token, struct smc_link_group *lgr)
448 node = lgr->conns_all.rb_node;
470 return conn->lgr && conn->alert_token_local;
549 void smc_lgr_cleanup_early(struct smc_link_group *lgr);
550 void smc_lgr_terminate_sched(struct smc_link_group *lgr);
551 void smc_lgr_hold(struct smc_link_group *lgr);
552 void smc_lgr_put(struct smc_link_group *lgr);
565 void smc_rtoken_set(struct smc_link_group *lgr, int link_idx, int link_idx_new,
567 void smc_rtoken_set2(struct smc_link_group *lgr, int rtok_idx, int link_id,
578 int smcr_link_init(struct smc_link_group *lgr, struct smc_link *lnk,
587 void smcr_lgr_set_type(struct smc_link_group *lgr, enum smc_lgr_type new_type);
588 void smcr_lgr_set_type_asym(struct smc_link_group *lgr,
591 struct smc_link *smc_switch_conns(struct smc_link_group *lgr,
602 return link->lgr;