Home
last modified time | relevance | path

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

/freebsd/sys/dev/drm2/ttm/
H A Dttm_bo_util.c44 bool no_wait_gpu, struct ttm_mem_reg *new_mem) in ttm_bo_move_ttm() argument
58 ret = ttm_tt_set_placement_caching(ttm, new_mem->placement); in ttm_bo_move_ttm()
62 if (new_mem->mem_type != TTM_PL_SYSTEM) { in ttm_bo_move_ttm()
63 ret = ttm_tt_bind(ttm, new_mem); in ttm_bo_move_ttm()
68 *old_mem = *new_mem; in ttm_bo_move_ttm()
69 new_mem->mm_node = NULL; in ttm_bo_move_ttm()
293 struct ttm_mem_reg *new_mem) in ttm_bo_move_memcpy() argument
296 struct ttm_mem_type_manager *man = &bdev->man[new_mem->mem_type]; in ttm_bo_move_memcpy()
311 ret = ttm_mem_reg_ioremap(bdev, new_mem, &new_iomap); in ttm_bo_move_memcpy()
333 if ((old_mem->mem_type == new_mem->mem_type) && in ttm_bo_move_memcpy()
[all …]
H A Dttm_bo_driver.h398 struct ttm_mem_reg *new_mem);
435 struct ttm_mem_reg *new_mem);
925 struct ttm_mem_reg *new_mem);
947 struct ttm_mem_reg *new_mem);
978 struct ttm_mem_reg *new_mem);
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_interceptors.cpp223 void *new_mem = memprof_malloc(length + 1, &stack); in INTERCEPTOR() local
224 REAL(memcpy)(new_mem, s, length + 1); in INTERCEPTOR()
225 return reinterpret_cast<char *>(new_mem); in INTERCEPTOR()
237 void *new_mem = memprof_malloc(length + 1, &stack); in INTERCEPTOR() local
238 REAL(memcpy)(new_mem, s, length + 1); in INTERCEPTOR()
239 return reinterpret_cast<char *>(new_mem); in INTERCEPTOR()
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_interceptors.cpp594 void *new_mem = asan_malloc(length + 1, &stack); local
595 if (new_mem) {
596 REAL(memcpy)(new_mem, s, length + 1);
598 return reinterpret_cast<char*>(new_mem);
612 void *new_mem = asan_malloc(length + 1, &stack); local
613 if (new_mem) {
614 REAL(memcpy)(new_mem, s, length + 1);
616 return reinterpret_cast<char*>(new_mem);
/freebsd/crypto/openssl/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()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc314 char *new_mem = (char *)WRAP(malloc)(copy_length + 1); \
318 if (new_mem) { \
319 COMMON_INTERCEPTOR_COPY_STRING(ctx, new_mem, s, copy_length); \
320 internal_memcpy(new_mem, s, copy_length); \
321 new_mem[copy_length] = '\0'; \
323 return new_mem;