Lines Matching refs:mc_idx
1236 u8 mc_idx; in cudbg_get_mem_relative() local
1239 rc = cudbg_meminfo_get_mem_index(padap, meminfo, mem_type, &mc_idx); in cudbg_get_mem_relative()
1243 if (*out_base < meminfo->avail[mc_idx].base) in cudbg_get_mem_relative()
1246 *out_base -= meminfo->avail[mc_idx].base; in cudbg_get_mem_relative()
1248 if (*out_end > meminfo->avail[mc_idx].limit) in cudbg_get_mem_relative()
1249 *out_end = meminfo->avail[mc_idx].limit; in cudbg_get_mem_relative()
1251 *out_end -= meminfo->avail[mc_idx].base; in cudbg_get_mem_relative()
1465 u8 mc_idx; in cudbg_mem_region_size() local
1476 rc = cudbg_meminfo_get_mem_index(padap, &mem_info, mem_type, &mc_idx); in cudbg_mem_region_size()
1483 *region_size = mem_info.avail[mc_idx].limit - in cudbg_mem_region_size()
1484 mem_info.avail[mc_idx].base; in cudbg_mem_region_size()