Home
last modified time | relevance | path

Searched refs:total_size (Results 1 – 25 of 86) sorted by relevance

1234

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_mad_pool.c76 IN uint32_t total_size, in osm_mad_pool_get() argument
83 CL_ASSERT(total_size); in osm_mad_pool_get()
92 osm_madw_init(p_madw, h_bind, total_size, p_mad_addr); in osm_mad_pool_get()
97 p_mad = osm_vendor_get(h_bind, total_size, &p_madw->vend_wrap); in osm_mad_pool_get()
117 IN uint32_t total_size, in osm_mad_pool_get_wrapper() argument
124 CL_ASSERT(total_size); in osm_mad_pool_get_wrapper()
138 osm_madw_init(p_madw, h_bind, total_size, p_mad_addr); in osm_mad_pool_get_wrapper()
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_memory_profile.cpp26 uptr total_size; member
52 return a.total_size > b.total_size; in Print()
67 Printf("%zd byte(s) (%zd%%) in %zd allocation(s)\n", a.total_size, in Print()
68 a.total_size * 100 / total_allocated_user_size_, a.count); in Print()
70 total_shown += a.total_size; in Print()
88 allocations_[i].total_size += size; in Insert()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_send/
H A Dzfs_send_006_pos.ksh59 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
/freebsd/usr.sbin/cpucontrol/
H A Dintel.c94 size_t data_size, total_size; in intel_update() local
170 if (fw_header->total_size == 0) in intel_update()
171 total_size = data_size + sizeof(*fw_header); in intel_update()
173 total_size = fw_header->total_size; in intel_update()
174 if (total_size > params->fwsize) { in intel_update()
194 ext_size = total_size - payload_size; in intel_update()
207 if (ext_table_size + payload_size > total_size) { in intel_update()
H A Dvia.c89 size_t data_size, total_size; in via_update() local
146 total_size = fw_header->total_size; in via_update()
147 if (total_size > params->fwsize) { in via_update()
/freebsd/tools/tools/intel-ucode-split/
H A Dintel-ucode-split.c49 uint32_t total_size; member
104 printf("size\t\t0x%x\t\t0x%x\n", hdr->total_size, in dump_header()
105 hdr->total_size != 0 ? hdr->total_size : 2048); in dump_header()
170 resid = (hdr.total_size != 0 ? hdr.total_size : 2048) - in main()
/freebsd/sys/dev/mthca/
H A Dmthca_profile.c78 s64 total_size = 0; in mthca_make_profile() local
144 profile[i].start = mem_base + total_size; in mthca_make_profile()
145 total_size += profile[i].size; in mthca_make_profile()
147 if (total_size > mem_avail) { in mthca_make_profile()
150 (unsigned long long) total_size, in mthca_make_profile()
166 (int) (total_size >> 10)); in mthca_make_profile()
169 (int) (total_size >> 10), (int) (mem_avail >> 10), in mthca_make_profile()
170 (int) ((mem_avail - total_size) >> 10)); in mthca_make_profile()
280 return total_size; in mthca_make_profile()
/freebsd/sys/x86/x86/
H A Ducode.c158 size = hdr->total_size; in ucode_intel_verify()
187 uint32_t data_size, flags, regs[4], sig, total_size; in ucode_intel_match() local
196 for (resid = *len; resid > 0; data += total_size, resid -= total_size) { in ucode_intel_match()
204 total_size = hdr->total_size; in ucode_intel_match()
207 if (total_size == 0) in ucode_intel_match()
208 total_size = UCODE_INTEL_DEFAULT_DATA_SIZE + in ucode_intel_match()
210 if (data_size > total_size + sizeof(struct ucode_intel_header)) in ucode_intel_match()
/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_value_subr.c280 size_t total_size; in bhnd_nvram_value_size() local
288 total_size = 0; in bhnd_nvram_value_size()
292 elem_size = strnlen(p, ilen - total_size); in bhnd_nvram_value_size()
296 if (total_size < ilen && *p == '\0') { in bhnd_nvram_value_size()
305 if (SIZE_MAX - total_size < elem_size) in bhnd_nvram_value_size()
308 total_size += elem_size; in bhnd_nvram_value_size()
311 return (total_size); in bhnd_nvram_value_size()
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DProcessStructReader.h70 auto total_size = struct_type.GetByteSize(nullptr); in ProcessStructReader() local
71 if (!total_size) in ProcessStructReader()
73 lldb::WritableDataBufferSP buffer_sp(new DataBufferHeap(*total_size, 0)); in ProcessStructReader()
76 *total_size, error); in ProcessStructReader()
/freebsd/contrib/arm-optimized-routines/string/bench/
H A Dmemset.c140 size_t total_size = 0; in main() local
157 total_size += memset_size; in main()
161 printf( "avg %.2f\n", (double)total_size / tsum); in main()
164 size_t total_size = 0; in main() local
181 total_size += memset_size; in main()
185 printf( "avg %.2f\n", (double)total_size / tsum); in main()
/freebsd/sys/dev/sfxge/
H A Dsfxge_nvram.c56 size_t total_size = ip->u.nvram.size; in sfxge_nvram_rw() local
66 MIN(total_size, sizeof(fake_dynamic_cfg_nvram))); in sfxge_nvram_rw()
76 while (total_size) { in sfxge_nvram_rw()
77 size_t len = MIN(chunk_size, total_size); in sfxge_nvram_rw()
97 total_size -= len; in sfxge_nvram_rw()
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_profile.c83 u64 total_size = 0; in mlx4_make_profile() local
138 profile[i].start = total_size; in mlx4_make_profile()
139 total_size += profile[i].size; in mlx4_make_profile()
142 if (total_size > dev_cap->max_icm_sz) { in mlx4_make_profile()
144 (unsigned long long) total_size, in mlx4_make_profile()
159 (int) (total_size >> 10)); in mlx4_make_profile()
249 return total_size; in mlx4_make_profile()
/freebsd/usr.sbin/bhyve/
H A Dbootrom.c199 off_t rom_size, var_size, total_size; in bootrom_loadrom() local
265 total_size = rom_size + var_size; in bootrom_loadrom()
267 if (total_size > BOOTROM_SIZE) { in bootrom_loadrom()
269 total_size); in bootrom_loadrom()
/freebsd/sys/dev/irdma/
H A Dirdma_uk.c231 u16 *quanta, u32 total_size, in irdma_qp_get_next_send_wqe() argument
327 u32 total_size = 0, byte_off; in irdma_uk_rdma_write() local
340 total_size += op_info->lo_sg_list[i].length; in irdma_uk_rdma_write()
423 u32 i, byte_off, total_size = 0; in irdma_uk_rdma_read() local
439 total_size += op_info->lo_sg_list[i].length; in irdma_uk_rdma_read()
514 u32 i, wqe_idx, total_size = 0, byte_off; in irdma_uk_send() local
527 total_size += op_info->sg_list[i].length; in irdma_uk_send()
736 u32 i, total_size = 0; in irdma_uk_inline_rdma_write() local
745 total_size += op_info->lo_sg_list[i].length; in irdma_uk_inline_rdma_write()
807 u32 i, total_size = 0; in irdma_uk_inline_send() local
[all …]
/freebsd/contrib/ofed/libirdma/
H A Dirdma_uk.c231 u16 *quanta, u32 total_size, in irdma_qp_get_next_send_wqe() argument
327 u32 total_size = 0, byte_off; in irdma_uk_rdma_write() local
340 total_size += op_info->lo_sg_list[i].length; in irdma_uk_rdma_write()
423 u32 i, byte_off, total_size = 0; in irdma_uk_rdma_read() local
439 total_size += op_info->lo_sg_list[i].length; in irdma_uk_rdma_read()
514 u32 i, wqe_idx, total_size = 0, byte_off; in irdma_uk_send() local
527 total_size += op_info->sg_list[i].length; in irdma_uk_send()
768 u32 i, total_size = 0; in irdma_uk_inline_rdma_write() local
777 total_size += op_info->lo_sg_list[i].length; in irdma_uk_inline_rdma_write()
839 u32 i, total_size = 0; in irdma_uk_inline_send() local
[all …]
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_mad_pool.h196 IN uint32_t total_size,
270 IN uint32_t total_size,
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_common.cpp92 bool SuppressByRule(const StackTrace &stack, uptr hit_count, uptr total_size);
99 bool Suppress(u32 stack_trace_id, uptr hit_count, uptr total_size);
215 uptr hit_count, uptr total_size) { in SuppressByRule() argument
220 s->weight += total_size; in SuppressByRule()
229 uptr total_size) { in Suppress() argument
232 if (!SuppressInvalid(stack) && !SuppressByRule(stack, hit_count, total_size)) in Suppress()
866 leaks_[i].total_size += leaked_size; in AddLeakedChunks()
887 return leak1.total_size > leak2.total_size; in LeakComparator()
925 leaks_[index].total_size, leaks_[index].hit_count); in PrintReportForLeak()
953 bytes += leaks_[i].total_size; in PrintSummary()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/sodium/
H A Dutils.c525 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()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read.c402 a->client.dataset[iindex].total_size = -1; in archive_read_set_callback_data2()
432 a->client.dataset[i].total_size = -1; in archive_read_add_callback_data()
436 a->client.dataset[iindex].total_size = -1; in archive_read_add_callback_data()
1651 client->dataset[cursor].total_size < 0 || in __archive_read_filter_seek()
1657 client->dataset[cursor].total_size; in __archive_read_filter_seek()
1666 client->dataset[cursor].total_size = r; in __archive_read_filter_seek()
1672 client->dataset[cursor].total_size; in __archive_read_filter_seek()
1691 client->dataset[cursor].total_size; in __archive_read_filter_seek()
1700 client->dataset[cursor].total_size = r; in __archive_read_filter_seek()
1702 client->dataset[cursor].total_size; in __archive_read_filter_seek()
[all …]
/freebsd/contrib/xz/src/liblzma/common/
H A Dindex.c156 lzma_vli total_size; member
387 i->total_size = 0; in index_init_plain()
522 return i->total_size; in lzma_index_total_size()
530 return LZMA_STREAM_HEADER_SIZE + i->total_size in lzma_index_stream_size()
721 i->total_size += vli_ceil4(unpadded_size); in lzma_index_append()
870 dest->total_size += src->total_size; in lzma_index_cat()
954 dest->total_size = src->total_size; in lzma_index_dup()
1084 iter->block.total_size = vli_ceil4(iter->block.unpadded_size); in iter_set_info()
/freebsd/stand/efi/loader/arch/amd64/
H A Dmultiboot2.c329 uint32_t *total_size; in exec() local
474 total_size = (uint32_t *)(uintptr_t)(addr); in exec()
475 *total_size = (uintptr_t)multiboot_space - addr; in exec()
477 if (*total_size > PAGE_SIZE) in exec()
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dwrite_entry.c58 static int total_size; variable
374 total_size += data.size; in _nc_write_entry()
390 total_size += data.size; in _nc_write_entry()
932 total_size = total_size + (int) (*offset + 1); in _nc_write_object()
943 total_written, total_parts, total_size)); in _nc_tic_written()
/freebsd/contrib/openbsm/libauditd/
H A Dauditd_lib.c416 size_t expire_size, total_size = 0L; in auditd_expire_trails() local
476 total_size += stbuf.st_size; in auditd_expire_trails()
562 if ((expire_size && total_size > expire_size) && in auditd_expire_trails()
568 total_size -= at->at_size; in auditd_expire_trails()
571 if ((expire_size && total_size > expire_size) || in auditd_expire_trails()
577 total_size -= at->at_size; in auditd_expire_trails()
/freebsd/contrib/libarchive/unzip/
H A Dbsdunzip.c1004 uintmax_t total_size, file_count, error_count; in unzip() local
1034 total_size = 0; in unzip()
1056 total_size += archive_entry_size(e); in unzip()
1064 total_size, y_str, file_count, file_count != 1 ? "s" : ""); in unzip()
1068 total_size, total_size, y_str, file_count, in unzip()

1234