Home
last modified time | relevance | path

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

12

/freebsd-12-stable/stand/libsa/
Dzalloc_malloc.c56 Malloc(size_t bytes, const char *file __unused, int line __unused) in Malloc() function
154 if ((res = Malloc(bytes, file, line)) != NULL) { in Calloc()
176 if ((res = Malloc(size, file, line)) != NULL) { in Realloc()
Dstand.h436 void *Malloc(size_t, const char *, int);
454 #define malloc(x) Malloc(x, __FILE__, __LINE__)
461 #define malloc(x) Malloc(x, NULL, 0)
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
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));
Dchunk.h55 Malloc = 0, enumerator
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-12-stable/sbin/fsck_ffs/
Dsetup.c440 sblk.b_un.b_buf = Malloc(SBLOCKSIZE); in sblock_init()
441 asblk.b_un.b_buf = Malloc(SBLOCKSIZE); in sblock_init()
470 fsrbuf = Malloc(secsize); in calcsb()
506 (fsrbuf = Malloc(secsize)) == NULL || in chkrecovery()
540 (fsrbuf = Malloc(secsize)) == NULL || in saverecovery()
Dfsutil.c189 bufp = Malloc((unsigned int)sblock.fs_bsize); in bufinit()
199 bp = (struct bufarea *)Malloc(sizeof(struct bufarea)); in bufinit()
200 bufp = Malloc((unsigned int)sblock.fs_bsize); in bufinit()
Dinode.c433 if ((inobuf.b_un.b_buf = Malloc((unsigned)inobufsize)) == NULL) in setinodebuf()
466 Malloc(sizeof(*inp) + (blks - 1) * sizeof(ufs2_daddr_t)); in cacheino()
Dfsck.h382 Malloc(size_t size) in Malloc() function
Dpass1.c550 new = (struct dups *)Malloc(sizeof(struct dups)); in pass1check()
/freebsd-12-stable/usr.sbin/ctm/ctm/
Dctm.c96 if (NULL == (nfilter = Malloc(sizeof(struct CTM_Filter)))) { in main()
155 Buffer = (u_char *)Malloc(BUFSIZ + strlen(SUBSUFF) +1); in main()
159 Buffer = (u_char *)Malloc(strlen(basedir)+ BUFSIZ + strlen(SUBSUFF) +1); in main()
Dctm_input.c88 u_char *p = Malloc(u_chars+1); in Fdata()
Dctm.h71 #define Malloc malloc macro
/freebsd-12-stable/sys/kern/
Dsubr_unit.c94 #define Malloc(foo) malloc(foo, M_UNIT, M_WAITOK | M_ZERO) macro
134 #define Malloc(foo) _Malloc(foo, __LINE__) macro
367 uh = Malloc(sizeof *uh); in new_unrhdr()
774 p1 = Malloc(sizeof(struct unr)); in alloc_unr_specific()
775 p2 = Malloc(sizeof(struct unr)); in alloc_unr_specific()
908 p1 = Malloc(sizeof(struct unr)); in free_unr()
909 p2 = Malloc(sizeof(struct unr)); in free_unr()
/freebsd-12-stable/tools/tools/bootparttest/
Dstub.c34 Malloc(size_t size, const char *file, int line) in Malloc() function
/freebsd-12-stable/contrib/llvm-project/lldb/source/Expression/
DLLVMUserExpression.cpp316 m_materialized_address = m_execution_unit_sp->Malloc( in PrepareToExecuteJITExpression()
340 m_stack_frame_bottom = m_execution_unit_sp->Malloc( in PrepareToExecuteJITExpression()
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()
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()
DIRExecutionUnit.cpp58 Malloc(size, 8, lldb::ePermissionsWritable | lldb::ePermissionsReadable, in WriteNow()
1155 Malloc(record.m_size, record.m_alignment, record.m_permissions, in CommitOneAllocation()
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Expression/
DIRMemoryMap.h53 lldb::addr_t Malloc(size_t size, uint8_t alignment, uint32_t permissions,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
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()
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
Dhwasan_flags.inc63 // Malloc / free bisection. Only tag malloc and free calls when a hash of
/freebsd-12-stable/contrib/tcsh/
Dsrc.desc43 tc.alloc.c: Malloc/Free
/freebsd-12-stable/crypto/heimdal/lib/roken/
Dglob.hin93 #define GLOB_NOSPACE (-1) /* Malloc call failed. */
/freebsd-12-stable/sys/netgraph/
DNOTES74 - Malloc all memory with type M_NETGRAPH. -DONE

12