Searched refs:total_size (Results 1 - 25 of 44) sorted by relevance

12

/illumos-gate/usr/src/common/ucode/
H A Ducode_utils.c49 uint32_t header_size, body_size, total_size; local
61 total_size = UCODE_TOTAL_SIZE_INTEL(uhp->uh_total_size);
71 (total_size < (header_size + body_size)) ||
72 (total_size % UCODE_KB(1)))
79 if (total_size < UCODE_MIN_SIZE || total_size > UCODE_MAX_SIZE)
83 * If there is extended signature table, total_size is the sum of
90 if (total_size > (header_size + body_size)) {
91 if ((total_size - body_size - header_size -
176 uint32_t total_size, body_siz local
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Dcpu_prop_update.c84 int type_size, str_size, total_size, type_flag; local
92 total_size = type_flag = 0;
94 while (total_size < type_size) {
95 str_size = strlen((char *)type + total_size) + 1;
96 (void) strncpy(str, (char *)type + total_size, local
102 total_size += str_size;
138 int type_size, str_size, total_size, type_flag; local
150 total_size = type_flag = 0;
152 while (total_size < type_size) {
153 str_size = strlen((char *)type + total_size)
154 (void) strncpy(str, (char *)type + total_size, local
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_send/
H A Dzfs_send_006_pos.ksh58 typeset total_size=$(zfs send $option $snapshot 2>&1 | tail -1)
60 typeset total_size=$(zfs send $option $base_snapshot $snapshot \
64 total_size=$(echo "$total_size" | awk '{print $2}')
66 total_size=$(echo "$total_size" | awk '{print $5}')
67 total_size=${total_size%M}
68 total_size=$(echo "$total_size *
[all...]
/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_memlist.c223 uint64_t delta, total_size; local
232 total_size = size + align - delta;
234 total_size = size; /* the addr is already aligned */
235 if (next->ml_size >= total_size)
260 uint64_t delta, total_size; local
274 total_size = size + align - delta;
276 total_size = size; /* the addr is already aligned */
277 if (next->ml_size < total_size)
/illumos-gate/usr/src/uts/sun4/os/
H A Diommutsb.c118 size_t total_size; local
167 total_size = ntsbs * tsb_size;
169 if (total_size == 0)
176 total_size, MMU_PAGESIZE)) == NULL)
185 return (base + total_size);
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_admin.h55 int total_size; member in struct:nscd_admin_mod
H A Dnscd_admin.c113 _nscd_logit(me, "total_size = %d\n", set->total_size);
269 if (admin_mod.total_size == 0)
270 admin_mod.total_size = sizeof (admin_mod) -
320 admin_mod.total_size += sizeof (admin_mod.cache_cfg[0]);
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Dpro_reloc_stream.c193 unsigned long total_size = 0; local
218 total_size = ct * len;
264 GET_CHUNK(dbg, sec_index, data, total_size, &err);
286 /* ASSERT: sum of len copied == total_size */
/illumos-gate/usr/src/lib/libsqlite/tool/
H A Dspace_used.tcl48 set total_size 0
85 incr total_size $size
94 puts "-- Total payload size: $total_size"
/illumos-gate/usr/src/uts/common/syscall/
H A Dsendfile.c395 int copy_cnt, ssize_t total_size, int maxblk, ssize_t *count)
418 size_t size = total_size;
430 if (total_size == 0)
446 buf_left = MIN(total_size, maxblk);
491 buf_left = MIN(total_size, maxblk);
516 total_size -= iov_len;
586 total_size -= (sfv_off + sfv_len - maxoff);
594 buf_left = MIN(total_size, maxblk);
658 total_size -= cnt;
669 ASSERT(total_size
394 sendvec_small_chunk(file_t *fp, u_offset_t *fileoff, struct sendfilevec *sfv, int copy_cnt, ssize_t total_size, int maxblk, ssize_t *count) argument
1135 ssize_t total_size; local
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dmemcluster.c248 size_t total_size; local
274 total_size = mem_target;
279 total_size = mem_target_fudge;
281 total_size = mem_target;
282 new = malloc(total_size);
289 frags = total_size / new_size;
/illumos-gate/usr/src/lib/libsum/common/
H A Dsumlib.c33 uintmax_t total_size; \
129 z = (flags & SUM_TOTAL) ? x->total_size : x->size;
322 p->total_size += p->size;
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dmqueue.c385 uint64_t total_size; local
438 total_size = sizeof (mqhdr_t) +
442 if (total_size > SSIZE_MAX) {
462 if (ftruncate64(fd, (off64_t)total_size) < 0)
471 if (read(fd, &total_size, sizeof (total_size)) !=
472 sizeof (total_size) || total_size == 0) {
478 if (total_size > SSIZE_MAX) {
490 if ((ptr = mmap64(NULL, total_size, PROT_REA
[all...]
/illumos-gate/usr/src/cmd/boot/scripts/
H A Dcreate_ramdisk.ksh184 (( total_size = size32 + size64 ))
187 total_size=`echo $total_size | nawk '{print int($1 / 2)}'`
523 if [ $total_size -gt $tmp_free ] ; then
572 mkfile ${total_size}k "$rdfile32"
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmicrocode.c256 int total_size, body_size; local
261 total_size = UCODE_TOTAL_SIZE_INTEL(ucodefp->uf_header->uh_total_size);
269 int size = total_size - body_size - UCODE_HEADER_SIZE_INTEL;
561 int total_size, body_size, ext_size; local
568 total_size = UCODE_TOTAL_SIZE_INTEL(uhp->uh_total_size);
595 ext_size = total_size - offset;
981 int total_size, body_size, ext_size; local
987 total_size = UCODE_TOTAL_SIZE_INTEL(uhp->uh_total_size);
989 ext_size = total_size - (header_size + body_size);
1023 remaining -= total_size;
[all...]
/illumos-gate/usr/src/cmd/ucodeadm/
H A Ducodeadm.c330 uint32_t total_size, body_size, offset; local
340 total_size = UCODE_TOTAL_SIZE_INTEL(uhp->uh_total_size);
343 remaining -= total_size;
361 if (write(fd, curbuf, total_size) != total_size) {
404 if (total_size == offset)
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_nvram.c424 if(offset + buf_size > pdev->hw_info.flash_spec.total_size)
500 if(offset + buf_size > pdev->hw_info.flash_spec.total_size)
502 DbgMessage(pdev, FATAL, "lm_nvram_write failed ! buf_size %d larger than NVM total_size %d\n", buf_size, pdev->hw_info.flash_spec.total_size);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_file.c1606 krb5_int32 total_size, i;
1611 total_size = sizeof(count);
1612 total_size += krb5_princ_realm(context, entry->principal)->length + (sizeof(krb5_int16));
1615 total_size += krb5_princ_component(context, entry->principal,i)->length
1619 total_size += sizeof(entry->principal->type);
1620 total_size += sizeof(entry->timestamp);
1621 total_size += sizeof(krb5_octet);
1622 total_size += sizeof(krb5_int16);
1623 total_size += sizeof(krb5_int16) + entry->key.length;
1625 *size_needed = total_size;
1603 krb5_int32 total_size, i; local
[all...]
/illumos-gate/usr/src/cmd/ptools/pmap/
H A Dpmap.c65 ulong_t total_size; member in struct:totals
506 printK(t.total_size, size_width);
529 printK(t.total_size, size_width);
563 size_width, t.total_size);
733 t->total_size += size;
775 t->total_size += ROUNDUP_KB(size);
873 t->total_size += size;
917 t->total_size += ROUNDUP_KB(size);
965 t->total_size += ROUNDUP_KB(pmp->pr_size);
1037 t->total_size
[all...]
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dauxprop.c99 size_t total_size = sizeof(struct proppool) + size - 1; local
101 ret = sasl_sun_ALLOC(total_size);
103 ret = sasl_ALLOC(total_size);
107 memset(ret, 0, total_size);
188 size_t total_size = 0, values_size; local
195 total_size += pool->size;
200 retval = prop_new(total_size);
/illumos-gate/usr/src/cmd/ldmad/
H A Dmdesc_lib.c437 int total_size; local
481 total_size = MD_HEADER_SIZE + offset * MD_ELEMENT_SIZE +
488 bufferp = calloc(total_size, sizeof (uint8_t));
561 return (total_size);
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/
H A Dbdn.h52 u16_t total_size; /* total size of Codec in bytes.Max size 32K (64K?)*/ member in struct:Codec_Info
/illumos-gate/usr/src/uts/common/inet/kssl/
H A Dksslrec.c2326 int mpsz, total_size; local
2367 total_size = rhsz + rec_sz;
2373 if (MBLKL(mp) < total_size) {
2375 mblk_t *, mp, int, total_size);
2377 if (msgdsize(mp) < total_size) {
2381 if (!pullupmsg(mp, total_size)) {
2390 if (mpsz > total_size) {
2392 mblk_t *, mp, int, total_size);
2401 retmp->b_wptr = retmp->b_rptr + total_size;
2402 mp->b_rptr += total_size;
[all...]
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsocksyscalls.c2462 snf_segmap(file_t *fp, vnode_t *fvp, u_offset_t fileoff, u_offset_t total_size, argument
2497 maxsize = MIN((SNF_VPMMAXPGS * PAGESIZE), total_size);
2531 total_size > 0; i++) {
2534 mapoff, total_size);
2562 total_size -= mblk_size;
2578 if (chain_size > total_size)
2579 chain_size = total_size;
2648 total_size -= chain_size;
2651 if (total_size == 0 && !nowait) {
2669 if (total_size
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dmemcache.c257 unsigned long total_size = 0; local
270 total_size += sizeof(LDAPMemCache);
307 total_size += (i + 1) * sizeof(char*);
313 total_size += strlen(baseDNs[i]) + 1;
328 total_size += htable_sizeinbytes((*cachep)->ldmemc_resTmp);
339 total_size += htable_sizeinbytes((*cachep)->ldmemc_resLookup);
342 if (memcache_adj_size(*cachep, total_size, MEMCACHE_SIZE_NON_ENTRIES,

Completed in 108 milliseconds

12