Home
last modified time | relevance | path

Searched refs:lp_rtr_refcount (Results 1 – 5 of 5) sorted by relevance

/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
Dpeer.c171 LASSERT(lp->lp_rtr_refcount == 0); in lnet_destroy_peer_locked()
269 lp->lp_rtr_refcount = 0; in lnet_nid2peer_locked()
Drouter.c169 LASSERT(lp->lp_rtr_refcount >= 0); in lnet_rtr_addref_locked()
172 lp->lp_rtr_refcount++; in lnet_rtr_addref_locked()
173 if (lp->lp_rtr_refcount == 1) { in lnet_rtr_addref_locked()
196 LASSERT(lp->lp_rtr_refcount > 0); in lnet_rtr_decref_locked()
199 lp->lp_rtr_refcount--; in lnet_rtr_decref_locked()
200 if (lp->lp_rtr_refcount == 0) { in lnet_rtr_decref_locked()
Drouter_proc.c349 int nrtrrefs = peer->lp_rtr_refcount; in proc_lnet_routers()
/linux-4.4.14/drivers/staging/lustre/include/linux/lnet/
Dlib-types.h331 int lp_rtr_refcount; member
Dlib-lnet.h371 return lp->lp_rtr_refcount != 0; in lnet_isrouter()