new_mem          1257 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 			   struct ttm_mem_reg *new_mem)
new_mem          1276 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 	if (!new_mem)
new_mem          1280 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 	trace_amdgpu_bo_move(abo, new_mem->mem_type, old_mem->mem_type);
new_mem           269 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h 			   struct ttm_mem_reg *new_mem);
new_mem           244 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 			     struct ttm_mem_reg *new_mem)
new_mem           249 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	*old_mem = *new_mem;
new_mem           250 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	new_mem->mm_node = NULL;
new_mem           427 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 			    struct ttm_mem_reg *new_mem,
new_mem           438 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	dst.mem = new_mem;
new_mem           443 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 				       new_mem->num_pages << PAGE_SHIFT,
new_mem           466 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		r = ttm_bo_move_accel_cleanup(bo, fence, true, new_mem);
new_mem           468 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		r = ttm_bo_pipeline_move(bo, fence, evict, new_mem);
new_mem           486 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 				struct ttm_mem_reg *new_mem)
new_mem           498 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	tmp_mem = *new_mem;
new_mem           532 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	r = ttm_bo_move_ttm(bo, ctx, new_mem);
new_mem           545 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 				struct ttm_mem_reg *new_mem)
new_mem           557 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	tmp_mem = *new_mem;
new_mem           579 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	r = amdgpu_move_blit(bo, evict, ctx->no_wait_gpu, new_mem, old_mem);
new_mem           619 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 			  struct ttm_mem_reg *new_mem)
new_mem           634 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		amdgpu_move_null(bo, new_mem);
new_mem           638 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	     new_mem->mem_type == TTM_PL_SYSTEM) ||
new_mem           640 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	     new_mem->mem_type == TTM_PL_TT)) {
new_mem           642 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		amdgpu_move_null(bo, new_mem);
new_mem           648 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	    new_mem->mem_type == AMDGPU_PL_GDS ||
new_mem           649 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	    new_mem->mem_type == AMDGPU_PL_GWS ||
new_mem           650 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	    new_mem->mem_type == AMDGPU_PL_OA) {
new_mem           652 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		amdgpu_move_null(bo, new_mem);
new_mem           662 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	    new_mem->mem_type == TTM_PL_SYSTEM) {
new_mem           663 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		r = amdgpu_move_vram_ram(bo, evict, ctx, new_mem);
new_mem           665 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		   new_mem->mem_type == TTM_PL_VRAM) {
new_mem           666 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		r = amdgpu_move_ram_vram(bo, evict, ctx, new_mem);
new_mem           669 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 				     new_mem, old_mem);
new_mem           676 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		    !amdgpu_mem_visible(adev, new_mem)) {
new_mem           681 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 		r = ttm_bo_move_memcpy(bo, ctx, new_mem);
new_mem           687 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	    new_mem->mem_type == TTM_PL_VRAM &&
new_mem          1096 drivers/gpu/drm/nouveau/nouveau_bo.c 	struct nouveau_mem *new_mem = nouveau_mem(reg);
new_mem          1105 drivers/gpu/drm/nouveau/nouveau_bo.c 	ret = nvif_vmm_get(vmm, LAZY, false, new_mem->mem.page, 0,
new_mem          1106 drivers/gpu/drm/nouveau/nouveau_bo.c 			   new_mem->mem.size, &old_mem->vma[1]);
new_mem          1114 drivers/gpu/drm/nouveau/nouveau_bo.c 	ret = nouveau_mem_map(new_mem, vmm, &old_mem->vma[1]);
new_mem           263 drivers/gpu/drm/qxl/qxl_ttm.c 			     struct ttm_mem_reg *new_mem)
new_mem           268 drivers/gpu/drm/qxl/qxl_ttm.c 	*old_mem = *new_mem;
new_mem           269 drivers/gpu/drm/qxl/qxl_ttm.c 	new_mem->mm_node = NULL;
new_mem           274 drivers/gpu/drm/qxl/qxl_ttm.c 		       struct ttm_mem_reg *new_mem)
new_mem           284 drivers/gpu/drm/qxl/qxl_ttm.c 		qxl_move_null(bo, new_mem);
new_mem           287 drivers/gpu/drm/qxl/qxl_ttm.c 	return ttm_bo_move_memcpy(bo, ctx, new_mem);
new_mem           292 drivers/gpu/drm/qxl/qxl_ttm.c 			       struct ttm_mem_reg *new_mem)
new_mem           303 drivers/gpu/drm/qxl/qxl_ttm.c 		qxl_surface_evict(qdev, qbo, new_mem ? true : false);
new_mem           778 drivers/gpu/drm/radeon/radeon_object.c 			   struct ttm_mem_reg *new_mem)
new_mem           790 drivers/gpu/drm/radeon/radeon_object.c 	if (!new_mem)
new_mem           794 drivers/gpu/drm/radeon/radeon_object.c 	radeon_update_memory_usage(rbo, new_mem->mem_type, 1);
new_mem           154 drivers/gpu/drm/radeon/radeon_object.h 				  struct ttm_mem_reg *new_mem);
new_mem           192 drivers/gpu/drm/radeon/radeon_ttm.c 			     struct ttm_mem_reg *new_mem)
new_mem           197 drivers/gpu/drm/radeon/radeon_ttm.c 	*old_mem = *new_mem;
new_mem           198 drivers/gpu/drm/radeon/radeon_ttm.c 	new_mem->mm_node = NULL;
new_mem           203 drivers/gpu/drm/radeon/radeon_ttm.c 			struct ttm_mem_reg *new_mem,
new_mem           215 drivers/gpu/drm/radeon/radeon_ttm.c 	new_start = (u64)new_mem->start << PAGE_SHIFT;
new_mem           228 drivers/gpu/drm/radeon/radeon_ttm.c 	switch (new_mem->mem_type) {
new_mem           246 drivers/gpu/drm/radeon/radeon_ttm.c 	num_pages = new_mem->num_pages * (PAGE_SIZE / RADEON_GPU_PAGE_SIZE);
new_mem           251 drivers/gpu/drm/radeon/radeon_ttm.c 	r = ttm_bo_move_accel_cleanup(bo, &fence->base, evict, new_mem);
new_mem           259 drivers/gpu/drm/radeon/radeon_ttm.c 				struct ttm_mem_reg *new_mem)
new_mem           268 drivers/gpu/drm/radeon/radeon_ttm.c 	tmp_mem = *new_mem;
new_mem           295 drivers/gpu/drm/radeon/radeon_ttm.c 	r = ttm_bo_move_ttm(bo, &ctx, new_mem);
new_mem           304 drivers/gpu/drm/radeon/radeon_ttm.c 				struct ttm_mem_reg *new_mem)
new_mem           313 drivers/gpu/drm/radeon/radeon_ttm.c 	tmp_mem = *new_mem;
new_mem           330 drivers/gpu/drm/radeon/radeon_ttm.c 	r = radeon_move_blit(bo, true, no_wait_gpu, new_mem, old_mem);
new_mem           341 drivers/gpu/drm/radeon/radeon_ttm.c 			  struct ttm_mem_reg *new_mem)
new_mem           359 drivers/gpu/drm/radeon/radeon_ttm.c 		radeon_move_null(bo, new_mem);
new_mem           363 drivers/gpu/drm/radeon/radeon_ttm.c 	     new_mem->mem_type == TTM_PL_SYSTEM) ||
new_mem           365 drivers/gpu/drm/radeon/radeon_ttm.c 	     new_mem->mem_type == TTM_PL_TT)) {
new_mem           367 drivers/gpu/drm/radeon/radeon_ttm.c 		radeon_move_null(bo, new_mem);
new_mem           377 drivers/gpu/drm/radeon/radeon_ttm.c 	    new_mem->mem_type == TTM_PL_SYSTEM) {
new_mem           379 drivers/gpu/drm/radeon/radeon_ttm.c 					ctx->no_wait_gpu, new_mem);
new_mem           381 drivers/gpu/drm/radeon/radeon_ttm.c 		   new_mem->mem_type == TTM_PL_VRAM) {
new_mem           383 drivers/gpu/drm/radeon/radeon_ttm.c 					    ctx->no_wait_gpu, new_mem);
new_mem           386 drivers/gpu/drm/radeon/radeon_ttm.c 				     new_mem, old_mem);
new_mem           391 drivers/gpu/drm/radeon/radeon_ttm.c 		r = ttm_bo_move_memcpy(bo, ctx, new_mem);
new_mem            55 drivers/gpu/drm/ttm/ttm_bo_util.c 		    struct ttm_mem_reg *new_mem)
new_mem            77 drivers/gpu/drm/ttm/ttm_bo_util.c 	ret = ttm_tt_set_placement_caching(ttm, new_mem->placement);
new_mem            81 drivers/gpu/drm/ttm/ttm_bo_util.c 	if (new_mem->mem_type != TTM_PL_SYSTEM) {
new_mem            82 drivers/gpu/drm/ttm/ttm_bo_util.c 		ret = ttm_tt_bind(ttm, new_mem, ctx);
new_mem            87 drivers/gpu/drm/ttm/ttm_bo_util.c 	*old_mem = *new_mem;
new_mem            88 drivers/gpu/drm/ttm/ttm_bo_util.c 	new_mem->mm_node = NULL;
new_mem           358 drivers/gpu/drm/ttm/ttm_bo_util.c 		       struct ttm_mem_reg *new_mem)
new_mem           361 drivers/gpu/drm/ttm/ttm_bo_util.c 	struct ttm_mem_type_manager *man = &bdev->man[new_mem->mem_type];
new_mem           380 drivers/gpu/drm/ttm/ttm_bo_util.c 	ret = ttm_mem_reg_ioremap(bdev, new_mem, &new_iomap);
new_mem           396 drivers/gpu/drm/ttm/ttm_bo_util.c 		memset_io(new_iomap, 0, new_mem->num_pages*PAGE_SIZE);
new_mem           412 drivers/gpu/drm/ttm/ttm_bo_util.c 	if ((old_mem->mem_type == new_mem->mem_type) &&
new_mem           413 drivers/gpu/drm/ttm/ttm_bo_util.c 	    (new_mem->start < old_mem->start + old_mem->size)) {
new_mem           415 drivers/gpu/drm/ttm/ttm_bo_util.c 		add = new_mem->num_pages - 1;
new_mem           418 drivers/gpu/drm/ttm/ttm_bo_util.c 	for (i = 0; i < new_mem->num_pages; ++i) {
new_mem           426 drivers/gpu/drm/ttm/ttm_bo_util.c 			pgprot_t prot = ttm_io_prot(new_mem->placement,
new_mem           439 drivers/gpu/drm/ttm/ttm_bo_util.c 	*old_mem = *new_mem;
new_mem           440 drivers/gpu/drm/ttm/ttm_bo_util.c 	new_mem->mm_node = NULL;
new_mem           684 drivers/gpu/drm/ttm/ttm_bo_util.c 			      struct ttm_mem_reg *new_mem)
new_mem           687 drivers/gpu/drm/ttm/ttm_bo_util.c 	struct ttm_mem_type_manager *man = &bdev->man[new_mem->mem_type];
new_mem           736 drivers/gpu/drm/ttm/ttm_bo_util.c 	*old_mem = *new_mem;
new_mem           737 drivers/gpu/drm/ttm/ttm_bo_util.c 	new_mem->mm_node = NULL;
new_mem           745 drivers/gpu/drm/ttm/ttm_bo_util.c 			 struct ttm_mem_reg *new_mem)
new_mem           751 drivers/gpu/drm/ttm/ttm_bo_util.c 	struct ttm_mem_type_manager *to = &bdev->man[new_mem->mem_type];
new_mem           828 drivers/gpu/drm/ttm/ttm_bo_util.c 	*old_mem = *new_mem;
new_mem           829 drivers/gpu/drm/ttm/ttm_bo_util.c 	new_mem->mm_node = NULL;
new_mem           188 drivers/pci/hotplug/ibmphp_res.c 	struct resource_node *new_mem = NULL;
new_mem           286 drivers/pci/hotplug/ibmphp_res.c 				new_mem = alloc_resources(curr);
new_mem           287 drivers/pci/hotplug/ibmphp_res.c 				if (!new_mem)
new_mem           289 drivers/pci/hotplug/ibmphp_res.c 				new_mem->type = MEM;
new_mem           297 drivers/pci/hotplug/ibmphp_res.c 				if (ibmphp_add_resource(new_mem) < 0) {
new_mem           301 drivers/pci/hotplug/ibmphp_res.c 					newbus->firstMem = new_mem;
new_mem           303 drivers/pci/hotplug/ibmphp_res.c 					new_mem->rangeno = -1;
new_mem           305 drivers/pci/hotplug/ibmphp_res.c 				debug("Memory resource for device %x, bus %x, [%x - %x]\n", new_mem->devfunc, new_mem->busno, new_mem->start, new_mem->end);
new_mem           548 drivers/vfio/pci/vfio_pci_config.c 		bool phys_mem, virt_mem, new_mem, phys_io, virt_io, new_io;
new_mem           559 drivers/vfio/pci/vfio_pci_config.c 		new_mem = !!(new_cmd & PCI_COMMAND_MEMORY);
new_mem           573 drivers/vfio/pci/vfio_pci_config.c 		if ((new_mem && virt_mem && !phys_mem) ||
new_mem           312 include/drm/ttm/ttm_bo_driver.h 		    struct ttm_mem_reg *new_mem);
new_mem           338 include/drm/ttm/ttm_bo_driver.h 			    struct ttm_mem_reg *new_mem);
new_mem           817 include/drm/ttm/ttm_bo_driver.h 		    struct ttm_mem_reg *new_mem);
new_mem           839 include/drm/ttm/ttm_bo_driver.h 		       struct ttm_mem_reg *new_mem);
new_mem           867 include/drm/ttm/ttm_bo_driver.h 			      struct ttm_mem_reg *new_mem);
new_mem           882 include/drm/ttm/ttm_bo_driver.h 			 struct ttm_mem_reg *new_mem);