/src/sys/external/bsd/drm2/dist/drm/ttm/ |
ttm_bo_util.c | 65 struct ttm_mem_reg *new_mem) 87 ret = ttm_tt_set_placement_caching(ttm, new_mem->placement); 91 if (new_mem->mem_type != TTM_PL_SYSTEM) { 92 ret = ttm_tt_bind(ttm, new_mem, ctx); 97 *old_mem = *new_mem; 98 new_mem->mm_node = NULL; 415 struct ttm_mem_reg *new_mem) 418 struct ttm_mem_type_manager *man = &bdev->man[new_mem->mem_type]; 437 ret = ttm_mem_reg_ioremap(bdev, new_mem, &new_iomap); 453 memset_io(new_iomap, 0, new_mem->num_pages*PAGE_SIZE) [all...] |
/src/sys/external/bsd/drm2/dist/drm/qxl/ |
qxl_ttm.c | 219 struct ttm_mem_reg *new_mem) 224 *old_mem = *new_mem; 225 new_mem->mm_node = NULL; 230 struct ttm_mem_reg *new_mem) 240 qxl_move_null(bo, new_mem); 243 return ttm_bo_move_memcpy(bo, ctx, new_mem); 248 struct ttm_mem_reg *new_mem) 259 qxl_surface_evict(qdev, qbo, new_mem ? true : false);
|
/src/sys/external/bsd/drm2/dist/include/drm/ttm/ |
ttm_bo_driver.h | 317 * @new_mem: the new memory region receiving the buffer 323 struct ttm_mem_reg *new_mem); 349 struct ttm_mem_reg *new_mem); 816 * @new_mem: struct ttm_mem_reg indicating where to move. 820 * free any old aperture space, and set (@new_mem)->mm_node to NULL, 823 * memory space indicated by @new_mem. 830 struct ttm_mem_reg *new_mem); 838 * @new_mem: struct ttm_mem_reg indicating where to move. 842 * free any old aperture space, and set (@new_mem)->mm_node to NULL, 845 * memory space indicated by @new_mem [all...] |
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_ttm.c | 209 struct ttm_mem_reg *new_mem) 214 *old_mem = *new_mem; 215 new_mem->mm_node = NULL; 220 struct ttm_mem_reg *new_mem, 232 new_start = (u64)new_mem->start << PAGE_SHIFT; 245 switch (new_mem->mem_type) { 263 num_pages = new_mem->num_pages * (PAGE_SIZE / RADEON_GPU_PAGE_SIZE); 268 r = ttm_bo_move_accel_cleanup(bo, &fence->base, evict, new_mem); 276 struct ttm_mem_reg *new_mem) 285 tmp_mem = *new_mem; [all...] |
radeon_object.h | 156 struct ttm_mem_reg *new_mem);
|
radeon_object.c | 793 struct ttm_mem_reg *new_mem) 805 if (!new_mem) 809 radeon_update_memory_usage(rbo, new_mem->mem_type, 1);
|
/src/sys/arch/sun3/sun3/ |
dvma.c | 119 void *new_mem; local in function:dvma_malloc 125 new_mem = (void *)uvm_km_alloc(phys_map, new_size, 0, UVM_KMF_WIRED); 126 if (new_mem == 0) 129 return new_mem;
|
/src/sys/arch/sun3/sun3x/ |
dvma.c | 264 void *new_mem, *dvma_mem; local in function:dvma_malloc 270 new_mem = (void *)uvm_km_alloc(kernel_map, new_size, 0, UVM_KMF_WIRED); 271 if (new_mem == 0) 273 dvma_mem = dvma_mapin(new_mem, new_size, 1);
|
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_ttm.c | 254 * @new_mem: The memory to be assigned. 256 * Assign the memory from new_mem to the memory of the buffer object bo. 259 struct ttm_mem_reg *new_mem) 264 *old_mem = *new_mem; 265 new_mem->mm_node = NULL; 442 struct ttm_mem_reg *new_mem, 453 dst.mem = new_mem; 458 new_mem->num_pages << PAGE_SHIFT, 481 r = ttm_bo_move_accel_cleanup(bo, fence, true, new_mem); 483 r = ttm_bo_pipeline_move(bo, fence, evict, new_mem); [all...] |
amdgpu_object.h | 279 struct ttm_mem_reg *new_mem);
|
amdgpu_object.c | 1272 * @new_mem: new information of the bufer object 1280 struct ttm_mem_reg *new_mem) 1299 if (!new_mem) 1303 trace_amdgpu_bo_move(abo, new_mem->mem_type, old_mem->mem_type);
|
/src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
asan_interceptors.cc | 448 void *new_mem = asan_malloc(length + 1, &stack); local in function:INTERCEPTOR 449 REAL(memcpy)(new_mem, s, length + 1); 450 return reinterpret_cast<char*>(new_mem); 464 void *new_mem = asan_malloc(length + 1, &stack); local in function:INTERCEPTOR 465 REAL(memcpy)(new_mem, s, length + 1); 466 return reinterpret_cast<char*>(new_mem);
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/ |
nouveau_bo.c | 1185 struct nouveau_mem *new_mem = nouveau_mem(reg); local in function:nouveau_bo_move_prep 1194 ret = nvif_vmm_get(vmm, LAZY, false, new_mem->mem.page, 0, 1195 new_mem->mem.size, &old_mem->vma[1]); 1203 ret = nouveau_mem_map(new_mem, vmm, &old_mem->vma[1]);
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_common_interceptors.inc | 294 char *new_mem = (char *)WRAP(malloc)(copy_length + 1); \ 298 COMMON_INTERCEPTOR_COPY_STRING(ctx, new_mem, s, copy_length); \ 299 internal_memcpy(new_mem, s, copy_length); \ 300 new_mem[copy_length] = '\0'; \ 301 return new_mem;
|