tag | line | file | source code |
offset | 59 | drivers/FPU-emu/get_address.c | long offset; |
offset | 71 | drivers/FPU-emu/get_address.c | offset = 0; /* No base register */ |
offset | 73 | drivers/FPU-emu/get_address.c | offset = REG_(base); |
offset | 84 | drivers/FPU-emu/get_address.c | offset += (REG_(index)) << ss; |
offset | 92 | drivers/FPU-emu/get_address.c | offset += (signed char) get_fs_byte((char *) (*fpu_eip)); |
offset | 101 | drivers/FPU-emu/get_address.c | offset += (signed) get_fs_long((unsigned long *) (*fpu_eip)); |
offset | 106 | drivers/FPU-emu/get_address.c | return (void *) offset; |
offset | 146 | drivers/FPU-emu/get_address.c | int offset = 0; /* Initialized just to stop compiler warnings. */ |
offset | 179 | drivers/FPU-emu/get_address.c | offset = get_fs_long((unsigned long *) (*fpu_eip)); |
offset | 182 | drivers/FPU-emu/get_address.c | FPU_data_address = (void *) offset; |
offset | 195 | drivers/FPU-emu/get_address.c | offset = (signed char) get_fs_byte((char *) (*fpu_eip)); |
offset | 203 | drivers/FPU-emu/get_address.c | offset = (signed) get_fs_long((unsigned long *) (*fpu_eip)); |
offset | 214 | drivers/FPU-emu/get_address.c | offset += vm86_segment(addr_modes.override.segment); |
offset | 217 | drivers/FPU-emu/get_address.c | FPU_data_address = offset + (char *)*cpu_reg_ptr; |
offset | 225 | drivers/FPU-emu/get_address.c | int offset = 0; /* Default used for mod == 0 */ |
offset | 251 | drivers/FPU-emu/get_address.c | offset = (unsigned short)get_fs_word((unsigned short *) (*fpu_eip)); |
offset | 261 | drivers/FPU-emu/get_address.c | offset = (signed char) get_fs_byte((signed char *) (*fpu_eip)); |
offset | 269 | drivers/FPU-emu/get_address.c | offset = (unsigned) get_fs_word((unsigned short *) (*fpu_eip)); |
offset | 281 | drivers/FPU-emu/get_address.c | offset += FPU_info->___ebx + FPU_info->___esi; |
offset | 284 | drivers/FPU-emu/get_address.c | offset += FPU_info->___ebx + FPU_info->___edi; |
offset | 287 | drivers/FPU-emu/get_address.c | offset += FPU_info->___ebp + FPU_info->___esi; |
offset | 290 | drivers/FPU-emu/get_address.c | offset += FPU_info->___ebp + FPU_info->___edi; |
offset | 293 | drivers/FPU-emu/get_address.c | offset += FPU_info->___esi; |
offset | 296 | drivers/FPU-emu/get_address.c | offset += FPU_info->___edi; |
offset | 299 | drivers/FPU-emu/get_address.c | offset += FPU_info->___ebp; |
offset | 302 | drivers/FPU-emu/get_address.c | offset += FPU_info->___ebx; |
offset | 307 | drivers/FPU-emu/get_address.c | offset &= 0xffff; |
offset | 311 | drivers/FPU-emu/get_address.c | offset += vm86_segment(addr_modes.override.segment); |
offset | 314 | drivers/FPU-emu/get_address.c | FPU_data_address = (void *)offset ; |
offset | 134 | drivers/block/xd.c | if (!memcmp(xd_bases[i] + xd_sigs[j].offset,xd_sigs[j].string,strlen(xd_sigs[j].string))) { |
offset | 338 | drivers/char/console.c | static inline void __set_origin(unsigned short offset) |
offset | 345 | drivers/char/console.c | __origin = offset; |
offset | 347 | drivers/char/console.c | outb_p(offset >> 8, video_port_val); |
offset | 349 | drivers/char/console.c | outb_p(offset, video_port_val); |
offset | 275 | drivers/char/lp.c | off_t offset, int origin) |
offset | 433 | drivers/char/lp.c | int offset = 0; |
offset | 442 | drivers/char/lp.c | for (offset = 0; offset < LP_NO; offset++) { |
offset | 444 | drivers/char/lp.c | outb_p( LP_DUMMY, LP_B(offset)); |
offset | 447 | drivers/char/lp.c | testvalue = inb_p(LP_B(offset)); |
offset | 449 | drivers/char/lp.c | LP_F(offset) |= LP_EXIST; |
offset | 450 | drivers/char/lp.c | lp_reset(offset); |
offset | 451 | drivers/char/lp.c | printk("lp_init: lp%d exists (%d), ", offset, testvalue); |
offset | 452 | drivers/char/lp.c | if (LP_IRQ(offset)) |
offset | 453 | drivers/char/lp.c | printk("using IRQ%d\n", LP_IRQ(offset)); |
offset | 224 | drivers/char/mem.c | static int null_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 236 | drivers/char/mem.c | static int memory_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 240 | drivers/char/mem.c | file->f_pos = offset; |
offset | 243 | 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 | 373 | drivers/net/depca.c | int nicsr, offset; |
offset | 447 | drivers/net/depca.c | offset = 0x8000; /* 32kbyte RAM */ |
offset | 451 | drivers/net/depca.c | offset = 0x0000; /* 64kbyte RAM */ |
offset | 455 | drivers/net/depca.c | mem_start += offset; |
offset | 472 | drivers/net/depca.c | j = ((0x10000 - offset) / PKT_BUF_SZ) >> 1; |
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 | 1530 | drivers/scsi/scsi.c | int offset; |
offset | 1537 | drivers/scsi/scsi.c | offset = ((int) obj) - ((int) dma_malloc_buffer); |
offset | 1539 | drivers/scsi/scsi.c | if (offset < 0) panic("Bad offset"); |
offset | 1540 | drivers/scsi/scsi.c | page = offset >> 13; |
offset | 1541 | drivers/scsi/scsi.c | sector = offset >> 9; |
offset | 1544 | 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 | 653 | fs/buffer.c | unsigned long offset; |
offset | 656 | fs/buffer.c | offset = PAGE_SIZE; |
offset | 657 | fs/buffer.c | while ((offset -= size) < PAGE_SIZE) { |
offset | 663 | fs/buffer.c | bh->b_data = (char *) (page+offset); |
offset | 704 | fs/buffer.c | unsigned long offset; |
offset | 716 | fs/buffer.c | for (offset = size ; offset < PAGE_SIZE ; offset += size) { |
offset | 724 | fs/buffer.c | if (page+offset != (unsigned long) first->b_data) |
offset | 744 | fs/buffer.c | unsigned long offset; |
offset | 753 | 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 | 349 | fs/exec.c | int len, offset = 0; |
offset | 375 | fs/exec.c | if (--offset < 0) { |
offset | 376 | fs/exec.c | offset = p % PAGE_SIZE; |
offset | 387 | fs/exec.c | *(pag + offset) = get_fs_byte(tmp); |
offset | 420 | fs/exec.c | int read_exec(struct inode *inode, unsigned long offset, |
offset | 441 | fs/exec.c | if (file.f_op->lseek(inode,&file,offset,0) != offset) |
offset | 444 | 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 | 409 | fs/ext2/super.c | unsigned long offset; |
offset | 414 | fs/ext2/super.c | offset = sb_block % sb->s_blocksize; |
offset | 418 | fs/ext2/super.c | es = (struct ext2_super_block *) (((char *)bh->b_data) + offset); |
offset | 113 | fs/ext2/truncate.c | static int trunc_indirect (struct inode * inode, int offset, unsigned long * p) |
offset | 124 | fs/ext2/truncate.c | #define INDIRECT_BLOCK ((int)DIRECT_BLOCK - offset) |
offset | 210 | fs/ext2/truncate.c | static int trunc_dindirect (struct inode * inode, int offset, |
offset | 219 | fs/ext2/truncate.c | #define DINDIRECT_BLOCK (((int)DIRECT_BLOCK - offset) / addr_per_block) |
offset | 244 | 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 | 538 | fs/isofs/inode.c | unsigned int block,offset; |
offset | 546 | fs/isofs/inode.c | offset = 0; |
offset | 551 | fs/isofs/inode.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 558 | fs/isofs/inode.c | offset += *((unsigned char *) de); |
offset | 560 | fs/isofs/inode.c | if (offset >= bufsize) |
offset | 584 | fs/isofs/inode.c | offset = 0; |
offset | 591 | fs/isofs/inode.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 592 | fs/isofs/inode.c | inode_number = (block << bufbits)+(offset & (bufsize - 1)); |
offset | 601 | fs/isofs/inode.c | offset = 0; |
offset | 614 | fs/isofs/inode.c | old_offset = offset; |
offset | 615 | fs/isofs/inode.c | offset += *((unsigned char *) de); |
offset | 617 | fs/isofs/inode.c | if (offset >= bufsize) |
offset | 625 | 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 | 338 | fs/nfs/proc.c | int offset, int count, char *data, struct nfs_fattr *fattr) |
offset | 345 | fs/nfs/proc.c | PRINTK("NFS call read %d @ %d\n", count, offset); |
offset | 351 | fs/nfs/proc.c | *p++ = htonl(offset); |
offset | 381 | fs/nfs/proc.c | int offset, int count, char *data, struct nfs_fattr *fattr) |
offset | 387 | fs/nfs/proc.c | PRINTK("NFS call write %d @ %d\n", count, offset); |
offset | 393 | fs/nfs/proc.c | *p++ = htonl(offset); /* traditional, could be any value */ |
offset | 394 | 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 | 79 | 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 | 358 | kernel/time.c | time_adjust = txc.offset; |
offset | 362 | kernel/time.c | time_offset = txc.offset << SHIFT_UPDATE; |
offset | 368 | kernel/time.c | if (txc.offset < 0) |
offset | 369 | kernel/time.c | time_freq -= (-txc.offset * mtemp) >> |
offset | 372 | kernel/time.c | time_freq += (txc.offset * mtemp) >> |
offset | 386 | kernel/time.c | txc.offset = save_adjust; |
offset | 31 | mm/swap.c | #define SWP_ENTRY(type,offset) (((type) << 1) | ((offset) << PAGE_SHIFT)) |
offset | 60 | mm/swap.c | unsigned long type, offset; |
offset | 69 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 70 | mm/swap.c | if (offset >= p->max) { |
offset | 78 | mm/swap.c | while (set_bit(offset,p->swap_lockmap)) |
offset | 85 | mm/swap.c | ll_rw_page(rw,p->swap_device,offset,buf); |
offset | 91 | mm/swap.c | block = offset << (12 - p->swap_file->i_sb->s_blocksize_bits); |
offset | 101 | mm/swap.c | if (offset && !clear_bit(offset,p->swap_lockmap)) |
offset | 109 | mm/swap.c | unsigned int offset, type; |
offset | 115 | mm/swap.c | for (offset = p->lowest_bit; offset <= p->highest_bit ; offset++) { |
offset | 116 | mm/swap.c | if (p->swap_map[offset]) |
offset | 118 | mm/swap.c | p->swap_map[offset] = 1; |
offset | 120 | mm/swap.c | if (offset == p->highest_bit) |
offset | 122 | mm/swap.c | p->lowest_bit = offset; |
offset | 123 | mm/swap.c | return SWP_ENTRY(type,offset); |
offset | 132 | mm/swap.c | unsigned long offset, type; |
offset | 136 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 145 | mm/swap.c | if (offset >= p->max) { |
offset | 149 | mm/swap.c | if (!p->swap_map[offset]) { |
offset | 153 | mm/swap.c | p->swap_map[offset]++; |
offset | 160 | mm/swap.c | unsigned long offset, type; |
offset | 172 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 173 | mm/swap.c | if (offset >= p->max) { |
offset | 181 | mm/swap.c | while (set_bit(offset,p->swap_lockmap)) |
offset | 183 | mm/swap.c | if (offset < p->lowest_bit) |
offset | 184 | mm/swap.c | p->lowest_bit = offset; |
offset | 185 | mm/swap.c | if (offset > p->highest_bit) |
offset | 186 | mm/swap.c | p->highest_bit = offset; |
offset | 187 | mm/swap.c | if (!p->swap_map[offset]) |
offset | 190 | mm/swap.c | if (!--p->swap_map[offset]) |
offset | 192 | 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 | 244 | net/inet/icmp.c | int size, offset; |
offset | 259 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &dev, |
offset | 261 | net/inet/icmp.c | if (offset < 0) { |
offset | 270 | net/inet/icmp.c | skb2->len = offset + len; |
offset | 273 | net/inet/icmp.c | icmphr = (struct icmphdr *) (skb2->data + offset); |
offset | 308 | net/inet/icmp.c | int size, offset; |
offset | 323 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &dev, |
offset | 325 | net/inet/icmp.c | if (offset < 0) { |
offset | 334 | net/inet/icmp.c | skb2->len = offset + len; |
offset | 337 | net/inet/icmp.c | icmphr = (struct icmphdr *) (skb2->data + offset); |
offset | 530 | net/inet/ip.c | static struct ipfrag *ip_frag_create(int offset, int end, struct sk_buff *skb, unsigned char *ptr) |
offset | 543 | net/inet/ip.c | fp->offset = offset; |
offset | 545 | net/inet/ip.c | fp->len = end - offset; |
offset | 733 | net/inet/ip.c | int offset; |
offset | 741 | net/inet/ip.c | offset = 0; |
offset | 744 | net/inet/ip.c | if (fp->offset > offset) |
offset | 746 | net/inet/ip.c | offset = fp->end; |
offset | 803 | net/inet/ip.c | memcpy((ptr + fp->offset), fp->ptr, fp->len); |
offset | 828 | net/inet/ip.c | int flags, offset; |
offset | 835 | net/inet/ip.c | offset = ntohs(iph->frag_off); |
offset | 836 | net/inet/ip.c | flags = offset & ~IP_OFFSET; |
offset | 837 | net/inet/ip.c | offset &= IP_OFFSET; |
offset | 838 | net/inet/ip.c | if (((flags & IP_MF) == 0) && (offset == 0)) { |
offset | 843 | net/inet/ip.c | offset <<= 3; /* offset is in 8-byte chunks */ |
offset | 866 | net/inet/ip.c | end = offset + ntohs(iph->tot_len) - ihl; |
offset | 883 | net/inet/ip.c | if (next->offset > offset) |
offset | 893 | net/inet/ip.c | if (prev != NULL && offset < prev->end) |
offset | 895 | net/inet/ip.c | i = prev->end - offset; |
offset | 896 | net/inet/ip.c | offset += i; /* ptr into datagram */ |
offset | 909 | net/inet/ip.c | if (next->offset >= end) |
offset | 912 | net/inet/ip.c | i = end - next->offset; /* overlap is 'i' bytes */ |
offset | 914 | net/inet/ip.c | next->offset += i; /* next fragment */ |
offset | 938 | net/inet/ip.c | tfp = ip_frag_create(offset, end, skb, ptr); |
offset | 984 | net/inet/ip.c | int offset; |
offset | 1018 | net/inet/ip.c | offset = (ntohs(iph->frag_off) & 0x1fff) << 3; |
offset | 1020 | net/inet/ip.c | offset = 0; |
offset | 1061 | net/inet/ip.c | iph->frag_off = htons((offset >> 3)); |
offset | 1067 | net/inet/ip.c | offset += len; |
offset | 38 | net/inet/ip.h | int offset; /* offset of fragment in IP datagram */ |
offset | 109 | net/inet/skbuff.h | extern void skb_copy_datagram(struct sk_buff *from, int offset, char *to,int size); |
offset | 1339 | net/inet/tcp.c | unsigned long offset; |
offset | 1355 | net/inet/tcp.c | offset = 1 + *seq - skb->h.th->seq; |
offset | 1357 | net/inet/tcp.c | offset--; |
offset | 1358 | net/inet/tcp.c | if (offset < skb->len) |
offset | 1406 | net/inet/tcp.c | used = skb->len - offset; |
offset | 1416 | net/inet/tcp.c | offset++; |
offset | 1425 | net/inet/tcp.c | skb->h.th->doff*4 + offset, used); |
offset | 1432 | net/inet/tcp.c | if (!(flags & MSG_PEEK) && (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) |