Home
last modified time | relevance | path

Searched refs:Malloc (Results 1 – 25 of 29) sorted by relevance

12

/freebsd-13.1/stand/libsa/
H A Dzalloc_malloc.c60 Malloc(size_t bytes, const char *file __unused, int line __unused) in Malloc() function
163 if ((res = Malloc(bytes, file, line)) != NULL) { in Calloc()
185 if ((res = Malloc(size, file, line)) != NULL) { in Realloc()
H A Dstand.h445 void *Malloc(size_t, const char *, int);
463 #define malloc(x) Malloc(x, __FILE__, __LINE__)
470 #define malloc(x) Malloc(x, NULL, 0)
/freebsd-13.1/sbin/fsck_ffs/
H A Dsetup.c375 sblk.b_un.b_buf = Malloc(SBLOCKSIZE); in sblock_init()
376 asblk.b_un.b_buf = Malloc(SBLOCKSIZE); in sblock_init()
405 fsrbuf = Malloc(secsize); in calcsb()
448 (fsrbuf = Malloc(rdsize)) == NULL || in chkrecovery()
487 (fsrbuf = Malloc(rdsize)) == NULL || in saverecovery()
H A Dfsutil.c189 if ((cgblk.b_un.b_buf = Malloc((unsigned int)sblock.fs_bsize)) == NULL) in bufinit()
209 bp = (struct bufarea *)Malloc(sizeof(struct bufarea)); in allocbuf()
210 bufp = Malloc((unsigned int)sblock.fs_bsize); in allocbuf()
249 cgp = Malloc((unsigned int)sblock.fs_cgsize); in cglookup()
H A Dfsck.h410 Malloc(size_t size) in Malloc() function
H A Dinode.c614 if ((inobuf.b_un.b_buf = Malloc((unsigned)inobufsize)) == NULL) in setinodebuf()
696 Malloc(sizeof(*inp) + (blks - 1) * sizeof(ufs2_daddr_t)); in cacheino()
H A Dpass1.c557 new = (struct dups *)Malloc(sizeof(struct dups)); in pass1check()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dwrappers_c.inc32 Product, scudo::Chunk::Origin::Malloc, SCUDO_MALLOC_ALIGNMENT, true));
36 SCUDO_ALLOCATOR.deallocate(ptr, scudo::Chunk::Origin::Malloc);
59 size, scudo::Chunk::Origin::Malloc, SCUDO_MALLOC_ALIGNMENT));
125 size, scudo::Chunk::Origin::Malloc, SCUDO_MALLOC_ALIGNMENT));
127 SCUDO_ALLOCATOR.deallocate(ptr, scudo::Chunk::Origin::Malloc);
211 SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Malloc, alignment));
H A Dchunk.h55 Malloc = 0, enumerator
H A Dcombined.h547 Origin != Chunk::Origin::Malloc)
579 void *NewPtr = allocate(NewSize, Chunk::Origin::Malloc, Alignment);
607 if (UNLIKELY(OldHeader.OriginOrWasZeroed != Chunk::Origin::Malloc))
610 Chunk::Origin::Malloc);
656 void *NewPtr = allocate(NewSize, Chunk::Origin::Malloc, Alignment);
/freebsd-13.1/tools/tools/bootparttest/
H A Dstub.c34 Malloc(size_t size, const char *file, int line) in Malloc() function
/freebsd-13.1/sys/kern/
H A Dsubr_unit.c94 #define Malloc(foo) malloc(foo, M_UNIT, M_WAITOK | M_ZERO) macro
134 #define Malloc(foo) _Malloc(foo, __LINE__) macro
364 uh = Malloc(sizeof *uh); in new_unrhdr()
771 p1 = Malloc(sizeof(struct unr)); in alloc_unr_specific()
772 p2 = Malloc(sizeof(struct unr)); in alloc_unr_specific()
905 p1 = Malloc(sizeof(struct unr)); in free_unr()
906 p2 = Malloc(sizeof(struct unr)); in free_unr()
/freebsd-13.1/sys/sys/
H A Dmalloc.h296 extern void *Malloc(size_t bytes, const char *file, int line);
310 void *p = Malloc((size), __FILE__, __LINE__); \
/freebsd-13.1/contrib/llvm-project/lldb/source/Expression/
H A DLLVMUserExpression.cpp316 m_materialized_address = m_execution_unit_sp->Malloc( in PrepareToExecuteJITExpression()
340 m_stack_frame_bottom = m_execution_unit_sp->Malloc( in PrepareToExecuteJITExpression()
H A DIRInterpreter.cpp311 lldb::addr_t data_address = Malloc(value->getType()); in MakeArgument()
367 lldb::addr_t Malloc(size_t size, uint8_t byte_alignment) { in Malloc() function in InterpreterStackFrame
380 lldb::addr_t Malloc(llvm::Type *type) { in Malloc() function in InterpreterStackFrame
383 return Malloc(m_target_data.getTypeAllocSize(type), in Malloc()
419 lldb::addr_t data_address = Malloc(value->getType()); in ResolveValue()
822 lldb::addr_t R = frame.Malloc(T); in Interpret()
831 lldb::addr_t P = frame.Malloc(Tptr); in Interpret()
H A DMaterializer.cpp69 lldb::addr_t mem = map.Malloc( in MakeAllocation()
550 m_temporary_allocation = map.Malloc( in Materialize()
814 m_temporary_allocation = map.Malloc( in Materialize()
H A DIRExecutionUnit.cpp58 Malloc(size, 8, lldb::ePermissionsWritable | lldb::ePermissionsReadable, in WriteNow()
1155 Malloc(record.m_size, record.m_alignment, record.m_permissions, in CommitOneAllocation()
H A DIRMemoryMap.cpp288 lldb::addr_t IRMemoryMap::Malloc(size_t size, uint8_t alignment, in Malloc() function in IRMemoryMap
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Expression/
H A DIRMemoryMap.h53 lldb::addr_t Malloc(size_t size, uint8_t alignment, uint32_t permissions,
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_flags.inc63 // Malloc / free bisection. Only tag malloc and free calls when a hash of
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1170 auto *Malloc = dyn_cast<CallInst>(Memset->getArgOperand(0)); in foldMallocMemset() local
1171 if (!Malloc || !Malloc->hasOneUse()) in foldMallocMemset()
1175 Function *InnerCallee = Malloc->getCalledFunction(); in foldMallocMemset()
1185 if (Memset->getArgOperand(2) != Malloc->getArgOperand(0)) in foldMallocMemset()
1190 B.SetInsertPoint(Malloc->getParent(), ++Malloc->getIterator()); in foldMallocMemset()
1191 const DataLayout &DL = Malloc->getModule()->getDataLayout(); in foldMallocMemset()
1194 Malloc->getArgOperand(0), in foldMallocMemset()
1195 Malloc->getAttributes(), B, *TLI)) { in foldMallocMemset()
1196 substituteInParent(Malloc, Calloc); in foldMallocMemset()
H A DBuildLibCalls.cpp1646 FunctionCallee Malloc = M->getOrInsertFunction(MallocName, B.getInt8PtrTy(), in emitMalloc() local
1649 CallInst *CI = B.CreateCall(Malloc, Num, MallocName); in emitMalloc()
1652 dyn_cast<Function>(Malloc.getCallee()->stripPointerCasts())) in emitMalloc()
/freebsd-13.1/contrib/tcsh/
H A Dsrc.desc43 tc.alloc.c: Malloc/Free
/freebsd-13.1/crypto/heimdal/lib/roken/
H A Dglob.hin93 #define GLOB_NOSPACE (-1) /* Malloc call failed. */
/freebsd-13.1/sys/netgraph/
H A DNOTES74 - Malloc all memory with type M_NETGRAPH. -DONE

12