Home
last modified time | relevance | path

Searched refs:f_offset (Results 1 – 25 of 67) sorted by relevance

123

/netbsd-src/sys/arch/ia64/stand/ia64/ski/
H A Dskifs.c86 ssc((u_int64_t) f->f_fsdata, 1, (u_int64_t) &req, f->f_offset, SSC_READ); in skifs_read()
91 f->f_offset += stat.count; in skifs_read()
106 base = f->f_offset; in skifs_seek()
111 base = f->f_offset; in skifs_seek()
115 f->f_offset = base + offset; in skifs_seek()
/netbsd-src/sys/lib/libsa/
H A Dlseek.c88 f->f_offset = offset; in lseek()
91 f->f_offset += offset; in lseek()
98 return f->f_offset; in lseek()
H A Dwrite.c85 btodb(f->f_offset), bcount, dest, &resid); in write()
88 f->f_offset += resid; in write()
H A Dread.c88 btodb(f->f_offset), bcount, dest, &resid); in read()
91 f->f_offset += resid; in read()
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/
H A DDisasm.cc45 uint64_t f_offset; // file offset for first_pc member
261 if (ctx->elf->get_data (ctx->f_offset + (vaddr - ctx->first_pc),
289 uint64_t start_address, uint64_t f_offset, int64_t &inst_size) in get_disasm() argument
303 dw->get_data (f_offset + (inst_address - start_address), in get_disasm()
368 if (ctx->elf->get_data (ctx->f_offset + (vaddr - ctx->first_pc), sz, ctx->codeptr) == NULL) in get_inst_ptr()
399 uint64_t addr = ctxp->f_offset + (inst_address - ctxp->first_pc); in get_sym_name()
H A DDataStream.cc34 DataStream::set_span (int64_t f_offset, int64_t sz) in set_span() argument
37 span_fileoffset = f_offset; in set_span()
H A DDisasm.h38 void *get_disasm_hndl (uint64_t vaddr, uint64_t f_offset, size_t size);
49 uint64_t start_address, uint64_t f_offset, int64_t &inst_size);
H A DDataStream.h33 void set_span (int64_t f_offset, int64_t sz);
H A DClassFile.h39 uint64_t start_address, uint64_t f_offset,
/netbsd-src/sys/arch/pmax/stand/smallnet/setnetimage/
H A Dsetnetimage.c67 Elf32_Off f_offset; member
151 seglist[nsegs].f_offset = phdr.p_offset; in main()
174 printf("lseek(ifd, %d, 0)\n", seglist[i].f_offset); in main()
176 if (lseek(ifd, (off_t)seglist[i].f_offset, 0) < 0) in main()
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A DDataStream.cc34 DataStream::set_span (int64_t f_offset, int64_t sz) in set_span() argument
37 span_fileoffset = f_offset; in set_span()
H A DDisasm.h38 void *get_disasm_hndl (uint64_t vaddr, uint64_t f_offset, size_t size);
49 uint64_t start_address, uint64_t f_offset, int64_t &inst_size);
H A DDisasm.cc46 uint64_t f_offset; // file offset for first_pc member
303 uint64_t start_address, uint64_t f_offset, int64_t &inst_size) in get_disasm() argument
317 dw->get_data (f_offset + (inst_address - start_address), in get_disasm()
H A DDataStream.h33 void set_span (int64_t f_offset, int64_t sz);
H A DClassFile.h39 uint64_t start_address, uint64_t f_offset,
/netbsd-src/sys/kern/
H A Dsys_generic.c122 &fp->f_offset, FOF_UPDATE_OFFSET, retval)); in sys_read()
209 offset = &fp->f_offset; in do_filereadv()
216 KASSERT(offset != &fp->f_offset); in do_filereadv()
321 &fp->f_offset, FOF_UPDATE_OFFSET, retval)); in sys_write()
411 offset = &fp->f_offset; in do_filewritev()
418 KASSERT(offset != &fp->f_offset); in do_filewritev()
H A Dvfs_vnops.c605 auio.uio_offset = fp->f_offset; in vn_readdir()
610 fp->f_offset = auio.uio_offset; in vn_readdir()
633 fp->f_offset = 0; in vn_readdir()
663 if (offset == &fp->f_offset && (flags & FOF_UPDATE_OFFSET) != 0) in vn_read()
668 offset == &fp->f_offset && (flags & FOF_UPDATE_OFFSET) == 0) in vn_read()
672 offset == &fp->f_offset && (flags & FOF_UPDATE_OFFSET) == 0) in vn_read()
846 *(int *)data = vattr.va_size - fp->f_offset; in vn_ioctl()
1172 oldoff = fp->f_offset; in vn_seek()
1218 fp->f_offset = newoff; in vn_seek()
1232 fl->l_start += fp->f_offset; in vn_advlock()
[all...]
/netbsd-src/usr.sbin/installboot/arch/
H A Dpmax.c305 Elf32_Off f_offset; member
343 seglist[nsegs].f_offset = le32toh(phdr.p_offset); in load_bootstrap()
366 seglist[i].f_size, (off_t)seglist[i].f_offset) in load_bootstrap()
/netbsd-src/sys/compat/common/
H A Dvfs_syscalls_12.c157 loff = fp->f_offset; in compat_12_sys_getdirentries()
165 off = fp->f_offset; in compat_12_sys_getdirentries()
247 fp->f_offset = off; /* update the vnode offset */ in compat_12_sys_getdirentries()
H A Dvfs_syscalls_43.c375 loff = fp->f_offset; in compat_43_sys_getdirentries()
383 off = fp->f_offset; in compat_43_sys_getdirentries()
465 fp->f_offset = off; /* update the vnode offset */ in compat_43_sys_getdirentries()
/netbsd-src/sys/compat/linux32/common/
H A Dlinux32_dirent.c153 off = fp->f_offset; in linux32_sys_getdents()
246 fp->f_offset = off; /* update the vnode offset */ in linux32_sys_getdents()
/netbsd-src/external/gpl3/binutils/dist/opcodes/
H A Diq2000-ibld.c660 long value = fields->f_offset; in iq2000_cgen_insert_operand()
847 fields->f_offset = value; in iq2000_cgen_extract_operand()
1004 value = fields->f_offset; in iq2000_cgen_get_int_operand()
1118 value = fields->f_offset; in iq2000_cgen_get_vma_operand()
1239 fields->f_offset = value; in iq2000_cgen_set_int_operand()
1350 fields->f_offset = value; in iq2000_cgen_set_vma_operand()
/netbsd-src/external/gpl3/binutils.old/dist/opcodes/
H A Diq2000-ibld.c660 long value = fields->f_offset; in iq2000_cgen_insert_operand()
847 fields->f_offset = value; in iq2000_cgen_extract_operand()
1004 value = fields->f_offset; in iq2000_cgen_get_int_operand()
1118 value = fields->f_offset; in iq2000_cgen_get_vma_operand()
1239 fields->f_offset = value; in iq2000_cgen_set_int_operand()
1350 fields->f_offset = value; in iq2000_cgen_set_vma_operand()
/netbsd-src/sys/miscfs/procfs/
H A Dprocfs_fd.c56 offs = fp->f_offset; in procfs_dofd()
/netbsd-src/sys/nfs/
H A Dnfs_kq.c236 kn->kn_data = vp->v_size - ((file_t *)kn->kn_obj)->f_offset; in filt_nfsread()
242 kn->kn_data = vp->v_size - ((file_t *)kn->kn_obj)->f_offset; in filt_nfsread()

123