| /f-stack/freebsd/contrib/zstd/lib/compress/ |
| H A D | zstd_cwksp.h | 239 void* alloc; in ZSTD_cwksp_reserve_internal() local 249 alloc = (BYTE *)alloc - 2 * ZSTD_CWKSP_ASAN_REDZONE_SIZE; in ZSTD_cwksp_reserve_internal() 255 assert(alloc >= bottom); in ZSTD_cwksp_reserve_internal() 256 if (alloc < bottom) { in ZSTD_cwksp_reserve_internal() 264 ws->allocStart = alloc; in ZSTD_cwksp_reserve_internal() 269 alloc = (BYTE *)alloc + ZSTD_CWKSP_ASAN_REDZONE_SIZE; in ZSTD_cwksp_reserve_internal() 275 return alloc; in ZSTD_cwksp_reserve_internal() 300 void* alloc = ws->tableEnd; in ZSTD_cwksp_reserve_table() local 323 return alloc; in ZSTD_cwksp_reserve_table() 358 alloc = (BYTE *)alloc + ZSTD_CWKSP_ASAN_REDZONE_SIZE; in ZSTD_cwksp_reserve_object() [all …]
|
| /f-stack/app/redis-5.0.5/deps/hiredis/ |
| H A D | sds.h | 111 return sh->alloc - sh->len; in sdsavail() 115 return sh->alloc - sh->len; in sdsavail() 119 return sh->alloc - sh->len; in sdsavail() 123 return sh->alloc - sh->len; in sdsavail() 185 return SDS_HDR(8,s)->alloc; in sdsalloc() 187 return SDS_HDR(16,s)->alloc; in sdsalloc() 189 return SDS_HDR(32,s)->alloc; in sdsalloc() 191 return SDS_HDR(64,s)->alloc; in sdsalloc() 203 SDS_HDR(8,s)->alloc = newlen; in sdssetalloc() 206 SDS_HDR(16,s)->alloc = newlen; in sdssetalloc() [all …]
|
| H A D | sds.c | 105 sh->alloc = initlen; in sdsnewlen() 112 sh->alloc = initlen; in sdsnewlen() 119 sh->alloc = initlen; in sdsnewlen() 126 sh->alloc = initlen; in sdsnewlen() 279 size_t alloc = sdsalloc(s); in sdsAllocSize() local 280 return sdsHdrSize(s[-1])+alloc+1; in sdsAllocSize() 326 …assert((incr >= 0 && sh->alloc-sh->len >= incr) || (incr < 0 && sh->len >= (unsigned int)(-incr))); in sdsIncrLen() 332 …assert((incr >= 0 && sh->alloc-sh->len >= incr) || (incr < 0 && sh->len >= (unsigned int)(-incr))); in sdsIncrLen() 338 …assert((incr >= 0 && sh->alloc-sh->len >= (unsigned int)incr) || (incr < 0 && sh->len >= (unsigned… in sdsIncrLen() 344 …assert((incr >= 0 && sh->alloc-sh->len >= (uint64_t)incr) || (incr < 0 && sh->len >= (uint64_t)(-i… in sdsIncrLen()
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | sds.h | 112 return sh->alloc - sh->len; in sdsavail() 116 return sh->alloc - sh->len; in sdsavail() 120 return sh->alloc - sh->len; in sdsavail() 124 return sh->alloc - sh->len; in sdsavail() 186 return SDS_HDR(8,s)->alloc; in sdsalloc() 188 return SDS_HDR(16,s)->alloc; in sdsalloc() 190 return SDS_HDR(32,s)->alloc; in sdsalloc() 192 return SDS_HDR(64,s)->alloc; in sdsalloc() 204 SDS_HDR(8,s)->alloc = newlen; in sdssetalloc() 207 SDS_HDR(16,s)->alloc = newlen; in sdssetalloc() [all …]
|
| H A D | sds.c | 115 sh->alloc = initlen; in sdsnewlen() 122 sh->alloc = initlen; in sdsnewlen() 129 sh->alloc = initlen; in sdsnewlen() 136 sh->alloc = initlen; in sdsnewlen() 300 size_t alloc = sdsalloc(s); in sdsAllocSize() local 301 return sdsHdrSize(s[-1])+alloc+1; in sdsAllocSize() 347 …assert((incr >= 0 && sh->alloc-sh->len >= incr) || (incr < 0 && sh->len >= (unsigned int)(-incr))); in sdsIncrLen() 353 …assert((incr >= 0 && sh->alloc-sh->len >= incr) || (incr < 0 && sh->len >= (unsigned int)(-incr))); in sdsIncrLen() 359 …assert((incr >= 0 && sh->alloc-sh->len >= (unsigned int)incr) || (incr < 0 && sh->len >= (unsigned… in sdsIncrLen() 365 …assert((incr >= 0 && sh->alloc-sh->len >= (uint64_t)incr) || (incr < 0 && sh->len >= (uint64_t)(-i… in sdsIncrLen()
|
| /f-stack/app/nginx-1.16.1/src/core/ |
| H A D | ngx_palloc.c | 84 if (l->alloc) { in ngx_destroy_pool() 85 ngx_free(l->alloc); in ngx_destroy_pool() 106 if (l->alloc) { in ngx_reset_pool() 107 ngx_free(l->alloc); in ngx_reset_pool() 228 if (large->alloc == NULL) { in ngx_palloc_large() 229 large->alloc = p; in ngx_palloc_large() 244 large->alloc = p; in ngx_palloc_large() 269 large->alloc = p; in ngx_pmemalign() 283 if (p == l->alloc) { in ngx_pfree() 286 ngx_free(l->alloc); in ngx_pfree() [all …]
|
| /f-stack/dpdk/drivers/mempool/ring/ |
| H A D | rte_mempool_ring.c | 147 .alloc = common_ring_alloc, 156 .alloc = common_ring_alloc, 165 .alloc = common_ring_alloc, 174 .alloc = common_ring_alloc, 184 .alloc = rts_ring_alloc, 194 .alloc = hts_ring_alloc,
|
| /f-stack/dpdk/lib/librte_acl/ |
| H A D | tb_mem.c | 29 "by pool: %zu bytes\n", __func__, sz, pool->alloc); in tb_pool() 39 pool->alloc += size; in tb_pool() 78 pool->alloc = 0; in tb_free_pool()
|
| H A D | tb_mem.h | 35 size_t alloc; member
|
| /f-stack/dpdk/lib/librte_mempool/ |
| H A D | rte_mempool_ops.c | 39 if (h->alloc == NULL || h->enqueue == NULL || in rte_mempool_register_ops() 58 ops->alloc = h->alloc; in rte_mempool_register_ops() 81 return ops->alloc(mp); in rte_mempool_ops_alloc()
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/spl/ |
| H A D | spl-xdr.c | 393 bool_t alloc = FALSE; in xdr_dec_array() local 415 alloc = TRUE; in xdr_dec_array() 422 if (alloc) in xdr_dec_array() 453 bool_t alloc = FALSE; in xdr_dec_string() local 472 alloc = TRUE; in xdr_dec_string() 486 if (alloc) in xdr_dec_string()
|
| /f-stack/lib/ |
| H A D | ff_glue.c | 1019 … void *alloc = ff_mmap(NULL, bytes, ff_PROT_READ|ff_PROT_WRITE, ff_MAP_ANON|ff_MAP_PRIVATE, -1, 0); in kmem_malloc() local 1020 if ((flags & M_ZERO) && alloc != NULL) in kmem_malloc() 1021 bzero(alloc, bytes); in kmem_malloc() 1022 return ((vm_offset_t)alloc); in kmem_malloc() 1054 void *alloc; in malloc() local 1057 alloc = ff_malloc(size); in malloc() 1058 if (alloc || !(flags & M_WAITOK)) in malloc() 1062 } while (alloc == NULL); in malloc() 1064 if ((flags & M_ZERO) && alloc != NULL) in malloc() 1065 bzero(alloc, size); in malloc() [all …]
|
| /f-stack/dpdk/drivers/mempool/stack/ |
| H A D | rte_mempool_stack.c | 80 .alloc = stack_alloc, 89 .alloc = lf_stack_alloc,
|
| /f-stack/freebsd/netipsec/ |
| H A D | ipsec_mbuf.c | 93 int todo, len, done, alloc; in m_makespace() local 97 alloc = 0; in m_makespace() 115 alloc++; in m_makespace() 137 alloc++; in m_makespace()
|
| /f-stack/dpdk/drivers/mempool/dpaa2/ |
| H A D | dpaa2_hw_mempool.c | 300 static int alloc; in rte_dpaa2_mbuf_alloc_bulk() local 365 alloc += n; in rte_dpaa2_mbuf_alloc_bulk() 367 alloc, count, n); in rte_dpaa2_mbuf_alloc_bulk() 444 .alloc = rte_hw_mbuf_create_pool,
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/integration/ |
| H A D | extent.c | 163 assert_ptr_ne(old_hooks->alloc, extent_alloc_hook, in test_manual_hook_body() 190 assert_ptr_eq(old_hooks->alloc, default_hooks->alloc, in test_manual_hook_body()
|
| /f-stack/dpdk/drivers/net/bnxt/tf_core/ |
| H A D | tf_rm.c | 42 struct tf_rm_alloc_info alloc; member 181 base_index = db[db_index].alloc.entry.start; in tf_rm_adjust_index() 547 db[i].alloc.entry.start = resv[j].start; in tf_rm_create_db() 548 db[i].alloc.entry.stride = resv[j].stride; in tf_rm_create_db() 879 &rm_db->db[parms->db_index].alloc, in tf_rm_get_info() 971 base_index = rm_db->db[parms->db_index].alloc.entry.start; in tf_rm_check_indexes_in_range() 972 stride = rm_db->db[parms->db_index].alloc.entry.stride; in tf_rm_check_indexes_in_range()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_mount.c | 1486 int used, alloc; in zpool_disable_datasets() local 1502 used = alloc = 0; in zpool_disable_datasets() 1524 if (used == alloc) { in zpool_disable_datasets() 1525 if (alloc == 0) { in zpool_disable_datasets() 1534 alloc = 8; in zpool_disable_datasets() 1539 alloc * sizeof (void *), in zpool_disable_datasets() 1540 alloc * 2 * sizeof (void *))) == NULL) in zpool_disable_datasets() 1545 alloc * sizeof (void *), in zpool_disable_datasets() 1546 alloc * 2 * sizeof (void *))) == NULL) in zpool_disable_datasets() 1550 alloc *= 2; in zpool_disable_datasets()
|
| /f-stack/freebsd/sys/ |
| H A D | _unrhdr.h | 45 u_int alloc; /* Count of memory allocations */ member
|
| /f-stack/app/nginx-1.16.1/src/http/modules/ |
| H A D | ngx_http_gzip_filter_module.c | 1025 ngx_uint_t alloc; in ngx_http_gzip_filter_alloc() local 1027 alloc = items * size; in ngx_http_gzip_filter_alloc() 1029 if (items == 1 && alloc % 512 != 0 && alloc < 8192) { in ngx_http_gzip_filter_alloc() 1036 alloc = 8192; in ngx_http_gzip_filter_alloc() 1039 if (alloc <= ctx->allocated) { in ngx_http_gzip_filter_alloc() 1041 ctx->free_mem += alloc; in ngx_http_gzip_filter_alloc() 1042 ctx->allocated -= alloc; in ngx_http_gzip_filter_alloc() 1046 items, size, alloc, p); in ngx_http_gzip_filter_alloc()
|
| /f-stack/dpdk/drivers/net/fm10k/ |
| H A D | fm10k_rxtx.c | 106 int alloc = 0; in fm10k_recv_pkts() local 149 alloc = 1; in fm10k_recv_pkts() 168 if ((q->next_dd > q->next_trigger) || (alloc == 1)) { in fm10k_recv_pkts() 217 int alloc = 0; in fm10k_recv_scattered_pkts() local 238 alloc = 1; in fm10k_recv_scattered_pkts() 326 if ((q->next_dd > q->next_trigger) || (alloc == 1)) { in fm10k_recv_scattered_pkts()
|
| /f-stack/freebsd/contrib/openzfs/config/ |
| H A D | kernel-kmem.m4 | 3 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
|
| /f-stack/dpdk/app/test-flow-perf/ |
| H A D | main.c | 771 size_t alloc = 0; in dump_socket_mem() local 784 alloc += socket_stats.heap_allocsz_bytes; in dump_socket_mem() 812 total / 1.0e6, alloc / 1.0e6, in dump_socket_mem() 813 (double)alloc * 100 / (double)total, free / 1.0e6, in dump_socket_mem() 817 return alloc; in dump_socket_mem() 1424 int64_t alloc, last_alloc; in main() local 1454 alloc = (int64_t)dump_socket_mem(stdout); in main() 1458 (alloc - last_alloc) / 1.0e6); in main()
|
| /f-stack/freebsd/contrib/device-tree/src/xtensa/ |
| H A D | kc705.dts | 27 alloc-ranges = <0x00000000 0x20000000>;
|
| /f-stack/freebsd/kern/ |
| H A D | kern_malloc.c | 949 unsigned long alloc; in realloc() local 974 alloc = redzone_get_size(addr); in realloc() 984 alloc = zone->uz_size; in realloc() 986 alloc = malloc_large_size(slab); in realloc() 989 if (size <= alloc in realloc() 990 && (size > (alloc >> REALLOC_FRACTION) || alloc == MINALLOCSIZE)) in realloc() 999 bcopy(addr, newaddr, min(size, alloc)); in realloc()
|