/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | getexecattr.c | 105 int f_size = 0; local 132 f_size = f_stat.st_size; 155 if ((f_buf = malloc(f_size)) == NULL) { 160 if (read(exec_fd, f_buf, f_size) < f_size) { 183 f_size = f_stat.st_size; 193 linelen = _readbufline(f_buf, f_size, instr, be->minbuf,
|
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | multiboot.c | 109 if (addr < (fp->f_addr + fp->f_size)) 110 addr = fp->f_addr + fp->f_size; 214 fp->f_size = laddr - dest; 215 if (fp->f_size == 0) { 429 last_addr = roundup(mfp->f_addr + mfp->f_size, MULTIBOOT_MOD_ALIGN); 489 mb_mod[num].mod_end = mfp->f_addr + mfp->f_size; 637 rfp->f_size = roundup(rfp->f_size, PAGE_SIZE); 669 error = elf64_load_modmetadata(rfp, rfp->f_addr + rfp->f_size); 685 rfp->f_size [all...] |
H A D | linux.c | 241 * NOTE: f_addr and f_size is used here as hint for module 242 * allocation, as module location will be f_addr + f_size. 245 fp->f_size = LINUX_SETUP_MOVE_SIZE; 352 moveto = (moveto - mfp->f_size) & 0xfffff000; 356 if (moveto + mfp->f_size >= max_addr) 357 moveto = (max_addr - mfp->f_size) & 0xfffff000; 378 rdata[0].size = mfp->f_size; 385 rdata[0].size = mfp->f_size; 388 lh->ramdisk_size = mfp->f_size;
|
H A D | bootinfo32.c | 116 MOD_SIZE(addr, fp->f_size, c); 201 if (addr < (xp->f_addr + xp->f_size)) 202 addr = xp->f_addr + xp->f_size;
|
H A D | bootinfo64.c | 119 v = fp->f_size; 217 if (addr < (xp->f_addr + xp->f_size)) 218 addr = xp->f_addr + xp->f_size;
|
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/ |
H A D | elf_freebsd.c | 61 __syncicache((void *) (*result)->f_addr, (*result)->f_size);
|
H A D | ppc64_elf_freebsd.c | 62 __syncicache((void *) (*result)->f_addr, (*result)->f_size);
|
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/ |
H A D | elf_freebsd.c | 65 __syncicache((void *) (*result)->f_addr, (*result)->f_size);
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | rename.c | 153 size = new->f_info[side].f_size; 188 if (fp->f_info[OPT_BASE].f_size != size)
|
H A D | recon.c | 602 if (fp->f_info[OPT_SRC].f_size != fp->f_info[OPT_DST].f_size) 728 if (fp->f_info[OPT_SRC].f_size && fp->f_info[OPT_DST].f_size) 732 if (fp->f_info[OPT_BASE].f_size == 0)
|
H A D | anal.c | 505 if (np->f_size != rp->f_size) 793 if (fcp->f_size != basp->f_size) 930 lp->f_info[which].f_size = fp->f_info[which].f_size;
|
H A D | database.h | 135 off_t f_size; /* length in bytes */ member in struct:fileinfo
|
H A D | eval.c | 671 ip->f_size = sp->st_size; 716 np->f_size = ip->f_size;
|
H A D | base.c | 574 ip->f_size = (off_t) ll; /* size */ 864 ll = ip->f_size;
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | cd9660.c | 103 off_t f_size; /* Size of file */ member in struct:file 406 fp->f_size = isonum_733(rec.size); 460 if (*size_p > fp->f_size - fp->f_off) 461 *size_p = fp->f_size - fp->f_off; 475 if (fp->f_off < 0 || fp->f_off >= fp->f_size) 505 if (fp->f_off >= fp->f_size) 578 fp->f_off = fp->f_size - offset; 598 sb->st_size = fp->f_size;
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/i386/ |
H A D | bootinfo.c | 192 MOD_SIZE(addr, fp->f_size); 247 if (addr < (xp->f_addr + xp->f_size)) 248 addr = xp->f_addr + xp->f_size;
|
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/ |
H A D | bootinfo32.c | 116 MOD_SIZE(addr, fp->f_size, c); 180 if (addr < (xp->f_addr + xp->f_size)) 181 addr = xp->f_addr + xp->f_size;
|
H A D | bootinfo64.c | 119 v = fp->f_size; 219 if (addr < (xp->f_addr + xp->f_size)) 220 addr = xp->f_addr + xp->f_size;
|
/illumos-gate/usr/src/boot/sys/boot/sparc64/loader/ |
H A D | metadata.c | 259 MOD_SIZE(addr, fp->f_size, c); 306 if (addr < (xp->f_addr + xp->f_size)) 307 addr = xp->f_addr + xp->f_size;
|
/illumos-gate/usr/src/boot/sys/boot/uboot/common/ |
H A D | metadata.c | 230 MOD_SIZE(addr, fp->f_size, c); 296 if (addr < (xp->f_addr + xp->f_size)) 297 addr = xp->f_addr + xp->f_size;
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_fmt.c | 91 size_t f_size; /* Size of type in bytes, or SZ_NONE */ member in struct:mdb_fmt_desc 653 switch (fp->f_size) { 671 if (fp->f_size != 8) { 680 if (mdb_tgt_aread(t, as, buf, fp->f_size, addr) != 681 fp->f_size) { 686 switch (fp->f_size) { 712 addr += fp->f_size; 750 switch (fp->f_size) { 761 mdb_printf(" (%lu bytes)\n", fp->f_size);
|
/illumos-gate/usr/src/boot/sys/boot/efi/loader/ |
H A D | bootinfo.c | 228 v = fp->f_size; 389 if (addr < (xp->f_addr + xp->f_size)) 390 addr = xp->f_addr + xp->f_size;
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | bootstrap.h | 207 size_t f_size; /* file size */ member in struct:preloaded_file
|
H A D | module.c | 281 sprintf(lbuf, " (%s, 0x%lx)\n", fp->f_type, (long)fp->f_size); 463 fp->f_size = laddr - loadaddr; 552 loadaddr = fp->f_addr + fp->f_size; 557 loadaddr = last_file->f_addr + last_file->f_size;
|
H A D | load_elf_obj.c | 160 fp->f_size = __elfN(obj_loadimage)(fp, &ef, dest); 161 if (fp->f_size == 0 || fp->f_addr == 0)
|