Lines Matching refs:meminfo
3470 struct cudbg_meminfo meminfo; in meminfo_show() local
3473 memset(&meminfo, 0, sizeof(struct cudbg_meminfo)); in meminfo_show()
3474 rc = cudbg_fill_meminfo(adap, &meminfo); in meminfo_show()
3478 for (i = 0; i < meminfo.avail_c; i++) in meminfo_show()
3479 mem_region_show(seq, memory[meminfo.avail[i].idx], in meminfo_show()
3480 meminfo.avail[i].base, in meminfo_show()
3481 meminfo.avail[i].limit - 1); in meminfo_show()
3484 for (i = 0; i < meminfo.mem_c; i++) { in meminfo_show()
3485 if (meminfo.mem[i].idx >= ARRAY_SIZE(cudbg_region)) in meminfo_show()
3487 if (!meminfo.mem[i].limit) in meminfo_show()
3488 meminfo.mem[i].limit = in meminfo_show()
3489 i < meminfo.mem_c - 1 ? in meminfo_show()
3490 meminfo.mem[i + 1].base - 1 : ~0; in meminfo_show()
3491 mem_region_show(seq, cudbg_region[meminfo.mem[i].idx], in meminfo_show()
3492 meminfo.mem[i].base, meminfo.mem[i].limit); in meminfo_show()
3496 mem_region_show(seq, "uP RAM:", meminfo.up_ram_lo, meminfo.up_ram_hi); in meminfo_show()
3497 mem_region_show(seq, "uP Extmem2:", meminfo.up_extmem2_lo, in meminfo_show()
3498 meminfo.up_extmem2_hi); in meminfo_show()
3501 meminfo.rx_pages_data[0], meminfo.free_rx_cnt, in meminfo_show()
3502 meminfo.rx_pages_data[1], meminfo.rx_pages_data[2]); in meminfo_show()
3505 meminfo.tx_pages_data[0], meminfo.free_tx_cnt, in meminfo_show()
3506 meminfo.tx_pages_data[1], meminfo.tx_pages_data[2], in meminfo_show()
3507 meminfo.tx_pages_data[3]); in meminfo_show()
3510 meminfo.p_structs, meminfo.p_structs_free_cnt); in meminfo_show()
3515 i, meminfo.port_used[i], meminfo.port_alloc[i]); in meminfo_show()
3521 i, meminfo.loopback_used[i], in meminfo_show()
3522 meminfo.loopback_alloc[i]); in meminfo_show()
3526 DEFINE_SHOW_ATTRIBUTE(meminfo);