f_pos 264 arch/mips/sibyte/common/sb_tbprof.c filp->f_pos = 0; f_pos 189 drivers/char/adi.c return file->f_pos; f_pos 191 drivers/char/adi.c offset += file->f_pos; f_pos 197 drivers/char/adi.c if (offset != file->f_pos) { f_pos 198 drivers/char/adi.c file->f_pos = offset; f_pos 771 drivers/char/mem.c return file->f_pos = 0; f_pos 789 drivers/char/mem.c offset += file->f_pos; f_pos 797 drivers/char/mem.c file->f_pos = offset; f_pos 798 drivers/char/mem.c ret = file->f_pos; f_pos 44 drivers/char/powernv-op-panel.c loff_t *f_pos) f_pos 46 drivers/char/powernv-op-panel.c return simple_read_from_buffer(userbuf, len, f_pos, oppanel_data, f_pos 89 drivers/char/powernv-op-panel.c size_t len, loff_t *f_pos) f_pos 91 drivers/char/powernv-op-panel.c loff_t f_pos_prev = *f_pos; f_pos 95 drivers/char/powernv-op-panel.c if (!*f_pos) f_pos 97 drivers/char/powernv-op-panel.c else if (*f_pos >= oppanel_size) f_pos 100 drivers/char/powernv-op-panel.c ret = simple_write_to_buffer(oppanel_data, oppanel_size, f_pos, userbuf, f_pos 107 drivers/char/powernv-op-panel.c *f_pos = f_pos_prev; f_pos 244 drivers/char/tlclk.c loff_t *f_pos) f_pos 667 drivers/char/xillybus/xillybus_core.c size_t count, loff_t *f_pos) f_pos 1182 drivers/char/xillybus/xillybus_core.c size_t count, loff_t *f_pos) f_pos 1665 drivers/char/xillybus/xillybus_core.c loff_t pos = filp->f_pos; f_pos 1720 drivers/char/xillybus/xillybus_core.c filp->f_pos = pos; f_pos 1340 drivers/dma/coh901318.c size_t count, loff_t *f_pos) f_pos 1363 drivers/dma/coh901318.c ret = simple_read_from_buffer(buf, count, f_pos, dev_buf, f_pos 245 drivers/firmware/tegra/bpmp-debugfs.c size_t count, loff_t *f_pos) f_pos 767 drivers/fsi/fsi-core.c file->f_pos = offset; f_pos 418 drivers/fsi/fsi-scom.c file->f_pos = offset; f_pos 652 drivers/media/usb/stkwebcam/stk-webcam.c size_t count, loff_t *f_pos) f_pos 678 drivers/media/usb/stkwebcam/stk-webcam.c if (*f_pos == 0) { f_pos 688 drivers/media/usb/stkwebcam/stk-webcam.c if (count + *f_pos > dev->frame_size) f_pos 689 drivers/media/usb/stkwebcam/stk-webcam.c count = dev->frame_size - *f_pos; f_pos 699 drivers/media/usb/stkwebcam/stk-webcam.c if (copy_to_user(buf, sbuf->buffer + *f_pos, count)) f_pos 702 drivers/media/usb/stkwebcam/stk-webcam.c *f_pos += count; f_pos 704 drivers/media/usb/stkwebcam/stk-webcam.c if (*f_pos >= dev->frame_size) { f_pos 705 drivers/media/usb/stkwebcam/stk-webcam.c *f_pos = 0; f_pos 714 drivers/media/usb/stkwebcam/stk-webcam.c size_t count, loff_t *f_pos) f_pos 721 drivers/media/usb/stkwebcam/stk-webcam.c ret = stk_read(fp, buf, count, f_pos); f_pos 363 drivers/media/usb/tm6000/tm6000.h loff_t *f_pos); f_pos 461 drivers/misc/habanalabs/debugfs.c size_t count, loff_t *f_pos) f_pos 918 drivers/misc/habanalabs/debugfs.c size_t count, loff_t *f_pos) f_pos 923 drivers/misc/habanalabs/debugfs.c return node->info_ent->write(file, buf, count, f_pos); f_pos 954 drivers/misc/habanalabs/habanalabs.h size_t count, loff_t *f_pos); f_pos 869 drivers/mtd/mtdchar.c file->f_pos = 0; f_pos 964 drivers/mtd/mtdchar.c file->f_pos = 0; f_pos 330 drivers/net/wireless/ath/wil6210/pmc.c loff_t *f_pos) f_pos 352 drivers/net/wireless/ath/wil6210/pmc.c (u32)count, *f_pos); f_pos 356 drivers/net/wireless/ath/wil6210/pmc.c idx = *f_pos; f_pos 358 drivers/net/wireless/ath/wil6210/pmc.c offset = *f_pos - (idx * pmc->descriptor_size); f_pos 360 drivers/net/wireless/ath/wil6210/pmc.c if (*f_pos >= pmc_size) { f_pos 363 drivers/net/wireless/ath/wil6210/pmc.c *f_pos, (u32)pmc_size); f_pos 370 drivers/net/wireless/ath/wil6210/pmc.c *f_pos, idx, offset, count); f_pos 378 drivers/net/wireless/ath/wil6210/pmc.c *f_pos += retval; f_pos 409 drivers/net/wireless/ath/wil6210/pmc.c newpos = filp->f_pos + off; f_pos 428 drivers/net/wireless/ath/wil6210/pmc.c filp->f_pos = newpos; f_pos 164 drivers/s390/char/hmcdrv_dev.c pos += fp->f_pos; /* new position stored in 'pos' */ f_pos 189 drivers/s390/char/hmcdrv_dev.c if (fp->f_pos != pos) f_pos 192 drivers/s390/char/hmcdrv_dev.c fp->f_pos = pos; f_pos 470 drivers/s390/crypto/zcrypt_api.c size_t count, loff_t *f_pos) f_pos 481 drivers/s390/crypto/zcrypt_api.c size_t count, loff_t *f_pos) f_pos 86 drivers/sbus/char/flash.c file->f_pos = offset; f_pos 89 drivers/sbus/char/flash.c file->f_pos += offset; f_pos 90 drivers/sbus/char/flash.c if (file->f_pos > flash.read_size) f_pos 91 drivers/sbus/char/flash.c file->f_pos = flash.read_size; f_pos 94 drivers/sbus/char/flash.c file->f_pos = flash.read_size; f_pos 101 drivers/sbus/char/flash.c return file->f_pos; f_pos 192 drivers/soc/fsl/dpaa2-console.c size_t count, loff_t *f_pos) f_pos 82 drivers/soc/qcom/rmtfs_mem.c char __user *buf, size_t count, loff_t *f_pos) f_pos 86 drivers/soc/qcom/rmtfs_mem.c if (*f_pos >= rmtfs_mem->size) f_pos 89 drivers/soc/qcom/rmtfs_mem.c if (*f_pos + count >= rmtfs_mem->size) f_pos 90 drivers/soc/qcom/rmtfs_mem.c count = rmtfs_mem->size - *f_pos; f_pos 92 drivers/soc/qcom/rmtfs_mem.c if (copy_to_user(buf, rmtfs_mem->base + *f_pos, count)) f_pos 95 drivers/soc/qcom/rmtfs_mem.c *f_pos += count; f_pos 101 drivers/soc/qcom/rmtfs_mem.c loff_t *f_pos) f_pos 105 drivers/soc/qcom/rmtfs_mem.c if (*f_pos >= rmtfs_mem->size) f_pos 108 drivers/soc/qcom/rmtfs_mem.c if (*f_pos + count >= rmtfs_mem->size) f_pos 109 drivers/soc/qcom/rmtfs_mem.c count = rmtfs_mem->size - *f_pos; f_pos 111 drivers/soc/qcom/rmtfs_mem.c if (copy_from_user(rmtfs_mem->base + *f_pos, buf, count)) f_pos 114 drivers/soc/qcom/rmtfs_mem.c *f_pos += count; f_pos 145 drivers/spi/spidev.c spidev_read(struct file *filp, char __user *buf, size_t count, loff_t *f_pos) f_pos 175 drivers/spi/spidev.c size_t count, loff_t *f_pos) f_pos 313 drivers/staging/android/ashmem.c asma->file->f_pos = iocb->ki_pos; f_pos 343 drivers/staging/android/ashmem.c file->f_pos = asma->file->f_pos; f_pos 326 drivers/staging/android/vsoc.c if (managed_filp->f_pos) { f_pos 327 drivers/staging/android/vsoc.c if (managed_filp->f_pos > np->permission.end_offset) { f_pos 331 drivers/staging/android/vsoc.c managed_filp->f_pos = np->permission.end_offset; f_pos 336 drivers/staging/android/vsoc.c if (managed_filp->f_pos < np->permission.begin_offset) { f_pos 337 drivers/staging/android/vsoc.c managed_filp->f_pos = 0; f_pos 339 drivers/staging/android/vsoc.c managed_filp->f_pos -= f_pos 658 drivers/staging/android/vsoc.c if (offset > 0 && offset + filp->f_pos < 0) f_pos 660 drivers/staging/android/vsoc.c offset += filp->f_pos; f_pos 690 drivers/staging/android/vsoc.c filp->f_pos = offset; f_pos 763 drivers/staging/pi433/pi433_if.c pi433_read(struct file *filp, char __user *buf, size_t size, loff_t *f_pos) f_pos 809 drivers/staging/pi433/pi433_if.c size_t count, loff_t *f_pos) f_pos 110 drivers/staging/rtl8723bs/os_dep/osdep_service.c rlen = kernel_read(fp, buf + sum, len - sum, &fp->f_pos); f_pos 1062 drivers/tty/tty_io.c res = vfs_write(p, buf, count, &p->f_pos); f_pos 1331 drivers/usb/class/usbtmc.c size_t count, loff_t *f_pos) f_pos 1471 drivers/usb/class/usbtmc.c *f_pos = *f_pos + done; f_pos 1481 drivers/usb/class/usbtmc.c size_t count, loff_t *f_pos) f_pos 56 fs/autofs/waitq.c wr = __kernel_write(file, data, bytes, &file->f_pos); f_pos 1783 fs/binfmt_elf_fdpic.c if (cprm->file->f_pos != offset) { f_pos 1787 fs/binfmt_elf_fdpic.c cprm->file->f_pos, offset); f_pos 630 fs/ceph/dir.c offset += file->f_pos; f_pos 643 fs/ceph/dir.c } else if (is_hash_order(offset) && offset > file->f_pos) { f_pos 650 fs/ceph/dir.c if (offset != file->f_pos) { f_pos 651 fs/ceph/dir.c file->f_pos = offset; f_pos 1634 fs/ceph/file.c ret = file->f_pos; f_pos 1637 fs/ceph/file.c offset += file->f_pos; f_pos 313 fs/cifs/readdir.c cifs_dbg(FYI, "Full path: %s start at: %lld\n", full_path, file->f_pos); f_pos 1690 fs/configfs/dir.c offset += file->f_pos; f_pos 1699 fs/configfs/dir.c if (offset != file->f_pos) { f_pos 1700 fs/configfs/dir.c file->f_pos = offset; f_pos 1701 fs/configfs/dir.c if (file->f_pos >= 2) { f_pos 1705 fs/configfs/dir.c loff_t n = file->f_pos - 2; f_pos 830 fs/coredump.c loff_t pos = file->f_pos; f_pos 840 fs/coredump.c file->f_pos = pos; f_pos 961 fs/eventpoll.c (long long)epi->ffd.file->f_pos, f_pos 774 fs/fat/dir.c buf.ctx.pos = file->f_pos; f_pos 779 fs/fat/dir.c file->f_pos = buf.ctx.pos; f_pos 255 fs/hfs/catalog.c rd->file->f_pos--; f_pos 400 fs/hfsplus/catalog.c rd->file->f_pos--; f_pos 141 fs/hfsplus/dir.c if (file->f_pos >= inode->i_size) f_pos 16 fs/hpfs/dir.c hpfs_del_pos(inode, &filp->f_pos); f_pos 26 fs/hpfs/dir.c loff_t new_off = off + (whence == 1 ? filp->f_pos : 0); f_pos 48 fs/hpfs/dir.c if (unlikely(hpfs_add_pos(i, &filp->f_pos) < 0)) { f_pos 54 fs/hpfs/dir.c filp->f_pos = new_off; f_pos 149 fs/hpfs/dir.c ret = hpfs_add_pos(inode, &file->f_pos); f_pos 482 fs/ioctl.c sr.l_start += filp->f_pos; f_pos 504 fs/ioctl.c return put_user(i_size_read(inode) - filp->f_pos, p); f_pos 42 fs/isofs/namei.c unsigned long block, f_pos, offset, block_saved, offset_saved; f_pos 49 fs/isofs/namei.c f_pos = 0; f_pos 53 fs/isofs/namei.c while (f_pos < dir->i_size) { f_pos 70 fs/isofs/namei.c f_pos = (f_pos + ISOFS_BLOCK_SIZE) & ~(ISOFS_BLOCK_SIZE - 1); f_pos 71 fs/isofs/namei.c block = f_pos >> bufbits; f_pos 79 fs/isofs/namei.c f_pos += de_len; f_pos 138 fs/libfs.c offset += file->f_pos; f_pos 147 fs/libfs.c if (offset != file->f_pos) { f_pos 164 fs/libfs.c file->f_pos = offset; f_pos 526 fs/locks.c fl->fl_start = filp->f_pos; f_pos 939 fs/nfs/dir.c return filp->f_pos; f_pos 941 fs/nfs/dir.c offset += filp->f_pos; f_pos 947 fs/nfs/dir.c if (offset != filp->f_pos) { f_pos 948 fs/nfs/dir.c filp->f_pos = offset; f_pos 1858 fs/ocfs2/file.c loff_t f_pos, unsigned int cmd, f_pos 1899 fs/ocfs2/file.c sr->l_start += f_pos; f_pos 2019 fs/ocfs2/file.c ret = __ocfs2_change_file_space(file, inode, file->f_pos, cmd, sr, 0); f_pos 2538 fs/ocfs2/file.c offset = file->f_pos; f_pos 2541 fs/ocfs2/file.c offset += file->f_pos; f_pos 157 fs/overlayfs/file.c return file->f_pos; f_pos 175 fs/overlayfs/file.c real.file->f_pos = file->f_pos; f_pos 181 fs/overlayfs/file.c file->f_pos = real.file->f_pos; f_pos 789 fs/overlayfs/readdir.c if (!file->f_pos) f_pos 794 fs/overlayfs/readdir.c file->f_pos = od->realfile->f_pos; f_pos 800 fs/overlayfs/readdir.c offset += file->f_pos; f_pos 810 fs/overlayfs/readdir.c if (offset != file->f_pos) { f_pos 811 fs/overlayfs/readdir.c file->f_pos = offset; f_pos 887 fs/proc/base.c file->f_pos = offset; f_pos 890 fs/proc/base.c file->f_pos += offset; f_pos 896 fs/proc/base.c return file->f_pos; f_pos 3583 fs/proc/base.c static struct task_struct *first_tid(struct pid *pid, int tid, loff_t f_pos, f_pos 3587 fs/proc/base.c unsigned long nr = f_pos; f_pos 3589 fs/proc/base.c if (nr != f_pos) /* 32bit overflow? */ f_pos 57 fs/proc/fd.c (long long)file->f_pos, f_flags, f_pos 61 fs/read_write.c if (offset != file->f_pos) { f_pos 62 fs/read_write.c file->f_pos = offset; f_pos 101 fs/read_write.c return file->f_pos; f_pos 108 fs/read_write.c offset = vfs_setpos(file, file->f_pos + offset, maxsize); f_pos 226 fs/read_write.c return file->f_pos; f_pos 248 fs/read_write.c retval = file->f_pos; f_pos 251 fs/read_write.c offset += file->f_pos; f_pos 279 fs/read_write.c if (offset != file->f_pos) { f_pos 280 fs/read_write.c file->f_pos = offset; f_pos 573 fs/read_write.c return file->f_mode & FMODE_STREAM ? NULL : &file->f_pos; f_pos 589 fs/read_write.c f.file->f_pos = pos; f_pos 613 fs/read_write.c f.file->f_pos = pos; f_pos 1036 fs/read_write.c f.file->f_pos = pos; f_pos 1060 fs/read_write.c f.file->f_pos = pos; f_pos 1205 fs/read_write.c pos = f.file->f_pos; f_pos 1208 fs/read_write.c f.file->f_pos = pos; f_pos 1315 fs/read_write.c pos = f.file->f_pos; f_pos 1318 fs/read_write.c f.file->f_pos = pos; f_pos 1414 fs/read_write.c pos = in.file->f_pos; f_pos 1437 fs/read_write.c out_pos = out.file->f_pos; f_pos 1472 fs/read_write.c out.file->f_pos = out_pos; f_pos 1476 fs/read_write.c in.file->f_pos = pos; f_pos 1713 fs/read_write.c pos_in = f_in.file->f_pos; f_pos 1720 fs/read_write.c pos_out = f_out.file->f_pos; f_pos 1733 fs/read_write.c f_in.file->f_pos = pos_in; f_pos 1740 fs/read_write.c f_out.file->f_pos = pos_out; f_pos 63 fs/readdir.c ctx->pos = file->f_pos; f_pos 68 fs/readdir.c file->f_pos = ctx->pos; f_pos 319 fs/seq_file.c offset += file->f_pos; f_pos 330 fs/seq_file.c file->f_pos = 0; f_pos 337 fs/seq_file.c retval = file->f_pos = offset; f_pos 340 fs/seq_file.c file->f_pos = offset; f_pos 1139 fs/splice.c offset = out->f_pos; f_pos 1160 fs/splice.c out->f_pos = offset; f_pos 1176 fs/splice.c offset = in->f_pos; f_pos 1197 fs/splice.c in->f_pos = offset; f_pos 40 fs/squashfs/dir.c int i_count, u64 f_pos) f_pos 48 fs/squashfs/dir.c i_count, f_pos); f_pos 55 fs/squashfs/dir.c if (f_pos <= 3) f_pos 56 fs/squashfs/dir.c return f_pos; f_pos 57 fs/squashfs/dir.c f_pos -= 3; f_pos 66 fs/squashfs/dir.c if (index > f_pos) f_pos 336 fs/udf/inode.c loff_t f_pos = udf_ext0_offset(inode); f_pos 373 fs/udf/inode.c f_pos & (inode->i_sb->s_blocksize - 1); f_pos 377 fs/udf/inode.c while (f_pos < size) { f_pos 379 fs/udf/inode.c sfi = udf_fileident_read(inode, &f_pos, &sfibh, &cfi, NULL, f_pos 166 fs/udf/namei.c loff_t f_pos; f_pos 184 fs/udf/namei.c f_pos = udf_ext0_offset(dir); f_pos 187 fs/udf/namei.c fibh->soffset = fibh->eoffset = f_pos & (sb->s_blocksize - 1); f_pos 189 fs/udf/namei.c if (inode_bmap(dir, f_pos >> sb->s_blocksize_bits, &epos, f_pos 217 fs/udf/namei.c while (f_pos < size) { f_pos 218 fs/udf/namei.c fi = udf_fileident_read(dir, &f_pos, fibh, cfi, &epos, &eloc, f_pos 336 fs/udf/namei.c loff_t f_pos; f_pos 371 fs/udf/namei.c f_pos = udf_ext0_offset(dir); f_pos 373 fs/udf/namei.c fibh->soffset = fibh->eoffset = f_pos & (dir->i_sb->s_blocksize - 1); f_pos 376 fs/udf/namei.c if (inode_bmap(dir, f_pos >> dir->i_sb->s_blocksize_bits, &epos, f_pos 401 fs/udf/namei.c while (f_pos < size) { f_pos 402 fs/udf/namei.c fi = udf_fileident_read(dir, &f_pos, fibh, cfi, &epos, &eloc, f_pos 429 fs/udf/namei.c f_pos += nfidlen; f_pos 437 fs/udf/namei.c f_pos -= udf_ext0_offset(dir); f_pos 495 fs/udf/namei.c f_pos >> dir->i_sb->s_blocksize_bits, 1, err); f_pos 725 fs/udf/namei.c loff_t f_pos; f_pos 734 fs/udf/namei.c f_pos = udf_ext0_offset(dir); f_pos 735 fs/udf/namei.c fibh.soffset = fibh.eoffset = f_pos & (dir->i_sb->s_blocksize - 1); f_pos 739 fs/udf/namei.c else if (inode_bmap(dir, f_pos >> dir->i_sb->s_blocksize_bits, f_pos 761 fs/udf/namei.c while (f_pos < size) { f_pos 762 fs/udf/namei.c fi = udf_fileident_read(dir, &f_pos, &fibh, &cfi, &epos, &eloc, f_pos 630 fs/xfs/xfs_ioctl.c bf->l_start += filp->f_pos; f_pos 763 include/drm/ttm/ttm_bo_api.h size_t count, loff_t *f_pos, bool write); f_pos 955 include/linux/fs.h loff_t f_pos; f_pos 87 kernel/power/qos.c size_t count, loff_t *f_pos); f_pos 89 kernel/power/qos.c size_t count, loff_t *f_pos); f_pos 588 kernel/power/qos.c size_t count, loff_t *f_pos) f_pos 603 kernel/power/qos.c return simple_read_from_buffer(buf, count, f_pos, &value, sizeof(s32)); f_pos 607 kernel/power/qos.c size_t count, loff_t *f_pos) f_pos 4422 kernel/trace/trace.c file->f_pos = ret = 0; f_pos 262 net/9p/trans_fd.c pos = ts->rd->f_pos; f_pos 424 net/9p/trans_fd.c ret = kernel_write(ts->wr, v, len, &ts->wr->f_pos); f_pos 126 sound/core/info.c offset += file->f_pos; f_pos 140 sound/core/info.c file->f_pos = offset;