Searched refs:lid (Results 1 - 25 of 150) sorted by relevance

123456

/freebsd-current/contrib/bc/tests/dc/errors/
H A D25.txt2 0si[lid:rli1;rd:rli1;rpRli1+sili10>x]dsxx0sx0si
4 si[lid:rli1;rd:rli1;rpRli1+sili10>x]dsxx0sx0si
/freebsd-current/contrib/ofed/opensm/opensm/
H A Dosm_lid_mgr.c43 * p_subn->port_lid_tbl : a vector pointing from lid to its port.
44 * osm db guid2lid domain : a hash from guid to lid (min lid).
49 * 0. we define a function to obtain the correct port lid:
51 * 0.1 if the port info lid matches the guid2lid return 0
52 * 0.2 if the port info has a lid and that range is empty in
64 * 2. During SM port lid assignment:
70 * 3. During all other ports lid assignment:
101 lid range item of qlist
127 Validate the guid to lid dat
135 uint16_t lid; local
277 trim_lid(IN uint16_t lid) argument
302 uint16_t lmc_mask, req_lid, num_lids, lid; local
576 lid_mgr_is_range_not_persistent(IN osm_lid_mgr_t * p_mgr, IN uint16_t lid, IN uint16_t num_lids) argument
597 uint16_t lid; local
659 uint16_t lid, min_lid, max_lid; local
685 uint16_t lid, min_lid, max_lid; local
802 lid_mgr_set_physp_pi(IN osm_lid_mgr_t * p_mgr, IN osm_port_t * p_port, IN osm_physp_t * p_physp, IN ib_net16_t lid) argument
[all...]
H A Dosm_ucast_file.c58 static uint16_t remap_lid(osm_opensm_t * p_osm, uint16_t lid, ib_net64_t guid) argument
68 " , will use the same lid\n", cl_ntoh64(guid));
69 return lid;
73 if (min_lid <= lid && lid <= max_lid)
74 return lid;
77 return min_lid + (lid & ((1 << lmc) - 1));
81 osm_switch_t * p_sw, uint16_t lid, uint8_t port_num,
87 new_lid = port_guid ? remap_lid(p_osm, lid, port_guid) : lid;
80 add_path(osm_opensm_t * p_osm, osm_switch_t * p_sw, uint16_t lid, uint8_t port_num, ib_net64_t port_guid) argument
109 add_lid_hops(osm_opensm_t * p_osm, osm_switch_t * p_sw, uint16_t lid, ib_net64_t guid, uint8_t hops[], unsigned len) argument
130 uint16_t lid; local
273 uint16_t lid; local
[all...]
H A Dosm_sa_slvl_record.c79 uint16_t lid; local
91 lid = p_physp->port_info.base_lid;
93 lid = osm_node_get_base_lid(p_physp->p_node, 0);
97 ", lid 0x%X, port %u to In Port:%u\n",
99 cl_ntoh16(lid), osm_physp_get_port_num(p_physp), in_port_idx);
103 p_rec_item->resp.slvl_rec.lid = lid;
262 cl_ntoh16(p_rcvd_rec->lid),
274 p_port = osm_get_port_by_lid(sa->p_subn, p_rcvd_rec->lid);
279 cl_ntoh16(p_rcvd_rec->lid));
[all...]
H A Dosm_sa_vlarb_record.c79 uint16_t lid; local
91 lid = p_physp->port_info.base_lid;
93 lid = osm_node_get_base_lid(p_physp->p_node, 0);
97 ", lid %u, port %u Block:%u\n",
99 cl_ntoh16(lid), osm_physp_get_port_num(p_physp), block);
103 p_rec_item->resp.vlarb_rec.lid = lid;
269 cl_ntoh16(p_rcvd_rec->lid),
280 p_port = osm_get_port_by_lid(sa->p_subn, p_rcvd_rec->lid);
285 cl_ntoh16(p_rcvd_rec->lid));
[all...]
H A Dosm_sa_mft_record.c73 IN ib_net16_t lid, IN uint16_t block,
92 "\n\t\t\t\tblock %u position %u lid %u\n",
94 block, position, cl_ntoh16(lid));
101 p_rec_item->resp.mft_rec.lid = lid;
159 "Comparing lid:%u to port lid range: %u .. %u\n",
160 cl_ntoh16(p_rcvd_rec->lid), min_lid_ho, max_lid_ho);
162 if (min_lid_ho > cl_ntoh16(p_rcvd_rec->lid) ||
163 max_lid_ho < cl_ntoh16(p_rcvd_rec->lid))
70 mftr_rcv_new_mftr(IN osm_sa_t * sa, IN osm_switch_t * p_sw, IN cl_qlist_t * p_list, IN ib_net16_t lid, IN uint16_t block, IN uint8_t position) argument
[all...]
H A Dosm_sa_lft_record.c73 IN ib_net16_t lid, IN uint16_t block)
90 "\n\t\t\t\tblock 0x%02X lid %u\n",
92 block, cl_ntoh16(lid));
96 p_rec_item->resp.lft_rec.lid = lid;
152 "Comparing lid:%u to port lid range: %u .. %u\n",
153 cl_ntoh16(p_rcvd_rec->lid), min_lid_ho, max_lid_ho);
155 if (min_lid_ho > cl_ntoh16(p_rcvd_rec->lid) ||
156 max_lid_ho < cl_ntoh16(p_rcvd_rec->lid))
70 lftr_rcv_new_lftr(IN osm_sa_t * sa, IN const osm_switch_t * p_sw, IN cl_qlist_t * p_list, IN ib_net16_t lid, IN uint16_t block) argument
[all...]
H A Dosm_sa_pkey_record.c72 uint16_t lid; local
85 lid = p_physp->port_info.base_lid;
87 lid = osm_node_get_base_lid(p_physp->p_node, 0);
91 ", lid %u, port %u Block:%u\n",
93 cl_ntoh16(lid), osm_physp_get_port_num(p_physp), block);
97 p_rec_item->resp.pkey_rec.lid = lid;
289 cl_ntoh16(p_rcvd_rec->lid),
299 p_port = osm_get_port_by_lid(sa->p_subn, p_rcvd_rec->lid);
303 cl_ntoh16(p_rcvd_rec->lid));
[all...]
H A Dosm_trap_rcv.c87 IN ib_net16_t lid, IN uint8_t num)
89 osm_port_t *p_port = osm_get_port_by_lid(sm->p_subn, lid);
103 ib_net16_t lid; local
113 lid = (ib_net16_t) ((key & 0x0000FFFF00000000ULL) >> 32);
118 p_physp = get_physp_by_lid_and_num(sm, lid, port_num);
121 "Cannot find port num:%u with lid:%u\n",
122 port_num, cl_ntoh16(lid));
127 "Clearing health bit of port num:%u with lid:%u\n",
128 port_num, cl_ntoh16(lid));
185 port_num lid cr
86 get_physp_by_lid_and_num(IN osm_sm_t * sm, IN ib_net16_t lid, IN uint8_t num) argument
189 trap_get_key(IN uint16_t lid, IN uint8_t port_num, IN ib_mad_notice_attr_t * p_ntci) argument
320 shutup_noisy_port(osm_sm_t *sm, ib_net16_t lid, uint8_t port, unsigned num) argument
[all...]
/freebsd-current/contrib/elftoolchain/libelf/
H A Dgelf_symshndx.c43 struct _Libelf_Data *ld, *lid; local
46 lid = (struct _Libelf_Data *) id;
51 if (lid == NULL || (scn = lid->d_scn) == NULL ||
96 struct _Libelf_Data *ld, *lid; local
99 lid = (struct _Libelf_Data *) id;
104 if (lid == NULL || (scn = lid->d_scn) == NULL ||
/freebsd-current/contrib/ofed/libibmad/
H A Dgs.c56 int lid = dest->lid; local
59 DEBUG("lid %u port %d", lid, port);
61 if (lid == -1) {
62 IBWARN("only lid routed is supported");
94 int lid = dest->lid; local
97 DEBUG("lid %u port %d mask 0x%x", lid, por
[all...]
H A Dresolve.c90 if (!IB_LID_VALID(sm_id->lid)) {
95 if ((portid->lid =
115 if (!IB_LID_VALID(sm_id->lid)) {
134 if ((portid->lid =
148 int lid; local
157 lid = strtol(addr_str, 0, 0);
158 if (!IB_LID_VALID(lid)) {
162 return ib_portid_set(portid, lid, 0, 0);
181 lid = strtol(addr_str, &routepath, 0);
183 if (!IB_LID_VALID(lid)) {
[all...]
H A Dportid.c50 if (portid->lid > 0)
64 if (portid->lid > 0) {
65 n += sprintf(buf + n, "Lid %d", portid->lid);
/freebsd-current/contrib/bc/tests/dc/scripts/
H A Darray.dc2 0si[lid:rli1+sili100>x]dsxxli1-si[li;rpRli1-sili0!>x]dsxxli1+si[li;rpRli1+sili100>x]dsxx
/freebsd-current/contrib/ofed/infiniband-diags/src/
H A Dibaddr.c69 mad_decode_field(portinfo, IB_PORT_LID_F, &portid->lid);
83 printf("LID start 0x%x end 0x%x", portid->lid,
84 portid->lid + (1 << lmc) - 1);
86 printf("LID start %u end %u", portid->lid,
87 portid->lid + (1 << lmc) - 1);
121 {"lid_show", 'l', 0, NULL, "show lid range only"},
122 {"Lid_show", 'L', 0, NULL, "show lid range (in decimal) only"},
125 char usage_args[] = "[<lid|dr_path|guid>]";
128 "32\t\t# show lid range and gid of lid 3
[all...]
H A Dibtracert.c83 int lid; member in struct:Port
166 mad_decode_field(pi, IB_PORT_LID_F, &port->lid);
175 static int switch_lookup(Switch * sw, ib_portid_t * portid, int lid) argument
188 if (lid >= sw->linearcap && lid > sw->linearFDBtop)
192 if (!smp_query_via(fdb, portid, IB_ATTR_LINEARFORWTBL, lid / 64,
196 DEBUG("portid %s: forward lid %d to port %d",
197 portid2str(portid), lid, sw->fdb[lid % 64]);
198 return sw->fdb[lid
744 uint16_t lid; local
[all...]
H A Dsaquery.c140 printf("%6d \"%s\"\n", cl_ntoh16(node_record->lid), name);
169 cl_ntoh16(nr->lid), cl_ntoh16(nr->resv),
191 printf("%u\n", cl_ntoh16(node_record->lid));
292 cl_ntoh16(p_pir->lid), p_pir->port_num,
308 cl_ntoh16(pir->lid), pir->port_num, pir->options);
514 cl_ntoh16(p_smr->lid),
541 cl_ntoh16(p_sir->lid),
667 cl_ntoh16(slvl->lid), slvl->in_port_num, slvl->out_port_num,
687 cl_ntoh16(vlarb->lid), vlarb->port_num, vlarb->block_num);
715 cl_ntoh16(pktr->lid), pkt
868 get_lid_from_name(struct sa_handle * h, const char *name, uint16_t * lid) argument
932 parse_lid_and_ports(struct sa_handle * h, char *str, int *lid, int *port1, int *port2) argument
1181 int lid = 0; local
1199 int lid = 0, port = -1, options = -1; local
1260 int lid = 0; local
1279 int lid = 0; local
1340 int lid = 0, in_port = -1, out_port = -1; local
1360 int lid = 0, port = -1, block = -1; local
1381 int lid = 0, port = -1, block = -1; local
1401 int lid = 0, block = -1; local
1419 int lid = 0, block = -1; local
1438 int lid = 0, block = -1, position = -1; local
[all...]
H A Dibmirror.c185 mad_set_field(buf, 0, IB_PMR_LRH_SLID_F, portid->lid);
266 peerportid.drpath.drslid = (uint16_t) selfportid.lid;
312 get_peer(portid, outport, &peerportid.lid, &peerport);
314 printf("local lid %d / port %d\n", portid->lid, outport);
315 printf("peer lid %d / port %d\n", peerportid.lid, peerport);
321 IBEXIT("get lossy config from lid %d port %d failed - not supported\n",
322 portid->lid, outport);
327 IBEXIT("get lossy config from lid
[all...]
H A Dibsendtrap.c82 n->issuer_lid = cl_hton16((uint16_t) port->lid);
91 n->issuer_lid = cl_hton16((uint16_t) port->lid);
92 n->data_details.ntc_144.lid = n->issuer_lid;
118 n->issuer_lid = cl_hton16((uint16_t) port->lid);
119 n->data_details.ntc_129_131.lid = n->issuer_lid;
129 n->issuer_lid = cl_hton16((uint16_t) port->lid);
130 n->data_details.ntc_256.lid = n->issuer_lid;
160 n->issuer_lid = cl_hton16((uint16_t) port->lid);
/freebsd-current/sys/ofed/include/rdma/
H A Dopa_smi.h69 } lid; member in union:opa_smp::__anon5821
136 return smp->route.lid.data;
144 return sizeof(smp->route.lid.data);
152 return sizeof(*smp) - sizeof(smp->route.lid.data);
/freebsd-current/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dprocset.h137 #define setprocset(psp, op, ltype, lid, rtype, rid) \
140 (psp)->p_lid = (lid); \
/freebsd-current/sys/ofed/include/uapi/rdma/
H A Dib_user_mad.h63 * @lid - Remote lid received from/to be sent to
81 __be16 lid; member in struct:ib_user_mad_hdr_old
106 * @lid - Remote lid received from/to be sent to
125 __be16 lid; member in struct:ib_user_mad_hdr
/freebsd-current/usr.sbin/periodic/etc/security/
H A D100.chksetuid54 \( -perm -u+s -or -perm -g+s \) -exec ls -lid -D "%FT%T" \{\} \+ |
H A D110.neggrpperm54 -exec ls -lid -D "%FT%T" \{\} \+ | tee /dev/stderr | wc -l)
/freebsd-current/contrib/netbsd-tests/lib/libc/sys/
H A Dt_lwp_create.c82 lwpid_t lid; \
89 error = _lwp_create(&uc, 0, &lid); \
106 lwpid_t lid; local
114 error = _lwp_create(&uc, 0, &lid);
117 error = _lwp_wait(lid, NULL);
119 ATF_REQUIRE(lid == the_lwp_id);

Completed in 243 milliseconds

123456