Home
last modified time | relevance | path

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

/drivers/staging/lustre/lnet/lnet/
Dconfig.c279 if (net == LNET_NIDNET(LNET_NID_ANY)) { in lnet_parse_networks()
301 if (net == LNET_NIDNET(LNET_NID_ANY)) { in lnet_parse_networks()
746 if (net == LNET_NIDNET(LNET_NID_ANY) || in lnet_parse_route()
756 if (nid == LNET_NID_ANY || in lnet_parse_route()
776 LASSERT(net != LNET_NIDNET(LNET_NID_ANY)); in lnet_parse_route()
781 LASSERT(nid != LNET_NID_ANY); in lnet_parse_route()
987 if (net == LNET_NIDNET(LNET_NID_ANY)) { in lnet_splitnets()
1086 LASSERT(net1 != LNET_NIDNET(LNET_NID_ANY)); in lnet_match_networks()
1092 LASSERT(net2 != LNET_NIDNET(LNET_NID_ANY)); in lnet_match_networks()
Drouter.c312 if (gateway == LNET_NID_ANY || in lnet_add_route()
314 net == LNET_NIDNET(LNET_NID_ANY) || in lnet_add_route()
490 if (net == LNET_NIDNET(LNET_NID_ANY)) in lnet_del_route()
499 if (!(net == LNET_NIDNET(LNET_NID_ANY) || in lnet_del_route()
507 if (!(gw_nid == LNET_NID_ANY || in lnet_del_route()
536 if (net == LNET_NIDNET(LNET_NID_ANY) && in lnet_del_route()
549 lnet_del_route(LNET_NIDNET(LNET_NID_ANY), LNET_NID_ANY); in lnet_destroy_routes()
689 if (nid == LNET_NID_ANY) { in lnet_parse_rc_info()
923 pi->pi_ni[i].ns_nid = LNET_NID_ANY; in lnet_create_rc_data_locked()
1043 rc = LNetGet(LNET_NID_ANY, mdh, id, LNET_RESERVED_PORTAL, in lnet_ping_router_locked()
Dlib-msg.c70 ev->initiator.nid = LNET_NID_ANY; in lnet_build_msg_event()
72 ev->sender = LNET_NID_ANY; in lnet_build_msg_event()
393 rc = lnet_send(msg->msg_ev.target.nid, msg, LNET_NID_ANY); in lnet_complete_msg_locked()
415 rc = lnet_send(LNET_NID_ANY, msg, LNET_NID_ANY); in lnet_complete_msg_locked()
Dnidstrings.c1130 if (nid == LNET_NID_ANY) { in libcfs_nid2str_r()
1200 return LNET_NIDNET(LNET_NID_ANY); in libcfs_str2net()
1215 return LNET_NID_ANY; in libcfs_str2nid()
1224 return LNET_NID_ANY; in libcfs_str2nid()
1252 *nidp = LNET_NID_ANY; in libcfs_str2anynid()
1257 return *nidp != LNET_NID_ANY; in libcfs_str2anynid()
Dlib-move.c81 nid == LNET_NID_ANY || /* removing all entries */ in lnet_fail_nid()
129 if (tp->tp_nid == LNET_NID_ANY || /* fail every peer */ in fail_peer()
1083 cpt = lnet_cpt_of_nid(rtr_nid == LNET_NID_ANY ? dst_nid : rtr_nid); in lnet_send()
1092 if (src_nid == LNET_NID_ANY) { in lnet_send()
1125 LASSERT(src_nid != LNET_NID_ANY); in lnet_send()
1200 LASSERT(src_nid != LNET_NID_ANY); in lnet_send()
1374 rc = lnet_send(ni->ni_nid, msg, LNET_NID_ANY); in lnet_parse_get()
2062 rc = lnet_send(self, msg, LNET_NID_ANY); in LNetPut()
2259 rc = lnet_send(self, msg, LNET_NID_ANY); in LNetGet()
Dlib-ptl.c49 match_id.nid != LNET_NID_ANY && in lnet_ptl_match_type()
154 if (me->me_match_id.nid != LNET_NID_ANY && in lnet_try_match_md()
Dapi-ni.c620 lnet_fail_nid(LNET_NID_ANY, 0); in lnet_unprepare()
902 lnet_process_id_t id = {LNET_NID_ANY, LNET_PID_ANY}; in lnet_ping_info_setup()
2161 id.nid == LNET_NID_ANY || in lnet_ping()
2195 rc = LNetGet(LNET_NID_ANY, mdh, id, in lnet_ping()
Dnet_fault.c69 if (nid == msg_nid || nid == LNET_NID_ANY) in lnet_fault_nid_match()
76 return LNET_NIDADDR(nid) == LNET_NIDADDR(LNET_NID_ANY); in lnet_fault_nid_match()
Dpeer.c164 lnet_del_route(LNET_NIDNET(LNET_NID_ANY), lp_nid); in lnet_peer_table_del_rtrs_locked()
/drivers/staging/lustre/lustre/ptlrpc/
Dsec_config.c145 rule->sr_netid = LNET_NIDNET(LNET_NID_ANY); in sptlrpc_rule_init()
177 if (rule->sr_netid == LNET_NIDNET(LNET_NID_ANY)) { in sptlrpc_parse_rule()
263 return (rule->sr_netid != LNET_NIDNET(LNET_NID_ANY)); in rule_spec_net()
384 if (LNET_NIDNET(nid) != LNET_NIDNET(LNET_NID_ANY) && in sptlrpc_rule_set_choose()
385 r->sr_netid != LNET_NIDNET(LNET_NID_ANY) && in sptlrpc_rule_set_choose()
Dniobuf.c693 static lnet_process_id_t match_id = {LNET_NID_ANY, LNET_PID_ANY}; in ptlrpc_register_rqbd()
Dpack_generic.c2112 lnet_nid_t nid = LNET_NID_ANY; in _debug_req()
/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd.c105 LASSERT(id.nid != LNET_NID_ANY); in ksocknal_create_peer()
460 if (id.nid == LNET_NID_ANY || in ksocknal_add_peer()
582 if (id.nid != LNET_NID_ANY) { in ksocknal_del_peer()
597 if (!((id.nid == LNET_NID_ANY || peer->ksnp_id.nid == id.nid) && in ksocknal_del_peer()
1121 peerid.nid = LNET_NID_ANY; in ksocknal_create_conn()
1134 LASSERT(peerid.nid != LNET_NID_ANY); in ksocknal_create_conn()
1772 if (id.nid != LNET_NID_ANY) { in ksocknal_close_matching_conns()
1785 if (!((id.nid == LNET_NID_ANY || id.nid == peer->ksnp_id.nid) && in ksocknal_close_matching_conns()
1796 if (id.nid == LNET_NID_ANY || id.pid == LNET_PID_ANY || !ipaddr) in ksocknal_close_matching_conns()
1936 if (id.nid == LNET_NID_ANY) { in ksocknal_push()
[all …]
Dsocklnd_cb.c1791 if (hello->kshm_src_nid == LNET_NID_ANY) { in ksocknal_recv_hello()
/drivers/staging/lustre/include/linux/lnet/
Dtypes.h71 #define LNET_NID_ANY ((lnet_nid_t)(-1)) macro
/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd.c270 if (msg->ibm_srcnid == LNET_NID_ANY) { in kiblnd_unpack_msg()
324 LASSERT(nid != LNET_NID_ANY); in kiblnd_create_peer()
485 if (nid != LNET_NID_ANY) { in kiblnd_del_peer()
501 if (!(nid == LNET_NID_ANY || peer->ibp_nid == nid)) in kiblnd_del_peer()
962 if (nid != LNET_NID_ANY) { in kiblnd_close_matching_conns()
978 if (!(nid == LNET_NID_ANY || nid == peer->ibp_nid)) in kiblnd_close_matching_conns()
988 if (nid == LNET_NID_ANY) in kiblnd_close_matching_conns()
2676 kiblnd_del_peer(ni, LNET_NID_ANY); in kiblnd_shutdown()
/drivers/staging/lustre/lnet/selftest/
Dconsole.c73 LASSERT(id.nid != LNET_NID_ANY); in lstcon_node_find()
146 if (id.nid == LNET_NID_ANY) in lstcon_ndlink_find()
1172 LASSERT(nd->nd_id.nid != LNET_NID_ANY); in lstcon_testrpc_condition()
1918 if (console_session.ses_id.ses_nid == LNET_NID_ANY) { in lstcon_acceptor_handle()
1928 if (jreq->join_sid.ses_nid != LNET_NID_ANY && in lstcon_acceptor_handle()
Dframework.c42 lst_sid_t LST_INVALID_SID = {LNET_NID_ANY, -1};
368 if (request->str_sid.ses_nid == LNET_NID_ANY) { in sfw_get_stats()
408 if (request->mksn_sid.ses_nid == LNET_NID_ANY) { in sfw_make_session()
478 if (request->rmsn_sid.ses_nid == LNET_NID_ANY) { in sfw_remove_session()
1125 request->tsr_sid.ses_nid == LNET_NID_ANY || in sfw_add_test()
Drpc.c452 any.nid = LNET_NID_ANY; in srpc_post_passive_rqtbuf()
803 rpc->crpc_dest, LNET_NID_ANY, in srpc_send_request()
Dconrpc.c411 if (rep->sid.ses_nid == LNET_NID_ANY) in lstcon_rpc_get_reply()
/drivers/staging/lustre/lustre/obdclass/
Dobd_config.c92 if (*nid != LNET_NID_ANY) in parse_nid()