Searched defs:total_size (Results 1 - 11 of 11) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/commands/i386/pc/
H A Ddrivemap.c272 grub_uint32_t total_size; local
306 total_size = INT13H_OFFSET (&grub_drivemap_mapstart)
308 grub_dprintf ("drivemap", "Payload is %u bytes long\n", total_size);
309 handler_base = grub_mmap_malign_and_register (16, total_size,
/osnet-11/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;
/osnet-11/usr/src/grub/grub2/grub-core/disk/efi/
H A Defidisk.c52 grub_size_t total_size = 0; local
58 total_size += GRUB_EFI_DEVICE_PATH_LENGTH (p);
63 p = grub_malloc (total_size);
67 grub_memcpy (p, dp, total_size);
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dromfs.c33 grub_uint32_t total_size; member in struct:grub_romfs_superblock
105 if (grub_be_to_cpu32 (sb.sb.total_size) < sizeof (sb))
110 err = do_checksum (&sb, sizeof (sb) < grub_be_to_cpu32 (sb.sb.total_size) ?
111 sizeof (sb) : grub_be_to_cpu32 (sb.sb.total_size));
115 && ptr - sb.d < (grub_ssize_t) grub_be_to_cpu32 (sb.sb.total_size); ptr++)
127 && ptr - sb.d < (grub_ssize_t) grub_be_to_cpu32 (sb.sb.total_size); ptr++)
H A Dsquash4.c67 grub_uint64_t total_size; member in struct:grub_squash_super
718 grub_off_t total_size = 0; local
724 total_size = grub_le_to_cpu64 (ino->ino.long_file.size);
729 total_size = grub_le_to_cpu32 (ino->ino.file.size);
734 total_blocks = ((total_size + data->blksz - 1) >> data->log2_blksz);
H A Dbtrfs.c896 grub_uint32_t total_size, cblock_size, ret = 0; local
899 total_size = grub_le_to_cpu32 (grub_get_unaligned32 (ibuf));
900 ibuf += sizeof (total_size);
902 if (isize < total_size)
/osnet-11/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.c308 size_t total_size = 0; local
335 total_size += invec[i].iov_len;
337 if(total_size > conn->oparams.maxoutbuf)
/osnet-11/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,
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_file.c1620 krb5_int32 total_size, i;
1625 total_size = sizeof(count);
1626 total_size += krb5_princ_realm(context, entry->principal)->length + (sizeof(krb5_int16));
1629 total_size += krb5_princ_component(context, entry->principal,i)->length
1633 total_size += sizeof(entry->principal->type);
1634 total_size += sizeof(entry->timestamp);
1635 total_size += sizeof(krb5_octet);
1636 total_size += sizeof(krb5_int16);
1637 total_size += sizeof(krb5_int16) + entry->key.length;
1639 *size_needed = total_size;
1617 krb5_int32 total_size, i; local
[all...]
/osnet-11/usr/src/lib/libc/port/rt/
H A Dmqueue.c456 uint64_t total_size; local
509 total_size = sizeof (mqhdr_t) +
513 if (total_size > SSIZE_MAX) {
533 if (ftruncate64(fd, (off64_t)total_size) < 0)
542 if (read(fd, &total_size, sizeof (total_size)) !=
543 sizeof (total_size) || total_size == 0) {
549 if (total_size > SSIZE_MAX) {
561 if ((ptr = mmap64(NULL, total_size, PROT_REA
[all...]

Completed in 63 milliseconds