fpos 100 arch/mips/alchemy/common/dma.c int au1000_dma_read_proc(char *buf, char **start, off_t fpos, fpos 113 arch/mips/alchemy/common/dma.c if (fpos >= len) { fpos 118 arch/mips/alchemy/common/dma.c *start = buf + fpos; fpos 119 arch/mips/alchemy/common/dma.c len -= fpos; fpos 125 arch/mips/include/asm/mach-au1x00/au1000_dma.h extern int au1000_dma_read_proc(char *buf, char **start, off_t fpos, fpos 557 drivers/sbus/char/bbc_envctrl.c struct bbc_fan_control *fp, *fpos; fpos 559 drivers/sbus/char/bbc_envctrl.c list_for_each_entry_safe(fp, fpos, &bp->fans, bp_list) { fpos 125 fs/adfs/adfs.h int (*setpos)(struct adfs_dir *dir, unsigned int fpos); fpos 346 fs/adfs/dir_f.c adfs_f_setpos(struct adfs_dir *dir, unsigned int fpos) fpos 348 fs/adfs/dir_f.c if (fpos >= ADFS_NUM_DIR_ENTRIES) fpos 351 fs/adfs/dir_f.c dir->pos = 5 + fpos * 26; fpos 117 fs/adfs/dir_fplus.c adfs_fplus_setpos(struct adfs_dir *dir, unsigned int fpos) fpos 123 fs/adfs/dir_fplus.c if (fpos <= le32_to_cpu(h->bigdirentries)) { fpos 124 fs/adfs/dir_fplus.c dir->pos = fpos; fpos 28 fs/afs/dir.c loff_t fpos, u64 ino, unsigned dtype); fpos 30 fs/afs/dir.c loff_t fpos, u64 ino, unsigned dtype); fpos 530 fs/afs/dir.c int nlen, loff_t fpos, u64 ino, unsigned dtype) fpos 599 fs/afs/dir.c int nlen, loff_t fpos, u64 ino, unsigned dtype) fpos 192 fs/binfmt_flat.c static int decompress_exec(struct linux_binprm *bprm, loff_t fpos, char *dst, fpos 199 fs/binfmt_flat.c pr_debug("decompress_exec(offset=%llx,buf=%p,len=%lx)\n", fpos, dst, len); fpos 213 fs/binfmt_flat.c ret = kernel_read(bprm->file, buf, LBUFSIZE, &fpos); fpos 283 fs/binfmt_flat.c ret = kernel_read(bprm->file, buf, LBUFSIZE, &fpos); fpos 435 fs/binfmt_flat.c loff_t fpos; fpos 593 fs/binfmt_flat.c fpos = ntohl(hdr->data_start); fpos 596 fs/binfmt_flat.c result = decompress_exec(bprm, fpos, (char *)datapos, fpos 601 fs/binfmt_flat.c result = read_code(bprm->file, datapos, fpos, fpos 67 fs/ceph/dir.c loff_t fpos = ((loff_t)high << 28) | (loff_t)off; fpos 69 fs/ceph/dir.c fpos |= HASH_ORDER; fpos 70 fs/ceph/dir.c return fpos; fpos 314 fs/proc/kcore.c read_kcore(struct file *file, char __user *buffer, size_t buflen, loff_t *fpos) fpos 333 fs/proc/kcore.c if (buflen && *fpos < sizeof(struct elfhdr)) { fpos 355 fs/proc/kcore.c tsz = min_t(size_t, buflen, sizeof(struct elfhdr) - *fpos); fpos 356 fs/proc/kcore.c if (copy_to_user(buffer, (char *)&ehdr + *fpos, tsz)) { fpos 363 fs/proc/kcore.c *fpos += tsz; fpos 367 fs/proc/kcore.c if (buflen && *fpos < phdrs_offset + phdrs_len) { fpos 400 fs/proc/kcore.c tsz = min_t(size_t, buflen, phdrs_offset + phdrs_len - *fpos); fpos 401 fs/proc/kcore.c if (copy_to_user(buffer, (char *)phdrs + *fpos - phdrs_offset, fpos 411 fs/proc/kcore.c *fpos += tsz; fpos 415 fs/proc/kcore.c if (buflen && *fpos < notes_offset + notes_len) { fpos 450 fs/proc/kcore.c tsz = min_t(size_t, buflen, notes_offset + notes_len - *fpos); fpos 451 fs/proc/kcore.c if (copy_to_user(buffer, notes + *fpos - notes_offset, tsz)) { fpos 460 fs/proc/kcore.c *fpos += tsz; fpos 467 fs/proc/kcore.c start = kc_offset_to_vaddr(*fpos - data_offset); fpos 534 fs/proc/kcore.c *fpos += tsz; fpos 296 fs/proc/vmcore.c static ssize_t __read_vmcore(char *buffer, size_t buflen, loff_t *fpos, fpos 304 fs/proc/vmcore.c if (buflen == 0 || *fpos >= vmcore_size) fpos 308 fs/proc/vmcore.c if (buflen > vmcore_size - *fpos) fpos 309 fs/proc/vmcore.c buflen = vmcore_size - *fpos; fpos 312 fs/proc/vmcore.c if (*fpos < elfcorebuf_sz) { fpos 313 fs/proc/vmcore.c tsz = min(elfcorebuf_sz - (size_t)*fpos, buflen); fpos 314 fs/proc/vmcore.c if (copy_to(buffer, elfcorebuf + *fpos, tsz, userbuf)) fpos 317 fs/proc/vmcore.c *fpos += tsz; fpos 327 fs/proc/vmcore.c if (*fpos < elfcorebuf_sz + elfnotes_sz) { fpos 341 fs/proc/vmcore.c if (*fpos < elfcorebuf_sz + vmcoredd_orig_sz) { fpos 343 fs/proc/vmcore.c (size_t)*fpos, buflen); fpos 344 fs/proc/vmcore.c start = *fpos - elfcorebuf_sz; fpos 349 fs/proc/vmcore.c *fpos += tsz; fpos 360 fs/proc/vmcore.c tsz = min(elfcorebuf_sz + elfnotes_sz - (size_t)*fpos, buflen); fpos 361 fs/proc/vmcore.c kaddr = elfnotes_buf + *fpos - elfcorebuf_sz - vmcoredd_orig_sz; fpos 366 fs/proc/vmcore.c *fpos += tsz; fpos 376 fs/proc/vmcore.c if (*fpos < m->offset + m->size) { fpos 378 fs/proc/vmcore.c m->offset + m->size - *fpos, fpos 380 fs/proc/vmcore.c start = m->paddr + *fpos - m->offset; fpos 386 fs/proc/vmcore.c *fpos += tsz; fpos 400 fs/proc/vmcore.c size_t buflen, loff_t *fpos) fpos 402 fs/proc/vmcore.c return __read_vmcore((__force char *) buffer, buflen, fpos, 1); fpos 1406 fs/xfs/xfs_reflink.c xfs_off_t fpos; fpos 1441 fs/xfs/xfs_reflink.c fpos = XFS_FSB_TO_B(mp, map[1].br_startoff + fpos 1444 fs/xfs/xfs_reflink.c if (fpos + flen > isize) fpos 1445 fs/xfs/xfs_reflink.c flen = isize - fpos; fpos 1446 fs/xfs/xfs_reflink.c error = iomap_file_dirty(VFS_I(ip), fpos, flen, fpos 9407 kernel/events/core.c int fpos = token == IF_SRC_FILE ? 2 : 1; fpos 9409 kernel/events/core.c filename = match_strdup(&args[fpos]); fpos 6381 kernel/trace/trace.c size_t cnt, loff_t *fpos) fpos 6452 kernel/trace/trace.c *fpos += written; fpos 6462 kernel/trace/trace.c size_t cnt, loff_t *fpos) fpos 6515 kernel/trace/trace.c *fpos += written; fpos 6570 kernel/trace/trace.c size_t cnt, loff_t *fpos) fpos 6592 kernel/trace/trace.c *fpos += cnt; fpos 1062 mm/nommu.c loff_t fpos; fpos 1064 mm/nommu.c fpos = vma->vm_pgoff; fpos 1065 mm/nommu.c fpos <<= PAGE_SHIFT; fpos 1067 mm/nommu.c ret = kernel_read(vma->vm_file, base, len, &fpos); fpos 66 net/rds/tcp.c loff_t *fpos); fpos 680 net/rds/tcp.c loff_t *fpos) fpos 685 net/rds/tcp.c err = proc_dointvec_minmax(ctl, write, buffer, lenp, fpos);