Searched refs:lnd (Results 1 – 3 of 3) sorted by relevance
280 libcfs_lnd2netstrfns(int lnd) in libcfs_lnd2netstrfns() argument284 if (lnd >= 0) in libcfs_lnd2netstrfns()286 if (lnd == libcfs_netstrfns[i].nf_type) in libcfs_lnd2netstrfns()328 libcfs_lnd2modname(int lnd) in libcfs_lnd2modname() argument330 struct netstrfns *nf = libcfs_lnd2netstrfns(lnd); in libcfs_lnd2modname()337 libcfs_lnd2str(int lnd) in libcfs_lnd2str() argument340 struct netstrfns *nf = libcfs_lnd2netstrfns(lnd); in libcfs_lnd2str()346 snprintf(str, LNET_NIDSTR_SIZE, "?%u?", lnd); in libcfs_lnd2str()366 int lnd = LNET_NETTYP(net); in libcfs_net2str() local368 struct netstrfns *nf = libcfs_lnd2netstrfns(lnd); in libcfs_net2str()[all …]
275 lnd_t *lnd; in lnet_find_lnd_by_type() local280 lnd = list_entry(tmp, lnd_t, lnd_list); in lnet_find_lnd_by_type()282 if ((int)lnd->lnd_type == type) in lnet_find_lnd_by_type()283 return lnd; in lnet_find_lnd_by_type()290 lnet_register_lnd(lnd_t *lnd) in lnet_register_lnd() argument295 LASSERT(libcfs_isknown_lnd(lnd->lnd_type)); in lnet_register_lnd()296 LASSERT(lnet_find_lnd_by_type(lnd->lnd_type) == NULL); in lnet_register_lnd()298 list_add_tail(&lnd->lnd_list, &the_lnet.ln_lnds); in lnet_register_lnd()299 lnd->lnd_refcount = 0; in lnet_register_lnd()301 CDEBUG(D_NET, "%s LND registered\n", libcfs_lnd2str(lnd->lnd_type)); in lnet_register_lnd()[all …]
830 void lnet_register_lnd(lnd_t *lnd);831 void lnet_unregister_lnd(lnd_t *lnd);