tag | line | file | source code |
offset | 18 | fs/block_dev.c | int offset = filp->f_pos & (BLOCK_SIZE-1); |
offset | 34 | fs/block_dev.c | chars = BLOCK_SIZE - offset; |
offset | 44 | fs/block_dev.c | p = offset + bh->b_data; |
offset | 45 | fs/block_dev.c | offset = 0; |
offset | 62 | fs/block_dev.c | unsigned int offset = filp->f_pos & (BLOCK_SIZE-1); |
offset | 78 | fs/block_dev.c | chars = BLOCK_SIZE-offset; |
offset | 84 | fs/block_dev.c | p = offset + bh->b_data; |
offset | 85 | fs/block_dev.c | offset = 0; |
offset | 52 | fs/exec.c | #define DUMP_SEEK(offset) \ |
offset | 54 | fs/exec.c | if (file.f_op->lseek(inode,&file,(offset),0) != (offset)) \ |
offset | 56 | fs/exec.c | } else file.f_pos = (offset) |
offset | 284 | fs/exec.c | int len, offset = 0; |
offset | 310 | fs/exec.c | if (--offset < 0) { |
offset | 311 | fs/exec.c | offset = p % PAGE_SIZE; |
offset | 322 | fs/exec.c | *(pag + offset) = get_fs_byte(tmp); |
offset | 58 | fs/ext/dir.c | unsigned int block,offset,i; |
offset | 68 | fs/ext/dir.c | offset = filp->f_pos & 1023; |
offset | 71 | fs/ext/dir.c | filp->f_pos += 1024-offset; |
offset | 74 | fs/ext/dir.c | de = (struct ext_dir_entry *) (offset + bh->b_data); |
offset | 75 | fs/ext/dir.c | while (offset < 1024 && filp->f_pos < inode->i_size) { |
offset | 76 | fs/ext/dir.c | offset += de->rec_len; |
offset | 79 | fs/ext/file.c | int block, blocks, offset; |
offset | 101 | fs/ext/file.c | offset = filp->f_pos & (BLOCK_SIZE-1); |
offset | 102 | fs/ext/file.c | blocks = (left + offset + BLOCK_SIZE - 1) / BLOCK_SIZE; |
offset | 132 | fs/ext/file.c | if (left < BLOCK_SIZE - offset) |
offset | 135 | fs/ext/file.c | chars = BLOCK_SIZE - offset; |
offset | 140 | fs/ext/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 147 | fs/ext/file.c | offset = 0; |
offset | 97 | fs/ext/namei.c | long offset; |
offset | 121 | fs/ext/namei.c | offset = 0; |
offset | 123 | fs/ext/namei.c | while (offset < dir->i_size) { |
offset | 127 | fs/ext/namei.c | if (!(block = ext_bmap(dir,offset>>BLOCK_SIZE_BITS)) || |
offset | 140 | fs/ext/namei.c | if (offset + de->rec_len < dir->i_size) |
offset | 147 | fs/ext/namei.c | offset += de->rec_len; |
offset | 199 | fs/ext/namei.c | long offset; |
offset | 222 | fs/ext/namei.c | offset = 0; |
offset | 225 | fs/ext/namei.c | if ((char *)de >= BLOCK_SIZE+bh->b_data && offset < dir->i_size) { |
offset | 231 | fs/ext/namei.c | block = ext_create_block(dir,offset>>BLOCK_SIZE_BITS); |
offset | 236 | fs/ext/namei.c | offset += BLOCK_SIZE; |
offset | 241 | fs/ext/namei.c | if (offset >= dir->i_size) { |
offset | 243 | fs/ext/namei.c | if (offset % BLOCK_SIZE == 0 |
offset | 244 | fs/ext/namei.c | || (BLOCK_SIZE - (offset % BLOCK_SIZE)) < rec_len) { |
offset | 245 | fs/ext/namei.c | if ((offset % BLOCK_SIZE) != 0) { |
offset | 251 | fs/ext/namei.c | - (offset & (BLOCK_SIZE - 1)); |
offset | 253 | fs/ext/namei.c | offset += de->rec_len; |
offset | 261 | fs/ext/namei.c | block = ext_create_block (dir,offset>>BLOCK_SIZE_BITS); |
offset | 300 | fs/ext/namei.c | offset += de->rec_len; |
offset | 479 | fs/ext/namei.c | unsigned long offset; |
offset | 497 | fs/ext/namei.c | offset = de->rec_len + de1->rec_len; |
offset | 499 | fs/ext/namei.c | while (offset < inode->i_size ) { |
offset | 502 | fs/ext/namei.c | block = ext_bmap(inode, offset >> BLOCK_SIZE_BITS); |
offset | 504 | fs/ext/namei.c | offset += BLOCK_SIZE; |
offset | 515 | fs/ext/namei.c | offset += de->rec_len; |
offset | 52 | fs/ext/truncate.c | static int trunc_indirect(struct inode * inode, int offset, unsigned long * p) |
offset | 58 | fs/ext/truncate.c | #define INDIRECT_BLOCK (DIRECT_BLOCK-offset) |
offset | 90 | fs/ext/truncate.c | static int trunc_dindirect(struct inode * inode, int offset, unsigned long * p) |
offset | 96 | fs/ext/truncate.c | #define DINDIRECT_BLOCK ((DIRECT_BLOCK-offset)>>8) |
offset | 111 | fs/ext/truncate.c | result |= trunc_indirect(inode,offset+(i<<8),dind); |
offset | 52 | fs/minix/dir.c | unsigned int block,offset,i; |
offset | 62 | fs/minix/dir.c | offset = filp->f_pos & 1023; |
offset | 65 | fs/minix/dir.c | filp->f_pos += 1024-offset; |
offset | 68 | fs/minix/dir.c | de = (struct minix_dir_entry *) (offset + bh->b_data); |
offset | 69 | fs/minix/dir.c | while (offset < 1024 && filp->f_pos < inode->i_size) { |
offset | 70 | fs/minix/dir.c | offset += sizeof (struct minix_dir_entry); |
offset | 79 | fs/minix/file.c | int block, blocks, offset; |
offset | 101 | fs/minix/file.c | offset = filp->f_pos & (BLOCK_SIZE-1); |
offset | 102 | fs/minix/file.c | blocks = (left + offset + BLOCK_SIZE - 1) / BLOCK_SIZE; |
offset | 132 | fs/minix/file.c | if (left < BLOCK_SIZE - offset) |
offset | 135 | fs/minix/file.c | chars = BLOCK_SIZE - offset; |
offset | 140 | fs/minix/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 147 | fs/minix/file.c | offset = 0; |
offset | 46 | fs/minix/truncate.c | static int trunc_indirect(struct inode * inode, int offset, unsigned short * p) |
offset | 52 | fs/minix/truncate.c | #define INDIRECT_BLOCK (DIRECT_BLOCK-offset) |
offset | 230 | fs/msdos/fat.c | int cluster,offset; |
offset | 239 | fs/msdos/fat.c | offset = sector % sb->cluster_size; |
offset | 241 | fs/msdos/fat.c | return (cluster-2)*sb->cluster_size+sb->data_start+offset; |
offset | 80 | fs/msdos/file.c | int left,offset,size,sector,cnt; |
offset | 99 | fs/msdos/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
offset | 101 | fs/msdos/file.c | filp->f_pos += (size = MIN(SECTOR_SIZE-offset,left)); |
offset | 103 | fs/msdos/file.c | memcpy_tofs(buf,data+offset,size); |
offset | 107 | fs/msdos/file.c | if ((ch = *((char *) data+offset++)) == '\r') |
offset | 128 | fs/msdos/file.c | int sector,offset,size,left,written; |
offset | 153 | fs/msdos/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
offset | 154 | fs/msdos/file.c | size = MIN(SECTOR_SIZE-offset,MAX(carry,count)); |
offset | 165 | fs/msdos/file.c | written = left = SECTOR_SIZE-offset; |
offset | 179 | fs/msdos/inode.c | int cluster,offset; |
offset | 188 | fs/msdos/inode.c | offset = (block*2) % sb->cluster_size; |
offset | 190 | fs/msdos/inode.c | return ((cluster-2)*sb->cluster_size+sb->data_start+offset) >> 1; |
offset | 214 | fs/msdos/misc.c | int sector,offset; |
offset | 218 | fs/msdos/misc.c | offset = *pos; |
offset | 228 | fs/msdos/misc.c | *de = (struct msdos_dir_entry *) (data+(offset & |
offset | 230 | fs/msdos/misc.c | return (sector << MSDOS_DPS_BITS)+((offset & (SECTOR_SIZE-1)) >> |
offset | 91 | fs/pipe.c | static int pipe_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 35 | fs/read_write.c | int sys_lseek(unsigned int fd, off_t offset, unsigned int origin) |
offset | 45 | fs/read_write.c | return file->f_op->lseek(file->f_inode,file,offset,origin); |
offset | 50 | fs/read_write.c | tmp = offset; |
offset | 53 | fs/read_write.c | tmp = file->f_pos + offset; |
offset | 58 | fs/read_write.c | tmp = file->f_inode->i_size + offset; |
offset | 366 | kernel/blk_drv/scsi/7000fasst.c | unsigned offset; |
offset | 385 | kernel/blk_drv/scsi/7000fasst.c | if(!memcmp((void *)(wd_bases[i] + signatures[j].offset), |
offset | 75 | kernel/blk_drv/scsi/seagate.c | unsigned offset; |
offset | 161 | kernel/blk_drv/scsi/seagate.c | signatures[j].offset), (void *) signatures[j].signature, |
offset | 164 | kernel/blk_drv/scsi/ultrastor.c | size_t offset; |
offset | 256 | kernel/blk_drv/scsi/ultrastor.c | if (memcmp((char *)config.bios_segment + signatures[i].offset, |
offset | 87 | kernel/chr_drv/lp.c | static int lp_lseek(struct inode * inode, struct file * file, off_t offset, int origin) |
offset | 126 | kernel/chr_drv/lp.c | int offset = 0; |
offset | 132 | kernel/chr_drv/lp.c | for (offset = 0; offset < LP_NO; offset++) { |
offset | 134 | kernel/chr_drv/lp.c | outb( LP_DUMMY, LP_B(offset)); |
offset | 137 | kernel/chr_drv/lp.c | testvalue = inb(LP_B(offset)); |
offset | 139 | kernel/chr_drv/lp.c | LP_F(offset) |= LP_EXIST; |
offset | 140 | kernel/chr_drv/lp.c | lp_reset(offset); |
offset | 141 | kernel/chr_drv/lp.c | printk("lp_init: lp%d exists (%d)\n", offset, testvalue); |
offset | 186 | kernel/chr_drv/mem.c | static int mem_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 190 | kernel/chr_drv/mem.c | file->f_pos = offset; |
offset | 193 | kernel/chr_drv/mem.c | file->f_pos += offset; |
offset | 489 | kernel/chr_drv/tty_io.c | static int tty_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 32 | kernel/math/ea.c | long offset = 0; |
offset | 40 | kernel/math/ea.c | offset = 0; |
offset | 42 | kernel/math/ea.c | offset = REG(index); |
offset | 43 | kernel/math/ea.c | offset <<= ss; |
offset | 45 | kernel/math/ea.c | offset += REG(base); |
offset | 47 | kernel/math/ea.c | offset += (signed char) get_fs_byte((char *) EIP); |
offset | 50 | kernel/math/ea.c | offset += (signed) get_fs_long((unsigned long *) EIP); |
offset | 53 | kernel/math/ea.c | I387.foo = offset; |
offset | 55 | kernel/math/ea.c | return (char *) offset; |
offset | 62 | kernel/math/ea.c | int offset = 0; |
offset | 69 | kernel/math/ea.c | offset = get_fs_long((unsigned long *) EIP); |
offset | 71 | kernel/math/ea.c | I387.foo = offset; |
offset | 73 | kernel/math/ea.c | return (char *) offset; |
offset | 77 | kernel/math/ea.c | case 0: offset = 0; break; |
offset | 79 | kernel/math/ea.c | offset = (signed char) get_fs_byte((char *) EIP); |
offset | 83 | kernel/math/ea.c | offset = (signed) get_fs_long((unsigned long *) EIP); |
offset | 89 | kernel/math/ea.c | I387.foo = offset; |
offset | 91 | kernel/math/ea.c | return offset + (char *) *tmp; |
offset | 51 | kernel/ptrace.c | static inline int get_stack_long(struct task_struct *task, int offset) |
offset | 56 | kernel/ptrace.c | stack += offset; |
offset | 66 | kernel/ptrace.c | static inline int put_stack_long(struct task_struct *task, int offset, |
offset | 72 | kernel/ptrace.c | stack += offset; |
offset | 40 | net/socket.c | static int sock_lseek(struct inode *inode, struct file *file, off_t offset, |
offset | 225 | net/socket.c | sock_lseek(struct inode *inode, struct file *file, off_t offset, int whence) |