/linux-4.1.27/fs/squashfs/ |
H A D | dir.c | 44 * Lookup offset (f_pos) in the directory index, returning the 53 int i_count, u64 f_pos) get_dir_index_using_offset() 60 TRACE("Entered get_dir_index_using_offset, i_count %d, f_pos %lld\n", get_dir_index_using_offset() 61 i_count, f_pos); get_dir_index_using_offset() 64 * Translate from external f_pos to the internal f_pos. This get_dir_index_using_offset() 68 if (f_pos <= 3) get_dir_index_using_offset() 69 return f_pos; get_dir_index_using_offset() 70 f_pos -= 3; get_dir_index_using_offset() 79 if (index > f_pos) get_dir_index_using_offset() 104 * Translate back from internal f_pos to external f_pos. get_dir_index_using_offset() 133 * It also means that the external f_pos is offset by 3 from the squashfs_readdir() 134 * on-disk directory f_pos. squashfs_readdir() 51 get_dir_index_using_offset(struct super_block *sb, u64 *next_block, int *next_offset, u64 index_start, int index_offset, int i_count, u64 f_pos) get_dir_index_using_offset() argument
|
H A D | namei.c | 130 * Return index (f_pos) of the looked up metadata block. Translate get_dir_index_using_name() 131 * from internal f_pos to external f_pos which is offset by 3 because get_dir_index_using_name()
|
/linux-4.1.27/fs/isofs/ |
H A D | namei.c | 41 unsigned long block, f_pos, offset, block_saved, offset_saved; isofs_find_entry() local 48 f_pos = 0; isofs_find_entry() 52 while (f_pos < dir->i_size) { isofs_find_entry() 69 f_pos = (f_pos + ISOFS_BLOCK_SIZE) & ~(ISOFS_BLOCK_SIZE - 1); isofs_find_entry() 70 block = f_pos >> bufbits; isofs_find_entry() 78 f_pos += de_len; isofs_find_entry()
|
/linux-4.1.27/drivers/sbus/char/ |
H A D | flash.c | 85 file->f_pos = offset; flash_llseek() 88 file->f_pos += offset; flash_llseek() 89 if (file->f_pos > flash.read_size) flash_llseek() 90 file->f_pos = flash.read_size; flash_llseek() 93 file->f_pos = flash.read_size; flash_llseek() 100 return file->f_pos; flash_llseek()
|
H A D | jsflash.c | 233 file->f_pos = offset; jsf_lseek() 234 ret = file->f_pos; jsf_lseek() 237 file->f_pos += offset; jsf_lseek() 238 ret = file->f_pos; jsf_lseek()
|
/linux-4.1.27/drivers/macintosh/ |
H A D | nvram.c | 27 offset += file->f_pos; nvram_llseek() 38 file->f_pos = offset; nvram_llseek() 39 return file->f_pos; nvram_llseek()
|
/linux-4.1.27/drivers/char/ |
H A D | generic_nvram.c | 40 offset += file->f_pos; nvram_llseek() 51 file->f_pos = offset; nvram_llseek() 53 return file->f_pos; nvram_llseek()
|
H A D | tile-srom.c | 169 * @f_pos: File position. 174 size_t count, loff_t *f_pos) srom_read() 195 *f_pos, bytes_this_pass); srom_read() 208 *f_pos += hv_retval; srom_read() 224 * @f_pos: File position. 229 size_t count, loff_t *f_pos) srom_write() 255 *f_pos, bytes_this_pass); srom_write() 263 *f_pos += hv_retval; srom_write() 173 srom_read(struct file *filp, char __user *buf, size_t count, loff_t *f_pos) srom_read() argument 228 srom_write(struct file *filp, const char __user *buf, size_t count, loff_t *f_pos) srom_write() argument
|
H A D | nwflash.c | 9 * - use *ppos as the file position, not file->f_pos. 292 file->f_pos = (unsigned int) offset; flash_llseek() 293 ret = file->f_pos; flash_llseek() 296 if ((file->f_pos + offset) > gbFlashSize) { flash_llseek() 300 if ((file->f_pos + offset) < 0) { flash_llseek() 304 file->f_pos += offset; flash_llseek() 305 ret = file->f_pos; flash_llseek()
|
H A D | mem.c | 95 * This funcion reads the *physical* memory. The f_pos points directly to the 677 return file->f_pos = 0; null_lseek() 695 offset += file->f_pos; memory_lseek() 697 /* to avoid userland mistaking f_pos=-9 as -EBADF=-9 */ memory_lseek() 702 file->f_pos = offset; memory_lseek() 703 ret = file->f_pos; memory_lseek()
|
H A D | snsc.c | 159 scdrv_read(struct file *file, char __user *buf, size_t count, loff_t *f_pos) scdrv_read() argument 252 size_t count, loff_t *f_pos) scdrv_write() 251 scdrv_write(struct file *file, const char __user *buf, size_t count, loff_t *f_pos) scdrv_write() argument
|
H A D | nvram.c | 221 offset += file->f_pos; nvram_llseek() 230 return (offset >= 0) ? (file->f_pos = offset) : -EINVAL; nvram_llseek()
|
H A D | mbcs.c | 462 newpos = filp->f_pos + off; mbcs_sram_llseek() 476 filp->f_pos = newpos; mbcs_sram_llseek()
|
H A D | tlclk.c | 245 loff_t *f_pos) tlclk_read() 244 tlclk_read(struct file *filp, char __user *buf, size_t count, loff_t *f_pos) tlclk_read() argument
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | cpuid.c | 69 file->f_pos = offset; cpuid_seek() 70 ret = file->f_pos; cpuid_seek() 73 file->f_pos += offset; cpuid_seek() 74 ret = file->f_pos; cpuid_seek()
|
H A D | msr.c | 56 file->f_pos = offset; msr_seek() 57 ret = file->f_pos; msr_seek() 60 file->f_pos += offset; msr_seek() 61 ret = file->f_pos; msr_seek()
|
/linux-4.1.27/fs/udf/ |
H A D | namei.c | 147 loff_t f_pos; udf_find_entry() local 164 f_pos = udf_ext0_offset(dir); udf_find_entry() 167 fibh->soffset = fibh->eoffset = f_pos & (sb->s_blocksize - 1); udf_find_entry() 169 if (inode_bmap(dir, f_pos >> sb->s_blocksize_bits, &epos, udf_find_entry() 190 while (f_pos < size) { udf_find_entry() 191 fi = udf_fileident_read(dir, &f_pos, fibh, cfi, &epos, &eloc, udf_find_entry() 303 loff_t f_pos; udf_add_entry() local 339 f_pos = udf_ext0_offset(dir); udf_add_entry() 341 fibh->soffset = fibh->eoffset = f_pos & (dir->i_sb->s_blocksize - 1); udf_add_entry() 344 if (inode_bmap(dir, f_pos >> dir->i_sb->s_blocksize_bits, &epos, udf_add_entry() 369 while (f_pos < size) { udf_add_entry() 370 fi = udf_fileident_read(dir, &f_pos, fibh, cfi, &epos, &eloc, udf_add_entry() 401 f_pos += nfidlen; udf_add_entry() 409 f_pos -= udf_ext0_offset(dir); udf_add_entry() 467 f_pos >> dir->i_sb->s_blocksize_bits, 1, err); udf_add_entry() 702 loff_t f_pos; empty_dir() local 711 f_pos = udf_ext0_offset(dir); empty_dir() 712 fibh.soffset = fibh.eoffset = f_pos & (dir->i_sb->s_blocksize - 1); empty_dir() 716 else if (inode_bmap(dir, f_pos >> dir->i_sb->s_blocksize_bits, empty_dir() 738 while (f_pos < size) { empty_dir() 739 fi = udf_fileident_read(dir, &f_pos, &fibh, &cfi, &epos, &eloc, empty_dir()
|
H A D | inode.c | 338 loff_t f_pos = udf_ext0_offset(inode); udf_expand_dir_adinicb() local 375 f_pos & (inode->i_sb->s_blocksize - 1); udf_expand_dir_adinicb() 379 while (f_pos < size) { udf_expand_dir_adinicb() 381 sfi = udf_fileident_read(inode, &f_pos, &sfibh, &cfi, NULL, udf_expand_dir_adinicb()
|
/linux-4.1.27/fs/ |
H A D | read_write.c | 60 if (offset != file->f_pos) { vfs_setpos() 61 file->f_pos = offset; vfs_setpos() 96 * f_pos value back to the file because a concurrent read(), generic_file_llseek_size() 100 return file->f_pos; generic_file_llseek_size() 107 offset = vfs_setpos(file, file->f_pos + offset, maxsize); generic_file_llseek_size() 186 return file->f_pos; noop_llseek() 208 retval = file->f_pos; default_llseek() 211 offset += file->f_pos; default_llseek() 239 if (offset != file->f_pos) { default_llseek() 240 file->f_pos = offset; default_llseek() 554 return file->f_pos; file_pos_read() 559 file->f_pos = pos; file_pos_write() 1032 pos = f.file->f_pos; COMPAT_SYSCALL_DEFINE3() 1035 f.file->f_pos = pos; COMPAT_SYSCALL_DEFINE3() 1109 pos = f.file->f_pos; COMPAT_SYSCALL_DEFINE3() 1112 f.file->f_pos = pos; COMPAT_SYSCALL_DEFINE3() 1176 pos = in.file->f_pos; do_sendfile() 1199 out_pos = out.file->f_pos; do_sendfile() 1235 out.file->f_pos = out_pos; do_sendfile() 1239 in.file->f_pos = pos; do_sendfile()
|
H A D | readdir.c | 41 ctx->pos = file->f_pos; iterate_dir() 43 file->f_pos = ctx->pos; iterate_dir()
|
H A D | seq_file.c | 318 offset += file->f_pos; seq_lseek() 328 file->f_pos = 0; seq_lseek() 335 retval = file->f_pos = offset; seq_lseek() 338 file->f_pos = offset; seq_lseek()
|
H A D | libfs.c | 100 offset += file->f_pos; dcache_dir_lseek() 108 if (offset != file->f_pos) { dcache_dir_lseek() 109 file->f_pos = offset; dcache_dir_lseek() 110 if (file->f_pos >= 2) { dcache_dir_lseek() 113 loff_t n = file->f_pos - 2; dcache_dir_lseek()
|
H A D | ioctl.c | 442 sr.l_start += filp->f_pos; ioctl_preallocate() 464 return put_user(i_size_read(inode) - filp->f_pos, p); file_ioctl()
|
H A D | coredump.c | 757 loff_t pos = file->f_pos; dump_emit() 767 file->f_pos = pos; dump_emit()
|
H A D | binfmt_elf_fdpic.c | 1764 if (cprm->file->f_pos != offset) { elf_fdpic_core_dump() 1767 "elf_core_dump: file->f_pos (%lld) != offset (%lld)\n", elf_fdpic_core_dump() 1768 cprm->file->f_pos, offset); elf_fdpic_core_dump()
|
H A D | splice.c | 1380 offset = out->f_pos; do_splice() 1398 out->f_pos = offset; do_splice() 1414 offset = in->f_pos; do_splice() 1420 in->f_pos = offset; do_splice()
|
H A D | file.c | 720 * We only lock f_pos if we have threads or if the file might be
|
H A D | locks.c | 414 fl->fl_start = filp->f_pos; flock64_to_posix_lock()
|
/linux-4.1.27/fs/hpfs/ |
H A D | dir.c | 15 hpfs_del_pos(inode, &filp->f_pos); hpfs_dir_release() 25 loff_t new_off = off + (whence == 1 ? filp->f_pos : 0); hpfs_dir_lseek() 47 hpfs_add_pos(i, &filp->f_pos); hpfs_dir_lseek() 49 filp->f_pos = new_off; hpfs_dir_lseek() 145 hpfs_add_pos(inode, &file->f_pos); hpfs_readdir()
|
/linux-4.1.27/fs/affs/ |
H A D | dir.c | 57 pr_debug("%s(ino=%lu,f_pos=%llx)\n", __func__, inode->i_ino, ctx->pos); affs_readdir() 120 pr_debug("readdir(): dir_emit(\"%.*s\", ino=%u), hash=%d, f_pos=%llx\n", affs_readdir()
|
/linux-4.1.27/fs/overlayfs/ |
H A D | readdir.c | 403 if (!file->f_pos) ovl_dir_llseek() 408 file->f_pos = od->realfile->f_pos; ovl_dir_llseek() 414 offset += file->f_pos; ovl_dir_llseek() 424 if (offset != file->f_pos) { ovl_dir_llseek() 425 file->f_pos = offset; ovl_dir_llseek()
|
/linux-4.1.27/arch/cris/arch-v10/drivers/ |
H A D | eeprom.c | 406 file->f_pos = offset; eeprom_lseek() 409 file->f_pos += offset; eeprom_lseek() 412 file->f_pos = eeprom.size - offset; eeprom_lseek() 419 if (file->f_pos < 0) eeprom_lseek() 421 file->f_pos = 0; eeprom_lseek() 425 if (file->f_pos >= eeprom.size) eeprom_lseek() 427 file->f_pos = eeprom.size - 1; eeprom_lseek() 431 return ( file->f_pos ); eeprom_lseek()
|
/linux-4.1.27/drivers/media/usb/stkwebcam/ |
H A D | stk-webcam.c | 652 size_t count, loff_t *f_pos) stk_read() 678 if (*f_pos == 0) { stk_read() 688 if (count + *f_pos > dev->frame_size) stk_read() 689 count = dev->frame_size - *f_pos; stk_read() 699 if (copy_to_user(buf, sbuf->buffer + *f_pos, count)) stk_read() 702 *f_pos += count; stk_read() 704 if (*f_pos >= dev->frame_size) { stk_read() 705 *f_pos = 0; stk_read() 714 size_t count, loff_t *f_pos) v4l_stk_read() 721 ret = stk_read(fp, buf, count, f_pos); v4l_stk_read() 651 stk_read(struct file *fp, char __user *buf, size_t count, loff_t *f_pos) stk_read() argument 713 v4l_stk_read(struct file *fp, char __user *buf, size_t count, loff_t *f_pos) v4l_stk_read() argument
|
/linux-4.1.27/drivers/s390/char/ |
H A D | hmcdrv_dev.c | 163 pos += fp->f_pos; /* new position stored in 'pos' */ hmcdrv_dev_seek() 188 if (fp->f_pos != pos) hmcdrv_dev_seek() 191 fp->f_pos = pos; hmcdrv_dev_seek()
|
H A D | zcore.c | 390 file->f_pos = offset; zcore_lseek() 391 rc = file->f_pos; zcore_lseek() 394 file->f_pos += offset; zcore_lseek() 395 rc = file->f_pos; zcore_lseek()
|
H A D | vmur.c | 796 newpos = file->f_pos + offset; ur_llseek() 801 file->f_pos = newpos; ur_llseek()
|
/linux-4.1.27/kernel/power/ |
H A D | qos.c | 134 size_t count, loff_t *f_pos); 136 size_t count, loff_t *f_pos); 647 size_t count, loff_t *f_pos) pm_qos_power_read() 662 return simple_read_from_buffer(buf, count, f_pos, &value, sizeof(s32)); pm_qos_power_read() 666 size_t count, loff_t *f_pos) pm_qos_power_write() 646 pm_qos_power_read(struct file *filp, char __user *buf, size_t count, loff_t *f_pos) pm_qos_power_read() argument 665 pm_qos_power_write(struct file *filp, const char __user *buf, size_t count, loff_t *f_pos) pm_qos_power_write() argument
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/ |
H A D | tracefile.c | 712 tage->used, &filp->f_pos); cfs_tracefile_dump_all_pages() 1020 static loff_t f_pos; tracefiled() local 1024 if (f_pos >= (off_t)cfs_tracefile_size) tracefiled() 1025 f_pos = 0; tracefiled() 1026 else if (f_pos > i_size_read(file_inode(filp))) tracefiled() 1027 f_pos = i_size_read(file_inode(filp)); tracefiled() 1031 tage->used, &f_pos); tracefiled()
|
/linux-4.1.27/drivers/usb/core/ |
H A D | devices.c | 672 file->f_pos = offset; usb_device_lseek() 673 ret = file->f_pos; usb_device_lseek() 676 file->f_pos += offset; usb_device_lseek() 677 ret = file->f_pos; usb_device_lseek()
|
H A D | devio.c | 168 file->f_pos = offset; usbdev_lseek() 169 ret = file->f_pos; usbdev_lseek() 172 file->f_pos += offset; usbdev_lseek() 173 ret = file->f_pos; usbdev_lseek()
|
/linux-4.1.27/fs/hppfs/ |
H A D | hppfs.c | 189 n = (*read)(file, buf, count, &file->f_pos); read_proc() 195 *ppos = file->f_pos; read_proc() 574 proc_file->f_pos = ctx->pos; hppfs_readdir()
|
/linux-4.1.27/drivers/usb/host/ |
H A D | uhci-debug.c | 600 new = file->f_pos + off; uhci_debug_lseek() 607 return (file->f_pos = new); uhci_debug_lseek()
|
/linux-4.1.27/fs/ext3/ |
H A D | dir.c | 218 * These functions convert from the major/minor hash to an f_pos 449 /* Some one has messed with f_pos; reset the world */ ext3_dx_readdir()
|
/linux-4.1.27/drivers/staging/android/ |
H A D | ashmem.c | 316 asma->file->f_pos = *pos; ashmem_read() 346 /** Copy f_pos from backing file, since f_ops->llseek() sets it */ ashmem_llseek() 347 file->f_pos = asma->file->f_pos; ashmem_llseek()
|
/linux-4.1.27/drivers/net/wireless/ti/wlcore/ |
H A D | debugfs.c | 1216 file->f_pos = offset; dev_mem_seek() 1217 ret = file->f_pos; dev_mem_seek() 1220 file->f_pos += offset; dev_mem_seek() 1221 ret = file->f_pos; dev_mem_seek()
|
/linux-4.1.27/drivers/usb/class/ |
H A D | usbtmc.c | 433 size_t count, loff_t *f_pos) usbtmc_read() 607 *f_pos = *f_pos + done; usbtmc_read() 617 size_t count, loff_t *f_pos) usbtmc_write() 432 usbtmc_read(struct file *filp, char __user *buf, size_t count, loff_t *f_pos) usbtmc_read() argument 616 usbtmc_write(struct file *filp, const char __user *buf, size_t count, loff_t *f_pos) usbtmc_write() argument
|
/linux-4.1.27/fs/proc/ |
H A D | fd.c | 56 (long long)file->f_pos, f_flags, seq_show()
|
H A D | base.c | 721 file->f_pos = offset; mem_lseek() 724 file->f_pos += offset; mem_lseek() 730 return file->f_pos; mem_lseek() 3082 static struct task_struct *first_tid(struct pid *pid, int tid, loff_t f_pos, first_tid() argument 3086 unsigned long nr = f_pos; first_tid() 3088 if (nr != f_pos) /* 32bit overflow? */ first_tid()
|
/linux-4.1.27/fs/reiserfs/ |
H A D | dir.c | 85 * f_pos field of file structure reiserfs_readdir_inode()
|
/linux-4.1.27/fs/bfs/ |
H A D | dir.c | 38 printf("Bad f_pos=%08lx for %s:%08lx\n", bfs_readdir()
|
/linux-4.1.27/fs/configfs/ |
H A D | dir.c | 1596 offset += file->f_pos; configfs_dir_lseek() 1604 if (offset != file->f_pos) { configfs_dir_lseek() 1605 file->f_pos = offset; configfs_dir_lseek() 1606 if (file->f_pos >= 2) { configfs_dir_lseek() 1610 loff_t n = file->f_pos - 2; configfs_dir_lseek()
|
/linux-4.1.27/drivers/spi/ |
H A D | spidev.c | 166 spidev_read(struct file *filp, char __user *buf, size_t count, loff_t *f_pos) spidev_read() argument 196 size_t count, loff_t *f_pos) spidev_write() 195 spidev_write(struct file *filp, const char __user *buf, size_t count, loff_t *f_pos) spidev_write() argument
|
/linux-4.1.27/arch/um/drivers/ |
H A D | mconsole_kern.c | 150 loff_t pos = file->f_pos; mconsole_proc() 155 file->f_pos = pos; mconsole_proc()
|
/linux-4.1.27/fs/ext4/ |
H A D | dir.c | 292 * These functions convert from the major/minor hash to an f_pos 531 /* Some one has messed with f_pos; reset the world */ ext4_dx_readdir()
|
H A D | inline.c | 1424 * dir_index disabled. In order to keep f_pos persistent
|
/linux-4.1.27/sound/core/ |
H A D | info.c | 180 offset += file->f_pos; snd_info_entry_llseek() 194 file->f_pos = offset; snd_info_entry_llseek()
|
/linux-4.1.27/drivers/media/usb/tm6000/ |
H A D | tm6000.h | 376 loff_t *f_pos);
|
/linux-4.1.27/drivers/char/xillybus/ |
H A D | xillybus_core.c | 668 size_t count, loff_t *f_pos) xillybus_read() 1183 size_t count, loff_t *f_pos) xillybus_write() 1666 loff_t pos = filp->f_pos; xillybus_llseek() 1721 filp->f_pos = pos; xillybus_llseek() 667 xillybus_read(struct file *filp, char __user *userbuf, size_t count, loff_t *f_pos) xillybus_read() argument 1182 xillybus_write(struct file *filp, const char __user *userbuf, size_t count, loff_t *f_pos) xillybus_write() argument
|
/linux-4.1.27/fs/hfs/ |
H A D | catalog.c | 247 rd->file->f_pos--; hfs_cat_delete()
|
/linux-4.1.27/fs/ceph/ |
H A D | dir.c | 90 * frag into f_pos. 504 offset += file->f_pos; ceph_dir_llseek() 512 if (offset != file->f_pos) { ceph_dir_llseek() 513 file->f_pos = offset; ceph_dir_llseek()
|
H A D | file.c | 1092 * f_pos value back to the file because a concurrent read(), ceph_llseek() 1096 offset = file->f_pos; ceph_llseek() 1099 offset += file->f_pos; ceph_llseek()
|
/linux-4.1.27/fs/ecryptfs/ |
H A D | file.c | 115 lower_file->f_pos = ctx->pos; ecryptfs_readdir()
|
/linux-4.1.27/drivers/misc/carma/ |
H A D | carma-fpga-program.c | 798 size_t count, loff_t *f_pos) fpga_write() 815 loff_t *f_pos) fpga_read() 818 return simple_read_from_buffer(buf, count, f_pos, fpga_read() 797 fpga_write(struct file *filp, const char __user *buf, size_t count, loff_t *f_pos) fpga_write() argument 814 fpga_read(struct file *filp, char __user *buf, size_t count, loff_t *f_pos) fpga_read() argument
|
H A D | carma-fpga.c | 1161 loff_t *f_pos) data_read() 1160 data_read(struct file *filp, char __user *ubuf, size_t count, loff_t *f_pos) data_read() argument
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | nvram_64.c | 744 offset += file->f_pos; dev_nvram_llseek() 752 file->f_pos = offset; dev_nvram_llseek() 753 return file->f_pos; dev_nvram_llseek()
|
/linux-4.1.27/fs/ocfs2/ |
H A D | file.c | 1838 loff_t f_pos, unsigned int cmd, __ocfs2_change_file_space() 1879 sr->l_start += f_pos; __ocfs2_change_file_space() 1999 ret = __ocfs2_change_file_space(file, inode, file->f_pos, cmd, sr, 0); ocfs2_change_file_space() 2576 offset = file->f_pos; ocfs2_file_llseek() 2579 offset += file->f_pos; ocfs2_file_llseek() 1837 __ocfs2_change_file_space(struct file *file, struct inode *inode, loff_t f_pos, unsigned int cmd, struct ocfs2_space_resv *sr, int change_size) __ocfs2_change_file_space() argument
|
H A D | dir.c | 1809 /* On error, skip the f_pos to the end. */ ocfs2_dir_foreach_blk_id() 1906 /* On error, skip the f_pos to the ocfs2_dir_foreach_blk_el()
|
/linux-4.1.27/fs/hfsplus/ |
H A D | catalog.c | 381 rd->file->f_pos--; hfsplus_delete_cat()
|
H A D | dir.c | 142 if (file->f_pos >= inode->i_size) hfsplus_readdir()
|
/linux-4.1.27/arch/mips/sibyte/common/ |
H A D | sb_tbprof.c | 276 filp->f_pos = 0; sbprof_zbprof_start()
|
/linux-4.1.27/fs/autofs4/ |
H A D | waitq.c | 73 (wr = __vfs_write(file,data,bytes,&file->f_pos)) > 0) { autofs4_write()
|
/linux-4.1.27/drivers/mtd/ |
H A D | mtdchar.c | 868 file->f_pos = 0; mtdchar_ioctl() 963 file->f_pos = 0; mtdchar_ioctl()
|
/linux-4.1.27/drivers/s390/crypto/ |
H A D | zcrypt_api.c | 380 size_t count, loff_t *f_pos) zcrypt_read() 391 size_t count, loff_t *f_pos) zcrypt_write() 379 zcrypt_read(struct file *filp, char __user *buf, size_t count, loff_t *f_pos) zcrypt_read() argument 390 zcrypt_write(struct file *filp, const char __user *buf, size_t count, loff_t *f_pos) zcrypt_write() argument
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | mdesc.c | 1040 offset += file->f_pos; mdesc_llseek() 1052 file->f_pos = offset; mdesc_llseek()
|
/linux-4.1.27/fs/ubifs/ |
H A D | dir.c | 360 dbg_gen("dir ino %lu, f_pos %#llx", dir->i_ino, ctx->pos); ubifs_readdir() 424 dbg_gen("feed '%s', ino %llu, new f_pos %#x", ubifs_readdir()
|
/linux-4.1.27/fs/fat/ |
H A D | dir.c | 767 buf.ctx.pos = file->f_pos; fat_ioctl_readdir() 772 file->f_pos = buf.ctx.pos; fat_ioctl_readdir()
|
/linux-4.1.27/net/9p/ |
H A D | trans_fd.c | 285 ret = kernel_read(ts->rd, ts->rd->f_pos, v, len); p9_fd_read() 431 ret = vfs_write(ts->wr, (__force void __user *)v, len, &ts->wr->f_pos); p9_fd_write()
|
/linux-4.1.27/include/drm/ttm/ |
H A D | ttm_bo_api.h | 682 * @f_pos: Pointer to current file position. 696 size_t count, loff_t *f_pos, bool write);
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
H A D | dir.c | 1916 offset += file->f_pos; ll_dir_seek() 1933 if (offset != file->f_pos) { ll_dir_seek() 1941 file->f_pos = offset; ll_dir_seek()
|
H A D | file.c | 2532 (origin == SEEK_CUR) ? file->f_pos : 0); ll_file_seek()
|
/linux-4.1.27/fs/nfs/ |
H A D | dir.c | 954 offset += filp->f_pos; nfs_llseek_dir() 962 if (offset != filp->f_pos) { nfs_llseek_dir() 963 filp->f_pos = offset; nfs_llseek_dir()
|
/linux-4.1.27/drivers/scsi/fnic/ |
H A D | fnic_debugfs.c | 290 * that value to the f_pos field of @file.
|
/linux-4.1.27/drivers/usb/misc/sisusbvga/ |
H A D | sisusb.c | 2821 file->f_pos = offset; sisusb_lseek() 2822 ret = file->f_pos; sisusb_lseek() 2826 file->f_pos += offset; sisusb_lseek() 2827 ret = file->f_pos; sisusb_lseek()
|
/linux-4.1.27/sound/soc/ |
H A D | soc-core.c | 378 .llseek = default_llseek,/* read accesses f_pos */ 418 .llseek = default_llseek,/* read accesses f_pos */ 456 .llseek = default_llseek,/* read accesses f_pos */
|
/linux-4.1.27/drivers/dma/ |
H A D | coh901318.c | 1338 size_t count, loff_t *f_pos) coh901318_debugfs_read() 1360 ret = simple_read_from_buffer(buf, count, f_pos, dev_buf, coh901318_debugfs_read() 1337 coh901318_debugfs_read(struct file *file, char __user *buf, size_t count, loff_t *f_pos) coh901318_debugfs_read() argument
|
/linux-4.1.27/fs/nfsd/ |
H A D | nfs4proc.c | 1091 * Note: This call does change file->f_pos, but nothing in NFSD nfsd4_seek() 1092 * should ever file->f_pos. nfsd4_seek()
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
H A D | debug.c | 943 .llseek = default_llseek,/* read accesses f_pos */
|
/linux-4.1.27/fs/cifs/ |
H A D | readdir.c | 309 cifs_dbg(FYI, "Full path: %s start at: %lld\n", full_path, file->f_pos); initiate_cifs_search()
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_ioctl.c | 653 bf->l_start += filp->f_pos; xfs_ioc_space()
|
/linux-4.1.27/fs/ntfs/ |
H A D | dir.c | 1088 * parts (e.g. ->f_pos and ->i_size, and it also protects against directory
|
/linux-4.1.27/include/linux/ |
H A D | fs.h | 131 /* File needs atomic accesses to f_pos */ 847 loff_t f_pos; member in struct:file
|
/linux-4.1.27/fs/btrfs/ |
H A D | inode.c | 5955 * since we search a directory based on f_pos we have to start at 2 btrfs_set_inode_index_count() 5956 * since '.' and '..' have f_pos of 0 and 1 respectively, so everybody btrfs_set_inode_index_count()
|
/linux-4.1.27/drivers/scsi/lpfc/ |
H A D | lpfc_debugfs.c | 1159 * f_pos field of @file.
|
/linux-4.1.27/drivers/tty/ |
H A D | tty_io.c | 1270 res = vfs_write(p, buf, count, &p->f_pos); redirected_tty_write()
|
/linux-4.1.27/drivers/scsi/ |
H A D | osst.c | 4849 name, (long)(filp->f_pos)); os_scsi_tape_flush()
|
/linux-4.1.27/kernel/trace/ |
H A D | trace.c | 3353 file->f_pos = ret = 0; tracing_lseek()
|