Home
last modified time | relevance | path

Searched refs:alloc_type (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/elftoolchain/libdwarf/
H A Ddwarf_dealloc.c32 dwarf_dealloc(Dwarf_Debug dbg, Dwarf_Ptr p, Dwarf_Unsigned alloc_type) in dwarf_dealloc() argument
49 if (alloc_type == DW_DLA_LIST || alloc_type == DW_DLA_FRAME_BLOCK || in dwarf_dealloc()
50 alloc_type == DW_DLA_LOC_BLOCK || alloc_type == DW_DLA_LOCDESC) in dwarf_dealloc()
52 else if (alloc_type == DW_DLA_ABBREV) { in dwarf_dealloc()
60 } else if (alloc_type == DW_DLA_DIE) { in dwarf_dealloc()
/freebsd/contrib/ofed/libmlx5/
H A Dbuf.c418 enum mlx5_alloc_type *alloc_type, in mlx5_get_alloc_type() argument
427 *alloc_type = default_type; in mlx5_get_alloc_type()
432 *alloc_type = MLX5_ALLOC_TYPE_ANON; in mlx5_get_alloc_type()
434 *alloc_type = MLX5_ALLOC_TYPE_HUGE; in mlx5_get_alloc_type()
436 *alloc_type = MLX5_ALLOC_TYPE_CONTIG; in mlx5_get_alloc_type()
438 *alloc_type = MLX5_ALLOC_TYPE_PREFER_CONTIG; in mlx5_get_alloc_type()
440 *alloc_type = MLX5_ALLOC_TYPE_PREFER_HUGE; in mlx5_get_alloc_type()
442 *alloc_type = MLX5_ALLOC_TYPE_ALL; in mlx5_get_alloc_type()
H A Dmlx5.h557 enum mlx5_alloc_type alloc_type,
561 enum mlx5_alloc_type *alloc_type,
H A Dverbs.c1055 enum mlx5_alloc_type alloc_type; in mlx5_alloc_qp_buf() local
1096 mlx5_get_alloc_type(MLX5_QP_PREFIX, &alloc_type, in mlx5_alloc_qp_buf()
1103 alloc_type, in mlx5_alloc_qp_buf()
1120 alloc_type, in mlx5_alloc_qp_buf()
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_allocator.h85 AllocType alloc_type);
86 void memprof_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type);
88 BufferedStackTrace *stack, AllocType alloc_type);
H A Dmemprof_allocator.cpp343 AllocType alloc_type) { in Allocate()
440 BufferedStackTrace *stack, AllocType alloc_type) { in Deallocate()
592 void memprof_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) { in memprof_free() argument
593 instance.Deallocate(ptr, 0, 0, stack, alloc_type); in memprof_free()
597 BufferedStackTrace *stack, AllocType alloc_type) { in memprof_delete() argument
598 instance.Deallocate(ptr, size, alignment, stack, alloc_type); in memprof_delete()
653 AllocType alloc_type) { in memprof_memalign() argument
660 return SetErrnoOnNull(instance.Allocate(size, alignment, stack, alloc_type)); in memprof_memalign()
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_allocator.cpp93 u8 alloc_type : 2; member in __asan::ChunkHeader
529 AllocType alloc_type, bool can_fill) { in Allocate()
604 m->alloc_type = alloc_type; in Allocate()
726 if (m->alloc_type != alloc_type) { in Deallocate()
729 (AllocType)alloc_type); in Deallocate()
733 (alloc_type == FROM_NEW || alloc_type == FROM_NEW_BR) && in Deallocate()
943 return (AllocType)chunk_->alloc_type; in GetAllocType()
991 instance.Deallocate(ptr, 0, 0, stack, alloc_type); in asan_free()
995 BufferedStackTrace *stack, AllocType alloc_type) { in asan_delete() argument
996 instance.Deallocate(ptr, size, alignment, stack, alloc_type); in asan_delete()
[all …]
H A Dasan_allocator.h271 AllocType alloc_type);
272 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type);
274 BufferedStackTrace *stack, AllocType alloc_type);
H A Dasan_report.h59 AllocType alloc_type,
H A Dasan_errors.h113 AllocType alloc_type, dealloc_type; member
121 alloc_type(alloc_type_), in ErrorAllocTypeMismatch()
H A Dasan_descriptions.h117 u32 alloc_type : 2; member
H A Dasan_errors.cpp122 CHECK_NE(alloc_type, dealloc_type); in Print()
126 scariness.GetDescription(), alloc_names[alloc_type], in Print()
H A Dasan_report.cpp244 AllocType alloc_type, in ReportAllocTypeMismatch() argument
248 alloc_type, dealloc_type); in ReportAllocTypeMismatch()
H A Dasan_descriptions.cpp123 descr->alloc_type = chunk.GetAllocType(); in GetAccessToHeapChunkInformation()