| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_send/ |
| H A D | zfs_send_006_pos.ksh | 59 typeset total_size=$(zfs send $option $snapshot 2>&1 | tail -1) 61 typeset total_size=$(zfs send $option $base_snapshot $snapshot \ 64 total_size=$(echo "$total_size" | awk '{print $NF}') 66 total_size=${total_size%M} 67 total_size=$(echo "$total_size * $block_count" | bc) 69 echo $total_size
|
| /f-stack/freebsd/x86/x86/ |
| H A D | ucode.c | 153 size = hdr->total_size; in ucode_intel_verify() 182 uint32_t data_size, flags, regs[4], sig, total_size; in ucode_intel_match() local 191 for (resid = *len; resid > 0; data += total_size, resid -= total_size) { in ucode_intel_match() 199 total_size = hdr->total_size; in ucode_intel_match() 202 if (total_size == 0) in ucode_intel_match() 203 total_size = UCODE_INTEL_DEFAULT_DATA_SIZE + in ucode_intel_match() 205 if (data_size > total_size + sizeof(struct ucode_intel_header)) in ucode_intel_match()
|
| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | eal_common_dynmem.c | 380 size_t total_size; in eal_dynmem_calc_num_pages_per_socket() local 397 total_size = internal_conf->memory; in eal_dynmem_calc_num_pages_per_socket() 398 for (socket = 0; socket < RTE_MAX_NUMA_NODES && total_size != 0; in eal_dynmem_calc_num_pages_per_socket() 411 total_size -= default_size; in eal_dynmem_calc_num_pages_per_socket() 418 for (socket = 0; socket < RTE_MAX_NUMA_NODES && total_size != 0; in eal_dynmem_calc_num_pages_per_socket() 423 total_size); in eal_dynmem_calc_num_pages_per_socket() 427 total_size -= default_size; in eal_dynmem_calc_num_pages_per_socket() 433 total_size = internal_conf->memory; in eal_dynmem_calc_num_pages_per_socket() 434 for (socket = 0; socket < RTE_MAX_NUMA_NODES && total_size != 0; in eal_dynmem_calc_num_pages_per_socket() 446 memory[socket] = total_size; in eal_dynmem_calc_num_pages_per_socket()
|
| H A D | malloc_heap.c | 140 heap->total_size += len; in malloc_add_seg() 308 heap->total_size + alloc_sz) < 0) { in alloc_pages_on_heap() 435 heap->total_size += alloc_sz; in try_expand_heap_primary() 961 heap->total_size -= aligned_len; in malloc_heap_free() 1053 socket_stats->heap_totalsz_bytes = heap->total_size; in malloc_heap_get_stats() 1072 fprintf(f, "Heap size: 0x%zx\n", heap->total_size); in malloc_heap_dump() 1096 heap->total_size -= len; in destroy_elem() 1232 heap->total_size += msl->len; in malloc_heap_add_external_memory() 1292 heap->total_size = 0; in malloc_heap_create() 1316 if (heap->total_size != 0) in malloc_heap_destroy()
|
| H A D | malloc_heap.h | 32 size_t total_size; member
|
| /f-stack/dpdk/lib/librte_table/ |
| H A D | rte_table_array.c | 50 uint32_t total_cl_size, total_size; in rte_table_array_create() local 63 total_size = total_cl_size * RTE_CACHE_LINE_SIZE; in rte_table_array_create() 64 t = rte_zmalloc_socket("TABLE", total_size, RTE_CACHE_LINE_SIZE, socket_id); in rte_table_array_create() 68 __func__, total_size); in rte_table_array_create()
|
| H A D | rte_table_hash_cuckoo.c | 87 uint32_t total_size; in rte_table_hash_cuckoo_create() local 94 total_size = sizeof(struct rte_table_hash) + in rte_table_hash_cuckoo_create() 97 t = rte_zmalloc_socket(p->name, total_size, RTE_CACHE_LINE_SIZE, socket_id); in rte_table_hash_cuckoo_create() 101 __func__, total_size, p->name); in rte_table_hash_cuckoo_create() 138 __func__, p->name, total_size); in rte_table_hash_cuckoo_create()
|
| H A D | rte_table_hash_key16.c | 152 uint64_t bucket_size, total_size; in rte_table_hash_create_key16_lru() local 185 if (total_size > SIZE_MAX) { in rte_table_hash_create_key16_lru() 188 __func__, total_size, p->name); in rte_table_hash_create_key16_lru() 193 (size_t)total_size, in rte_table_hash_create_key16_lru() 199 __func__, total_size, p->name); in rte_table_hash_create_key16_lru() 204 __func__, p->name, total_size); in rte_table_hash_create_key16_lru() 395 if (total_size > SIZE_MAX) { in rte_table_hash_create_key16_ext() 398 __func__, total_size, p->name); in rte_table_hash_create_key16_ext() 403 (size_t)total_size, in rte_table_hash_create_key16_ext() 409 __func__, total_size, p->name); in rte_table_hash_create_key16_ext() [all …]
|
| H A D | rte_table_hash_key8.c | 144 uint64_t bucket_size, total_size; in rte_table_hash_create_key8_lru() local 177 if (total_size > SIZE_MAX) { in rte_table_hash_create_key8_lru() 180 __func__, total_size, p->name); in rte_table_hash_create_key8_lru() 185 (size_t)total_size, in rte_table_hash_create_key8_lru() 191 __func__, total_size, p->name); in rte_table_hash_create_key8_lru() 197 __func__, p->name, total_size); in rte_table_hash_create_key8_lru() 381 if (total_size > SIZE_MAX) { in rte_table_hash_create_key8_ext() 384 __func__, total_size, p->name); in rte_table_hash_create_key8_ext() 389 (size_t)total_size, in rte_table_hash_create_key8_ext() 396 __func__, total_size, p->name); in rte_table_hash_create_key8_ext() [all …]
|
| H A D | rte_table_lpm_ipv6.c | 58 uint32_t total_size, nht_size; in rte_table_lpm_ipv6_create() local 92 total_size = sizeof(struct rte_table_lpm_ipv6) + nht_size; in rte_table_lpm_ipv6_create() 93 lpm = rte_zmalloc_socket("TABLE", total_size, RTE_CACHE_LINE_SIZE, in rte_table_lpm_ipv6_create() 98 __func__, total_size); in rte_table_lpm_ipv6_create()
|
| H A D | rte_table_hash_key32.c | 156 uint64_t bucket_size, total_size; in rte_table_hash_create_key32_lru() local 188 if (total_size > SIZE_MAX) { in rte_table_hash_create_key32_lru() 191 __func__, total_size, p->name); in rte_table_hash_create_key32_lru() 196 (size_t)total_size, in rte_table_hash_create_key32_lru() 202 __func__, total_size, p->name); in rte_table_hash_create_key32_lru() 208 __func__, p->name, total_size); in rte_table_hash_create_key32_lru() 404 if (total_size > SIZE_MAX) { in rte_table_hash_create_key32_ext() 407 __func__, total_size, p->name); in rte_table_hash_create_key32_ext() 412 (size_t)total_size, in rte_table_hash_create_key32_ext() 418 __func__, total_size, p->name); in rte_table_hash_create_key32_ext() [all …]
|
| H A D | rte_swx_table_em.c | 256 uint64_t total_size; member 379 key_stack_sz, bkt_ext_stack_sz, data_sz, total_size; in __table_create() local 407 total_size = table_meta_sz + key_mask_sz + bucket_sz + bucket_ext_sz + in __table_create() 420 *memory_footprint = total_size; in __table_create() 424 memory = env_malloc(total_size, RTE_CACHE_LINE_SIZE, numa_node); in __table_create() 426 memset(memory, 0, total_size); in __table_create() 438 t->total_size = total_size; in __table_create() 475 env_free(t, t->total_size); in table_free()
|
| H A D | rte_table_lpm.c | 60 uint32_t total_size, nht_size; in rte_table_lpm_create() local 94 total_size = sizeof(struct rte_table_lpm) + nht_size; in rte_table_lpm_create() 95 lpm = rte_zmalloc_socket("TABLE", total_size, RTE_CACHE_LINE_SIZE, in rte_table_lpm_create() 100 __func__, total_size); in rte_table_lpm_create()
|
| H A D | rte_table_hash_lru.c | 149 uint64_t data_sz, total_size; in rte_table_hash_lru_create() local 188 total_size = table_meta_sz + key_mask_sz + bucket_sz + key_sz + in rte_table_hash_lru_create() 191 if (total_size > SIZE_MAX) { in rte_table_hash_lru_create() 195 __func__, total_size, p->name); in rte_table_hash_lru_create() 200 (size_t)total_size, in rte_table_hash_lru_create() 207 __func__, total_size, p->name); in rte_table_hash_lru_create() 212 __func__, p->key_size, p->name, total_size); in rte_table_hash_lru_create()
|
| H A D | rte_table_hash_ext.c | 172 uint64_t key_stack_sz, bkt_ext_stack_sz, data_sz, total_size; in rte_table_hash_ext_create() local 212 total_size = table_meta_sz + key_mask_sz + bucket_sz + bucket_ext_sz + in rte_table_hash_ext_create() 215 if (total_size > SIZE_MAX) { in rte_table_hash_ext_create() 218 __func__, total_size, p->name); in rte_table_hash_ext_create() 223 (size_t)total_size, in rte_table_hash_ext_create() 229 __func__, total_size, p->name); in rte_table_hash_ext_create() 234 __func__, p->key_size, p->name, total_size); in rte_table_hash_ext_create()
|
| H A D | rte_table_acl.c | 64 uint32_t total_size; in rte_table_acl_create() local 98 total_size = sizeof(struct rte_table_acl) + action_table_size + in rte_table_acl_create() 101 acl = rte_zmalloc_socket("TABLE", total_size, RTE_CACHE_LINE_SIZE, in rte_table_acl_create() 106 __func__, total_size); in rte_table_acl_create()
|
| /f-stack/dpdk/lib/librte_ip_frag/ |
| H A D | ip_frag_internal.c | 105 fp->total_size = ofs + len; in ip_frag_process() 129 fp->total_size, fp->frag_size, fp->last_idx, in ip_frag_process() 142 fp->total_size, fp->frag_size, fp->last_idx, in ip_frag_process() 163 if (likely (fp->frag_size < fp->total_size)) { in ip_frag_process() 167 } else if (fp->frag_size == fp->total_size && in ip_frag_process() 187 fp->total_size, fp->frag_size, fp->last_idx, in ip_frag_process() 200 fp->total_size, fp->frag_size, fp->last_idx, in ip_frag_process()
|
| H A D | rte_ipv4_reassembly.c | 72 ip_hdr->total_length = rte_cpu_to_be_16((uint16_t)(fp->total_size + in ipv4_frag_reassemble() 150 fp->total_size, fp->frag_size, fp->last_idx); in rte_ipv4_frag_reassemble_packet() 165 fp->total_size, fp->frag_size, fp->last_idx); in rte_ipv4_frag_reassemble_packet()
|
| H A D | rte_ipv6_reassembly.c | 194 fp->total_size, fp->frag_size, fp->last_idx); in rte_ipv6_frag_reassemble_packet() 210 fp->total_size, fp->frag_size, fp->last_idx); in rte_ipv6_frag_reassemble_packet()
|
| /f-stack/dpdk/lib/librte_acl/ |
| H A D | acl_gen.c | 453 size_t total_size; in rte_acl_gen() local 467 total_size = RTE_ALIGN(data_index_sz, RTE_CACHE_LINE_SIZE) + in rte_acl_gen() 472 if (total_size > max_size) { in rte_acl_gen() 476 ctx->name, total_size, max_size); in rte_acl_gen() 480 mem = rte_zmalloc_socket(ctx->name, total_size, RTE_CACHE_LINE_SIZE, in rte_acl_gen() 485 total_size, ctx->socket_id, ctx->name); in rte_acl_gen() 520 ctx->mem_sz = total_size; in rte_acl_gen()
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/sodium/ |
| H A D | utils.c | 525 size_t total_size; in _sodium_malloc() local 537 total_size = page_size + page_size + unprotected_size + page_size; in _sodium_malloc() 538 if ((base_ptr = _alloc_aligned(total_size)) == NULL) { in _sodium_malloc() 596 size_t total_size; in sodium_free() local 606 total_size = page_size + page_size + unprotected_size + page_size; in sodium_free() 607 _mprotect_readwrite(base_ptr, total_size); in sodium_free() 618 _free_aligned(base_ptr, total_size); in sodium_free()
|
| /f-stack/dpdk/drivers/net/qede/base/ |
| H A D | ecore_cxt.c | 317 u32 total_size, u32 elem_size) in ecore_ilt_cli_blk_fill() argument 322 if (p_blk->total_size) in ecore_ilt_cli_blk_fill() 325 p_blk->total_size = total_size; in ecore_ilt_cli_blk_fill() 337 if (!p_blk->total_size) in ecore_ilt_cli_adv_line() 392 p_blk->total_size = 0; in ecore_cxt_set_blk() 655 total_size = total * sizeof(struct src_ent); in ecore_cxt_cfg_ilt_compute() 660 total_size, elem_size); in ecore_cxt_cfg_ilt_compute() 712 u32 total_size, u32 page_size) in ecore_cxt_t2_alloc_pages() argument 732 total_size -= size; in ecore_cxt_t2_alloc_pages() 875 if (!p_blk->total_size) in ecore_ilt_blk_alloc() [all …]
|
| /f-stack/freebsd/x86/include/ |
| H A D | ucode.h | 46 uint32_t total_size; member
|
| /f-stack/dpdk/lib/librte_pipeline/ |
| H A D | rte_port_in_action.c | 158 size_t total_size; member 195 ap_data->total_size = offset; in action_data_offset_set() 333 size = sizeof(struct rte_port_in_action) + profile->data.total_size; in rte_port_in_action_create()
|
| /f-stack/dpdk/drivers/net/ionic/ |
| H A D | ionic_lif.c | 590 uint32_t q_size, cq_size, sg_size, total_size; in ionic_qcq_alloc() local 604 total_size = RTE_ALIGN(q_size, PAGE_SIZE) + in ionic_qcq_alloc() 611 total_size += PAGE_SIZE; in ionic_qcq_alloc() 614 total_size += RTE_ALIGN(sg_size, PAGE_SIZE); in ionic_qcq_alloc() 615 total_size += PAGE_SIZE; in ionic_qcq_alloc() 662 total_size, IONIC_ALIGN, socket_id); in ionic_qcq_alloc() 672 new->total_size = total_size; in ionic_qcq_alloc()
|