Lines Matching refs:hub_buf
25 static struct uv_bios_hub_info *hub_buf; variable
232 sz = uv_bios_obj_cnt * sizeof(*hub_buf); in uv_hubs_init()
233 hub_buf = kzalloc(sz, GFP_KERNEL); in uv_hubs_init()
234 if (!hub_buf) { in uv_hubs_init()
239 biosr = uv_bios_enum_objs((u64)uv_master_nasid, sz, (u64 *)hub_buf); in uv_hubs_init()
259 uv_hubs[i]->hub_info = &hub_buf[i]; in uv_hubs_init()
265 NULL, "hub_%u", hub_buf[i].id); in uv_hubs_init()
277 kfree(hub_buf); in uv_hubs_init()
294 kfree(hub_buf); in uv_hubs_exit()
376 sz = hub_buf[j].ports * sizeof(*port_buf[j]); in uv_ports_init()
383 biosr = uv_bios_enum_ports((u64)uv_master_nasid, (u64)hub_buf[j].id, sz, in uv_ports_init()
391 uv_hubs[j]->ports = kcalloc(hub_buf[j].ports, in uv_ports_init()
400 for (k = 0; k < hub_buf[j].ports; k++) { in uv_ports_init()
422 k = hub_buf[j-1].ports - 1; in uv_ports_init()
441 for (k = hub_buf[j].ports - 1; k >= 0; k--) in uv_ports_exit()