Lines Matching refs:mem
171 struct ttm_mem_reg *mem) in ttm_bo_man_get_node() argument
173 mem->mm_node = (void *)1; in ttm_bo_man_get_node()
178 struct ttm_mem_reg *mem) in ttm_bo_man_put_node() argument
180 mem->mm_node = (void *)NULL; in ttm_bo_man_put_node()
258 struct ttm_mem_reg *mem) in virtio_gpu_ttm_io_mem_reserve() argument
260 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type]; in virtio_gpu_ttm_io_mem_reserve()
262 mem->bus.addr = NULL; in virtio_gpu_ttm_io_mem_reserve()
263 mem->bus.offset = 0; in virtio_gpu_ttm_io_mem_reserve()
264 mem->bus.size = mem->num_pages << PAGE_SHIFT; in virtio_gpu_ttm_io_mem_reserve()
265 mem->bus.base = 0; in virtio_gpu_ttm_io_mem_reserve()
266 mem->bus.is_iomem = false; in virtio_gpu_ttm_io_mem_reserve()
269 switch (mem->mem_type) { in virtio_gpu_ttm_io_mem_reserve()
281 struct ttm_mem_reg *mem) in virtio_gpu_ttm_io_mem_free() argument
366 struct ttm_mem_reg *old_mem = &bo->mem; in virtio_gpu_move_null()