Home
last modified time | relevance | path

Searched refs:alloc (Results 51 – 75 of 308) sorted by relevance

12345678910>>...13

/freebsd/crypto/openssl/crypto/dh/
H A Ddh_key.c413 int alloc) in ossl_dh_key2buf() argument
428 if (pbuf_out != NULL && (alloc || *pbuf_out != NULL)) { in ossl_dh_key2buf()
429 if (!alloc) { in ossl_dh_key2buf()
445 if (alloc) in ossl_dh_key2buf()
/freebsd/contrib/xz/src/liblzma/common/
H A Dcommon.c47 if (allocator != NULL && allocator->alloc != NULL) in lzma_alloc()
48 ptr = allocator->alloc(allocator->opaque, 1, size); in lzma_alloc()
66 if (allocator != NULL && allocator->alloc != NULL) { in lzma_alloc_zero()
67 ptr = allocator->alloc(allocator->opaque, 1, size); in lzma_alloc_zero()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRForTarget.cpp868 AllocaInst *alloc = dyn_cast<AllocaInst>(persistent_alloc); in RewritePersistentAlloc() local
870 MDNode *alloc_md = alloc->getMetadata("clang.decl.ptr"); in RewritePersistentAlloc()
898 (*m_module), alloc->getType(), false, /* not constant */ in RewritePersistentAlloc()
900 alloc->getName().str()); in RewritePersistentAlloc()
921 persistent_global, "", alloc); in RewritePersistentAlloc()
923 LLDB_LOG(log, "Replacing \"{0}\" with \"{1}\"", PrintValue(alloc), in RewritePersistentAlloc()
926 alloc->replaceAllUsesWith(persistent_load); in RewritePersistentAlloc()
927 alloc->eraseFromParent(); in RewritePersistentAlloc()
942 if (AllocaInst *alloc = dyn_cast<AllocaInst>(&inst)) { in RewritePersistentAllocs() local
943 llvm::StringRef alloc_name = alloc->getName(); in RewritePersistentAllocs()
[all …]
/freebsd/sys/dev/mthca/
H A Dmthca_srq.c231 srq->srqn = mthca_alloc(&dev->srq_table.alloc); in mthca_alloc_srq()
316 mthca_free(&dev->srq_table.alloc, srq->srqn); in mthca_alloc_srq()
362 mthca_free(&dev->srq_table.alloc, srq->srqn); in mthca_free_srq()
676 err = mthca_alloc_init(&dev->srq_table.alloc, in mthca_init_srq_table()
686 mthca_alloc_cleanup(&dev->srq_table.alloc); in mthca_init_srq_table()
697 mthca_alloc_cleanup(&dev->srq_table.alloc); in mthca_cleanup_srq_table()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DProgramState.cpp75 llvm::BumpPtrAllocator &alloc, in ProgramStateManager() argument
77 : Eng(ExprEng), EnvMgr(alloc), GDMFactory(alloc), in ProgramStateManager()
78 svalBuilder(createSimpleSValBuilder(alloc, Ctx, *this)), in ProgramStateManager()
79 CallEventMgr(new CallEventManager(alloc)), Alloc(alloc) { in ProgramStateManager()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_mount.c1355 int used, alloc; in zpool_disable_datasets() local
1370 used = alloc = 0; in zpool_disable_datasets()
1392 if (used == alloc) { in zpool_disable_datasets()
1393 if (alloc == 0) { in zpool_disable_datasets()
1396 alloc = 8; in zpool_disable_datasets()
1399 alloc * sizeof (struct sets_s), in zpool_disable_datasets()
1400 alloc * 2 * sizeof (struct sets_s)); in zpool_disable_datasets()
1402 alloc *= 2; in zpool_disable_datasets()
/freebsd/usr.sbin/makefs/zfs/
H A Dvdev.c341 uint64_t alloc, length, *smblk; in vdev_spacemap_write() local
354 alloc = length = 0; in vdev_spacemap_write()
385 alloc += runlen << zfs->ashift; in vdev_spacemap_write()
391 sm->smp_alloc = alloc; in vdev_spacemap_write()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DConstString.cpp166 const Allocator &alloc = pool.m_string_map.getAllocator(); in GetMemoryStats() local
167 stats.bytes_total += alloc.getTotalMemory(); in GetMemoryStats()
168 stats.bytes_used += alloc.getBytesAllocated(); in GetMemoryStats()
/freebsd/contrib/llvm-project/compiler-rt/lib/BlocksRuntime/
H A Druntime.c231 void _Block_use_GC( void *(*alloc)(const unsigned long, const bool isOne, const bool isObject), in _Block_use_GC()
238 _Block_allocator = alloc; in _Block_use_GC()
254 void _Block_use_GC5( void *(*alloc)(const unsigned long, const bool isOne, const bool isObject), in _Block_use_GC5()
259 _Block_use_GC(alloc, setHasRefcount, gc_assign, gc_assign_weak, _Block_memmove_gc_broken); in _Block_use_GC5()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExecutionDomainFix.cpp25 DomainValue *ExecutionDomainFix::alloc(int domain) { in alloc() function in ExecutionDomainFix
108 setLiveReg(rx, alloc(domain)); in force()
124 setLiveReg(rx, alloc(domain)); in collapse()
376 dv = alloc(); in visitSoftInstr()
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_common_mac.cpp74 static thread_local_data_t *get_tls_val(bool alloc) { in get_tls_val() argument
78 if (ptr == NULL && alloc) { in get_tls_val()
/freebsd/share/doc/papers/kernmalloc/
H A DMakefile5 EXTRA= alloc.fig usage.tbl
/freebsd/sys/sys/
H A D_unrhdr.h43 u_int alloc; /* Count of memory allocations */ member
/freebsd/sys/contrib/openzfs/config/
H A Dkernel-kmem.m43 dnl # A total count of bytes allocated is kept for each alloc and free.
33 dnl # alloc and free. When the SPL module is unloaded a list of all leaked
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_libbacktrace.h33 static LibbacktraceSymbolizer *get(LowLevelAllocator *alloc);
/freebsd/contrib/mandoc/
H A Dcompat_ohash.c53 p = (i->alloc)(i->key_offset + (*end - start) + 1, i->data); in ohash_create_entry()
201 h->info.alloc = info->alloc; in ohash_init()
H A Dtest-ohash.c33 i.alloc = xmalloc; in main()
H A Dcompat_ohash.h32 void *(*alloc)(size_t, void *); member
H A Dmandoc_ohash.c37 info.alloc = hash_alloc; in mandoc_ohash_init()
/freebsd/lib/libopenbsd/
H A Dohash.c51 p = (i->alloc)(i->key_offset + (*end - start) + 1, i->data); in ohash_create_entry()
199 h->info.alloc = info->alloc; in ohash_init()
/freebsd/sbin/dhclient/
H A Dclparse.c797 alloc: in parse_option_decl()
820 goto alloc; in parse_option_decl()
829 goto alloc; in parse_option_decl()
838 goto alloc; in parse_option_decl()
860 goto alloc; in parse_option_decl()
/freebsd/contrib/netbsd-tests/lib/csu/arch/ia64/
H A Dh_initfini_align.S11 alloc loc0 = ar.pfs, 0, 2, 0, 0
/freebsd/share/man/man1/
H A DMakefile15 builtin.1 alloc.1 \
/freebsd/sbin/dhclient/tests/
H A DMakefile10 SRCS.option-domain-search_test= alloc.c convert.c hash.c options.c \
/freebsd/sys/kern/
H A Dsubr_unit.c381 KASSERT (z == uh->alloc, in check_unrhdr()
383 uh->alloc, z, line)); in check_unrhdr()
406 uh->alloc++; in new_unr()
424 uh->alloc--; in delete_unr()
477 uh->alloc = 0; in init_unrhdr()
503 KASSERT(uh->alloc == 0, ("UNR memory leak in delete_unrhdr")); in delete_unrhdr()
523 uh->alloc = 0; in clear_unrhdr()
1092 uh, uh->low, uh->high, uh->first, uh->last, uh->busy, uh->alloc); in print_unrhdr()

12345678910>>...13