Home
last modified time | relevance | path

Searched refs:new_mem (Results 1 – 25 of 40) sorted by relevance

12

/netbsd-src/sys/external/bsd/drm2/dist/drm/ttm/
H A Dttm_bo_util.c65 struct ttm_mem_reg *new_mem) in ttm_bo_move_ttm() argument
87 ret = ttm_tt_set_placement_caching(ttm, new_mem->placement); in ttm_bo_move_ttm()
91 if (new_mem->mem_type != TTM_PL_SYSTEM) { in ttm_bo_move_ttm()
92 ret = ttm_tt_bind(ttm, new_mem, ctx); in ttm_bo_move_ttm()
97 *old_mem = *new_mem; in ttm_bo_move_ttm()
98 new_mem->mm_node = NULL; in ttm_bo_move_ttm()
415 struct ttm_mem_reg *new_mem) in ttm_bo_move_memcpy() argument
418 struct ttm_mem_type_manager *man = &bdev->man[new_mem->mem_type]; in ttm_bo_move_memcpy()
437 ret = ttm_mem_reg_ioremap(bdev, new_mem, &new_iomap); in ttm_bo_move_memcpy()
453 memset_io(new_iomap, 0, new_mem->num_pages*PAGE_SIZE); in ttm_bo_move_memcpy()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/
H A Dradeon_ttm.c209 struct ttm_mem_reg *new_mem) in radeon_move_null() argument
214 *old_mem = *new_mem; in radeon_move_null()
215 new_mem->mm_node = NULL; in radeon_move_null()
220 struct ttm_mem_reg *new_mem, in radeon_move_blit() argument
232 new_start = (u64)new_mem->start << PAGE_SHIFT; in radeon_move_blit()
245 switch (new_mem->mem_type) { in radeon_move_blit()
263 num_pages = new_mem->num_pages * (PAGE_SIZE / RADEON_GPU_PAGE_SIZE); in radeon_move_blit()
268 r = ttm_bo_move_accel_cleanup(bo, &fence->base, evict, new_mem); in radeon_move_blit()
276 struct ttm_mem_reg *new_mem) in radeon_move_vram_ram() argument
285 tmp_mem = *new_mem; in radeon_move_vram_ram()
[all …]
H A Dradeon_object.h156 struct ttm_mem_reg *new_mem);
H A Dradeon_object.c793 struct ttm_mem_reg *new_mem) in radeon_bo_move_notify() argument
805 if (!new_mem) in radeon_bo_move_notify()
809 radeon_update_memory_usage(rbo, new_mem->mem_type, 1); in radeon_bo_move_notify()
/netbsd-src/sys/external/bsd/drm2/dist/drm/qxl/
H A Dqxl_ttm.c219 struct ttm_mem_reg *new_mem) in qxl_move_null() argument
224 *old_mem = *new_mem; in qxl_move_null()
225 new_mem->mm_node = NULL; in qxl_move_null()
230 struct ttm_mem_reg *new_mem) in qxl_bo_move() argument
240 qxl_move_null(bo, new_mem); in qxl_bo_move()
243 return ttm_bo_move_memcpy(bo, ctx, new_mem); in qxl_bo_move()
248 struct ttm_mem_reg *new_mem) in qxl_bo_move_notify() argument
259 qxl_surface_evict(qdev, qbo, new_mem ? true : false); in qxl_bo_move_notify()
/netbsd-src/sys/external/bsd/drm2/dist/include/drm/ttm/
H A Dttm_bo_driver.h323 struct ttm_mem_reg *new_mem);
349 struct ttm_mem_reg *new_mem);
830 struct ttm_mem_reg *new_mem);
852 struct ttm_mem_reg *new_mem);
880 struct ttm_mem_reg *new_mem);
895 struct ttm_mem_reg *new_mem);
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_ttm.c259 struct ttm_mem_reg *new_mem) in amdgpu_move_null() argument
264 *old_mem = *new_mem; in amdgpu_move_null()
265 new_mem->mm_node = NULL; in amdgpu_move_null()
442 struct ttm_mem_reg *new_mem, in amdgpu_move_blit() argument
453 dst.mem = new_mem; in amdgpu_move_blit()
458 new_mem->num_pages << PAGE_SHIFT, in amdgpu_move_blit()
481 r = ttm_bo_move_accel_cleanup(bo, fence, true, new_mem); in amdgpu_move_blit()
483 r = ttm_bo_pipeline_move(bo, fence, evict, new_mem); in amdgpu_move_blit()
501 struct ttm_mem_reg *new_mem) in amdgpu_move_vram_ram() argument
510 tmp_mem = *new_mem; in amdgpu_move_vram_ram()
[all …]
H A Damdgpu_object.c1280 struct ttm_mem_reg *new_mem) in amdgpu_bo_move_notify() argument
1299 if (!new_mem) in amdgpu_bo_move_notify()
1303 trace_amdgpu_bo_move(abo, new_mem->mem_type, old_mem->mem_type); in amdgpu_bo_move_notify()
H A Damdgpu_object.h279 struct ttm_mem_reg *new_mem);
/netbsd-src/sys/arch/sun3/sun3x/
H A Ddvma.c264 void *new_mem, *dvma_mem; in dvma_malloc() local
270 new_mem = (void *)uvm_km_alloc(kernel_map, new_size, 0, UVM_KMF_WIRED); in dvma_malloc()
271 if (new_mem == 0) in dvma_malloc()
273 dvma_mem = dvma_mapin(new_mem, new_size, 1); in dvma_malloc()
/netbsd-src/sys/arch/sun3/sun3/
H A Ddvma.c119 void *new_mem; in dvma_malloc() local
125 new_mem = (void *)uvm_km_alloc(phys_map, new_size, 0, UVM_KMF_WIRED); in dvma_malloc()
126 if (new_mem == 0) in dvma_malloc()
129 return new_mem; in dvma_malloc()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/fr30/
H A Dfr30.c911 rtx new_mem; in fr30_move_double() local
921 new_mem = gen_rtx_MEM (SImode, dest1); in fr30_move_double()
922 MEM_COPY_ATTRIBUTES (new_mem, src); in fr30_move_double()
924 emit_insn (gen_rtx_SET (dest1, new_mem)); in fr30_move_double()
956 rtx new_mem; in fr30_move_double() local
966 new_mem = gen_rtx_MEM (SImode, scratch_reg_r0); in fr30_move_double()
967 MEM_COPY_ATTRIBUTES (new_mem, dest); in fr30_move_double()
968 emit_move_insn (new_mem, src1); in fr30_move_double()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/fr30/
H A Dfr30.cc911 rtx new_mem; in fr30_move_double() local
921 new_mem = gen_rtx_MEM (SImode, dest1); in fr30_move_double()
922 MEM_COPY_ATTRIBUTES (new_mem, src); in fr30_move_double()
924 emit_insn (gen_rtx_SET (dest1, new_mem)); in fr30_move_double()
956 rtx new_mem; in fr30_move_double() local
966 new_mem = gen_rtx_MEM (SImode, scratch_reg_r0); in fr30_move_double()
967 MEM_COPY_ATTRIBUTES (new_mem, dest); in fr30_move_double()
968 emit_move_insn (new_mem, src1); in fr30_move_double()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/asan/
H A Dasan_interceptors.cpp440 void *new_mem = asan_malloc(length + 1, &stack); in INTERCEPTOR() local
441 REAL(memcpy)(new_mem, s, length + 1); in INTERCEPTOR()
442 return reinterpret_cast<char*>(new_mem); in INTERCEPTOR()
456 void *new_mem = asan_malloc(length + 1, &stack); in INTERCEPTOR() local
457 REAL(memcpy)(new_mem, s, length + 1); in INTERCEPTOR()
458 return reinterpret_cast<char*>(new_mem); in INTERCEPTOR()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/asan/
H A Dasan_interceptors.cc451 void *new_mem = asan_malloc(length + 1, &stack); in INTERCEPTOR() local
452 REAL(memcpy)(new_mem, s, length + 1); in INTERCEPTOR()
453 return reinterpret_cast<char*>(new_mem); in INTERCEPTOR()
467 void *new_mem = asan_malloc(length + 1, &stack); in INTERCEPTOR() local
468 REAL(memcpy)(new_mem, s, length + 1); in INTERCEPTOR()
469 return reinterpret_cast<char*>(new_mem); in INTERCEPTOR()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/asan/
H A Dasan_interceptors.cc448 void *new_mem = asan_malloc(length + 1, &stack); in INTERCEPTOR() local
449 REAL(memcpy)(new_mem, s, length + 1); in INTERCEPTOR()
450 return reinterpret_cast<char*>(new_mem); in INTERCEPTOR()
464 void *new_mem = asan_malloc(length + 1, &stack); in INTERCEPTOR() local
465 REAL(memcpy)(new_mem, s, length + 1); in INTERCEPTOR()
466 return reinterpret_cast<char*>(new_mem); in INTERCEPTOR()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/rs6000/
H A Drs6000-p8swap.c1396 rtx new_mem = force_const_mem (V16QImode, new_const_vector); in adjust_vperm() local
1399 if (!REG_P (XEXP (new_mem, 0))) { in adjust_vperm()
1400 rtx base_reg = force_reg (Pmode, XEXP (new_mem, 0)); in adjust_vperm()
1401 XEXP (new_mem, 0) = base_reg; in adjust_vperm()
1412 XEXP (SET_SRC (PATTERN (load_insn)), 0) = new_mem; in adjust_vperm()
1893 rtx new_mem; in replace_swapped_load_constant() local
1908 new_mem = force_const_mem (mode, new_const_vector); in replace_swapped_load_constant()
1922 new_mem = force_const_mem (mode, new_const_vector); in replace_swapped_load_constant()
1932 new_mem = force_const_mem (mode, new_const_vector); in replace_swapped_load_constant()
1942 new_mem = force_const_mem (mode, new_const_vector); in replace_swapped_load_constant()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/rs6000/
H A Drs6000-p8swap.cc1416 rtx new_mem = force_const_mem (V16QImode, new_const_vector); in adjust_vperm() local
1419 if (!REG_P (XEXP (new_mem, 0))) { in adjust_vperm()
1420 rtx base_reg = force_reg (Pmode, XEXP (new_mem, 0)); in adjust_vperm()
1421 XEXP (new_mem, 0) = base_reg; in adjust_vperm()
1432 XEXP (SET_SRC (PATTERN (load_insn)), 0) = new_mem; in adjust_vperm()
1914 rtx new_mem; in replace_swapped_load_constant() local
1929 new_mem = force_const_mem (mode, new_const_vector); in replace_swapped_load_constant()
1943 new_mem = force_const_mem (mode, new_const_vector); in replace_swapped_load_constant()
1953 new_mem = force_const_mem (mode, new_const_vector); in replace_swapped_load_constant()
1963 new_mem = force_const_mem (mode, new_const_vector); in replace_swapped_load_constant()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/arm/
H A Dvec-common.md331 rtx new_mem = adjust_address (*memloc, new_mode, 0);
336 emit_insn (gen_movmisalign (new_mode, reg, new_mem));
340 emit_insn (gen_movmisalign (new_mode, new_mem,
351 rtx new_mem
355 gcc_assert (MEM_ALIGN (new_mem) == MEM_ALIGN (*memloc));
356 *memloc = new_mem;
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/store/
H A Dloader_file.c1025 BUF_MEM *new_mem = NULL; in file_load_try_decode() local
1086 BUF_MEM_free(new_mem); in file_load_try_decode()
1092 new_mem = ossl_store_info_get0_EMBEDDED_buffer(result); in file_load_try_decode()
1093 data = (unsigned char *)new_mem->data; in file_load_try_decode()
1094 len = new_mem->length; in file_load_try_decode()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/nds32/
H A Dnds32-memory-manipulation.c49 rtx new_mem; in nds32_emit_load_store() local
50 new_mem = adjust_address (mem, mode, offset); in nds32_emit_load_store()
52 emit_move_insn (reg, new_mem); in nds32_emit_load_store()
54 emit_move_insn (new_mem, reg); in nds32_emit_load_store()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/nds32/
H A Dnds32-memory-manipulation.cc49 rtx new_mem; in nds32_emit_load_store() local
50 new_mem = adjust_address (mem, mode, offset); in nds32_emit_load_store()
52 emit_move_insn (reg, new_mem); in nds32_emit_load_store()
54 emit_move_insn (new_mem, reg); in nds32_emit_load_store()
/netbsd-src/crypto/external/bsd/openssl/dist/engines/
H A De_loader_attic.c1180 BUF_MEM *new_mem = NULL; in file_load_try_decode() local
1255 BUF_MEM_free(new_mem); in file_load_try_decode()
1263 new_mem = embedded->blob; in file_load_try_decode()
1264 data = (unsigned char *)new_mem->data; in file_load_try_decode()
1265 len = new_mem->length; in file_load_try_decode()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dauto-inc-dec.c475 rtx new_mem; in attempt_change() local
514 new_mem = replace_equiv_address_nv (mem, new_addr); in attempt_change()
515 if (! validate_change (mem_insn.insn, mem_insn.mem_loc, new_mem, 0)) in attempt_change()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dauto-inc-dec.cc475 rtx new_mem; in attempt_change() local
514 new_mem = replace_equiv_address_nv (mem, new_addr); in attempt_change()
515 if (! validate_change (mem_insn.insn, mem_insn.mem_loc, new_mem, 0)) in attempt_change()

12