Searched defs:total_size (Results 1 - 25 of 32) 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/nscd/
H A Dnscd_admin.h55 int total_size; member in struct:nscd_admin_mod
/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/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/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/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/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/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/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/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/cmd/audio/utilities/
H A Dfilehdr.c140 unsigned int total_size; local
143 total_size = size + sizeof (aiff_hdr_chunk_t) +
145 tmp_uint = total_size - (2 * sizeof (int));
/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/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);
H A Dcommon.c306 size_t total_size = 0; local
332 total_size += invec[i].iov_len;
334 if(total_size > conn->oparams.maxoutbuf)
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/
H A Djavelin.c148 int total_size = 0; local
219 total_size += bank_size;
/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/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/lib/libprtdiag_psr/sparc/tazmo/common/
H A Dtazmo.c151 int total_size = 0; local
222 total_size += bank_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/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,
/illumos-gate/usr/src/uts/common/io/comstar/stmf/
H A Dlun_map.c596 int struct_size, total_size, real_id_size; local
600 total_size = ((additional_size + 7) & (~7)) + struct_size +
602 id = (stmf_id_data_t *)kmem_zalloc(total_size, KM_SLEEP);
606 id->id_total_alloc_size = total_size;
/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/cmd/mdb/common/modules/pmcs/
H A Dpmcs.c564 uint32_t total_size = PMCS_FWLOG_SIZE, log_size, index, *swapp, sidx; local
575 while (total_size != 0) {
607 total_size -= sizeof (pmcs_fw_event_hdr_t);
643 total_size -= fwhdr.fw_el_entry_size;
/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/io/bnxe/
H A Dbnxe_mm.c161 u32_t total_size; local
247 total_size = (pLM->hw_info.max_common_conns *
253 required_page_size = (total_size / ILT_NUM_PAGE_ENTRIES_PER_FUNC);

Completed in 168 milliseconds

12