Home
last modified time | relevance | path

Searched refs:LNET_NID_ANY (Results 1 – 19 of 19) sorted by relevance

/drivers/staging/lustre/lnet/lnet/
Dconfig.c257 if (net == LNET_NIDNET(LNET_NID_ANY)) { in lnet_parse_networks()
279 if (net == LNET_NIDNET(LNET_NID_ANY)) { in lnet_parse_networks()
712 if (net == LNET_NIDNET(LNET_NID_ANY) || in lnet_parse_route()
722 if (nid == LNET_NID_ANY || in lnet_parse_route()
738 LASSERT(net != LNET_NIDNET(LNET_NID_ANY)); in lnet_parse_route()
744 LASSERT(nid != LNET_NID_ANY); in lnet_parse_route()
951 if (net == LNET_NIDNET(LNET_NID_ANY)) { in lnet_splitnets()
1052 LASSERT(net1 != LNET_NIDNET(LNET_NID_ANY)); in lnet_match_networks()
1058 LASSERT(net2 != LNET_NIDNET(LNET_NID_ANY)); in lnet_match_networks()
Drouter.c306 if (gateway == LNET_NID_ANY || in lnet_add_route()
308 net == LNET_NIDNET(LNET_NID_ANY) || in lnet_add_route()
479 if (net == LNET_NIDNET(LNET_NID_ANY)) in lnet_del_route()
488 if (!(net == LNET_NIDNET(LNET_NID_ANY) || in lnet_del_route()
496 if (!(gw_nid == LNET_NID_ANY || in lnet_del_route()
525 if (net == LNET_NIDNET(LNET_NID_ANY) && in lnet_del_route()
538 lnet_del_route(LNET_NIDNET(LNET_NID_ANY), LNET_NID_ANY); in lnet_destroy_routes()
643 if (nid == LNET_NID_ANY) { in lnet_parse_rc_info()
870 pi->pi_ni[i].ns_nid = LNET_NID_ANY; in lnet_create_rc_data_locked()
990 rc = LNetGet(LNET_NID_ANY, mdh, id, LNET_RESERVED_PORTAL, in lnet_ping_router_locked()
Dlib-msg.c74 ev->initiator.nid = LNET_NID_ANY; in lnet_build_msg_event()
76 ev->sender = LNET_NID_ANY; in lnet_build_msg_event()
388 rc = lnet_send(msg->msg_ev.target.nid, msg, LNET_NID_ANY); in lnet_complete_msg_locked()
410 rc = lnet_send(LNET_NID_ANY, msg, LNET_NID_ANY); in lnet_complete_msg_locked()
Dnidstrings.c1131 if (nid == LNET_NID_ANY) { in libcfs_nid2str_r()
1201 return LNET_NIDNET(LNET_NID_ANY); in libcfs_str2net()
1216 return LNET_NID_ANY; in libcfs_str2nid()
1225 return LNET_NID_ANY; in libcfs_str2nid()
1253 *nidp = LNET_NID_ANY; in libcfs_str2anynid()
1258 return *nidp != LNET_NID_ANY; in libcfs_str2anynid()
Dlib-move.c84 nid == LNET_NID_ANY || /* removing all entries */ in lnet_fail_nid()
131 if (tp->tp_nid == LNET_NID_ANY || /* fail every peer */ in fail_peer()
1202 cpt = lnet_cpt_of_nid(rtr_nid == LNET_NID_ANY ? dst_nid : rtr_nid); in lnet_send()
1211 if (src_nid == LNET_NID_ANY) { in lnet_send()
1244 LASSERT(src_nid != LNET_NID_ANY); in lnet_send()
1317 LASSERT(src_nid != LNET_NID_ANY); in lnet_send()
1481 rc = lnet_send(ni->ni_nid, msg, LNET_NID_ANY); in lnet_parse_get()
2131 rc = lnet_send(self, msg, LNET_NID_ANY); in LNetPut()
2324 rc = lnet_send(self, msg, LNET_NID_ANY); in LNetGet()
Dapi-ni.c617 lnet_fail_nid(LNET_NID_ANY, 0); in lnet_unprepare()
1602 id.nid = LNET_NID_ANY; in lnet_ping_target_init()
1705 id.nid == LNET_NID_ANY || in lnet_ping()
1739 rc = LNetGet(LNET_NID_ANY, mdh, id, in lnet_ping()
Dlib-ptl.c54 match_id.nid != LNET_NID_ANY && in lnet_ptl_match_type()
157 if (me->me_match_id.nid != LNET_NID_ANY && in lnet_try_match_md()
/drivers/staging/lustre/lustre/ptlrpc/
Dsec_config.c150 rule->sr_netid = LNET_NIDNET(LNET_NID_ANY); in sptlrpc_rule_init()
182 if (rule->sr_netid == LNET_NIDNET(LNET_NID_ANY)) { in sptlrpc_parse_rule()
268 return (rule->sr_netid != LNET_NIDNET(LNET_NID_ANY)); in rule_spec_net()
389 if (LNET_NIDNET(nid) != LNET_NIDNET(LNET_NID_ANY) && in sptlrpc_rule_set_choose()
390 r->sr_netid != LNET_NIDNET(LNET_NID_ANY) && in sptlrpc_rule_set_choose()
Dniobuf.c682 static lnet_process_id_t match_id = {LNET_NID_ANY, LNET_PID_ANY}; in ptlrpc_register_rqbd()
Dpack_generic.c2172 lnet_nid_t nid = LNET_NID_ANY; in _debug_req()
/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd.c108 LASSERT(id.nid != LNET_NID_ANY); in ksocknal_create_peer()
457 if (id.nid == LNET_NID_ANY || in ksocknal_add_peer()
578 if (id.nid != LNET_NID_ANY) in ksocknal_del_peer()
593 if (!((id.nid == LNET_NID_ANY || peer->ksnp_id.nid == id.nid) && in ksocknal_del_peer()
1101 peerid.nid = LNET_NID_ANY; in ksocknal_create_conn()
1114 LASSERT(peerid.nid != LNET_NID_ANY); in ksocknal_create_conn()
1727 if (id.nid != LNET_NID_ANY) in ksocknal_close_matching_conns()
1740 if (!((id.nid == LNET_NID_ANY || id.nid == peer->ksnp_id.nid) && in ksocknal_close_matching_conns()
1751 if (id.nid == LNET_NID_ANY || id.pid == LNET_PID_ANY || ipaddr == 0) in ksocknal_close_matching_conns()
1884 if (id.nid == LNET_NID_ANY) { in ksocknal_push()
[all …]
Dsocklnd_cb.c1772 if (hello->kshm_src_nid == LNET_NID_ANY) { in ksocknal_recv_hello()
/drivers/staging/lustre/include/linux/lnet/
Dtypes.h67 #define LNET_NID_ANY ((lnet_nid_t) -1) macro
/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd.c276 if (msg->ibm_srcnid == LNET_NID_ANY) { in kiblnd_unpack_msg()
330 LASSERT(nid != LNET_NID_ANY); in kiblnd_create_peer()
495 if (nid != LNET_NID_ANY) { in kiblnd_del_peer()
512 if (!(nid == LNET_NID_ANY || peer->ibp_nid == nid)) in kiblnd_del_peer()
970 if (nid != LNET_NID_ANY) in kiblnd_close_matching_conns()
988 if (!(nid == LNET_NID_ANY || nid == peer->ibp_nid)) in kiblnd_close_matching_conns()
998 if (nid == LNET_NID_ANY) in kiblnd_close_matching_conns()
2516 kiblnd_del_peer(ni, LNET_NID_ANY); in kiblnd_shutdown()
/drivers/staging/lustre/lnet/selftest/
Dframework.c46 lst_sid_t LST_INVALID_SID = {LNET_NID_ANY, -1};
376 if (request->str_sid.ses_nid == LNET_NID_ANY) { in sfw_get_stats()
414 if (request->mksn_sid.ses_nid == LNET_NID_ANY) { in sfw_make_session()
482 if (request->rmsn_sid.ses_nid == LNET_NID_ANY) { in sfw_remove_session()
1128 request->tsr_sid.ses_nid == LNET_NID_ANY || in sfw_add_test()
Dconsole.c77 LASSERT(id.nid != LNET_NID_ANY); in lstcon_node_find()
147 if (id.nid == LNET_NID_ANY) in lstcon_ndlink_find()
1169 LASSERT(nd->nd_id.nid != LNET_NID_ANY); in lstcon_testrpc_condition()
1911 if (console_session.ses_id.ses_nid == LNET_NID_ANY) { in lstcon_acceptor_handle()
1921 if (jreq->join_sid.ses_nid != LNET_NID_ANY && in lstcon_acceptor_handle()
Drpc.c453 LNET_NID_ANY, mdh, ev); in srpc_post_active_rqtbuf()
462 any.nid = LNET_NID_ANY; in srpc_post_passive_rqtbuf()
Dconrpc.c412 if (rep->sid.ses_nid == LNET_NID_ANY) in lstcon_rpc_get_reply()
/drivers/staging/lustre/lustre/obdclass/
Dobd_config.c94 if (*nid != LNET_NID_ANY) in parse_nid()