tag | line | file | source code |
f_pos | 398 | arch/sparc/kernel/sys_sunos.c | put_user(file->f_pos, &lastdirent->d_off); |
f_pos | 3386 | drivers/block/floppy.c | block = (filp->f_pos + count) >> 9; |
f_pos | 283 | drivers/block/rd.c | fp->f_pos = start_block * BLOCK_SIZE; |
f_pos | 304 | drivers/block/rd.c | fp->f_pos = (start_block+1) * BLOCK_SIZE; |
f_pos | 333 | drivers/block/rd.c | fp->f_pos = start_block * BLOCK_SIZE; |
f_pos | 4171 | drivers/char/istallion.c | if (fp->f_pos >= brdp->memsize) |
f_pos | 4174 | drivers/char/istallion.c | size = MIN(count, (brdp->memsize - fp->f_pos)); |
f_pos | 4180 | drivers/char/istallion.c | memptr = (void *) EBRDGETMEMPTR(brdp, fp->f_pos); |
f_pos | 4181 | drivers/char/istallion.c | n = MIN(size, (brdp->pagesize - (((unsigned long) fp->f_pos) % brdp->pagesize))); |
f_pos | 4183 | drivers/char/istallion.c | fp->f_pos += n; |
f_pos | 4221 | drivers/char/istallion.c | if (fp->f_pos >= brdp->memsize) |
f_pos | 4225 | drivers/char/istallion.c | size = MIN(count, (brdp->memsize - fp->f_pos)); |
f_pos | 4231 | drivers/char/istallion.c | memptr = (void *) EBRDGETMEMPTR(brdp, fp->f_pos); |
f_pos | 4232 | drivers/char/istallion.c | n = MIN(size, (brdp->pagesize - (((unsigned long) fp->f_pos) % brdp->pagesize))); |
f_pos | 4234 | drivers/char/istallion.c | fp->f_pos += n; |
f_pos | 44 | drivers/char/mem.c | unsigned long p = file->f_pos; |
f_pos | 66 | drivers/char/mem.c | file->f_pos += read; |
f_pos | 72 | drivers/char/mem.c | unsigned long p = file->f_pos; |
f_pos | 94 | drivers/char/mem.c | file->f_pos += written; |
f_pos | 126 | drivers/char/mem.c | read2 = vread(buf + read1, (char *) ((unsigned long) file->f_pos), count - read1); |
f_pos | 129 | drivers/char/mem.c | file->f_pos += read2; |
f_pos | 135 | drivers/char/mem.c | unsigned int i = file->f_pos; |
f_pos | 143 | drivers/char/mem.c | file->f_pos = i; |
f_pos | 149 | drivers/char/mem.c | unsigned int i = file->f_pos; |
f_pos | 157 | drivers/char/mem.c | file->f_pos = i; |
f_pos | 208 | drivers/char/mem.c | return file->f_pos=0; |
f_pos | 222 | drivers/char/mem.c | file->f_pos = offset; |
f_pos | 223 | drivers/char/mem.c | return file->f_pos; |
f_pos | 225 | drivers/char/mem.c | file->f_pos += offset; |
f_pos | 226 | drivers/char/mem.c | return file->f_pos; |
f_pos | 230 | drivers/char/mem.c | if (file->f_pos < 0) |
f_pos | 232 | drivers/char/mem.c | return file->f_pos; |
f_pos | 1935 | drivers/char/tpqic02.c | MINOR(dev), buf, count, (unsigned long) filp->f_pos, flags); |
f_pos | 2055 | drivers/char/tpqic02.c | filp->f_pos += bytes_done; |
f_pos | 2109 | drivers/char/tpqic02.c | MINOR(dev), buf, count, (unsigned long) filp->f_pos, flags); |
f_pos | 2222 | drivers/char/tpqic02.c | filp->f_pos += bytes_done; |
f_pos | 46 | drivers/char/vc_screen.c | file->f_pos = offset; |
f_pos | 49 | drivers/char/vc_screen.c | file->f_pos += offset; |
f_pos | 52 | drivers/char/vc_screen.c | file->f_pos = size + offset; |
f_pos | 57 | drivers/char/vc_screen.c | if (file->f_pos < 0 || file->f_pos > size) |
f_pos | 59 | drivers/char/vc_screen.c | return file->f_pos; |
f_pos | 65 | drivers/char/vc_screen.c | unsigned long p = file->f_pos; |
f_pos | 116 | drivers/char/vc_screen.c | file->f_pos += read; |
f_pos | 123 | drivers/char/vc_screen.c | unsigned long p = file->f_pos; |
f_pos | 181 | drivers/char/vc_screen.c | file->f_pos += written; |
f_pos | 741 | drivers/isdn/isdn_common.c | file->f_pos += len; |
f_pos | 756 | drivers/isdn/isdn_common.c | file->f_pos += len; |
f_pos | 774 | drivers/isdn/isdn_common.c | file->f_pos += len; |
f_pos | 678 | drivers/scsi/st.c | dev, (long)(filp->f_pos)); |
f_pos | 886 | drivers/scsi/st.c | filp->f_pos += do_count - transfer; |
f_pos | 925 | drivers/scsi/st.c | filp->f_pos += do_count; |
f_pos | 941 | drivers/scsi/st.c | filp->f_pos += count; |
f_pos | 1202 | drivers/scsi/st.c | filp->f_pos += transfer; |
f_pos | 66 | fs/binfmt_aout.c | } else file.f_pos = (offset) |
f_pos | 123 | fs/binfmt_aout.c | file.f_pos = 0; |
f_pos | 382 | fs/binfmt_aout.c | file->f_pos = 0; |
f_pos | 739 | fs/binfmt_elf.c | file->f_pos = 0; |
f_pos | 840 | fs/binfmt_elf.c | file->f_pos = off; |
f_pos | 920 | fs/binfmt_elf.c | DUMP_SEEK(roundup((unsigned long)file->f_pos, 4)); /* XXX */ |
f_pos | 922 | fs/binfmt_elf.c | DUMP_SEEK(roundup((unsigned long)file->f_pos, 4)); /* XXX */ |
f_pos | 1030 | fs/binfmt_elf.c | file.f_pos = 0; |
f_pos | 1205 | fs/binfmt_elf.c | if ((off_t) file.f_pos != offset) { |
f_pos | 1208 | fs/binfmt_elf.c | (off_t) file.f_pos, offset); |
f_pos | 56 | fs/block_dev.c | block = filp->f_pos >> blocksize_bits; |
f_pos | 57 | fs/block_dev.c | offset = filp->f_pos & (blocksize-1); |
f_pos | 123 | fs/block_dev.c | filp->f_pos += chars; |
f_pos | 193 | fs/block_dev.c | offset = filp->f_pos; |
f_pos | 290 | fs/block_dev.c | filp->f_pos += chars; |
f_pos | 233 | fs/dquot.c | filp->f_pos = dqoff(dquot->dq_id); |
f_pos | 263 | fs/dquot.c | filp->f_pos = dqoff(dquot->dq_id); |
f_pos | 977 | fs/dquot.c | filp->f_pos = 0; |
f_pos | 134 | fs/exec.c | f->f_pos = 0; |
f_pos | 380 | fs/exec.c | file.f_pos = 0; |
f_pos | 392 | fs/exec.c | file.f_pos = offset; |
f_pos | 77 | fs/ext/dir.c | if ((filp->f_pos & 7) != 0) |
f_pos | 80 | fs/ext/dir.c | while (!error && filp->f_pos < inode->i_size) { |
f_pos | 81 | fs/ext/dir.c | offset = filp->f_pos & 1023; |
f_pos | 82 | fs/ext/dir.c | bh = ext_bread(inode,(filp->f_pos)>>BLOCK_SIZE_BITS,0); |
f_pos | 84 | fs/ext/dir.c | filp->f_pos += 1024-offset; |
f_pos | 95 | fs/ext/dir.c | while (offset < 1024 && filp->f_pos < inode->i_size) { |
f_pos | 98 | fs/ext/dir.c | (de->rec_len + (off_t) filp->f_pos - 1) / 1024 > ((off_t) filp->f_pos / 1024)) { |
f_pos | 104 | fs/ext/dir.c | filp->f_pos += 1024-offset; |
f_pos | 105 | fs/ext/dir.c | if (filp->f_pos > inode->i_size) |
f_pos | 106 | fs/ext/dir.c | filp->f_pos = inode->i_size; |
f_pos | 110 | fs/ext/dir.c | error = filldir(dirent, de->name, de->name_len, filp->f_pos, de->inode); |
f_pos | 115 | fs/ext/dir.c | filp->f_pos += de->rec_len; |
f_pos | 93 | fs/ext/file.c | offset = filp->f_pos; |
f_pos | 167 | fs/ext/file.c | filp->f_pos += chars; |
f_pos | 222 | fs/ext/file.c | pos = filp->f_pos; |
f_pos | 259 | fs/ext/file.c | filp->f_pos = pos; |
f_pos | 117 | fs/ext2/dir.c | offset = filp->f_pos & (sb->s_blocksize - 1); |
f_pos | 119 | fs/ext2/dir.c | while (!error && !stored && filp->f_pos < inode->i_size) { |
f_pos | 120 | fs/ext2/dir.c | blk = (filp->f_pos) >> EXT2_BLOCK_SIZE_BITS(sb); |
f_pos | 125 | fs/ext2/dir.c | inode->i_ino, (unsigned long)filp->f_pos); |
f_pos | 126 | fs/ext2/dir.c | filp->f_pos += sb->s_blocksize - offset; |
f_pos | 169 | fs/ext2/dir.c | filp->f_pos = (filp->f_pos & ~(sb->s_blocksize - 1)) |
f_pos | 174 | fs/ext2/dir.c | while (!error && filp->f_pos < inode->i_size |
f_pos | 181 | fs/ext2/dir.c | filp->f_pos = (filp->f_pos & (sb->s_blocksize - 1)) |
f_pos | 197 | fs/ext2/dir.c | error = filldir(dirent, de->name, de->name_len, filp->f_pos, de->inode); |
f_pos | 204 | fs/ext2/dir.c | filp->f_pos += de->rec_len; |
f_pos | 117 | fs/ext2/file.c | pos = filp->f_pos; |
f_pos | 198 | fs/ext2/file.c | filp->f_pos = pos; |
f_pos | 60 | fs/fat/dir.c | unsigned long oldpos = filp->f_pos; |
f_pos | 75 | fs/fat/dir.c | filp->f_pos++; |
f_pos | 78 | fs/fat/dir.c | filp->f_pos = 0; |
f_pos | 80 | fs/fat/dir.c | if (filp->f_pos & (sizeof(struct msdos_dir_entry)-1)) |
f_pos | 86 | fs/fat/dir.c | ino = fat_get_entry(inode,&filp->f_pos,&bh,&de); |
f_pos | 104 | fs/fat/dir.c | oldpos = filp->f_pos; |
f_pos | 182 | fs/fat/dir.c | ino = fat_get_entry(inode,&filp->f_pos,&bh,&de); |
f_pos | 249 | fs/fat/dir.c | filp->f_pos = oldpos; |
f_pos | 259 | fs/fat/dir.c | filp->f_pos = oldpos; |
f_pos | 263 | fs/fat/dir.c | oldpos = filp->f_pos; |
f_pos | 268 | fs/fat/dir.c | oldpos = filp->f_pos; |
f_pos | 270 | fs/fat/dir.c | ino = fat_get_entry(inode,&filp->f_pos,&bh,&de); |
f_pos | 177 | fs/fat/file.c | if (filp->f_pos >= inode->i_size || count <= 0) return 0; |
f_pos | 187 | fs/fat/file.c | PRINTK (("#### ino %ld pos %ld size %ld count %d\n",inode->i_ino,filp->f_pos,inode->i_size,count)); |
f_pos | 193 | fs/fat/file.c | int count_max = (filp->f_pos & (SECTOR_SIZE-1)) + count; |
f_pos | 195 | fs/fat/file.c | pre.file_sector = filp->f_pos >> SECTOR_BITS; |
f_pos | 213 | fs/fat/file.c | while ((left_in_file = inode->i_size - filp->f_pos) > 0 |
f_pos | 228 | fs/fat/file.c | PRINTK (("file_read pos %ld nblist %d %d %d\n",filp->f_pos,pre.nblist,pre.fetched,count)); |
f_pos | 235 | fs/fat/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
f_pos | 242 | fs/fat/file.c | filp->f_pos += size; |
f_pos | 246 | fs/fat/file.c | filp->f_pos++; |
f_pos | 248 | fs/fat/file.c | filp->f_pos = inode->i_size; |
f_pos | 297 | fs/fat/file.c | if (filp->f_flags & O_APPEND) filp->f_pos = inode->i_size; |
f_pos | 301 | fs/fat/file.c | while (!(sector = fat_smap(inode,filp->f_pos >> SECTOR_BITS))) |
f_pos | 307 | fs/fat/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
f_pos | 312 | fs/fat/file.c | || filp->f_pos + size >= inode->i_size)){ |
f_pos | 330 | fs/fat/file.c | to = (char *) bh->b_data+(filp->f_pos & (SECTOR_SIZE-1)); |
f_pos | 349 | fs/fat/file.c | update_vm_cache(inode, filp->f_pos, bh->b_data + (filp->f_pos & (SECTOR_SIZE-1)), written); |
f_pos | 350 | fs/fat/file.c | filp->f_pos += written; |
f_pos | 351 | fs/fat/file.c | if (filp->f_pos > inode->i_size) { |
f_pos | 352 | fs/fat/file.c | inode->i_size = filp->f_pos; |
f_pos | 57 | fs/fat/mmap.c | filp.f_pos = pos; |
f_pos | 895 | fs/hpfs/hpfs_fs.c | if (count > inode->i_size - (off_t) filp->f_pos) |
f_pos | 896 | fs/hpfs/hpfs_fs.c | count = inode->i_size - filp->f_pos; |
f_pos | 904 | fs/hpfs/hpfs_fs.c | q = filp->f_pos >> 9; |
f_pos | 905 | fs/hpfs/hpfs_fs.c | r = filp->f_pos & 511; |
f_pos | 941 | fs/hpfs/hpfs_fs.c | if (count > inode->i_size - (off_t) filp->f_pos - n + n0) |
f_pos | 942 | fs/hpfs/hpfs_fs.c | count = inode->i_size - filp->f_pos - n + n0; |
f_pos | 950 | fs/hpfs/hpfs_fs.c | filp->f_pos += n; |
f_pos | 1387 | fs/hpfs/hpfs_fs.c | switch ((long) filp->f_pos) { |
f_pos | 1392 | fs/hpfs/hpfs_fs.c | if (filldir(dirent, ".", 1, filp->f_pos, inode->i_ino) < 0) |
f_pos | 1394 | fs/hpfs/hpfs_fs.c | filp->f_pos = -1; |
f_pos | 1398 | fs/hpfs/hpfs_fs.c | if (filldir(dirent, "..", 2, filp->f_pos, inode->i_hpfs_parent_dir) < 0) |
f_pos | 1400 | fs/hpfs/hpfs_fs.c | filp->f_pos = 1; |
f_pos | 1405 | fs/hpfs/hpfs_fs.c | old_pos = filp->f_pos; |
f_pos | 1406 | fs/hpfs/hpfs_fs.c | de = map_pos_dirent(inode, &filp->f_pos, &qbh); |
f_pos | 1408 | fs/hpfs/hpfs_fs.c | filp->f_pos = -2; |
f_pos | 1419 | fs/hpfs/hpfs_fs.c | filp->f_pos = old_pos; |
f_pos | 48 | fs/ioctl.c | put_fs_long(filp->f_inode->i_size - filp->f_pos, |
f_pos | 122 | fs/isofs/dir.c | offset = filp->f_pos & (bufsize - 1); |
f_pos | 123 | fs/isofs/dir.c | block = isofs_bmap(inode, filp->f_pos >> bufbits); |
f_pos | 128 | fs/isofs/dir.c | if (!(bh = breada(inode->i_dev, block, bufsize, filp->f_pos, inode->i_size))) |
f_pos | 131 | fs/isofs/dir.c | while (filp->f_pos < inode->i_size) { |
f_pos | 135 | fs/isofs/dir.c | block, offset, filp->f_pos); |
f_pos | 141 | fs/isofs/dir.c | block = isofs_bmap(inode, (filp->f_pos) >> bufbits); |
f_pos | 144 | fs/isofs/dir.c | bh = breada(inode->i_dev, block, bufsize, filp->f_pos, inode->i_size); |
f_pos | 161 | fs/isofs/dir.c | filp->f_pos = ((filp->f_pos & ~(ISOFS_BLOCK_SIZE - 1)) |
f_pos | 164 | fs/isofs/dir.c | block = isofs_bmap(inode, (filp->f_pos) >> bufbits); |
f_pos | 167 | fs/isofs/dir.c | bh = breada(inode->i_dev, block, bufsize, filp->f_pos, inode->i_size); |
f_pos | 181 | fs/isofs/dir.c | block = isofs_bmap(inode, (filp->f_pos + de_len) >> bufbits); |
f_pos | 184 | fs/isofs/dir.c | bh = breada(inode->i_dev, block, bufsize, filp->f_pos+de_len, inode->i_size); |
f_pos | 194 | fs/isofs/dir.c | if (filldir(dirent, ".", 1, filp->f_pos, inode->i_ino) < 0) |
f_pos | 196 | fs/isofs/dir.c | filp->f_pos += de_len; |
f_pos | 205 | fs/isofs/dir.c | if (filldir(dirent, "..", 2, filp->f_pos, inode_number) < 0) |
f_pos | 207 | fs/isofs/dir.c | filp->f_pos += de_len; |
f_pos | 218 | fs/isofs/dir.c | filp->f_pos += de_len; |
f_pos | 230 | fs/isofs/dir.c | rrflag = filldir(dirent, name, len, filp->f_pos, inode_number); |
f_pos | 236 | fs/isofs/dir.c | filp->f_pos += de_len; |
f_pos | 242 | fs/isofs/dir.c | if (filldir(dirent, tmpname, len, filp->f_pos, inode_number) < 0) |
f_pos | 245 | fs/isofs/dir.c | filp->f_pos += de_len; |
f_pos | 249 | fs/isofs/dir.c | if (filldir(dirent, name, len, filp->f_pos, inode_number) < 0) |
f_pos | 253 | fs/isofs/dir.c | filp->f_pos += de_len; |
f_pos | 66 | fs/isofs/namei.c | unsigned int block, i, f_pos, offset, inode_number; |
f_pos | 81 | fs/isofs/namei.c | f_pos = 0; |
f_pos | 83 | fs/isofs/namei.c | offset = f_pos & (bufsize - 1); |
f_pos | 84 | fs/isofs/namei.c | block = isofs_bmap(dir,f_pos >> bufbits); |
f_pos | 88 | fs/isofs/namei.c | while (f_pos < dir->i_size) { |
f_pos | 99 | fs/isofs/namei.c | f_pos = ((f_pos & ~(ISOFS_BLOCK_SIZE - 1)) |
f_pos | 101 | fs/isofs/namei.c | block = isofs_bmap(dir,f_pos>>bufbits); |
f_pos | 109 | fs/isofs/namei.c | f_pos += *((unsigned char *) de); |
f_pos | 122 | fs/isofs/namei.c | offset = f_pos & (bufsize - 1); |
f_pos | 123 | fs/isofs/namei.c | block = isofs_bmap(dir,f_pos>>bufbits); |
f_pos | 315 | fs/locks.c | start = filp->f_pos; |
f_pos | 71 | fs/minix/dir.c | if (filp->f_pos & (info->s_dirsize - 1)) |
f_pos | 73 | fs/minix/dir.c | while (filp->f_pos < inode->i_size) { |
f_pos | 74 | fs/minix/dir.c | offset = filp->f_pos & 1023; |
f_pos | 75 | fs/minix/dir.c | bh = minix_bread(inode,(filp->f_pos)>>BLOCK_SIZE_BITS,0); |
f_pos | 77 | fs/minix/dir.c | filp->f_pos += 1024-offset; |
f_pos | 84 | fs/minix/dir.c | if (filldir(dirent, de->name, size, filp->f_pos, de->inode) < 0) { |
f_pos | 90 | fs/minix/dir.c | filp->f_pos += info->s_dirsize; |
f_pos | 91 | fs/minix/dir.c | } while (offset < 1024 && filp->f_pos < inode->i_size); |
f_pos | 87 | fs/minix/file.c | pos = filp->f_pos; |
f_pos | 122 | fs/minix/file.c | filp->f_pos = pos; |
f_pos | 22 | fs/ncpfs/dir.c | unsigned long f_pos; |
f_pos | 152 | fs/ncpfs/dir.c | DDPRINTK("ncp_readdir: filp->f_pos = %d\n", (int)filp->f_pos); |
f_pos | 178 | fs/ncpfs/dir.c | if (filp->f_pos == 0) |
f_pos | 181 | fs/ncpfs/dir.c | if (filldir(dirent,".",1, filp->f_pos, (int)dir) < 0) |
f_pos | 185 | fs/ncpfs/dir.c | filp->f_pos += 1; |
f_pos | 188 | fs/ncpfs/dir.c | if (filp->f_pos == 1) |
f_pos | 190 | fs/ncpfs/dir.c | if (filldir(dirent,"..",2, filp->f_pos, (int)(dir->dir)) < 0) |
f_pos | 194 | fs/ncpfs/dir.c | filp->f_pos += 1; |
f_pos | 201 | fs/ncpfs/dir.c | if (filp->f_pos == c_entry[i].f_pos) |
f_pos | 221 | fs/ncpfs/dir.c | result = ncp_read_volume_list(server, filp->f_pos, |
f_pos | 228 | fs/ncpfs/dir.c | result = ncp_do_readdir(server, inode, filp->f_pos, |
f_pos | 281 | fs/ncpfs/dir.c | DDPRINTK("ncp_readdir: entry->f_pos = %ld\n", entry->f_pos); |
f_pos | 284 | fs/ncpfs/dir.c | entry->f_pos, (ino_t)ino_info) < 0) |
f_pos | 290 | fs/ncpfs/dir.c | || (entry->f_pos != filp->f_pos)) |
f_pos | 296 | fs/ncpfs/dir.c | filp->f_pos += 1; |
f_pos | 353 | fs/ncpfs/dir.c | entry->f_pos = total_count; |
f_pos | 418 | fs/ncpfs/dir.c | entry->f_pos = total_count; |
f_pos | 108 | fs/ncpfs/file.c | pos = file->f_pos; |
f_pos | 152 | fs/ncpfs/file.c | file->f_pos = pos; |
f_pos | 203 | fs/ncpfs/file.c | pos = file->f_pos; |
f_pos | 239 | fs/ncpfs/file.c | file->f_pos = pos; |
f_pos | 134 | fs/nfs/dir.c | if (filp->f_pos == c_entry[i].cookie) { |
f_pos | 150 | fs/nfs/dir.c | filp->f_pos, NFS_READDIR_CACHE_SIZE, c_entry); |
f_pos | 168 | fs/nfs/dir.c | if (filldir(dirent, entry->name, strlen(entry->name), filp->f_pos, entry->fileid) < 0) |
f_pos | 170 | fs/nfs/dir.c | filp->f_pos = nextpos; |
f_pos | 171 | fs/nfs/file.c | pos = file->f_pos; |
f_pos | 190 | fs/nfs/file.c | file->f_pos = pos; |
f_pos | 504 | fs/open.c | f->f_pos = 0; |
f_pos | 434 | fs/pipe.c | f[0]->f_pos = f[1]->f_pos = 0; |
f_pos | 64 | fs/proc/array.c | unsigned long p = file->f_pos, memsize; |
f_pos | 112 | fs/proc/array.c | file->f_pos += read; |
f_pos | 134 | fs/proc/array.c | unsigned long p = file->f_pos; |
f_pos | 154 | fs/proc/array.c | file->f_pos += read; |
f_pos | 876 | fs/proc/array.c | lineno = file->f_pos >> MAPS_LINE_SHIFT; |
f_pos | 877 | fs/proc/array.c | column = file->f_pos & (MAPS_LINE_LENGTH-1); |
f_pos | 945 | fs/proc/array.c | file->f_pos = (lineno << MAPS_LINE_SHIFT) + column; |
f_pos | 1086 | fs/proc/array.c | &start, file->f_pos, count); |
f_pos | 1094 | fs/proc/array.c | file->f_pos += length; |
f_pos | 1098 | fs/proc/array.c | if (file->f_pos >= length) { |
f_pos | 1102 | fs/proc/array.c | if (count + file->f_pos > length) |
f_pos | 1103 | fs/proc/array.c | count = length - file->f_pos; |
f_pos | 1104 | fs/proc/array.c | end = count + file->f_pos; |
f_pos | 1105 | fs/proc/array.c | memcpy_tofs(buf, (char *) page + file->f_pos, count); |
f_pos | 1106 | fs/proc/array.c | file->f_pos = end; |
f_pos | 138 | fs/proc/fd.c | for (fd = filp->f_pos; fd < 2; fd++, filp->f_pos++) { |
f_pos | 154 | fs/proc/fd.c | for (fd -= 2 ; fd < NR_OPEN; fd++, filp->f_pos++) { |
f_pos | 76 | fs/proc/mem.c | addr = file->f_pos; |
f_pos | 112 | fs/proc/mem.c | file->f_pos = addr; |
f_pos | 131 | fs/proc/mem.c | addr = file->f_pos; |
f_pos | 176 | fs/proc/mem.c | file->f_pos = addr; |
f_pos | 190 | fs/proc/mem.c | file->f_pos = offset; |
f_pos | 191 | fs/proc/mem.c | return file->f_pos; |
f_pos | 193 | fs/proc/mem.c | file->f_pos += offset; |
f_pos | 194 | fs/proc/mem.c | return file->f_pos; |
f_pos | 60 | fs/proc/net.c | file->f_pos, |
f_pos | 76 | fs/proc/net.c | file->f_pos += length; /* Move down the file */ |
f_pos | 511 | fs/proc/root.c | i = filp->f_pos; |
f_pos | 517 | fs/proc/root.c | filp->f_pos++; |
f_pos | 523 | fs/proc/root.c | filp->f_pos++; |
f_pos | 539 | fs/proc/root.c | if (filldir(dirent, de->name, de->namelen, filp->f_pos, ino | de->low_ino) < 0) |
f_pos | 541 | fs/proc/root.c | filp->f_pos++; |
f_pos | 557 | fs/proc/root.c | nr = filp->f_pos; |
f_pos | 562 | fs/proc/root.c | filp->f_pos = nr = FIRST_PROCESS_ENTRY; |
f_pos | 565 | fs/proc/root.c | for (nr -= FIRST_PROCESS_ENTRY; nr < NR_TASKS; nr++, filp->f_pos++) { |
f_pos | 579 | fs/proc/root.c | if (filldir(dirent, buf+j, NUMBUF-j, filp->f_pos, (pid << 16) + PROC_PID_INO) < 0) |
f_pos | 128 | fs/proc/scsi.c | file->f_pos, thistime, 0); |
f_pos | 130 | fs/proc/scsi.c | length = get_not_present_info(page, &start, file->f_pos, thistime); |
f_pos | 149 | fs/proc/scsi.c | file->f_pos += length; /* Move down the file */ |
f_pos | 191 | fs/proc/scsi.c | file->f_pos = offset; |
f_pos | 192 | fs/proc/scsi.c | return(file->f_pos); |
f_pos | 194 | fs/proc/scsi.c | file->f_pos += offset; |
f_pos | 195 | fs/proc/scsi.c | return(file->f_pos); |
f_pos | 200 | fs/proc/scsi.c | return(file->f_pos); |
f_pos | 36 | fs/read_write.c | tmp = file->f_pos + offset; |
f_pos | 46 | fs/read_write.c | if (tmp != file->f_pos) { |
f_pos | 47 | fs/read_write.c | file->f_pos = tmp; |
f_pos | 51 | fs/read_write.c | return file->f_pos; |
f_pos | 84 | fs/read_write.c | tmp = file->f_pos + offset; |
f_pos | 94 | fs/read_write.c | if (tmp != file->f_pos) { |
f_pos | 95 | fs/read_write.c | file->f_pos = tmp; |
f_pos | 99 | fs/read_write.c | memcpy_tofs(result, &file->f_pos, sizeof(loff_t)); |
f_pos | 143 | fs/readdir.c | put_user(file->f_pos, &lastdirent->d_off); |
f_pos | 166 | fs/smbfs/dir.c | DDPRINTK("smb_readdir: filp->f_pos = %d\n", (int)filp->f_pos); |
f_pos | 198 | fs/smbfs/dir.c | if (filp->f_pos == 0) { |
f_pos | 204 | fs/smbfs/dir.c | if (filp->f_pos == c_entry[i].f_pos) { |
f_pos | 218 | fs/smbfs/dir.c | filp->f_pos, SMB_READDIR_CACHE_SIZE, |
f_pos | 281 | fs/smbfs/dir.c | DDPRINTK("smb_readdir: entry->f_pos = %ld\n", entry->f_pos); |
f_pos | 284 | fs/smbfs/dir.c | entry->f_pos, (ino_t)ino_info) < 0) { |
f_pos | 289 | fs/smbfs/dir.c | || (entry->f_pos != filp->f_pos)) { |
f_pos | 294 | fs/smbfs/dir.c | filp->f_pos += 1; |
f_pos | 90 | fs/smbfs/file.c | pos = file->f_pos; |
f_pos | 134 | fs/smbfs/file.c | file->f_pos = pos; |
f_pos | 170 | fs/smbfs/file.c | pos = file->f_pos; |
f_pos | 219 | fs/smbfs/file.c | file->f_pos = pos; |
f_pos | 1045 | fs/smbfs/proc.c | current_entry->f_pos = total_count; |
f_pos | 1047 | fs/smbfs/proc.c | "%lu\n", entry->f_pos); |
f_pos | 1333 | fs/smbfs/proc.c | current_entry->f_pos = total_count; |
f_pos | 1335 | fs/smbfs/proc.c | "%lu\n", entry->f_pos); |
f_pos | 78 | fs/sysv/dir.c | if ((unsigned long)(filp->f_pos) % SYSV_DIRSIZE) |
f_pos | 80 | fs/sysv/dir.c | while (filp->f_pos < inode->i_size) { |
f_pos | 81 | fs/sysv/dir.c | offset = filp->f_pos & sb->sv_block_size_1; |
f_pos | 82 | fs/sysv/dir.c | bh = sysv_file_bread(inode, filp->f_pos >> sb->sv_block_size_bits, 0); |
f_pos | 84 | fs/sysv/dir.c | filp->f_pos += sb->sv_block_size - offset; |
f_pos | 88 | fs/sysv/dir.c | while (offset < sb->sv_block_size && filp->f_pos < inode->i_size) { |
f_pos | 100 | fs/sysv/dir.c | inode->i_ino, (off_t) filp->f_pos, sde.inode); |
f_pos | 103 | fs/sysv/dir.c | if (filldir(dirent, sde.name, i, filp->f_pos, sde.inode) < 0) { |
f_pos | 109 | fs/sysv/dir.c | filp->f_pos += SYSV_DIRSIZE; |
f_pos | 95 | fs/sysv/file.c | offset = filp->f_pos; |
f_pos | 169 | fs/sysv/file.c | filp->f_pos += chars; |
f_pos | 228 | fs/sysv/file.c | pos = filp->f_pos; |
f_pos | 266 | fs/sysv/file.c | filp->f_pos = pos; |
f_pos | 92 | fs/umsdos/dir.c | if (filp->f_pos == UMSDOS_SPECIAL_DIRFPOS |
f_pos | 107 | fs/umsdos/dir.c | filp->f_pos++; |
f_pos | 109 | fs/umsdos/dir.c | }else if (filp->f_pos < 2 |
f_pos | 110 | fs/umsdos/dir.c | || (dir != dir->i_sb->s_mounted && filp->f_pos == 32)){ |
f_pos | 150 | fs/umsdos/dir.c | int last_f_pos = filp->f_pos; |
f_pos | 156 | fs/umsdos/dir.c | if (last_f_pos > 0 && filp->f_pos > last_f_pos) filp->f_pos = UMSDOS_SPECIAL_DIRFPOS; |
f_pos | 161 | fs/umsdos/dir.c | off_t start_fpos = filp->f_pos; |
f_pos | 162 | fs/umsdos/dir.c | if (filp->f_pos <= UMSDOS_SPECIAL_DIRFPOS+1) filp->f_pos = 0; |
f_pos | 163 | fs/umsdos/dir.c | PRINTK (("f_pos %lu i_size %ld\n",filp->f_pos,emd_dir->i_size)); |
f_pos | 165 | fs/umsdos/dir.c | while (filp->f_pos < emd_dir->i_size){ |
f_pos | 167 | fs/umsdos/dir.c | off_t cur_f_pos = filp->f_pos; |
f_pos | 194 | fs/umsdos/dir.c | info.f_pos = cur_f_pos; |
f_pos | 221 | fs/umsdos/dir.c | filp->f_pos = cur_f_pos; |
f_pos | 248 | fs/umsdos/dir.c | if (filp->f_pos == 0) filp->f_pos = start_fpos; |
f_pos | 253 | fs/umsdos/dir.c | PRINTK (("read dir %p pos %Ld ret %d\n",dir,filp->f_pos,ret)); |
f_pos | 282 | fs/umsdos/dir.c | ,filp->f_pos)); |
f_pos | 409 | fs/umsdos/dir.c | off_t f_pos; /* will hold the offset of the entry in EMD */ |
f_pos | 424 | fs/umsdos/dir.c | d->f_pos = offset; |
f_pos | 484 | fs/umsdos/dir.c | filp.f_pos = 0; |
f_pos | 498 | fs/umsdos/dir.c | filp.f_pos = UMSDOS_SPECIAL_DIRFPOS; |
f_pos | 508 | fs/umsdos/dir.c | umsdos_lookup_patch (dir,inode,entry,bufk.f_pos); |
f_pos | 677 | fs/umsdos/dir.c | PRINTK (("lookup %s pos %lu ret %d len %d ",info.fake.fname,info.f_pos,ret |
f_pos | 697 | fs/umsdos/dir.c | umsdos_lookup_patch (dir,inode,&info.entry,info.f_pos); |
f_pos | 751 | fs/umsdos/dir.c | filp.f_pos = 0; |
f_pos | 91 | fs/umsdos/emd.c | ,filp->f_pos,sizeread,count); |
f_pos | 192 | fs/umsdos/emd.c | filp.f_pos = info->f_pos; |
f_pos | 231 | fs/umsdos/emd.c | remain = inode->i_size - buf->filp.f_pos; |
f_pos | 292 | fs/umsdos/emd.c | buf.filp.f_pos = 0; |
f_pos | 300 | fs/umsdos/emd.c | int file_pos = buf.filp.f_pos - buf.size + buf.pos; |
f_pos | 305 | fs/umsdos/emd.c | info->f_pos = empty.posok; |
f_pos | 312 | fs/umsdos/emd.c | info->f_pos = file_pos; |
f_pos | 335 | fs/umsdos/emd.c | info->f_pos = empty.posok; |
f_pos | 343 | fs/umsdos/emd.c | info->f_pos = file_pos; |
f_pos | 401 | fs/umsdos/emd.c | ,info->f_pos); |
f_pos | 451 | fs/umsdos/emd.c | filp.f_pos = 0; |
f_pos | 455 | fs/umsdos/emd.c | while (filp.f_pos < emd_dir->i_size){ |
f_pos | 103 | fs/umsdos/inode.c | off_t f_pos) |
f_pos | 109 | fs/umsdos/inode.c | inode->u.umsdos_i.pos = f_pos; |
f_pos | 131 | fs/umsdos/inode.c | off_t f_pos) |
f_pos | 181 | fs/umsdos/inode.c | umsdos_set_dirinfo (inode,dir,f_pos); |
f_pos | 316 | fs/umsdos/inode.c | filp.f_pos = inode->u.umsdos_i.pos; |
f_pos | 318 | fs/umsdos/inode.c | PRINTK (("pos = %d ",filp.f_pos)); |
f_pos | 338 | fs/umsdos/inode.c | filp.f_pos = inode->u.umsdos_i.pos; |
f_pos | 139 | fs/umsdos/ioctl.c | if (filp->f_pos >= emd_dir->i_size){ |
f_pos | 144 | fs/umsdos/ioctl.c | off_t f_pos = filp->f_pos; |
f_pos | 152 | fs/umsdos/ioctl.c | info.f_pos = f_pos; |
f_pos | 87 | fs/umsdos/mangle.c | u.entry_num = info->f_pos / UMSDOS_REC_SIZE; |
f_pos | 233 | fs/umsdos/namei.c | umsdos_lookup_patch (dir,inode,&info.entry,info.f_pos); |
f_pos | 236 | fs/umsdos/namei.c | ,info.fake.fname,current->pid,info.f_pos)); |
f_pos | 263 | fs/umsdos/namei.c | ,info.fake.fname,-ret,current->pid,info.f_pos); |
f_pos | 268 | fs/umsdos/namei.c | ,info.fake.fname,ret,info.f_pos)); |
f_pos | 390 | fs/umsdos/namei.c | umsdos_set_dirinfo (inode,new_dir,new_info.f_pos); |
f_pos | 447 | fs/umsdos/namei.c | filp.f_pos = 0; |
f_pos | 37 | fs/umsdos/symlink.c | filp.f_pos = 0; |
f_pos | 79 | fs/xiafs/dir.c | while (filp->f_pos < inode->i_size) { |
f_pos | 80 | fs/xiafs/dir.c | offset = filp->f_pos & (XIAFS_ZSIZE(inode->i_sb) - 1); |
f_pos | 81 | fs/xiafs/dir.c | bh = xiafs_bread(inode, filp->f_pos >> XIAFS_ZSIZE_BITS(inode->i_sb),0); |
f_pos | 83 | fs/xiafs/dir.c | filp->f_pos += XIAFS_ZSIZE(inode->i_sb)-offset; |
f_pos | 95 | fs/xiafs/dir.c | while (offset < XIAFS_ZSIZE(inode->i_sb) && filp->f_pos < inode->i_size) { |
f_pos | 111 | fs/xiafs/dir.c | if (filldir(dirent, de->d_name, de->d_name_len, filp->f_pos, de->d_ino) < 0) { |
f_pos | 117 | fs/xiafs/dir.c | filp->f_pos += de->d_rec_len; |
f_pos | 90 | fs/xiafs/file.c | offset = filp->f_pos; |
f_pos | 159 | fs/xiafs/file.c | filp->f_pos += chars; |
f_pos | 215 | fs/xiafs/file.c | pos = filp->f_pos; |
f_pos | 252 | fs/xiafs/file.c | filp->f_pos = pos; |
f_pos | 320 | include/linux/fs.h | loff_t f_pos; |
f_pos | 100 | include/linux/smb.h | unsigned long f_pos; /* File position. (For readdir.) */ |
f_pos | 66 | include/linux/umsdos_fs.h | off_t f_pos; /* offset of the entry in the EMD file */ |
f_pos | 480 | kernel/sysctl.c | (filp->f_pos && !write)) { |
f_pos | 495 | kernel/sysctl.c | filp->f_pos += *lenp; |
f_pos | 511 | kernel/sysctl.c | filp->f_pos += len; |
f_pos | 524 | kernel/sysctl.c | (filp->f_pos && !write)) { |
f_pos | 587 | kernel/sysctl.c | filp->f_pos += *lenp; |
f_pos | 599 | kernel/sysctl.c | (filp->f_pos && !write)) { |
f_pos | 669 | kernel/sysctl.c | filp->f_pos += *lenp; |
f_pos | 312 | mm/filemap.c | pos = filp->f_pos; |
f_pos | 420 | mm/filemap.c | filp->f_pos = pos; |
f_pos | 537 | mm/filemap.c | file.f_pos = offset; |
f_pos | 193 | net/socket.c | file->f_pos = 0; |