/freebsd/stand/libsa/ |
H A D | zalloc_malloc.c | 57 Malloc(size_t bytes, const char *file __unused, int line __unused) in Malloc() function 160 if ((res = Malloc(bytes, file, line)) != NULL) { in Calloc() 182 if ((res = Malloc(size, file, line)) != NULL) { in Realloc()
|
H A D | stand.h | 464 void *Malloc(size_t, const char *, int); 482 #define malloc(x) Malloc(x, __FILE__, __LINE__) 489 #define malloc(x) Malloc(x, NULL, 0)
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | DeadStoreElimination.cpp | 1868 auto *Malloc = const_cast<CallInst *>(dyn_cast<CallInst>(DefUO)); in tryFoldIntoCalloc() local 1869 if (!Malloc) in tryFoldIntoCalloc() 1871 auto *InnerCallee = Malloc->getCalledFunction(); in tryFoldIntoCalloc() 1879 auto *MallocDef = dyn_cast_or_null<MemoryDef>(MSSA.getMemoryAccess(Malloc)); in tryFoldIntoCalloc() 1883 auto shouldCreateCalloc = [](CallInst *Malloc, CallInst *Memset) { in tryFoldIntoCalloc() argument 1886 auto *MallocBB = Malloc->getParent(), in tryFoldIntoCalloc() 1902 if (Malloc->getOperand(0) != MemSet->getLength()) in tryFoldIntoCalloc() 1904 if (!shouldCreateCalloc(Malloc, MemSet) || in tryFoldIntoCalloc() 1905 !DT.dominates(Malloc, MemSet) || in tryFoldIntoCalloc() 1906 !memoryIsNotModifiedBetween(Malloc, MemSet, BatchAA, DL, &DT)) in tryFoldIntoCalloc() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | wrappers_c.inc | 60 void *Ptr = SCUDO_ALLOCATOR.allocate(Product, scudo::Chunk::Origin::Malloc, 68 SCUDO_ALLOCATOR.deallocate(ptr, scudo::Chunk::Origin::Malloc); 110 void *Ptr = SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Malloc, 185 void *Ptr = SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Malloc, 192 SCUDO_ALLOCATOR.deallocate(ptr, scudo::Chunk::Origin::Malloc); 311 SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Malloc, alignment);
|
H A D | chunk.h | 56 Malloc = 0, enumerator
|
H A D | combined.h | 468 Origin != Chunk::Origin::Malloc) 500 void *NewPtr = allocate(NewSize, Chunk::Origin::Malloc, Alignment); 528 if (UNLIKELY(Header.OriginOrWasZeroed != Chunk::Origin::Malloc)) 531 Chunk::Origin::Malloc); 589 void *NewPtr = allocate(NewSize, Chunk::Origin::Malloc, Alignment);
|
/freebsd/tools/tools/bootparttest/ |
H A D | stub.c | 32 Malloc(size_t size, const char *file, int line) in Malloc() function
|
/freebsd/sys/kern/ |
H A D | subr_unit.c | 92 #define Malloc(foo) malloc(foo, M_UNIT, M_WAITOK | M_ZERO) macro 119 #define Malloc(foo) _Malloc(foo, __LINE__) macro 242 iter = Malloc(sizeof(*iter)); in create_iter_unr() 492 uh = Malloc(sizeof *uh); in new_unrhdr() 897 p1 = Malloc(sizeof(struct unr)); in alloc_unr_specific() 898 p2 = Malloc(sizeof(struct unr)); in alloc_unr_specific() 1033 p1 = Malloc(sizeof(struct unr)); in free_unr() 1034 p2 = Malloc(sizeof(struct unr)); in free_unr()
|
/freebsd/sys/sys/ |
H A D | malloc.h | 298 extern void *Malloc(size_t bytes, const char *file, int line); 303 * Define the simple alloc / free routines in terms of Malloc and 312 void *p = Malloc((size), __FILE__, __LINE__); \
|
/freebsd/contrib/llvm-project/lldb/source/Expression/ |
H A D | LLVMUserExpression.cpp | 316 m_materialized_address = m_execution_unit_sp->Malloc( in PrepareToExecuteJITExpression() 347 m_stack_frame_bottom = m_execution_unit_sp->Malloc( in PrepareToExecuteJITExpression()
|
H A D | IRInterpreter.cpp | 340 lldb::addr_t data_address = Malloc(value->getType()); in MakeArgument() 395 lldb::addr_t Malloc(size_t size, uint8_t byte_alignment) { in Malloc() function in InterpreterStackFrame 408 lldb::addr_t Malloc(llvm::Type *type) { in Malloc() function in InterpreterStackFrame 411 return Malloc(m_target_data.getTypeAllocSize(type), in Malloc() 447 lldb::addr_t data_address = Malloc(value->getType()); in ResolveValue() 908 lldb::addr_t R = frame.Malloc(T); in Interpret() 917 lldb::addr_t P = frame.Malloc(Tptr); in Interpret()
|
H A D | Materializer.cpp | 80 lldb::addr_t mem = map.Malloc( in MakeAllocation() 559 m_temporary_allocation = map.Malloc( in Materialize() 957 m_temporary_allocation = map.Malloc( in Materialize()
|
H A D | IRExecutionUnit.cpp | 61 Malloc(size, 8, lldb::ePermissionsWritable | lldb::ePermissionsReadable, in WriteNow() 1072 Malloc(record.m_size, record.m_alignment, record.m_permissions, in CommitOneAllocation()
|
H A D | IRMemoryMap.cpp | 314 lldb::addr_t IRMemoryMap::Malloc(size_t size, uint8_t alignment, in Malloc() function in IRMemoryMap
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | MemoryBuiltins.cpp | 70 Malloc, enumerator 83 case MallocFamily::Malloc: in mangledNameForMallocFamily() 152 …ibFunc_strdup, {StrDupLike, 1, -1, -1, -1, MallocFamily::Malloc}}, 153 …ibFunc_dunder_strdup, {StrDupLike, 1, -1, -1, -1, MallocFamily::Malloc}}, 154 …ibFunc_strndup, {StrDupLike, 2, 1, -1, -1, MallocFamily::Malloc}}, 155 …ibFunc_dunder_strndup, {StrDupLike, 2, 1, -1, -1, MallocFamily::Malloc}},
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Expression/ |
H A D | IRMemoryMap.h | 53 lldb::addr_t Malloc(size_t size, uint8_t alignment, uint32_t permissions,
|
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/ |
H A D | hwasan_flags.inc | 66 // Malloc / free bisection. Only tag malloc and free calls when a hash of
|
/freebsd/contrib/tcsh/ |
H A D | src.desc | 43 tc.alloc.c: Malloc/Free
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | glob.hin | 93 #define GLOB_NOSPACE (-1) /* Malloc call failed. */
|
/freebsd/sys/netgraph/ |
H A D | NOTES | 73 - Malloc all memory with type M_NETGRAPH. -DONE
|
/freebsd/sbin/fsck_ffs/ |
H A D | fsck.h | 413 Malloc(size_t size) 417 Malloc(size_t size) Malloc() function
|
H A D | pass1.c | 574 new = (struct dups *)Malloc(sizeof(struct dups)); in pass1check()
|
H A D | fsutil.c | 206 bp = (struct bufarea *)Malloc(sizeof(struct bufarea)); in allocbuf()
|
H A D | inode.c | 1158 Malloc(sizeof(*inp) + (blks - 1) * sizeof(ufs2_daddr_t)); in cacheino()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | BuildLibCalls.cpp | 1919 FunctionCallee Malloc = getOrInsertLibFunc(M, *TLI, LibFunc_malloc, in emitMalloc() local 1922 CallInst *CI = B.CreateCall(Malloc, Num, MallocName); in emitMalloc() 1925 dyn_cast<Function>(Malloc.getCallee()->stripPointerCasts())) in emitMalloc()
|