/titanic_44/usr/src/common/ucode/ |
H A D | ucode_utils.c | 49 uint32_t header_size, body_size, total_size; in ucode_header_validate_intel() local 61 total_size = UCODE_TOTAL_SIZE_INTEL(uhp->uh_total_size); in ucode_header_validate_intel() 71 (total_size < (header_size + body_size)) || in ucode_header_validate_intel() 72 (total_size % UCODE_KB(1))) in ucode_header_validate_intel() 79 if (total_size < UCODE_MIN_SIZE || total_size > UCODE_MAX_SIZE) in ucode_header_validate_intel() 90 if (total_size > (header_size + body_size)) { in ucode_header_validate_intel() 91 if ((total_size - body_size - header_size - in ucode_header_validate_intel() 176 uint32_t total_size, body_size, ext_size; in ucode_validate_intel() local 186 total_size = UCODE_TOTAL_SIZE_INTEL(uhp->uh_total_size); in ucode_validate_intel() 188 if (ucode_checksum_intel(0, total_size, curbuf)) in ucode_validate_intel() [all …]
|
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_send/ |
H A D | zfs_send_006_pos.ksh | 58 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 * $block_count" | bc) 70 $ECHO $total_size
|
/titanic_44/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
H A D | cpu_prop_update.c | 84 int type_size, str_size, total_size, type_flag; in add_tlb_props() local 92 total_size = type_flag = 0; in add_tlb_props() 94 while (total_size < type_size) { in add_tlb_props() 95 str_size = strlen((char *)type + total_size) + 1; in add_tlb_props() 96 (void) strncpy(str, (char *)type + total_size, in add_tlb_props() 102 total_size += str_size; in add_tlb_props() 138 int type_size, str_size, total_size, type_flag; in add_cache_props() local 150 total_size = type_flag = 0; in add_cache_props() 152 while (total_size < type_size) { in add_cache_props() 153 str_size = strlen((char *)type + total_size) + 1; in add_cache_props() [all …]
|
/titanic_44/usr/src/uts/intel/io/pci/ |
H A D | pci_memlist.c | 223 uint64_t delta, total_size; in memlist_find() local 232 total_size = size + align - delta; in memlist_find() 234 total_size = size; /* the addr is already aligned */ in memlist_find() 235 if (next->ml_size >= total_size) in memlist_find() 260 uint64_t delta, total_size; in memlist_find_with_startaddr() local 274 total_size = size + align - delta; in memlist_find_with_startaddr() 276 total_size = size; /* the addr is already aligned */ in memlist_find_with_startaddr() 277 if (next->ml_size < total_size) in memlist_find_with_startaddr()
|
/titanic_44/usr/src/uts/sun4/os/ |
H A D | iommutsb.c | 118 size_t total_size; in iommu_tsb_init() local 167 total_size = ntsbs * tsb_size; in iommu_tsb_init() 169 if (total_size == 0) in iommu_tsb_init() 176 total_size, MMU_PAGESIZE)) == NULL) in iommu_tsb_init() 185 return (base + total_size); in iommu_tsb_init()
|
/titanic_44/usr/src/uts/common/syscall/ |
H A D | sendfile.c | 395 int copy_cnt, ssize_t total_size, int maxblk, ssize_t *count) in sendvec_small_chunk() argument 418 size_t size = total_size; in sendvec_small_chunk() 430 if (total_size == 0) in sendvec_small_chunk() 446 buf_left = MIN(total_size, maxblk); in sendvec_small_chunk() 491 buf_left = MIN(total_size, maxblk); in sendvec_small_chunk() 516 total_size -= iov_len; in sendvec_small_chunk() 586 total_size -= (sfv_off + sfv_len - maxoff); in sendvec_small_chunk() 594 buf_left = MIN(total_size, maxblk); in sendvec_small_chunk() 658 total_size -= cnt; in sendvec_small_chunk() 669 ASSERT(total_size == 0); in sendvec_small_chunk() [all …]
|
/titanic_44/usr/src/lib/libsqlite/tool/ |
H A D | space_used.tcl | 48 set total_size 0 85 incr total_size $size 94 puts "-- Total payload size: $total_size"
|
/titanic_44/usr/src/lib/libc/port/rt/ |
H A D | mqueue.c | 385 uint64_t total_size; in mq_open() local 438 total_size = sizeof (mqhdr_t) + in mq_open() 442 if (total_size > SSIZE_MAX) { in mq_open() 462 if (ftruncate64(fd, (off64_t)total_size) < 0) in mq_open() 471 if (read(fd, &total_size, sizeof (total_size)) != in mq_open() 472 sizeof (total_size) || total_size == 0) { in mq_open() 478 if (total_size > SSIZE_MAX) { in mq_open() 490 if ((ptr = mmap64(NULL, total_size, PROT_READ|PROT_WRITE, in mq_open() 532 mqhp->mq_totsize = total_size; in mq_open() 562 (void) munmap((caddr_t)mqhp, (size_t)total_size); in mq_open()
|
/titanic_44/usr/src/lib/libresolv2/common/isc/ |
H A D | memcluster.c | 248 size_t total_size; in __memget_record() local 274 total_size = mem_target; in __memget_record() 279 total_size = mem_target_fudge; in __memget_record() 281 total_size = mem_target; in __memget_record() 282 new = malloc(total_size); in __memget_record() 289 frags = total_size / new_size; in __memget_record()
|
/titanic_44/usr/src/tools/ctf/dwarf/common/ |
H A D | pro_reloc_stream.c | 193 unsigned long total_size = 0; in _dwarf_stream_relocs_to_disk() local 218 total_size = ct * len; in _dwarf_stream_relocs_to_disk() 264 GET_CHUNK(dbg, sec_index, data, total_size, &err); in _dwarf_stream_relocs_to_disk()
|
/titanic_44/usr/src/cmd/boot/scripts/ |
H A D | create_ramdisk.ksh | 178 (( total_size = size32 + size64 )) 181 total_size=`echo $total_size | nawk '{print int($1 / 2)}'` 515 if [ $total_size -gt $tmp_free ] ; then 564 mkfile ${total_size}k "$rdfile32"
|
/titanic_44/usr/src/uts/i86pc/os/ |
H A D | microcode.c | 256 int total_size, body_size; in ucode_file_reset_intel() local 261 total_size = UCODE_TOTAL_SIZE_INTEL(ucodefp->uf_header->uh_total_size); in ucode_file_reset_intel() 269 int size = total_size - body_size - UCODE_HEADER_SIZE_INTEL; in ucode_file_reset_intel() 561 int total_size, body_size, ext_size; in ucode_locate_intel() local 568 total_size = UCODE_TOTAL_SIZE_INTEL(uhp->uh_total_size); in ucode_locate_intel() 595 ext_size = total_size - offset; in ucode_locate_intel() 981 int total_size, body_size, ext_size; in ucode_extract_intel() local 987 total_size = UCODE_TOTAL_SIZE_INTEL(uhp->uh_total_size); in ucode_extract_intel() 989 ext_size = total_size - (header_size + body_size); in ucode_extract_intel() 1023 remaining -= total_size; in ucode_extract_intel()
|
/titanic_44/usr/src/cmd/nscd/ |
H A D | nscd_admin.c | 113 _nscd_logit(me, "total_size = %d\n", set->total_size); in _nscd_server_setadmin() 269 if (admin_mod.total_size == 0) in _nscd_add_admin_mod() 270 admin_mod.total_size = sizeof (admin_mod) - in _nscd_add_admin_mod() 320 admin_mod.total_size += sizeof (admin_mod.cache_cfg[0]); in _nscd_add_admin_mod()
|
H A D | nscd_admin.h | 55 int total_size; member
|
/titanic_44/usr/src/cmd/ucodeadm/ |
H A D | ucodeadm.c | 330 uint32_t total_size, body_size, offset; in ucode_gen_files_intel() local 340 total_size = UCODE_TOTAL_SIZE_INTEL(uhp->uh_total_size); in ucode_gen_files_intel() 343 remaining -= total_size; in ucode_gen_files_intel() 361 if (write(fd, curbuf, total_size) != total_size) { in ucode_gen_files_intel() 404 if (total_size == offset) in ucode_gen_files_intel()
|
/titanic_44/usr/src/lib/libsum/common/ |
H A D | sumlib.c | 33 uintmax_t total_size; \ 129 z = (flags & SUM_TOTAL) ? x->total_size : x->size; in long_print() 322 p->total_size += p->size; in sumdone()
|
/titanic_44/usr/src/lib/libsasl/lib/ |
H A D | auxprop.c | 99 size_t total_size = sizeof(struct proppool) + size - 1; in alloc_proppool() local 101 ret = sasl_sun_ALLOC(total_size); in alloc_proppool() 103 ret = sasl_ALLOC(total_size); in alloc_proppool() 107 memset(ret, 0, total_size); in alloc_proppool() 188 size_t total_size = 0, values_size; in prop_dup() local 195 total_size += pool->size; in prop_dup() 200 retval = prop_new(total_size); in prop_dup()
|
/titanic_44/usr/src/cmd/ptools/pmap/ |
H A D | pmap.c | 65 ulong_t total_size; member 506 printK(t.total_size, size_width); in main() 529 printK(t.total_size, size_width); in main() 563 size_width, t.total_size); in main() 733 t->total_size += size; in look_map() 775 t->total_size += ROUNDUP_KB(size); in look_map() 873 t->total_size += size; in look_smap() 917 t->total_size += ROUNDUP_KB(size); in look_smap() 965 t->total_size += ROUNDUP_KB(pmp->pr_size); in look_xmap() 1037 t->total_size += ROUNDUP_KB(pmp->pr_size); in look_xmap_nopgsz()
|
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_nvram.c | 424 if(offset + buf_size > pdev->hw_info.flash_spec.total_size) in lm_nvram_read() 500 if(offset + buf_size > pdev->hw_info.flash_spec.total_size) in lm_nvram_write() 502 …led ! buf_size %d larger than NVM total_size %d\n", buf_size, pdev->hw_info.flash_spec.total_size); in lm_nvram_write()
|
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | kt_file.c | 1603 krb5_int32 total_size, i; in krb5_ktfileint_size_entry() local 1608 total_size = sizeof(count); in krb5_ktfileint_size_entry() 1609 total_size += krb5_princ_realm(context, entry->principal)->length + (sizeof(krb5_int16)); in krb5_ktfileint_size_entry() 1612 total_size += krb5_princ_component(context, entry->principal,i)->length in krb5_ktfileint_size_entry() 1616 total_size += sizeof(entry->principal->type); in krb5_ktfileint_size_entry() 1617 total_size += sizeof(entry->timestamp); in krb5_ktfileint_size_entry() 1618 total_size += sizeof(krb5_octet); in krb5_ktfileint_size_entry() 1619 total_size += sizeof(krb5_int16); in krb5_ktfileint_size_entry() 1620 total_size += sizeof(krb5_int16) + entry->key.length; in krb5_ktfileint_size_entry() 1622 *size_needed = total_size; in krb5_ktfileint_size_entry()
|
/titanic_44/usr/src/cmd/ldmad/ |
H A D | mdesc_lib.c | 437 int total_size; in md_gen_bin() local 481 total_size = MD_HEADER_SIZE + offset * MD_ELEMENT_SIZE + in md_gen_bin() 488 bufferp = calloc(total_size, sizeof (uint8_t)); in md_gen_bin() 561 return (total_size); in md_gen_bin()
|
/titanic_44/usr/src/uts/common/inet/kssl/ |
H A D | ksslrec.c | 2326 int mpsz, total_size; in kssl_get_next_record() local 2367 total_size = rhsz + rec_sz; in kssl_get_next_record() 2373 if (MBLKL(mp) < total_size) { in kssl_get_next_record() 2375 mblk_t *, mp, int, total_size); in kssl_get_next_record() 2377 if (msgdsize(mp) < total_size) { in kssl_get_next_record() 2381 if (!pullupmsg(mp, total_size)) { in kssl_get_next_record() 2390 if (mpsz > total_size) { in kssl_get_next_record() 2392 mblk_t *, mp, int, total_size); in kssl_get_next_record() 2401 retmp->b_wptr = retmp->b_rptr + total_size; in kssl_get_next_record() 2402 mp->b_rptr += total_size; in kssl_get_next_record() [all …]
|
/titanic_44/usr/src/uts/common/fs/sockfs/ |
H A D | socksyscalls.c | 2451 snf_segmap(file_t *fp, vnode_t *fvp, u_offset_t fileoff, u_offset_t total_size, in snf_segmap() argument 2486 maxsize = MIN((SNF_VPMMAXPGS * PAGESIZE), total_size); in snf_segmap() 2520 total_size > 0; i++) { in snf_segmap() 2523 mapoff, total_size); in snf_segmap() 2551 total_size -= mblk_size; in snf_segmap() 2567 if (chain_size > total_size) in snf_segmap() 2568 chain_size = total_size; in snf_segmap() 2637 total_size -= chain_size; in snf_segmap() 2640 if (total_size == 0 && !nowait) { in snf_segmap() 2658 if (total_size == 0) in snf_segmap() [all …]
|
/titanic_44/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/ |
H A D | bdn.h | 52 u16_t total_size; /* total size of Codec in bytes.Max size 32K (64K?)*/ member
|
/titanic_44/usr/src/cmd/audio/utilities/ |
H A D | filehdr.c | 140 unsigned int total_size; in audio_rewrite_aiff_filesize() local 143 total_size = size + sizeof (aiff_hdr_chunk_t) + in audio_rewrite_aiff_filesize() 145 tmp_uint = total_size - (2 * sizeof (int)); in audio_rewrite_aiff_filesize()
|