tag | line | file | source code |
offset | 47 | drivers/FPU-emu/get_address.c | long offset; |
offset | 59 | drivers/FPU-emu/get_address.c | offset = 0; /* No base register */ |
offset | 61 | drivers/FPU-emu/get_address.c | offset = REG_(base); |
offset | 72 | drivers/FPU-emu/get_address.c | offset += (REG_(index)) << ss; |
offset | 80 | drivers/FPU-emu/get_address.c | offset += (signed char) get_fs_byte((char *) FPU_EIP); |
offset | 89 | drivers/FPU-emu/get_address.c | offset += (signed) get_fs_long((unsigned long *) FPU_EIP); |
offset | 94 | drivers/FPU-emu/get_address.c | return (void *) offset; |
offset | 119 | drivers/FPU-emu/get_address.c | int offset = 0; /* Initialized just to stop compiler warnings. */ |
offset | 143 | drivers/FPU-emu/get_address.c | offset = get_fs_long((unsigned long *) FPU_EIP); |
offset | 146 | drivers/FPU-emu/get_address.c | FPU_data_address = (void *) offset; |
offset | 159 | drivers/FPU-emu/get_address.c | offset = (signed char) get_fs_byte((char *) FPU_EIP); |
offset | 167 | drivers/FPU-emu/get_address.c | offset = (signed) get_fs_long((unsigned long *) FPU_EIP); |
offset | 176 | drivers/FPU-emu/get_address.c | FPU_data_address = offset + (char *)*cpu_reg_ptr; |
offset | 133 | drivers/block/xd.c | if (!memcmp(xd_bases[i] + xd_sigs[j].offset,xd_sigs[j].string,strlen(xd_sigs[j].string))) { |
offset | 312 | drivers/char/console.c | static inline void __set_origin(unsigned short offset) |
offset | 319 | drivers/char/console.c | __origin = offset; |
offset | 321 | drivers/char/console.c | outb_p(offset >> 8, video_port_val); |
offset | 323 | drivers/char/console.c | outb_p(offset, video_port_val); |
offset | 274 | drivers/char/lp.c | off_t offset, int origin) |
offset | 432 | drivers/char/lp.c | int offset = 0; |
offset | 441 | drivers/char/lp.c | for (offset = 0; offset < LP_NO; offset++) { |
offset | 443 | drivers/char/lp.c | outb_p( LP_DUMMY, LP_B(offset)); |
offset | 446 | drivers/char/lp.c | testvalue = inb_p(LP_B(offset)); |
offset | 448 | drivers/char/lp.c | LP_F(offset) |= LP_EXIST; |
offset | 449 | drivers/char/lp.c | lp_reset(offset); |
offset | 450 | drivers/char/lp.c | printk("lp_init: lp%d exists (%d), ", offset, testvalue); |
offset | 451 | drivers/char/lp.c | if (LP_IRQ(offset)) |
offset | 452 | drivers/char/lp.c | printk("using IRQ%d\n", LP_IRQ(offset)); |
offset | 222 | drivers/char/mem.c | static int null_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 234 | drivers/char/mem.c | static int memory_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 238 | drivers/char/mem.c | file->f_pos = offset; |
offset | 241 | drivers/char/mem.c | file->f_pos += offset; |
offset | 211 | drivers/char/serial.c | static inline unsigned int serial_in(struct async_struct *info, int offset) |
offset | 214 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 217 | drivers/char/serial.c | return inb(info->port + offset); |
offset | 220 | drivers/char/serial.c | static inline unsigned int serial_inp(struct async_struct *info, int offset) |
offset | 223 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 226 | drivers/char/serial.c | return inb_p(info->port + offset); |
offset | 229 | drivers/char/serial.c | static inline void serial_out(struct async_struct *info, int offset, int value) |
offset | 232 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 235 | drivers/char/serial.c | outb(value, info->port+offset); |
offset | 238 | drivers/char/serial.c | static inline void serial_outp(struct async_struct *info, int offset, |
offset | 242 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 245 | drivers/char/serial.c | outb_p(value, info->port+offset); |
offset | 1772 | drivers/char/tpqic02.c | static int tape_qic02_lseek(struct inode * inode, struct file * file, off_t offset, int origin) |
offset | 209 | drivers/char/tty_io.c | static int tty_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 93 | drivers/net/atp.h | extern inline unsigned char read_nibble(short port, unsigned char offset) |
offset | 96 | drivers/net/atp.h | outb(EOC+offset, port + PAR_DATA); |
offset | 97 | drivers/net/atp.h | outb(RdAddr+offset, port + PAR_DATA); |
offset | 100 | drivers/net/atp.h | outb(EOC+offset, port + PAR_DATA); |
offset | 261 | drivers/net/atp.h | #define EE_WRITE_CMD(offset) (((5 << 6) + (offset)) << 17) |
offset | 262 | drivers/net/atp.h | #define EE_READ(offset) (((6 << 6) + (offset)) << 17) |
offset | 263 | drivers/net/atp.h | #define EE_ERASE(offset) (((7 << 6) + (offset)) << 17) |
offset | 132 | drivers/net/ne.c | struct {unsigned char value, offset; } program_seq[] = { |
offset | 148 | drivers/net/ne.c | outb_p(program_seq[i].value, ioaddr + program_seq[i].offset); |
offset | 1521 | drivers/scsi/scsi.c | int offset; |
offset | 1528 | drivers/scsi/scsi.c | offset = ((int) obj) - ((int) dma_malloc_buffer); |
offset | 1530 | drivers/scsi/scsi.c | if (offset < 0) panic("Bad offset"); |
offset | 1531 | drivers/scsi/scsi.c | page = offset >> 13; |
offset | 1532 | drivers/scsi/scsi.c | sector = offset >> 9; |
offset | 1535 | drivers/scsi/scsi.c | sector = (offset >> 9) & 15; |
offset | 151 | drivers/scsi/seagate.c | unsigned offset; |
offset | 331 | drivers/scsi/seagate.c | signatures[j].offset), (void *) signatures[j].signature, |
offset | 131 | drivers/scsi/sr.c | int offset; |
offset | 132 | drivers/scsi/sr.c | offset = (SCpnt->request.sector % 4) << 9; |
offset | 134 | drivers/scsi/sr.c | (char *)SCpnt->buffer + offset, |
offset | 140 | drivers/scsi/sr.c | if((offset == 0) && this_count == 2 && |
offset | 236 | drivers/scsi/st.c | int offset, transfer, blks; |
offset | 261 | drivers/scsi/st.c | offset = (STp->buffer)->buffer_bytes; |
offset | 262 | drivers/scsi/st.c | transfer = ((offset + STp->block_size - 1) / |
offset | 267 | drivers/scsi/st.c | memset((STp->buffer)->b_data + offset, 0, transfer - offset); |
offset | 146 | drivers/scsi/t128.c | int offset; |
offset | 214 | drivers/scsi/t128.c | (bases[current_base].address + signatures[sig].offset, |
offset | 515 | drivers/scsi/wd7000.c | unsigned offset; |
offset | 535 | drivers/scsi/wd7000.c | if(!memcmp((void *)(wd_bases[i] + signatures[j].offset), |
offset | 340 | drivers/sound/audio.c | audio_lseek (int dev, struct fileinfo *file, off_t offset, int orig) |
offset | 1133 | drivers/sound/sequencer.c | sequencer_lseek (int dev, struct fileinfo *file, off_t offset, int orig) |
offset | 31 | drivers/sound/sound_calls.h | int audio_lseek (int dev, struct fileinfo *file, off_t offset, int orig); |
offset | 44 | drivers/sound/sound_calls.h | int sequencer_lseek (int dev, struct fileinfo *file, off_t offset, int orig); |
offset | 64 | drivers/sound/sound_calls.h | int MIDIbuf_lseek (int dev, struct fileinfo *file, off_t offset, int orig); |
offset | 82 | drivers/sound/soundcard.c | sound_lseek (struct inode *inode, struct file *file, off_t offset, int orig) |
offset | 21 | fs/block_dev.c | int offset; |
offset | 42 | fs/block_dev.c | offset = filp->f_pos & (blocksize-1); |
offset | 51 | fs/block_dev.c | chars = blocksize - offset; |
offset | 61 | fs/block_dev.c | p = offset + bh->b_data; |
offset | 62 | fs/block_dev.c | offset = 0; |
offset | 81 | fs/block_dev.c | unsigned int offset; |
offset | 106 | fs/block_dev.c | offset = filp->f_pos; |
offset | 112 | fs/block_dev.c | if (offset > size) |
offset | 115 | fs/block_dev.c | left = size - offset; |
offset | 121 | fs/block_dev.c | block = offset >> blocksize_bits; |
offset | 122 | fs/block_dev.c | offset &= blocksize-1; |
offset | 124 | fs/block_dev.c | blocks = (left + offset + blocksize - 1) >> blocksize_bits; |
offset | 179 | fs/block_dev.c | if (left < blocksize - offset) |
offset | 182 | fs/block_dev.c | chars = blocksize - offset; |
offset | 187 | fs/block_dev.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 194 | fs/block_dev.c | offset = 0; |
offset | 655 | fs/buffer.c | unsigned long offset; |
offset | 658 | fs/buffer.c | offset = PAGE_SIZE; |
offset | 659 | fs/buffer.c | while ((offset -= size) < PAGE_SIZE) { |
offset | 665 | fs/buffer.c | bh->b_data = (char *) (page+offset); |
offset | 706 | fs/buffer.c | unsigned long offset; |
offset | 718 | fs/buffer.c | for (offset = size ; offset < PAGE_SIZE ; offset += size) { |
offset | 726 | fs/buffer.c | if (page+offset != (unsigned long) first->b_data) |
offset | 746 | fs/buffer.c | unsigned long offset; |
offset | 754 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
offset | 101 | fs/exec.c | #define DUMP_SEEK(offset) \ |
offset | 103 | fs/exec.c | if (file.f_op->lseek(inode,&file,(offset),0) != (offset)) \ |
offset | 105 | fs/exec.c | } else file.f_pos = (offset) |
offset | 345 | fs/exec.c | int len, offset = 0; |
offset | 371 | fs/exec.c | if (--offset < 0) { |
offset | 372 | fs/exec.c | offset = p % PAGE_SIZE; |
offset | 383 | fs/exec.c | *(pag + offset) = get_fs_byte(tmp); |
offset | 416 | fs/exec.c | int read_exec(struct inode *inode, unsigned long offset, |
offset | 437 | fs/exec.c | if (file.f_op->lseek(inode,&file,offset,0) != offset) |
offset | 440 | fs/exec.c | file.f_pos = offset; |
offset | 67 | fs/ext/dir.c | unsigned int offset,i; |
offset | 77 | fs/ext/dir.c | offset = filp->f_pos & 1023; |
offset | 80 | fs/ext/dir.c | filp->f_pos += 1024-offset; |
offset | 83 | fs/ext/dir.c | de = (struct ext_dir_entry *) (offset + bh->b_data); |
offset | 84 | fs/ext/dir.c | while (offset < 1024 && filp->f_pos < inode->i_size) { |
offset | 90 | fs/ext/dir.c | inode->i_dev, inode->i_ino, offset, de->rec_len, de->name_len); |
offset | 91 | fs/ext/dir.c | filp->f_pos += 1024-offset; |
offset | 96 | fs/ext/dir.c | offset += de->rec_len; |
offset | 75 | fs/ext/file.c | int block, blocks, offset; |
offset | 90 | fs/ext/file.c | offset = filp->f_pos; |
offset | 92 | fs/ext/file.c | if (offset > size) |
offset | 95 | fs/ext/file.c | left = size - offset; |
offset | 101 | fs/ext/file.c | block = offset >> BLOCK_SIZE_BITS; |
offset | 102 | fs/ext/file.c | offset &= BLOCK_SIZE-1; |
offset | 104 | fs/ext/file.c | blocks = (left + offset + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; |
offset | 159 | fs/ext/file.c | if (left < BLOCK_SIZE - offset) |
offset | 162 | fs/ext/file.c | chars = BLOCK_SIZE - offset; |
offset | 167 | fs/ext/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 174 | fs/ext/file.c | offset = 0; |
offset | 91 | fs/ext/namei.c | long offset; |
offset | 112 | fs/ext/namei.c | offset = 0; |
offset | 114 | fs/ext/namei.c | while (offset < dir->i_size) { |
offset | 118 | fs/ext/namei.c | bh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,0); |
offset | 130 | fs/ext/namei.c | dir->i_dev, dir->i_ino, offset, de->rec_len, de->name_len); |
offset | 132 | fs/ext/namei.c | offset = ((offset / BLOCK_SIZE) + 1) * BLOCK_SIZE; |
offset | 140 | fs/ext/namei.c | if (offset + de->rec_len < dir->i_size && |
offset | 148 | fs/ext/namei.c | offset += de->rec_len; |
offset | 199 | fs/ext/namei.c | long offset; |
offset | 220 | fs/ext/namei.c | offset = 0; |
offset | 223 | fs/ext/namei.c | if ((char *)de >= BLOCK_SIZE+bh->b_data && offset < dir->i_size) { |
offset | 229 | fs/ext/namei.c | bh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,0); |
offset | 234 | fs/ext/namei.c | if (offset >= dir->i_size) { |
offset | 236 | fs/ext/namei.c | if (offset % BLOCK_SIZE == 0 || |
offset | 237 | fs/ext/namei.c | (BLOCK_SIZE - (offset % BLOCK_SIZE)) < rec_len) { |
offset | 238 | fs/ext/namei.c | if ((offset % BLOCK_SIZE) != 0) { |
offset | 244 | fs/ext/namei.c | - (offset & (BLOCK_SIZE - 1)); |
offset | 246 | fs/ext/namei.c | offset += de->rec_len; |
offset | 259 | fs/ext/namei.c | bh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,1); |
offset | 278 | fs/ext/namei.c | dir->i_dev, dir->i_ino, offset, de->rec_len, de->name_len); |
offset | 303 | fs/ext/namei.c | offset += de->rec_len; |
offset | 476 | fs/ext/namei.c | unsigned long offset; |
offset | 491 | fs/ext/namei.c | offset = de->rec_len + de1->rec_len; |
offset | 493 | fs/ext/namei.c | while (offset < inode->i_size ) { |
offset | 496 | fs/ext/namei.c | bh = ext_bread(inode, offset >> BLOCK_SIZE_BITS,1); |
offset | 498 | fs/ext/namei.c | offset += BLOCK_SIZE; |
offset | 507 | fs/ext/namei.c | inode->i_dev, inode->i_ino, offset, de->rec_len, de->name_len); |
offset | 515 | fs/ext/namei.c | offset += de->rec_len; |
offset | 63 | fs/ext/truncate.c | static int trunc_indirect(struct inode * inode, int offset, unsigned long * p) |
offset | 70 | fs/ext/truncate.c | #define INDIRECT_BLOCK (DIRECT_BLOCK-offset) |
offset | 126 | fs/ext/truncate.c | static int trunc_dindirect(struct inode * inode, int offset, unsigned long * p) |
offset | 132 | fs/ext/truncate.c | #define DINDIRECT_BLOCK ((DIRECT_BLOCK-offset)>>8) |
offset | 156 | fs/ext/truncate.c | retry |= trunc_indirect(inode,offset+(i<<8),dind); |
offset | 72 | fs/ext2/balloc.c | int offset) |
offset | 74 | fs/ext2/balloc.c | unsigned long * p = ((unsigned long *) addr) + (offset >> 5); |
offset | 75 | fs/ext2/balloc.c | int set = 0, bit = offset & 31, res; |
offset | 89 | fs/ext2/balloc.c | return set + offset; |
offset | 97 | fs/ext2/balloc.c | return (offset + set + res); |
offset | 69 | fs/ext2/dir.c | unsigned long offset) |
offset | 86 | fs/ext2/dir.c | error_msg, offset, de->inode, de->rec_len, |
offset | 94 | fs/ext2/dir.c | unsigned long offset, blk; |
offset | 105 | fs/ext2/dir.c | offset = filp->f_pos & (sb->s_blocksize - 1); |
offset | 109 | fs/ext2/dir.c | filp->f_pos += sb->s_blocksize - offset; |
offset | 116 | fs/ext2/dir.c | if (!offset) { |
offset | 132 | fs/ext2/dir.c | de = (struct ext2_dir_entry *) (offset + bh->b_data); |
offset | 133 | fs/ext2/dir.c | while (offset < sb->s_blocksize && filp->f_pos < inode->i_size) { |
offset | 135 | fs/ext2/dir.c | bh, offset)) { |
offset | 139 | fs/ext2/dir.c | offset += de->rec_len; |
offset | 79 | fs/ext2/file.c | int block, blocks, offset; |
offset | 98 | fs/ext2/file.c | offset = filp->f_pos; |
offset | 100 | fs/ext2/file.c | if (offset > size) |
offset | 103 | fs/ext2/file.c | left = size - offset; |
offset | 109 | fs/ext2/file.c | block = offset >> EXT2_BLOCK_SIZE_BITS(sb); |
offset | 110 | fs/ext2/file.c | offset &= (sb->s_blocksize - 1); |
offset | 112 | fs/ext2/file.c | blocks = (left + offset + sb->s_blocksize - 1) >> EXT2_BLOCK_SIZE_BITS(sb); |
offset | 178 | fs/ext2/file.c | if (left < sb->s_blocksize - offset) |
offset | 181 | fs/ext2/file.c | chars = sb->s_blocksize - offset; |
offset | 186 | fs/ext2/file.c | memcpy_tofs (buf, offset + (*bhe)->b_data, |
offset | 194 | fs/ext2/file.c | offset = 0; |
offset | 82 | fs/ext2/namei.c | unsigned long offset; |
offset | 112 | fs/ext2/namei.c | offset = 0; |
offset | 113 | fs/ext2/namei.c | while (offset < dir->i_size) { |
offset | 138 | fs/ext2/namei.c | de, bh, offset)) |
offset | 148 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 223 | fs/ext2/namei.c | unsigned long offset; |
offset | 255 | fs/ext2/namei.c | offset = 0; |
offset | 262 | fs/ext2/namei.c | bh = ext2_bread (dir, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, err); |
offset | 265 | fs/ext2/namei.c | if (dir->i_size <= offset) { |
offset | 276 | fs/ext2/namei.c | dir->i_size = offset + sb->s_blocksize; |
offset | 289 | fs/ext2/namei.c | offset)) { |
offset | 301 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 331 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 571 | fs/ext2/namei.c | unsigned long offset; |
offset | 592 | fs/ext2/namei.c | offset = de->rec_len + de1->rec_len; |
offset | 594 | fs/ext2/namei.c | while (offset < inode->i_size ) { |
offset | 597 | fs/ext2/namei.c | bh = ext2_bread (inode, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, &err); |
offset | 599 | fs/ext2/namei.c | offset += sb->s_blocksize; |
offset | 605 | fs/ext2/namei.c | offset)) { |
offset | 613 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 405 | fs/ext2/super.c | unsigned long offset; |
offset | 410 | fs/ext2/super.c | offset = sb_block % sb->s_blocksize; |
offset | 414 | fs/ext2/super.c | es = (struct ext2_super_block *) (((char *)bh->b_data) + offset); |
offset | 104 | fs/ext2/truncate.c | static int trunc_indirect (struct inode * inode, int offset, unsigned long * p) |
offset | 115 | fs/ext2/truncate.c | #define INDIRECT_BLOCK ((int)DIRECT_BLOCK - offset) |
offset | 201 | fs/ext2/truncate.c | static int trunc_dindirect (struct inode * inode, int offset, |
offset | 210 | fs/ext2/truncate.c | #define DINDIRECT_BLOCK (((int)DIRECT_BLOCK - offset) / addr_per_block) |
offset | 235 | fs/ext2/truncate.c | retry |= trunc_indirect (inode, offset + (i * addr_per_block), |
offset | 69 | fs/isofs/dir.c | unsigned int block,offset,i, j; |
offset | 82 | fs/isofs/dir.c | offset = filp->f_pos & (bufsize - 1); |
offset | 90 | fs/isofs/dir.c | block, offset, filp->f_pos); |
offset | 92 | fs/isofs/dir.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 93 | fs/isofs/dir.c | inode_number = (block << bufbits) + (offset & (bufsize - 1)); |
offset | 101 | fs/isofs/dir.c | offset = 0; |
offset | 116 | fs/isofs/dir.c | old_offset = offset; |
offset | 117 | fs/isofs/dir.c | offset += *((unsigned char *) de); |
offset | 120 | fs/isofs/dir.c | if (offset >= bufsize) { |
offset | 126 | fs/isofs/dir.c | offset = filp->f_pos & (bufsize - 1); |
offset | 117 | fs/isofs/file.c | int block, blocks, offset; |
offset | 144 | fs/isofs/file.c | offset = filp->f_pos & (ISOFS_BUFFER_SIZE(inode)-1); |
offset | 145 | fs/isofs/file.c | blocks = (left + offset + ISOFS_BUFFER_SIZE(inode) - 1) / ISOFS_BUFFER_SIZE(inode); |
offset | 227 | fs/isofs/file.c | if (left < ISOFS_BUFFER_SIZE(inode) - offset) |
offset | 230 | fs/isofs/file.c | chars = ISOFS_BUFFER_SIZE(inode) - offset; |
offset | 237 | fs/isofs/file.c | unixify_text_buffer(offset+(*bhe)->b_data, |
offset | 239 | fs/isofs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 246 | fs/isofs/file.c | offset = 0; |
offset | 535 | fs/isofs/inode.c | unsigned int block,offset; |
offset | 543 | fs/isofs/inode.c | offset = 0; |
offset | 548 | fs/isofs/inode.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 555 | fs/isofs/inode.c | offset += *((unsigned char *) de); |
offset | 557 | fs/isofs/inode.c | if (offset >= bufsize) |
offset | 581 | fs/isofs/inode.c | offset = 0; |
offset | 588 | fs/isofs/inode.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 589 | fs/isofs/inode.c | inode_number = (block << bufbits)+(offset & (bufsize - 1)); |
offset | 598 | fs/isofs/inode.c | offset = 0; |
offset | 611 | fs/isofs/inode.c | old_offset = offset; |
offset | 612 | fs/isofs/inode.c | offset += *((unsigned char *) de); |
offset | 614 | fs/isofs/inode.c | if (offset >= bufsize) |
offset | 622 | fs/isofs/inode.c | offset -= bufsize; |
offset | 70 | fs/isofs/namei.c | unsigned int block, i, f_pos, offset, inode_number; |
offset | 87 | fs/isofs/namei.c | offset = f_pos & (bufsize - 1); |
offset | 93 | fs/isofs/namei.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 95 | fs/isofs/namei.c | inode_number = (block << bufbits) + (offset & (bufsize - 1)); |
offset | 102 | fs/isofs/namei.c | offset = 0; |
offset | 111 | fs/isofs/namei.c | old_offset = offset; |
offset | 112 | fs/isofs/namei.c | offset += *((unsigned char *) de); |
offset | 117 | fs/isofs/namei.c | if (offset >= bufsize) { |
offset | 123 | fs/isofs/namei.c | offset = f_pos & (bufsize - 1); |
offset | 44 | fs/isofs/rock.c | cont_offset = isonum_733(rr->u.CE.offset); \ |
offset | 56 | fs/isofs/rock.c | int block, offset, offset1; \ |
offset | 60 | fs/isofs/rock.c | offset = cont_offset; \ |
offset | 64 | fs/isofs/rock.c | if (offset >= 1024) block++; \ |
offset | 65 | fs/isofs/rock.c | offset &= 1023; \ |
offset | 66 | fs/isofs/rock.c | if(offset + cont_size >= 1024) { \ |
offset | 68 | fs/isofs/rock.c | memcpy(buffer, bh->b_data + offset, 1024 - offset); \ |
offset | 70 | fs/isofs/rock.c | offset1 = 1024 - offset; \ |
offset | 71 | fs/isofs/rock.c | offset = 0; \ |
offset | 76 | fs/isofs/rock.c | memcpy(buffer + offset1, bh->b_data + offset, cont_size - offset1); \ |
offset | 13 | fs/isofs/rock.h | char offset[8]; |
offset | 60 | fs/minix/dir.c | unsigned int offset,i; |
offset | 72 | fs/minix/dir.c | offset = filp->f_pos & 1023; |
offset | 75 | fs/minix/dir.c | filp->f_pos += 1024-offset; |
offset | 78 | fs/minix/dir.c | while (offset < 1024 && filp->f_pos < inode->i_size) { |
offset | 79 | fs/minix/dir.c | de = (struct minix_dir_entry *) (offset + bh->b_data); |
offset | 80 | fs/minix/dir.c | offset += info->s_dirsize; |
offset | 69 | fs/minix/file.c | int block, blocks, offset; |
offset | 84 | fs/minix/file.c | offset = filp->f_pos; |
offset | 86 | fs/minix/file.c | if (offset > size) |
offset | 89 | fs/minix/file.c | left = size - offset; |
offset | 95 | fs/minix/file.c | block = offset >> BLOCK_SIZE_BITS; |
offset | 96 | fs/minix/file.c | offset &= BLOCK_SIZE-1; |
offset | 98 | fs/minix/file.c | blocks = (left + offset + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; |
offset | 153 | fs/minix/file.c | if (left < BLOCK_SIZE - offset) |
offset | 156 | fs/minix/file.c | chars = BLOCK_SIZE - offset; |
offset | 161 | fs/minix/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 168 | fs/minix/file.c | offset = 0; |
offset | 45 | fs/minix/namei.c | struct buffer_head * bh, unsigned long * offset, |
offset | 50 | fs/minix/namei.c | de = (struct minix_dir_entry *) (bh->b_data + *offset); |
offset | 51 | fs/minix/namei.c | *offset += info->s_dirsize; |
offset | 71 | fs/minix/namei.c | unsigned long block, offset; |
offset | 87 | fs/minix/namei.c | block = offset = 0; |
offset | 88 | fs/minix/namei.c | while (block*BLOCK_SIZE+offset < dir->i_size) { |
offset | 96 | fs/minix/namei.c | *res_dir = (struct minix_dir_entry *) (bh->b_data + offset); |
offset | 97 | fs/minix/namei.c | if (minix_match(namelen,name,bh,&offset,info)) |
offset | 99 | fs/minix/namei.c | if (offset < bh->b_size) |
offset | 103 | fs/minix/namei.c | offset = 0; |
offset | 155 | fs/minix/namei.c | unsigned long block, offset; |
offset | 175 | fs/minix/namei.c | block = offset = 0; |
offset | 182 | fs/minix/namei.c | de = (struct minix_dir_entry *) (bh->b_data + offset); |
offset | 183 | fs/minix/namei.c | offset += info->s_dirsize; |
offset | 184 | fs/minix/namei.c | if (block*bh->b_size + offset > dir->i_size) { |
offset | 186 | fs/minix/namei.c | dir->i_size = block*bh->b_size + offset; |
offset | 202 | fs/minix/namei.c | if (offset < bh->b_size) |
offset | 206 | fs/minix/namei.c | offset = 0; |
offset | 378 | fs/minix/namei.c | unsigned int block, offset; |
offset | 388 | fs/minix/namei.c | offset = 2*info->s_dirsize; |
offset | 391 | fs/minix/namei.c | if (inode->i_size < offset) |
offset | 402 | fs/minix/namei.c | while (block*BLOCK_SIZE+offset < inode->i_size) { |
offset | 410 | fs/minix/namei.c | de = (struct minix_dir_entry *) (bh->b_data + offset); |
offset | 411 | fs/minix/namei.c | offset += info->s_dirsize; |
offset | 416 | fs/minix/namei.c | if (offset < bh->b_size) |
offset | 420 | fs/minix/namei.c | offset = 0; |
offset | 57 | fs/minix/truncate.c | static int trunc_indirect(struct inode * inode, int offset, unsigned short * p) |
offset | 64 | fs/minix/truncate.c | #define INDIRECT_BLOCK (DIRECT_BLOCK-offset) |
offset | 241 | fs/msdos/fat.c | int cluster,offset; |
offset | 250 | fs/msdos/fat.c | offset = sector % sb->cluster_size; |
offset | 252 | fs/msdos/fat.c | return (cluster-2)*sb->cluster_size+sb->data_start+offset; |
offset | 84 | fs/msdos/file.c | int left,offset,size,sector,cnt; |
offset | 103 | fs/msdos/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
offset | 105 | fs/msdos/file.c | filp->f_pos += (size = MIN(SECTOR_SIZE-offset,left)); |
offset | 107 | fs/msdos/file.c | memcpy_tofs(buf,data+offset,size); |
offset | 111 | fs/msdos/file.c | if ((ch = *((char *) data+offset++)) == '\r') |
offset | 138 | fs/msdos/file.c | int sector,offset,size,left,written; |
offset | 166 | fs/msdos/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
offset | 167 | fs/msdos/file.c | size = MIN(SECTOR_SIZE-offset,MAX(carry,count)); |
offset | 178 | fs/msdos/file.c | written = left = SECTOR_SIZE-offset; |
offset | 290 | fs/msdos/inode.c | int cluster,offset; |
offset | 299 | fs/msdos/inode.c | offset = (block*2) % sb->cluster_size; |
offset | 301 | fs/msdos/inode.c | return ((cluster-2)*sb->cluster_size+sb->data_start+offset) >> 1; |
offset | 270 | fs/msdos/misc.c | int sector,offset; |
offset | 274 | fs/msdos/misc.c | offset = *pos; |
offset | 275 | fs/msdos/misc.c | if ((sector = msdos_smap(dir,offset >> SECTOR_BITS)) == -1) |
offset | 286 | fs/msdos/misc.c | *de = (struct msdos_dir_entry *) (data+(offset & |
offset | 288 | fs/msdos/misc.c | return (sector << MSDOS_DPS_BITS)+((offset & (SECTOR_SIZE-1)) >> |
offset | 310 | fs/nfs/proc.c | int offset, int count, char *data, struct nfs_fattr *fattr) |
offset | 316 | fs/nfs/proc.c | PRINTK("NFS call read %d @ %d\n", count, offset); |
offset | 321 | fs/nfs/proc.c | *p++ = htonl(offset); |
offset | 346 | fs/nfs/proc.c | int offset, int count, char *data, struct nfs_fattr *fattr) |
offset | 351 | fs/nfs/proc.c | PRINTK("NFS call write %d @ %d\n", count, offset); |
offset | 356 | fs/nfs/proc.c | *p++ = htonl(offset); /* traditional, could be any value */ |
offset | 357 | fs/nfs/proc.c | *p++ = htonl(offset); |
offset | 118 | fs/pipe.c | static int pipe_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 127 | fs/proc/mem.c | static int mem_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 131 | fs/proc/mem.c | file->f_pos = offset; |
offset | 134 | fs/proc/mem.c | file->f_pos += offset; |
offset | 37 | fs/read_write.c | asmlinkage int sys_lseek(unsigned int fd, off_t offset, unsigned int origin) |
offset | 47 | fs/read_write.c | return file->f_op->lseek(file->f_inode,file,offset,origin); |
offset | 52 | fs/read_write.c | tmp = offset; |
offset | 55 | fs/read_write.c | tmp = file->f_pos + offset; |
offset | 60 | fs/read_write.c | tmp = file->f_inode->i_size + offset; |
offset | 68 | fs/sysv/dir.c | unsigned int offset,i; |
offset | 79 | fs/sysv/dir.c | offset = filp->f_pos & sb->sv_block_size_1; |
offset | 82 | fs/sysv/dir.c | filp->f_pos += sb->sv_block_size - offset; |
offset | 85 | fs/sysv/dir.c | while (offset < sb->sv_block_size && filp->f_pos < inode->i_size) { |
offset | 86 | fs/sysv/dir.c | de = (struct sysv_dir_entry *) (offset + bh_data); |
offset | 87 | fs/sysv/dir.c | offset += SYSV_DIRSIZE; |
offset | 114 | fs/sysv/file.c | int blocks, offset; |
offset | 129 | fs/sysv/file.c | offset = filp->f_pos; |
offset | 131 | fs/sysv/file.c | if (offset > size) |
offset | 134 | fs/sysv/file.c | left = size - offset; |
offset | 140 | fs/sysv/file.c | block = offset >> sb->sv_block_size_bits; |
offset | 141 | fs/sysv/file.c | offset &= sb->sv_block_size_1; |
offset | 143 | fs/sysv/file.c | blocks = (left + offset + sb->sv_block_size_1) >> sb->sv_block_size_bits; |
offset | 207 | fs/sysv/file.c | if (left < sb->sv_block_size - offset) |
offset | 210 | fs/sysv/file.c | chars = sb->sv_block_size - offset; |
offset | 215 | fs/sysv/file.c | memcpy_tofs(buf,offset+bhe->bh_data,chars); |
offset | 222 | fs/sysv/file.c | offset = 0; |
offset | 69 | fs/sysv/namei.c | unsigned long pos, block, offset; /* pos = block * block_size + offset */ |
offset | 83 | fs/sysv/namei.c | pos = block = offset = 0; |
offset | 94 | fs/sysv/namei.c | *res_dir = (struct sysv_dir_entry *) (bh_data + offset) )) |
offset | 97 | fs/sysv/namei.c | offset += SYSV_DIRSIZE; |
offset | 98 | fs/sysv/namei.c | if (offset < sb->sv_block_size) |
offset | 102 | fs/sysv/namei.c | offset = 0; block++; |
offset | 154 | fs/sysv/namei.c | unsigned long pos, block, offset; /* pos = block * block_size + offset */ |
offset | 172 | fs/sysv/namei.c | pos = block = offset = 0; |
offset | 179 | fs/sysv/namei.c | de = (struct sysv_dir_entry *) (bh_data + offset); |
offset | 181 | fs/sysv/namei.c | offset += SYSV_DIRSIZE; |
offset | 200 | fs/sysv/namei.c | if (offset < sb->sv_block_size) |
offset | 204 | fs/sysv/namei.c | offset = 0; block++; |
offset | 381 | fs/sysv/namei.c | unsigned long pos, block, offset; /* pos = block * block_size + offset */ |
offset | 390 | fs/sysv/namei.c | pos = offset = 2*SYSV_DIRSIZE; |
offset | 414 | fs/sysv/namei.c | de = (struct sysv_dir_entry *) (bh_data + offset); |
offset | 416 | fs/sysv/namei.c | offset += SYSV_DIRSIZE; |
offset | 421 | fs/sysv/namei.c | if (offset < sb->sv_block_size) |
offset | 425 | fs/sysv/namei.c | offset = 0; block++; |
offset | 291 | fs/sysv/truncate.c | static int trunc_indirect(struct inode * inode, unsigned long offset, unsigned long * p, int convert, unsigned char * dirt) |
offset | 319 | fs/sysv/truncate.c | if (inode->i_size < offset) |
offset | 322 | fs/sysv/truncate.c | i = (inode->i_size - offset + BLOCK_SIZE-1) / BLOCK_SIZE; |
offset | 331 | fs/sysv/truncate.c | if (i*BLOCK_SIZE + offset < inode->i_size) { |
offset | 360 | fs/sysv/truncate.c | static int trunc_dindirect(struct inode * inode, unsigned long offset, unsigned long * p, int convert, unsigned char * dirt) |
offset | 386 | fs/sysv/truncate.c | if (inode->i_size < offset) |
offset | 389 | fs/sysv/truncate.c | i = (inode->i_size - offset + IND_PER_BLOCK*BLOCK_SIZE-1) / (IND_PER_BLOCK*BLOCK_SIZE); |
offset | 397 | fs/sysv/truncate.c | retry |= trunc_indirect(inode,offset+i*IND_PER_BLOCK,ind,sb->sv_convert,&indbh->b_dirt); |
offset | 414 | fs/sysv/truncate.c | static int trunc_tindirect(struct inode * inode, unsigned long offset, unsigned long * p, int convert, unsigned char * dirt) |
offset | 440 | fs/sysv/truncate.c | if (inode->i_size < offset) |
offset | 443 | fs/sysv/truncate.c | i = (inode->i_size - offset + IND_PER_BLOCK*IND_PER_BLOCK*BLOCK_SIZE-1) / (IND_PER_BLOCK*IND_PER_BLOCK*BLOCK_SIZE); |
offset | 451 | fs/sysv/truncate.c | retry |= trunc_dindirect(inode,offset+i*IND_PER_BLOCK*IND_PER_BLOCK,ind,sb->sv_convert,&indbh->b_dirt); |
offset | 224 | fs/xiafs/bitmap.c | unsigned int bit, offset; |
offset | 243 | fs/xiafs/bitmap.c | offset = bit & (XIAFS_BITS_PER_Z(sb) -1); |
offset | 244 | fs/xiafs/bitmap.c | if (clear_bit(offset, bh->b_data)) |
offset | 68 | fs/xiafs/dir.c | u_int offset, i; |
offset | 77 | fs/xiafs/dir.c | offset = filp->f_pos & (XIAFS_ZSIZE(inode->i_sb) - 1); |
offset | 80 | fs/xiafs/dir.c | filp->f_pos += XIAFS_ZSIZE(inode->i_sb)-offset; |
offset | 83 | fs/xiafs/dir.c | de = (struct xiafs_direct *) (offset + bh->b_data); |
offset | 84 | fs/xiafs/dir.c | while (offset < XIAFS_ZSIZE(inode->i_sb) && filp->f_pos < inode->i_size) { |
offset | 95 | fs/xiafs/dir.c | offset += de->d_rec_len; |
offset | 110 | fs/xiafs/dir.c | de = (struct xiafs_direct *) (offset + bh->b_data); |
offset | 113 | fs/xiafs/dir.c | if (offset > XIAFS_ZSIZE(inode->i_sb)) { |
offset | 73 | fs/xiafs/file.c | int zone_nr, zones, f_zones, offset; |
offset | 87 | fs/xiafs/file.c | offset = filp->f_pos; |
offset | 88 | fs/xiafs/file.c | left = inode->i_size - offset; |
offset | 94 | fs/xiafs/file.c | zone_nr = offset >> XIAFS_ZSIZE_BITS(inode->i_sb); |
offset | 95 | fs/xiafs/file.c | offset &= XIAFS_ZSIZE(inode->i_sb) -1 ; |
offset | 97 | fs/xiafs/file.c | zones = (left+offset+XIAFS_ZSIZE(inode->i_sb)-1) >> XIAFS_ZSIZE_BITS(inode->i_sb); |
offset | 151 | fs/xiafs/file.c | if (left < XIAFS_ZSIZE(inode->i_sb) - offset) |
offset | 154 | fs/xiafs/file.c | chars = XIAFS_ZSIZE(inode->i_sb) - offset; |
offset | 159 | fs/xiafs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 166 | fs/xiafs/file.c | offset = 0; |
offset | 157 | fs/xiafs/namei.c | int i, pos, offset; |
offset | 182 | fs/xiafs/namei.c | offset = 12; |
offset | 185 | fs/xiafs/namei.c | offset = 0; |
offset | 186 | fs/xiafs/namei.c | while (offset < XIAFS_ZSIZE(dir->i_sb)) { |
offset | 230 | fs/xiafs/namei.c | offset+=de->d_rec_len; |
offset | 232 | fs/xiafs/namei.c | de=(struct xiafs_direct *)(bh->b_data+offset); |
offset | 235 | fs/xiafs/namei.c | if (offset > XIAFS_ZSIZE(dir->i_sb)) { |
offset | 406 | fs/xiafs/namei.c | int i, zones, offset; |
offset | 436 | fs/xiafs/namei.c | offset=de->d_rec_len+12; |
offset | 439 | fs/xiafs/namei.c | offset = 0; |
offset | 442 | fs/xiafs/namei.c | while (offset < XIAFS_ZSIZE(inode->i_sb)) { |
offset | 443 | fs/xiafs/namei.c | de=(struct xiafs_direct *)(bh->b_data+offset); |
offset | 457 | fs/xiafs/namei.c | offset+=de->d_rec_len; |
offset | 37 | include/linux/binfmts.h | extern int read_exec(struct inode *inode, unsigned long offset, |
offset | 104 | include/linux/elf.h | unsigned int * offset; |
offset | 109 | include/linux/elf.h | unsigned int * offset; |
offset | 68 | include/linux/nfs_fs.h | int offset, int count, char *data, |
offset | 71 | include/linux/nfs_fs.h | int offset, int count, char *data, |
offset | 81 | include/linux/timex.h | long offset; /* time offset (usec) */ |
offset | 100 | include/linux/xd.h | u_long offset; |
offset | 53 | kernel/ptrace.c | static inline int get_stack_long(struct task_struct *task, int offset) |
offset | 58 | kernel/ptrace.c | stack += offset; |
offset | 68 | kernel/ptrace.c | static inline int put_stack_long(struct task_struct *task, int offset, |
offset | 74 | kernel/ptrace.c | stack += offset; |
offset | 146 | kernel/time.c | unsigned long offset = 0; |
offset | 157 | kernel/time.c | offset = TICK_SIZE; |
offset | 161 | kernel/time.c | return offset + count; |
offset | 315 | kernel/time.c | if (txc.offset <= -(1 << (31 - SHIFT_UPDATE)) |
offset | 316 | kernel/time.c | || txc.offset >= (1 << (31 - SHIFT_UPDATE))) |
offset | 353 | kernel/time.c | time_adjust = txc.offset; |
offset | 357 | kernel/time.c | time_offset = txc.offset << SHIFT_UPDATE; |
offset | 363 | kernel/time.c | if (txc.offset < 0) |
offset | 364 | kernel/time.c | time_freq -= (-txc.offset * mtemp) >> |
offset | 367 | kernel/time.c | time_freq += (txc.offset * mtemp) >> |
offset | 378 | kernel/time.c | txc.offset = save_adjust; |
offset | 30 | mm/swap.c | #define SWP_ENTRY(type,offset) (((type) << 1) | ((offset) << PAGE_SHIFT)) |
offset | 59 | mm/swap.c | unsigned long type, offset; |
offset | 68 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 69 | mm/swap.c | if (offset >= p->max) { |
offset | 77 | mm/swap.c | while (set_bit(offset,p->swap_lockmap)) |
offset | 80 | mm/swap.c | ll_rw_page(rw,p->swap_device,offset,buf); |
offset | 86 | mm/swap.c | block = offset << (12 - p->swap_file->i_sb->s_blocksize_bits); |
offset | 96 | mm/swap.c | if (offset && !clear_bit(offset,p->swap_lockmap)) |
offset | 104 | mm/swap.c | unsigned int offset, type; |
offset | 110 | mm/swap.c | for (offset = p->lowest_bit; offset <= p->highest_bit ; offset++) { |
offset | 111 | mm/swap.c | if (p->swap_map[offset]) |
offset | 113 | mm/swap.c | p->swap_map[offset] = 1; |
offset | 115 | mm/swap.c | if (offset == p->highest_bit) |
offset | 117 | mm/swap.c | p->lowest_bit = offset; |
offset | 118 | mm/swap.c | return SWP_ENTRY(type,offset); |
offset | 127 | mm/swap.c | unsigned long offset, type; |
offset | 131 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 140 | mm/swap.c | if (offset >= p->max) { |
offset | 144 | mm/swap.c | if (!p->swap_map[offset]) { |
offset | 148 | mm/swap.c | p->swap_map[offset]++; |
offset | 155 | mm/swap.c | unsigned long offset, type; |
offset | 167 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 168 | mm/swap.c | if (offset >= p->max) { |
offset | 176 | mm/swap.c | while (set_bit(offset,p->swap_lockmap)) |
offset | 178 | mm/swap.c | if (offset < p->lowest_bit) |
offset | 179 | mm/swap.c | p->lowest_bit = offset; |
offset | 180 | mm/swap.c | if (offset > p->highest_bit) |
offset | 181 | mm/swap.c | p->highest_bit = offset; |
offset | 182 | mm/swap.c | if (!p->swap_map[offset]) |
offset | 185 | mm/swap.c | if (!--p->swap_map[offset]) |
offset | 187 | mm/swap.c | if (!clear_bit(offset,p->swap_lockmap)) |
offset | 158 | net/inet/datagram.c | void skb_copy_datagram(struct sk_buff *skb, int offset, char *to, int size) |
offset | 162 | net/inet/datagram.c | memcpy_tofs(to,skb->h.raw+offset,size); |
offset | 85 | net/inet/icmp.c | int offset; |
offset | 110 | net/inet/icmp.c | offset = ip_build_header(skb, dev->pa_addr, iph->saddr, |
offset | 112 | net/inet/icmp.c | if (offset < 0) { |
offset | 119 | net/inet/icmp.c | skb->len = offset + sizeof(struct icmphdr) + sizeof(struct iphdr) + 8; |
offset | 120 | net/inet/icmp.c | icmph = (struct icmphdr *) (skb->data + offset); |
offset | 242 | net/inet/icmp.c | int size, offset; |
offset | 257 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &dev, |
offset | 259 | net/inet/icmp.c | if (offset < 0) { |
offset | 268 | net/inet/icmp.c | skb2->len = offset + len; |
offset | 271 | net/inet/icmp.c | icmphr = (struct icmphdr *) (skb2->data + offset); |
offset | 306 | net/inet/icmp.c | int size, offset; |
offset | 321 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &dev, |
offset | 323 | net/inet/icmp.c | if (offset < 0) { |
offset | 332 | net/inet/icmp.c | skb2->len = offset + len; |
offset | 335 | net/inet/icmp.c | icmphr = (struct icmphdr *) (skb2->data + offset); |
offset | 520 | net/inet/ip.c | static struct ipfrag *ip_frag_create(int offset, int end, struct sk_buff *skb, unsigned char *ptr) |
offset | 533 | net/inet/ip.c | fp->offset = offset; |
offset | 535 | net/inet/ip.c | fp->len = end - offset; |
offset | 723 | net/inet/ip.c | int offset; |
offset | 731 | net/inet/ip.c | offset = 0; |
offset | 734 | net/inet/ip.c | if (fp->offset > offset) |
offset | 736 | net/inet/ip.c | offset = fp->end; |
offset | 793 | net/inet/ip.c | memcpy((ptr + fp->offset), fp->ptr, fp->len); |
offset | 818 | net/inet/ip.c | int flags, offset; |
offset | 825 | net/inet/ip.c | offset = ntohs(iph->frag_off); |
offset | 826 | net/inet/ip.c | flags = offset & ~IP_OFFSET; |
offset | 827 | net/inet/ip.c | offset &= IP_OFFSET; |
offset | 828 | net/inet/ip.c | if (((flags & IP_MF) == 0) && (offset == 0)) |
offset | 834 | net/inet/ip.c | offset <<= 3; /* offset is in 8-byte chunks */ |
offset | 857 | net/inet/ip.c | end = offset + ntohs(iph->tot_len) - ihl; |
offset | 874 | net/inet/ip.c | if (next->offset > offset) |
offset | 884 | net/inet/ip.c | if (prev != NULL && offset < prev->end) |
offset | 886 | net/inet/ip.c | i = prev->end - offset; |
offset | 887 | net/inet/ip.c | offset += i; /* ptr into datagram */ |
offset | 900 | net/inet/ip.c | if (next->offset >= end) |
offset | 903 | net/inet/ip.c | i = end - next->offset; /* overlap is 'i' bytes */ |
offset | 905 | net/inet/ip.c | next->offset += i; /* next fragment */ |
offset | 928 | net/inet/ip.c | tfp = ip_frag_create(offset, end, skb, ptr); |
offset | 969 | net/inet/ip.c | int offset; |
offset | 1006 | net/inet/ip.c | offset = (ntohs(iph->frag_off) & 0x1fff) << 3; |
offset | 1008 | net/inet/ip.c | offset = 0; |
offset | 1046 | net/inet/ip.c | iph->frag_off = htons((offset >> 3)); |
offset | 1052 | net/inet/ip.c | offset += len; |
offset | 38 | net/inet/ip.h | int offset; /* offset of fragment in IP datagram */ |
offset | 110 | net/inet/skbuff.h | extern void skb_copy_datagram(struct sk_buff *from, int offset, char *to,int size); |
offset | 1325 | net/inet/tcp.c | unsigned long offset; |
offset | 1466 | net/inet/tcp.c | offset = sk->copied_seq+1 - skb->h.th->seq; |
offset | 1468 | net/inet/tcp.c | if (skb->h.th->syn) offset--; |
offset | 1469 | net/inet/tcp.c | if (offset < skb->len) /* Some of the packet is useful */ |
offset | 1480 | net/inet/tcp.c | offset += ntohs(skb->h.th->urg_ptr); |
offset | 1481 | net/inet/tcp.c | if (offset >= skb->len) |
offset | 1498 | net/inet/tcp.c | used = min(skb->len - offset, len); |
offset | 1501 | net/inet/tcp.c | skb->h.th->doff*4 + offset, used); |
offset | 1517 | net/inet/tcp.c | (used + offset >= skb->len)) |
offset | 46 | net/socket.c | static int sock_lseek(struct inode *inode, struct file *file, off_t offset, |
offset | 264 | net/socket.c | sock_lseek(struct inode *inode, struct file *file, off_t offset, int whence) |