/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | resolve.c | 600 } else if ((otype == STT_OBJECT) && (osym->st_size != nsym->st_size)) { 605 EC_XWORD(osym->st_size), ifl->ifl_name, 606 EC_XWORD(nsym->st_size)); 740 } else if (osym->st_size != nsym->st_size) { 750 ((otent && (osym->st_size > nsym->st_size)) || 751 (ntent && (osym->st_size < nsym->st_size)))) { [all...] |
/illumos-gate/usr/src/lib/libcmdutils/common/ |
H A D | writefile.c | 49 off_t filesize = s1p->st_size; 99 if (S_ISREG(s1p->st_mode) && s1p->st_size > SMALLFILESIZE) { 106 if (s1p->st_size < mapsize) mapsize = s1p->st_size;
|
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | inetboot.c | 73 ((virt = create_ramdisk(RD_ROOTFS, st.st_size, NULL)) == NULL)) 77 if ((size = xread(fd, (char *)virt, st.st_size)) != st.st_size) { 79 "filesize = %ld\n", (long)size, (long)st.st_size);
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | ls.c | 98 (int)sb.st_size, path); 119 sb.st_size = 0; 125 sb.st_size = 0; 131 (int)sb.st_size, d->d_name);
|
/illumos-gate/usr/src/boot/sys/boot/efi/boot1/ |
H A D | zfs_module.c | 136 if ((status = bs->AllocatePool(EfiLoaderData, (UINTN)st.st_size, &buf)) 139 "(%lu)\n", st.st_size, spa->spa_name, filepath, EFI_ERROR_CODE(status)); 143 if ((err = dnode_read(spa, &dn, 0, buf, st.st_size)) != 0) { 150 *bufsize = st.st_size;
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | proc_get_info.c | 114 (rv = malloc(statb.st_size)) == NULL || 115 read(fd, rv, statb.st_size) != statb.st_size) { 148 nldt = statb.st_size / sizeof (struct ssd);
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | getusershell.c | 84 if ((strings = malloc((unsigned)statb.st_size + 1)) == NULL) { 88 shells = (char **)calloc((unsigned)statb.st_size / 3, sizeof (char *));
|
/illumos-gate/usr/src/cmd/lastcomm/ |
H A D | lc_pacct.c | 56 if (sb.st_size % sizeof (struct acct)) { 62 for (bn = ((unsigned)sb.st_size / BUF_SIZ) + 1; bn >= 0; bn--) {
|
/illumos-gate/usr/src/cmd/lp/model/netpr/ |
H A D | misc.c | 64 if (status.st_size == 0) { 68 return (status.st_size);
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | rune.c | 80 if ((size_t)sb.st_size < sizeof (_FileRuneLocale)) { 87 fdata = mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0); 95 lastp = fdata + sb.st_size; 150 (void) munmap(fdata, sb.st_size); 222 (void) munmap(fdata, sb.st_size); 242 (void) munmap(fdata, sb.st_size);
|
H A D | collate.c | 103 if (sbuf.st_size < (COLLATE_STR_LEN + sizeof (info))) { 108 map = mmap(NULL, sbuf.st_size, PROT_READ, MAP_PRIVATE, fd, 0); 116 (void) munmap(map, sbuf.st_size); 128 (void) munmap(map, sbuf.st_size); 139 if (i != (sbuf.st_size - (TMP - map))) { 140 (void) munmap(map, sbuf.st_size); 147 (void) munmap(map, sbuf.st_size); 152 ldata->l_map_len = sbuf.st_size;
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | cntrl.c | 358 (void) sprintf(fsize, "0x%lx", stbuf.st_size); 364 if (((stbuf.st_size-1)/512 + 1) > RemUlimit) { 484 stbuf.st_size = 0L; 492 DEBUG(7, "Dfile length 0x%lx\n", stbuf.st_size); 493 startp = stbuf.st_size - (stbuf.st_size % BUFSIZ); 494 if((stbuf.st_size >= 0) && (startp < 0)) 649 stbuf.st_size = 0; /* for time loop calculation */ 665 if (stbuf.st_size < 0) 666 sprintf(p,", length=0x%lx", stbuf.st_size); [all...] |
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | vfpops.c | 242 ((a_flags & VFP_NOMALLOC) || statbuf.st_size > MIN_MMAP_SIZE)) { 246 vfp->_vfpMapSize = statbuf.st_size; 256 vfp->_vfpSize = (statbuf.st_size + pagesize + 257 (pagesize-(statbuf.st_size % pagesize))); 305 vfp->_vfpSize = statbuf.st_size+pagesize; 320 if (statbuf.st_size != 0) { 322 statbuf.st_size); 323 if (rlen != statbuf.st_size) { 337 ((char *)vfp->_vfpStart)[statbuf.st_size] = '\0'; 363 vfp->_vfpEnd = (((char *)vfp->_vfpStart) + statbuf.st_size) [all...] |
/illumos-gate/usr/src/cmd/dis/ |
H A D | dis_target.c | 221 if (syma->se_sym.st_size < symb->se_sym.st_size) 223 if (syma->se_sym.st_size > symb->se_sym.st_size) 658 tgt->dt_symcache->se_sym.st_size) { 661 *size = sym->se_sym.st_size; 678 addr < sym->se_sym.st_value + sym->se_sym.st_size && 716 (addr < osym->se_sym.st_value + osym->se_sym.st_size)); 722 *size = sym->se_sym.st_size; 882 (sym->se_sym.st_size [all...] |
/illumos-gate/usr/src/cmd/truss/ |
H A D | stat.c | 86 (void) printf(" sz=%u\n", statb.st_size); 131 (void) printf(" sz=%llu\n", (long long)statb.st_size); 175 (void) printf(" sz=%lu\n", statb.st_size);
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | copyback.c | 60 if (stbuf.st_size != let[nlet].adr) { 80 let[++nlet].adr = stbuf.st_size;
|
H A D | cksaved.c | 61 if ((stat(save, &stbuf) != 0) || (stbuf.st_size == 0))
|
/illumos-gate/usr/src/lib/libast/common/string/ |
H A D | fmtls.c | 86 s += sfsprintf(s, LS_W_MAX, "%8I*u ", sizeof(st->st_size), st->st_size);
|
/illumos-gate/usr/src/lib/libdhcpagent/common/ |
H A D | dhcp_stable.c | 73 (duid = malloc(sb.st_size)) != NULL) { 74 retv = read(fd, duid, sb.st_size); 75 if (retv == sb.st_size) { 76 *duidlen = sb.st_size;
|
/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | stat.h | 50 off_t st_size; member in struct:stat
|
/illumos-gate/usr/src/cmd/mdb/common/modules/svc.startd/ |
H A D | startd.c | 348 buf = mdb_alloc(sym.st_size, UM_SLEEP | UM_GC); 350 if (mdb_vread(buf, sym.st_size, sym.st_value) == -1) { 361 if (cp >= buf + sym.st_size || 362 strchr(cp + 1, '\0') >= buf + sym.st_size) {
|
/illumos-gate/usr/src/cmd/mdb/tools/findfp/common/ |
H A D | findsym.c | 66 if (addr - sym.st_value < sym.st_size) {
|
/illumos-gate/usr/src/stand/lib/fs/common/ |
H A D | promfs.c | 107 return (prom_fsize(fsih, fd, (size_t *)&stp->st_size));
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/download/ |
H A D | download.c | 292 if ( (stringspace = malloc(sbuf.st_size + 2)) == NULL ) 294 if ( read(fd, stringspace, sbuf.st_size) == -1 ) 298 stringspace[sbuf.st_size] = '\n'; /* just to be safe */ 299 stringspace[sbuf.st_size+1] = '\0';
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | zone.c | 191 if (subsys_names_sym.st_size != ZONE_REF_NUM_SUBSYS * 196 if (subsys_names_sym.st_size < 198 num_subsys = subsys_names_sym.st_size / 206 subsys_names_sym.st_size, UM_GC)) == NULL) {
|