Home
last modified time | relevance | path

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

/drivers/staging/lustre/lustre/libcfs/
Dnidstrings.c393 if (nid == LNET_NID_ANY) in libcfs_nid2str()
461 return LNET_NIDNET(LNET_NID_ANY); in libcfs_str2net()
476 return LNET_NID_ANY; in libcfs_str2nid()
485 return LNET_NID_ANY; in libcfs_str2nid()
513 *nidp = LNET_NID_ANY; in libcfs_str2anynid()
518 return *nidp != LNET_NID_ANY; in libcfs_str2anynid()
/drivers/staging/lustre/lnet/lnet/
Drouter.c318 if (gateway == LNET_NID_ANY || in lnet_add_route()
320 net == LNET_NIDNET(LNET_NID_ANY) || in lnet_add_route()
493 if (net == LNET_NIDNET(LNET_NID_ANY)) in lnet_del_route()
502 if (!(net == LNET_NIDNET(LNET_NID_ANY) || in lnet_del_route()
510 if (!(gw_nid == LNET_NID_ANY || in lnet_del_route()
539 if (net == LNET_NIDNET(LNET_NID_ANY) && in lnet_del_route()
552 lnet_del_route(LNET_NIDNET(LNET_NID_ANY), LNET_NID_ANY); in lnet_destroy_routes()
658 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()
991 rc = LNetGet(LNET_NID_ANY, mdh, id, LNET_RESERVED_PORTAL, in lnet_ping_router_locked()
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()
707 if (net == LNET_NIDNET(LNET_NID_ANY) || in lnet_parse_route()
717 if (nid == LNET_NID_ANY || in lnet_parse_route()
733 LASSERT(net != LNET_NIDNET(LNET_NID_ANY)); in lnet_parse_route()
738 LASSERT(nid != LNET_NID_ANY); in lnet_parse_route()
945 if (net == LNET_NIDNET(LNET_NID_ANY)) { in lnet_splitnets()
1044 LASSERT(net1 != LNET_NIDNET(LNET_NID_ANY)); in lnet_match_networks()
1050 LASSERT(net2 != LNET_NIDNET(LNET_NID_ANY)); in lnet_match_networks()
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()
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()
1208 cpt = lnet_cpt_of_nid(rtr_nid == LNET_NID_ANY ? dst_nid : rtr_nid); in lnet_send()
1217 if (src_nid == LNET_NID_ANY) { in lnet_send()
1250 LASSERT(src_nid != LNET_NID_ANY); in lnet_send()
1324 LASSERT(src_nid != LNET_NID_ANY); in lnet_send()
1488 rc = lnet_send(ni->ni_nid, msg, LNET_NID_ANY); in lnet_parse_get()
2135 rc = lnet_send(self, msg, LNET_NID_ANY); in LNetPut()
2328 rc = lnet_send(self, msg, LNET_NID_ANY); in LNetGet()
Dapi-ni.c693 lnet_fail_nid(LNET_NID_ANY, 0); in lnet_unprepare()
1681 id.nid = LNET_NID_ANY; in lnet_ping_target_init()
1784 id.nid == LNET_NID_ANY || in lnet_ping()
1818 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.c172 rule->sr_netid = LNET_NIDNET(LNET_NID_ANY); in sptlrpc_rule_init()
204 if (rule->sr_netid == LNET_NIDNET(LNET_NID_ANY)) { in sptlrpc_parse_rule()
294 return (rule->sr_netid != LNET_NIDNET(LNET_NID_ANY)); in rule_spec_net()
414 if (LNET_NIDNET(nid) != LNET_NIDNET(LNET_NID_ANY) && in sptlrpc_rule_set_choose()
415 r->sr_netid != LNET_NIDNET(LNET_NID_ANY) && in sptlrpc_rule_set_choose()
Dniobuf.c686 static lnet_process_id_t match_id = {LNET_NID_ANY, LNET_PID_ANY}; in ptlrpc_register_rqbd()
Dpack_generic.c2409 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()
458 if (id.nid == LNET_NID_ANY || in ksocknal_add_peer()
579 if (id.nid != LNET_NID_ANY) in ksocknal_del_peer()
594 if (!((id.nid == LNET_NID_ANY || peer->ksnp_id.nid == id.nid) && in ksocknal_del_peer()
1103 peerid.nid = LNET_NID_ANY; in ksocknal_create_conn()
1116 LASSERT (peerid.nid != LNET_NID_ANY); in ksocknal_create_conn()
1735 if (id.nid != LNET_NID_ANY) in ksocknal_close_matching_conns()
1748 if (!((id.nid == LNET_NID_ANY || id.nid == peer->ksnp_id.nid) && in ksocknal_close_matching_conns()
1759 if (id.nid == LNET_NID_ANY || id.pid == LNET_PID_ANY || ipaddr == 0) in ksocknal_close_matching_conns()
1906 if (!((id.nid == LNET_NID_ANY || in ksocknal_push()
[all …]
Dsocklnd_cb.c1780 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.c281 if (msg->ibm_srcnid == LNET_NID_ANY) { in kiblnd_unpack_msg()
336 LASSERT(nid != LNET_NID_ANY); in kiblnd_create_peer()
507 if (nid != LNET_NID_ANY) { in kiblnd_del_peer()
524 if (!(nid == LNET_NID_ANY || peer->ibp_nid == nid)) in kiblnd_del_peer()
988 if (nid != LNET_NID_ANY) in kiblnd_close_matching_conns()
1006 if (!(nid == LNET_NID_ANY || nid == peer->ibp_nid)) in kiblnd_close_matching_conns()
1016 if (nid == LNET_NID_ANY) in kiblnd_close_matching_conns()
2824 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};
380 if (request->str_sid.ses_nid == LNET_NID_ANY) { in sfw_get_stats()
421 if (request->mksn_sid.ses_nid == LNET_NID_ANY) { in sfw_make_session()
489 if (request->rmsn_sid.ses_nid == LNET_NID_ANY) { in sfw_remove_session()
1134 request->tsr_sid.ses_nid == LNET_NID_ANY || in sfw_add_test()
Dconsole.c78 LASSERT (id.nid != LNET_NID_ANY); in lstcon_node_find()
148 if (id.nid == LNET_NID_ANY) in lstcon_ndlink_find()
1170 LASSERT (nd->nd_id.nid != LNET_NID_ANY); in lstcon_testrpc_condition()
1913 if (console_session.ses_id.ses_nid == LNET_NID_ANY) { in lstcon_acceptor_handle()
1923 if (jreq->join_sid.ses_nid != LNET_NID_ANY && in lstcon_acceptor_handle()
Drpc.c452 LNET_NID_ANY, mdh, ev); in srpc_post_active_rqtbuf()
461 any.nid = LNET_NID_ANY; in srpc_post_passive_rqtbuf()
Dconrpc.c413 if (rep->sid.ses_nid == LNET_NID_ANY) in lstcon_rpc_get_reply()
/drivers/staging/lustre/lustre/obdclass/
Dobd_config.c205 if (*nid != LNET_NID_ANY) in parse_nid()
Dlprocfs_status.c1672 if (!nid || *nid == LNET_NID_ANY) in lprocfs_exp_setup()