Searched refs:f_size (Results 1 - 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgetexecattr.c105 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 Dmultiboot.c109 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 Dlinux.c241 * 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 Dbootinfo32.c116 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 Dbootinfo64.c119 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 Delf_freebsd.c61 __syncicache((void *) (*result)->f_addr, (*result)->f_size);
H A Dppc64_elf_freebsd.c62 __syncicache((void *) (*result)->f_addr, (*result)->f_size);
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/
H A Delf_freebsd.c65 __syncicache((void *) (*result)->f_addr, (*result)->f_size);
/illumos-gate/usr/src/cmd/filesync/
H A Drename.c153 size = new->f_info[side].f_size;
188 if (fp->f_info[OPT_BASE].f_size != size)
H A Drecon.c602 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 Danal.c505 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 Ddatabase.h135 off_t f_size; /* length in bytes */ member in struct:fileinfo
H A Deval.c671 ip->f_size = sp->st_size;
716 np->f_size = ip->f_size;
H A Dbase.c574 ip->f_size = (off_t) ll; /* size */
864 ll = ip->f_size;
/illumos-gate/usr/src/boot/lib/libstand/
H A Dcd9660.c103 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 Dbootinfo.c192 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 Dbootinfo32.c116 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 Dbootinfo64.c119 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 Dmetadata.c259 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 Dmetadata.c230 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 Dmdb_fmt.c91 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 Dbootinfo.c228 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 Dbootstrap.h207 size_t f_size; /* file size */ member in struct:preloaded_file
H A Dmodule.c281 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 Dload_elf_obj.c160 fp->f_size = __elfN(obj_loadimage)(fp, &ef, dest);
161 if (fp->f_size == 0 || fp->f_addr == 0)

Completed in 229 milliseconds

12