Lines Matching defs:list
15 * copyright notice, this list of conditions and the following
19 * copyright notice, this list of conditions and the following
149 struct guid_trid *list, unsigned cnt)
166 rereg_port_gid(port, agent, dport, umad, len, list[i].gid);
169 " failed\n", ntohll(list[i].guid));
172 list[i].trid = mad_get_field64(umad_get_mad(umad), 0,
207 struct guid_trid *list, unsigned cnt)
239 if (trid == list[i].trid)
248 ntohll(list[i].guid), method, status);
250 list[i].gid);
251 list[i].trid =
264 struct guid_trid *list, unsigned cnt)
282 IB_MAD_METHOD_GET, list[i].gid);
301 ntohll(list[i].guid), status, method);
320 struct guid_trid *list;
323 list = calloc(MAX_CLIENTS, sizeof(*list));
324 if (!list) {
325 err("cannot alloc mem for guid/trid list: %s\n",
342 list[i].guid = guid;
343 memcpy(list[i].gid, port_gid, sizeof(list[i].gid));
344 list[i].trid = 0;
350 rereg_send_all(port, agent, dport, list, i);
351 rereg_recv_all(port, agent, dport, list, i);
353 rereg_query_all(port, agent, dport, list, i);
355 free(list);
361 char *guid_file = "port_guids.list";