tag | line | file | source code |
f_pos | 38 | drivers/char/mem.c | unsigned long p = file->f_pos; |
f_pos | 57 | drivers/char/mem.c | file->f_pos += read; |
f_pos | 63 | drivers/char/mem.c | unsigned long p = file->f_pos; |
f_pos | 82 | drivers/char/mem.c | file->f_pos += written; |
f_pos | 123 | drivers/char/mem.c | read2 = vread(buf + read1, (char *) file->f_pos, count - read1); |
f_pos | 126 | drivers/char/mem.c | file->f_pos += read2; |
f_pos | 132 | drivers/char/mem.c | unsigned int i = file->f_pos; |
f_pos | 140 | drivers/char/mem.c | file->f_pos = i; |
f_pos | 146 | drivers/char/mem.c | unsigned int i = file->f_pos; |
f_pos | 154 | drivers/char/mem.c | file->f_pos = i; |
f_pos | 226 | drivers/char/mem.c | return file->f_pos=0; |
f_pos | 240 | drivers/char/mem.c | file->f_pos = offset; |
f_pos | 241 | drivers/char/mem.c | return file->f_pos; |
f_pos | 243 | drivers/char/mem.c | file->f_pos += offset; |
f_pos | 244 | drivers/char/mem.c | return file->f_pos; |
f_pos | 248 | drivers/char/mem.c | if (file->f_pos < 0) |
f_pos | 250 | drivers/char/mem.c | return file->f_pos; |
f_pos | 1820 | drivers/char/tpqic02.c | MINOR(dev), buf, count, filp->f_pos, flags); |
f_pos | 1941 | drivers/char/tpqic02.c | filp->f_pos += bytes_done; |
f_pos | 1989 | drivers/char/tpqic02.c | MINOR(dev), buf, count, filp->f_pos, flags); |
f_pos | 2104 | drivers/char/tpqic02.c | filp->f_pos += bytes_done; |
f_pos | 588 | drivers/scsi/st.c | printk("st%d: File length %ld bytes.\n", dev, filp->f_pos); |
f_pos | 768 | drivers/scsi/st.c | filp->f_pos += do_count - transfer; |
f_pos | 807 | drivers/scsi/st.c | filp->f_pos += do_count; |
f_pos | 823 | drivers/scsi/st.c | filp->f_pos += count; |
f_pos | 1057 | drivers/scsi/st.c | filp->f_pos += transfer; |
f_pos | 48 | fs/block_dev.c | block = filp->f_pos >> blocksize_bits; |
f_pos | 49 | fs/block_dev.c | offset = filp->f_pos & (blocksize-1); |
f_pos | 110 | fs/block_dev.c | filp->f_pos += chars; |
f_pos | 153 | fs/block_dev.c | offset = filp->f_pos; |
f_pos | 244 | fs/block_dev.c | filp->f_pos += chars; |
f_pos | 120 | fs/exec.c | f->f_pos = 0; |
f_pos | 146 | fs/exec.c | } else file.f_pos = (offset) |
f_pos | 195 | fs/exec.c | file.f_pos = 0; |
f_pos | 473 | fs/exec.c | file.f_pos = 0; |
f_pos | 485 | fs/exec.c | file.f_pos = offset; |
f_pos | 74 | fs/ext/dir.c | if (filp->f_pos % 8 != 0) |
f_pos | 76 | fs/ext/dir.c | while (filp->f_pos < inode->i_size) { |
f_pos | 77 | fs/ext/dir.c | offset = filp->f_pos & 1023; |
f_pos | 78 | fs/ext/dir.c | bh = ext_bread(inode,(filp->f_pos)>>BLOCK_SIZE_BITS,0); |
f_pos | 80 | fs/ext/dir.c | filp->f_pos += 1024-offset; |
f_pos | 84 | fs/ext/dir.c | while (offset < 1024 && filp->f_pos < inode->i_size) { |
f_pos | 87 | fs/ext/dir.c | (de->rec_len + filp->f_pos - 1) / 1024 > (filp->f_pos / 1024)) { |
f_pos | 91 | fs/ext/dir.c | filp->f_pos += 1024-offset; |
f_pos | 92 | fs/ext/dir.c | if (filp->f_pos > inode->i_size) |
f_pos | 93 | fs/ext/dir.c | filp->f_pos = inode->i_size; |
f_pos | 97 | fs/ext/dir.c | filp->f_pos += de->rec_len; |
f_pos | 90 | fs/ext/file.c | offset = filp->f_pos; |
f_pos | 164 | fs/ext/file.c | filp->f_pos += chars; |
f_pos | 219 | fs/ext/file.c | pos = filp->f_pos; |
f_pos | 255 | fs/ext/file.c | filp->f_pos = pos; |
f_pos | 104 | fs/ext2/dir.c | while (filp->f_pos < inode->i_size) { |
f_pos | 105 | fs/ext2/dir.c | offset = filp->f_pos & (sb->s_blocksize - 1); |
f_pos | 106 | fs/ext2/dir.c | blk = (filp->f_pos) >> EXT2_BLOCK_SIZE_BITS(sb); |
f_pos | 109 | fs/ext2/dir.c | filp->f_pos += sb->s_blocksize - offset; |
f_pos | 133 | fs/ext2/dir.c | while (offset < sb->s_blocksize && filp->f_pos < inode->i_size) { |
f_pos | 140 | fs/ext2/dir.c | filp->f_pos += de->rec_len; |
f_pos | 99 | fs/ext2/file.c | offset = filp->f_pos; |
f_pos | 190 | fs/ext2/file.c | filp->f_pos += chars; |
f_pos | 256 | fs/ext2/file.c | pos = filp->f_pos; |
f_pos | 291 | fs/ext2/file.c | filp->f_pos = pos; |
f_pos | 877 | fs/hpfs/hpfs_fs.c | if (count > inode->i_size - filp->f_pos) |
f_pos | 878 | fs/hpfs/hpfs_fs.c | count = inode->i_size - filp->f_pos; |
f_pos | 886 | fs/hpfs/hpfs_fs.c | q = filp->f_pos >> 9; |
f_pos | 887 | fs/hpfs/hpfs_fs.c | r = filp->f_pos & 511; |
f_pos | 923 | fs/hpfs/hpfs_fs.c | if (count > inode->i_size - filp->f_pos - n + n0) |
f_pos | 924 | fs/hpfs/hpfs_fs.c | count = inode->i_size - filp->f_pos - n + n0; |
f_pos | 932 | fs/hpfs/hpfs_fs.c | filp->f_pos += n; |
f_pos | 1344 | fs/hpfs/hpfs_fs.c | switch (filp->f_pos) { |
f_pos | 1347 | fs/hpfs/hpfs_fs.c | filp->f_pos = -1; |
f_pos | 1353 | fs/hpfs/hpfs_fs.c | filp->f_pos = 1; |
f_pos | 1360 | fs/hpfs/hpfs_fs.c | de = map_pos_dirent(inode, &filp->f_pos, &qbh); |
f_pos | 1362 | fs/hpfs/hpfs_fs.c | filp->f_pos = -2; |
f_pos | 47 | fs/ioctl.c | put_fs_long(filp->f_inode->i_size - filp->f_pos, |
f_pos | 84 | fs/isofs/dir.c | offset = filp->f_pos & (bufsize - 1); |
f_pos | 85 | fs/isofs/dir.c | block = isofs_bmap(inode,filp->f_pos>>bufbits); |
f_pos | 89 | fs/isofs/dir.c | if(!(bh = breada(inode->i_dev, block, bufsize, filp->f_pos, inode->i_size))) |
f_pos | 92 | fs/isofs/dir.c | while (filp->f_pos < inode->i_size) { |
f_pos | 95 | fs/isofs/dir.c | block, offset, filp->f_pos); |
f_pos | 107 | fs/isofs/dir.c | filp->f_pos = ((filp->f_pos & ~(ISOFS_BLOCK_SIZE - 1)) |
f_pos | 109 | fs/isofs/dir.c | block = isofs_bmap(inode,(filp->f_pos)>>bufbits); |
f_pos | 111 | fs/isofs/dir.c | || !(bh = breada(inode->i_dev, block, bufsize, filp->f_pos, |
f_pos | 124 | fs/isofs/dir.c | filp->f_pos += *((unsigned char *) de); |
f_pos | 132 | fs/isofs/dir.c | offset = filp->f_pos & (bufsize - 1); |
f_pos | 133 | fs/isofs/dir.c | block = isofs_bmap(inode,(filp->f_pos)>> bufbits); |
f_pos | 136 | fs/isofs/dir.c | filp->f_pos, inode->i_size))) { |
f_pos | 134 | fs/isofs/file.c | if (filp->f_pos > inode->i_size) |
f_pos | 137 | fs/isofs/file.c | left = inode->i_size - filp->f_pos; |
f_pos | 143 | fs/isofs/file.c | block = filp->f_pos >> ISOFS_BUFFER_BITS(inode); |
f_pos | 144 | fs/isofs/file.c | offset = filp->f_pos & (ISOFS_BUFFER_SIZE(inode)-1); |
f_pos | 207 | fs/isofs/file.c | filp->f_pos += chars; |
f_pos | 70 | fs/isofs/namei.c | unsigned int block, i, f_pos, offset, inode_number; |
f_pos | 85 | fs/isofs/namei.c | f_pos = 0; |
f_pos | 87 | fs/isofs/namei.c | offset = f_pos & (bufsize - 1); |
f_pos | 88 | fs/isofs/namei.c | block = isofs_bmap(dir,f_pos >> bufbits); |
f_pos | 92 | fs/isofs/namei.c | while (f_pos < dir->i_size) { |
f_pos | 103 | fs/isofs/namei.c | f_pos = ((f_pos & ~(ISOFS_BLOCK_SIZE - 1)) |
f_pos | 105 | fs/isofs/namei.c | block = isofs_bmap(dir,f_pos>>bufbits); |
f_pos | 113 | fs/isofs/namei.c | f_pos += *((unsigned char *) de); |
f_pos | 123 | fs/isofs/namei.c | offset = f_pos & (bufsize - 1); |
f_pos | 124 | fs/isofs/namei.c | block = isofs_bmap(dir,f_pos>>bufbits); |
f_pos | 210 | fs/locks.c | case 1 /*SEEK_CUR*/ : start = filp->f_pos; break; |
f_pos | 69 | fs/minix/dir.c | if (filp->f_pos & (info->s_dirsize - 1)) |
f_pos | 71 | fs/minix/dir.c | while (filp->f_pos < inode->i_size) { |
f_pos | 72 | fs/minix/dir.c | offset = filp->f_pos & 1023; |
f_pos | 73 | fs/minix/dir.c | bh = minix_bread(inode,(filp->f_pos)>>BLOCK_SIZE_BITS,0); |
f_pos | 75 | fs/minix/dir.c | filp->f_pos += 1024-offset; |
f_pos | 78 | fs/minix/dir.c | while (offset < 1024 && filp->f_pos < inode->i_size) { |
f_pos | 81 | fs/minix/dir.c | filp->f_pos += info->s_dirsize; |
f_pos | 84 | fs/minix/file.c | offset = filp->f_pos; |
f_pos | 158 | fs/minix/file.c | filp->f_pos += chars; |
f_pos | 208 | fs/minix/file.c | pos = filp->f_pos; |
f_pos | 243 | fs/minix/file.c | filp->f_pos = pos; |
f_pos | 68 | fs/msdos/dir.c | if (filp->f_pos == 2) filp->f_pos = 0; |
f_pos | 69 | fs/msdos/dir.c | else if (filp->f_pos < 2) { |
f_pos | 70 | fs/msdos/dir.c | walk = filp->f_pos++ ? ".." : "."; |
f_pos | 79 | fs/msdos/dir.c | if (filp->f_pos & (sizeof(struct msdos_dir_entry)-1)) return -ENOENT; |
f_pos | 81 | fs/msdos/dir.c | while ((ino = msdos_get_entry(inode,&filp->f_pos,&bh,&de)) > -1) { |
f_pos | 98 | fs/msdos/file.c | if (filp->f_pos >= inode->i_size || count <= 0) return 0; |
f_pos | 100 | fs/msdos/file.c | while ((left = MIN(inode->i_size-filp->f_pos,count-(buf-start))) > 0){ |
f_pos | 101 | fs/msdos/file.c | if (!(sector = msdos_smap(inode,filp->f_pos >> SECTOR_BITS))) |
f_pos | 103 | fs/msdos/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
f_pos | 105 | fs/msdos/file.c | filp->f_pos += (size = MIN(SECTOR_SIZE-offset,left)); |
f_pos | 116 | fs/msdos/file.c | filp->f_pos = inode->i_size; |
f_pos | 156 | fs/msdos/file.c | if (filp->f_flags & O_APPEND) filp->f_pos = inode->i_size; |
f_pos | 160 | fs/msdos/file.c | while (!(sector = msdos_smap(inode,filp->f_pos >> SECTOR_BITS))) |
f_pos | 166 | fs/msdos/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
f_pos | 173 | fs/msdos/file.c | memcpy_fromfs(data+(filp->f_pos & (SECTOR_SIZE-1)), |
f_pos | 179 | fs/msdos/file.c | to = (char *) data+(filp->f_pos & (SECTOR_SIZE-1)); |
f_pos | 198 | fs/msdos/file.c | filp->f_pos += written; |
f_pos | 199 | fs/msdos/file.c | if (filp->f_pos > inode->i_size) { |
f_pos | 200 | fs/msdos/file.c | inode->i_size = filp->f_pos; |
f_pos | 119 | fs/nfs/dir.c | if (filp->f_pos == c_entry[i].cookie) { |
f_pos | 135 | fs/nfs/dir.c | filp->f_pos, NFS_READDIR_CACHE_SIZE, c_entry); |
f_pos | 155 | fs/nfs/dir.c | filp->f_pos = entry->cookie; |
f_pos | 82 | fs/nfs/file.c | pos = file->f_pos; |
f_pos | 83 | fs/nfs/file.c | if (file->f_pos + count > inode->i_size) |
f_pos | 107 | fs/nfs/file.c | file->f_pos = pos; |
f_pos | 135 | fs/nfs/file.c | pos = file->f_pos; |
f_pos | 158 | fs/nfs/file.c | file->f_pos = pos; |
f_pos | 406 | fs/open.c | f->f_pos = 0; |
f_pos | 416 | fs/pipe.c | f[0]->f_pos = f[1]->f_pos = 0; |
f_pos | 41 | fs/proc/array.c | unsigned long p = file->f_pos; |
f_pos | 80 | fs/proc/array.c | file->f_pos += read; |
f_pos | 536 | fs/proc/array.c | if (file->f_pos >= length) { |
f_pos | 540 | fs/proc/array.c | if (count + file->f_pos > length) |
f_pos | 541 | fs/proc/array.c | count = length - file->f_pos; |
f_pos | 542 | fs/proc/array.c | end = count + file->f_pos; |
f_pos | 543 | fs/proc/array.c | memcpy_tofs(buf, page + file->f_pos, count); |
f_pos | 545 | fs/proc/array.c | file->f_pos = end; |
f_pos | 148 | fs/proc/base.c | if (((unsigned) filp->f_pos) < NR_BASE_DIRENTRY) { |
f_pos | 149 | fs/proc/base.c | de = base_dir + filp->f_pos; |
f_pos | 150 | fs/proc/base.c | filp->f_pos++; |
f_pos | 142 | fs/proc/fd.c | fd = filp->f_pos; |
f_pos | 143 | fs/proc/fd.c | filp->f_pos++; |
f_pos | 42 | fs/proc/mem.c | addr = file->f_pos; |
f_pos | 65 | fs/proc/mem.c | file->f_pos = addr; |
f_pos | 80 | fs/proc/mem.c | addr = file->f_pos; |
f_pos | 117 | fs/proc/mem.c | file->f_pos = addr; |
f_pos | 131 | fs/proc/mem.c | file->f_pos = offset; |
f_pos | 132 | fs/proc/mem.c | return file->f_pos; |
f_pos | 134 | fs/proc/mem.c | file->f_pos += offset; |
f_pos | 135 | fs/proc/mem.c | return file->f_pos; |
f_pos | 176 | fs/proc/net.c | if (((unsigned) filp->f_pos) < NR_NET_DIRENTRY) { |
f_pos | 177 | fs/proc/net.c | de = net_dir + filp->f_pos; |
f_pos | 178 | fs/proc/net.c | filp->f_pos++; |
f_pos | 221 | fs/proc/net.c | length = unix_get_info(page,&start,file->f_pos,thistime); |
f_pos | 225 | fs/proc/net.c | length = arp_get_info(page,&start,file->f_pos,thistime); |
f_pos | 228 | fs/proc/net.c | length = rt_get_info(page,&start,file->f_pos,thistime); |
f_pos | 231 | fs/proc/net.c | length = dev_get_info(page,&start,file->f_pos,thistime); |
f_pos | 234 | fs/proc/net.c | length = raw_get_info(page,&start,file->f_pos,thistime); |
f_pos | 237 | fs/proc/net.c | length = tcp_get_info(page,&start,file->f_pos,thistime); |
f_pos | 240 | fs/proc/net.c | length = udp_get_info(page,&start,file->f_pos,thistime); |
f_pos | 243 | fs/proc/net.c | length = snmp_get_info(page, &start, file->f_pos,thistime); |
f_pos | 247 | fs/proc/net.c | length = rarp_get_info(page,&start,file->f_pos,thistime); |
f_pos | 253 | fs/proc/net.c | length = ipx_rt_get_info(page,&start,file->f_pos,thistime); |
f_pos | 256 | fs/proc/net.c | length = ipx_get_info(page,&start,file->f_pos,thistime); |
f_pos | 261 | fs/proc/net.c | length = ax25_rt_get_info(page,&start,file->f_pos,thistime); |
f_pos | 264 | fs/proc/net.c | length = ax25_get_info(page,&start,file->f_pos,thistime); |
f_pos | 268 | fs/proc/net.c | length = nr_nodes_get_info(page,&start,file->f_pos,thistime); |
f_pos | 271 | fs/proc/net.c | length = nr_neigh_get_info(page,&start,file->f_pos,thistime); |
f_pos | 274 | fs/proc/net.c | length = nr_get_info(page,&start,file->f_pos,thistime); |
f_pos | 296 | fs/proc/net.c | file->f_pos+=length; /* Move down the file */ |
f_pos | 143 | fs/proc/root.c | nr = filp->f_pos; |
f_pos | 147 | fs/proc/root.c | filp->f_pos++; |
f_pos | 160 | fs/proc/root.c | filp->f_pos++; |
f_pos | 55 | fs/read_write.c | tmp = file->f_pos + offset; |
f_pos | 65 | fs/read_write.c | file->f_pos = tmp; |
f_pos | 67 | fs/read_write.c | return file->f_pos; |
f_pos | 76 | fs/sysv/dir.c | if ((unsigned long)(filp->f_pos) % SYSV_DIRSIZE) |
f_pos | 78 | fs/sysv/dir.c | while (filp->f_pos < inode->i_size) { |
f_pos | 79 | fs/sysv/dir.c | offset = filp->f_pos & sb->sv_block_size_1; |
f_pos | 80 | fs/sysv/dir.c | bh = sysv_file_bread(inode, filp->f_pos >> sb->sv_block_size_bits, 0, &bh_data); |
f_pos | 82 | fs/sysv/dir.c | filp->f_pos += sb->sv_block_size - offset; |
f_pos | 85 | fs/sysv/dir.c | while (offset < sb->sv_block_size && filp->f_pos < inode->i_size) { |
f_pos | 88 | fs/sysv/dir.c | filp->f_pos += SYSV_DIRSIZE; |
f_pos | 98 | fs/sysv/dir.c | inode->i_dev, inode->i_ino, filp->f_pos - SYSV_DIRSIZE, de->inode); |
f_pos | 129 | fs/sysv/file.c | offset = filp->f_pos; |
f_pos | 211 | fs/sysv/file.c | filp->f_pos += chars; |
f_pos | 271 | fs/sysv/file.c | pos = filp->f_pos; |
f_pos | 308 | fs/sysv/file.c | filp->f_pos = pos; |
f_pos | 76 | fs/xiafs/dir.c | while (filp->f_pos < inode->i_size) { |
f_pos | 77 | fs/xiafs/dir.c | offset = filp->f_pos & (XIAFS_ZSIZE(inode->i_sb) - 1); |
f_pos | 78 | fs/xiafs/dir.c | bh = xiafs_bread(inode, filp->f_pos >> XIAFS_ZSIZE_BITS(inode->i_sb),0); |
f_pos | 80 | fs/xiafs/dir.c | filp->f_pos += XIAFS_ZSIZE(inode->i_sb)-offset; |
f_pos | 84 | fs/xiafs/dir.c | while (offset < XIAFS_ZSIZE(inode->i_sb) && filp->f_pos < inode->i_size) { |
f_pos | 96 | fs/xiafs/dir.c | filp->f_pos += de->d_rec_len; |
f_pos | 87 | fs/xiafs/file.c | offset = filp->f_pos; |
f_pos | 156 | fs/xiafs/file.c | filp->f_pos += chars; |
f_pos | 212 | fs/xiafs/file.c | pos = filp->f_pos; |
f_pos | 248 | fs/xiafs/file.c | filp->f_pos = pos; |
f_pos | 215 | include/linux/fs.h | off_t f_pos; |
f_pos | 104 | net/socket.c | file->f_pos = 0; |