/drivers/staging/lustre/lnet/lnet/ |
D | config.c | 257 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()
|
D | router.c | 306 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()
|
D | lib-msg.c | 74 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()
|
D | nidstrings.c | 1131 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()
|
D | lib-move.c | 84 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()
|
D | api-ni.c | 617 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()
|
D | lib-ptl.c | 54 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/ |
D | sec_config.c | 150 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()
|
D | niobuf.c | 682 static lnet_process_id_t match_id = {LNET_NID_ANY, LNET_PID_ANY}; in ptlrpc_register_rqbd()
|
D | pack_generic.c | 2172 lnet_nid_t nid = LNET_NID_ANY; in _debug_req()
|
/drivers/staging/lustre/lnet/klnds/socklnd/ |
D | socklnd.c | 108 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 …]
|
D | socklnd_cb.c | 1772 if (hello->kshm_src_nid == LNET_NID_ANY) { in ksocknal_recv_hello()
|
/drivers/staging/lustre/include/linux/lnet/ |
D | types.h | 67 #define LNET_NID_ANY ((lnet_nid_t) -1) macro
|
/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd.c | 276 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/ |
D | framework.c | 46 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()
|
D | console.c | 77 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()
|
D | rpc.c | 453 LNET_NID_ANY, mdh, ev); in srpc_post_active_rqtbuf() 462 any.nid = LNET_NID_ANY; in srpc_post_passive_rqtbuf()
|
D | conrpc.c | 412 if (rep->sid.ses_nid == LNET_NID_ANY) in lstcon_rpc_get_reply()
|
/drivers/staging/lustre/lustre/obdclass/ |
D | obd_config.c | 94 if (*nid != LNET_NID_ANY) in parse_nid()
|