tag | line | file | source code |
offset | 60 | drivers/FPU-emu/get_address.c | long offset; |
offset | 72 | drivers/FPU-emu/get_address.c | offset = 0; /* No base register */ |
offset | 74 | drivers/FPU-emu/get_address.c | offset = REG_(base); |
offset | 85 | drivers/FPU-emu/get_address.c | offset += (REG_(index)) << ss; |
offset | 93 | drivers/FPU-emu/get_address.c | offset += (signed char) get_fs_byte((char *) (*fpu_eip)); |
offset | 102 | drivers/FPU-emu/get_address.c | offset += (signed) get_fs_long((unsigned long *) (*fpu_eip)); |
offset | 107 | drivers/FPU-emu/get_address.c | return (void *) offset; |
offset | 147 | drivers/FPU-emu/get_address.c | int offset = 0; /* Initialized just to stop compiler warnings. */ |
offset | 180 | drivers/FPU-emu/get_address.c | offset = get_fs_long((unsigned long *) (*fpu_eip)); |
offset | 183 | drivers/FPU-emu/get_address.c | FPU_data_address = (void *) offset; |
offset | 196 | drivers/FPU-emu/get_address.c | offset = (signed char) get_fs_byte((char *) (*fpu_eip)); |
offset | 204 | drivers/FPU-emu/get_address.c | offset = (signed) get_fs_long((unsigned long *) (*fpu_eip)); |
offset | 215 | drivers/FPU-emu/get_address.c | offset += vm86_segment(addr_modes.override.segment); |
offset | 218 | drivers/FPU-emu/get_address.c | FPU_data_address = offset + (char *)*cpu_reg_ptr; |
offset | 226 | drivers/FPU-emu/get_address.c | int offset = 0; /* Default used for mod == 0 */ |
offset | 252 | drivers/FPU-emu/get_address.c | offset = (unsigned short)get_fs_word((unsigned short *) (*fpu_eip)); |
offset | 262 | drivers/FPU-emu/get_address.c | offset = (signed char) get_fs_byte((signed char *) (*fpu_eip)); |
offset | 270 | drivers/FPU-emu/get_address.c | offset = (unsigned) get_fs_word((unsigned short *) (*fpu_eip)); |
offset | 282 | drivers/FPU-emu/get_address.c | offset += FPU_info->___ebx + FPU_info->___esi; |
offset | 285 | drivers/FPU-emu/get_address.c | offset += FPU_info->___ebx + FPU_info->___edi; |
offset | 288 | drivers/FPU-emu/get_address.c | offset += FPU_info->___ebp + FPU_info->___esi; |
offset | 293 | drivers/FPU-emu/get_address.c | offset += FPU_info->___ebp + FPU_info->___edi; |
offset | 298 | drivers/FPU-emu/get_address.c | offset += FPU_info->___esi; |
offset | 301 | drivers/FPU-emu/get_address.c | offset += FPU_info->___edi; |
offset | 304 | drivers/FPU-emu/get_address.c | offset += FPU_info->___ebp; |
offset | 309 | drivers/FPU-emu/get_address.c | offset += FPU_info->___ebx; |
offset | 314 | drivers/FPU-emu/get_address.c | offset &= 0xffff; |
offset | 318 | drivers/FPU-emu/get_address.c | offset += vm86_segment(addr_modes.override.segment); |
offset | 321 | drivers/FPU-emu/get_address.c | FPU_data_address = (void *)offset ; |
offset | 144 | 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, ", offset); |
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 | 405 | drivers/net/depca.c | unsigned int nicsr, offset, netRAM; |
offset | 489 | drivers/net/depca.c | offset = 0x8000; /* 32kbyte RAM offset*/ |
offset | 491 | drivers/net/depca.c | printk(",\n with %dkB RAM", netRAM-(offset >> 10)); |
offset | 493 | drivers/net/depca.c | offset = 0x0000; /* 64k/48k bytes RAM */ |
offset | 497 | drivers/net/depca.c | mem_start += offset; |
offset | 515 | drivers/net/depca.c | j = (((netRAM << 10) - offset - sizeof(struct depca_private)) / |
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 | 1536 | drivers/scsi/scsi.c | int offset; |
offset | 1543 | drivers/scsi/scsi.c | offset = ((int) obj) - ((int) dma_malloc_buffer); |
offset | 1545 | drivers/scsi/scsi.c | if (offset < 0) panic("Bad offset"); |
offset | 1546 | drivers/scsi/scsi.c | page = offset >> 13; |
offset | 1547 | drivers/scsi/scsi.c | sector = offset >> 9; |
offset | 1550 | 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 | 531 | drivers/scsi/wd7000.c | unsigned offset; |
offset | 551 | 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 | 23 | fs/block_dev.c | int offset; |
offset | 49 | fs/block_dev.c | offset = filp->f_pos & (blocksize-1); |
offset | 58 | fs/block_dev.c | chars = blocksize - offset; |
offset | 108 | fs/block_dev.c | p = offset + bh->b_data; |
offset | 109 | fs/block_dev.c | offset = 0; |
offset | 127 | fs/block_dev.c | unsigned int offset; |
offset | 153 | fs/block_dev.c | offset = filp->f_pos; |
offset | 161 | fs/block_dev.c | if (offset > size) |
offset | 164 | fs/block_dev.c | left = size - offset; |
offset | 170 | fs/block_dev.c | block = offset >> blocksize_bits; |
offset | 171 | fs/block_dev.c | offset &= blocksize-1; |
offset | 173 | fs/block_dev.c | rblocks = blocks = (left + offset + blocksize - 1) >> blocksize_bits; |
offset | 240 | fs/block_dev.c | if (left < blocksize - offset) |
offset | 243 | fs/block_dev.c | chars = blocksize - offset; |
offset | 248 | fs/block_dev.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 255 | fs/block_dev.c | offset = 0; |
offset | 1023 | fs/buffer.c | unsigned long offset; |
offset | 1026 | fs/buffer.c | offset = PAGE_SIZE; |
offset | 1027 | fs/buffer.c | while ((offset -= size) < PAGE_SIZE) { |
offset | 1033 | fs/buffer.c | bh->b_data = (char *) (page+offset); |
offset | 1075 | fs/buffer.c | unsigned long offset; |
offset | 1087 | fs/buffer.c | for (offset = size ; offset < PAGE_SIZE ; offset += size) { |
offset | 1095 | fs/buffer.c | if (page+offset != (unsigned long) first->b_data) |
offset | 1115 | fs/buffer.c | unsigned long offset; |
offset | 1125 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
offset | 1594 | fs/buffer.c | unsigned long offset; |
offset | 1607 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
offset | 1649 | fs/buffer.c | int i, offset; |
offset | 1651 | fs/buffer.c | for (i = 0, offset = 0 ; offset < PAGE_SIZE ; i++, 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 | 160 | fs/ext/file.c | if (left < BLOCK_SIZE - offset) |
offset | 163 | fs/ext/file.c | chars = BLOCK_SIZE - offset; |
offset | 168 | fs/ext/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 175 | 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 | 99 | fs/ext2/file.c | offset = filp->f_pos; |
offset | 101 | fs/ext2/file.c | if (offset > size) |
offset | 104 | fs/ext2/file.c | left = size - offset; |
offset | 110 | fs/ext2/file.c | block = offset >> EXT2_BLOCK_SIZE_BITS(sb); |
offset | 111 | fs/ext2/file.c | offset &= (sb->s_blocksize - 1); |
offset | 113 | fs/ext2/file.c | blocks = (left + offset + sb->s_blocksize - 1) >> EXT2_BLOCK_SIZE_BITS(sb); |
offset | 186 | fs/ext2/file.c | if (left < sb->s_blocksize - offset) |
offset | 189 | fs/ext2/file.c | chars = sb->s_blocksize - offset; |
offset | 194 | fs/ext2/file.c | memcpy_tofs (buf, offset + (*bhe)->b_data, |
offset | 202 | 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 | 286 | fs/ext2/namei.c | offset)) { |
offset | 298 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 328 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 557 | fs/ext2/namei.c | unsigned long offset; |
offset | 578 | fs/ext2/namei.c | offset = de->rec_len + de1->rec_len; |
offset | 580 | fs/ext2/namei.c | while (offset < inode->i_size ) { |
offset | 583 | fs/ext2/namei.c | bh = ext2_bread (inode, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, &err); |
offset | 585 | fs/ext2/namei.c | offset += sb->s_blocksize; |
offset | 591 | fs/ext2/namei.c | offset)) { |
offset | 599 | 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 | 71 | fs/isofs/dir.c | unsigned int block,offset,i, j; |
offset | 84 | fs/isofs/dir.c | offset = filp->f_pos & (bufsize - 1); |
offset | 95 | fs/isofs/dir.c | block, offset, filp->f_pos); |
offset | 97 | fs/isofs/dir.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 98 | fs/isofs/dir.c | inode_number = (block << bufbits) + (offset & (bufsize - 1)); |
offset | 106 | fs/isofs/dir.c | offset = 0; |
offset | 122 | fs/isofs/dir.c | old_offset = offset; |
offset | 123 | fs/isofs/dir.c | offset += *((unsigned char *) de); |
offset | 126 | fs/isofs/dir.c | if (offset >= bufsize) { |
offset | 132 | 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 | 203 | fs/isofs/file.c | if (left < ISOFS_BUFFER_SIZE(inode) - offset) |
offset | 206 | fs/isofs/file.c | chars = ISOFS_BUFFER_SIZE(inode) - offset; |
offset | 213 | fs/isofs/file.c | unixify_text_buffer(offset+(*bhe)->b_data, |
offset | 215 | fs/isofs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 222 | 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 | 615 | fs/isofs/inode.c | old_offset = offset; |
offset | 616 | fs/isofs/inode.c | offset += *((unsigned char *) de); |
offset | 618 | fs/isofs/inode.c | if (offset >= bufsize) |
offset | 626 | 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 | 154 | fs/minix/file.c | if (left < BLOCK_SIZE - offset) |
offset | 157 | fs/minix/file.c | chars = BLOCK_SIZE - offset; |
offset | 162 | fs/minix/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 169 | 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 | 152 | fs/xiafs/file.c | if (left < XIAFS_ZSIZE(inode->i_sb) - offset) |
offset | 155 | fs/xiafs/file.c | chars = XIAFS_ZSIZE(inode->i_sb) - offset; |
offset | 160 | fs/xiafs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 167 | 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 | 86 | include/linux/mm.h | unsigned long offset; |
offset | 184 | include/linux/netdevice.h | extern int dev_get_info(char *buffer, char **start, off_t offset, int length); |
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 | 133 | include/linux/skbuff.h | extern void skb_copy_datagram(struct sk_buff *from, int offset, char *to,int size); |
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 | 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 | 84 | mm/swap.c | ll_rw_page(rw,p->swap_device,offset,buf); |
offset | 90 | mm/swap.c | block = offset << (12 - p->swap_file->i_sb->s_blocksize_bits); |
offset | 100 | mm/swap.c | if (offset && !clear_bit(offset,p->swap_lockmap)) |
offset | 108 | mm/swap.c | unsigned int offset, type; |
offset | 114 | mm/swap.c | for (offset = p->lowest_bit; offset <= p->highest_bit ; offset++) { |
offset | 115 | mm/swap.c | if (p->swap_map[offset]) |
offset | 117 | mm/swap.c | p->swap_map[offset] = 1; |
offset | 119 | mm/swap.c | if (offset == p->highest_bit) |
offset | 121 | mm/swap.c | p->lowest_bit = offset; |
offset | 122 | mm/swap.c | return SWP_ENTRY(type,offset); |
offset | 131 | mm/swap.c | unsigned long offset, type; |
offset | 135 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 144 | mm/swap.c | if (offset >= p->max) { |
offset | 148 | mm/swap.c | if (!p->swap_map[offset]) { |
offset | 152 | mm/swap.c | p->swap_map[offset]++; |
offset | 159 | mm/swap.c | unsigned long offset, type; |
offset | 171 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 172 | mm/swap.c | if (offset >= p->max) { |
offset | 180 | mm/swap.c | while (set_bit(offset,p->swap_lockmap)) |
offset | 182 | mm/swap.c | if (offset < p->lowest_bit) |
offset | 183 | mm/swap.c | p->lowest_bit = offset; |
offset | 184 | mm/swap.c | if (offset > p->highest_bit) |
offset | 185 | mm/swap.c | p->highest_bit = offset; |
offset | 186 | mm/swap.c | if (!p->swap_map[offset]) |
offset | 189 | mm/swap.c | if (!--p->swap_map[offset]) |
offset | 191 | mm/swap.c | if (!clear_bit(offset,p->swap_lockmap)) |
offset | 741 | net/inet/arp.c | int arp_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 765 | net/inet/arp.c | if(pos<offset) |
offset | 771 | net/inet/arp.c | if(pos>offset+length) |
offset | 774 | net/inet/arp.c | if(pos>offset+length) |
offset | 778 | net/inet/arp.c | *start=buffer+(offset-begin); |
offset | 779 | net/inet/arp.c | len-=(offset-begin); |
offset | 162 | net/inet/datagram.c | void skb_copy_datagram(struct sk_buff *skb, int offset, char *to, int size) |
offset | 166 | net/inet/datagram.c | memcpy_tofs(to,skb->h.raw+offset,size); |
offset | 904 | net/inet/dev.c | int dev_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 927 | net/inet/dev.c | if(pos<offset) |
offset | 932 | net/inet/dev.c | if(pos>offset+length) |
offset | 936 | net/inet/dev.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 937 | net/inet/dev.c | len-=(offset-begin); /* Start slop */ |
offset | 110 | net/inet/icmp.c | int offset; |
offset | 194 | net/inet/icmp.c | offset = ip_build_header(skb, dev->pa_addr, iph->saddr, |
offset | 197 | net/inet/icmp.c | if (offset < 0) |
offset | 209 | net/inet/icmp.c | skb->len = offset + sizeof(struct icmphdr) + sizeof(struct iphdr) + 8; |
offset | 215 | net/inet/icmp.c | icmph = (struct icmphdr *) (skb->data + offset); |
offset | 387 | net/inet/icmp.c | int size, offset; |
offset | 404 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, |
offset | 406 | net/inet/icmp.c | if (offset < 0) |
offset | 419 | net/inet/icmp.c | skb2->len = offset + len; |
offset | 424 | net/inet/icmp.c | icmphr = (struct icmphdr *) (skb2->data + offset); |
offset | 453 | net/inet/icmp.c | int size, offset; |
offset | 473 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, IPPROTO_ICMP, opt, len, |
offset | 475 | net/inet/icmp.c | if (offset < 0) |
offset | 487 | net/inet/icmp.c | skb2->len = offset + len; |
offset | 493 | net/inet/icmp.c | icmphr = (struct icmphdr *) ((char *) (skb2 + 1) + offset); |
offset | 543 | net/inet/icmp.c | int size, offset; |
offset | 563 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, |
offset | 565 | net/inet/icmp.c | if (offset < 0) |
offset | 578 | net/inet/icmp.c | skb2->len = offset + len; |
offset | 584 | net/inet/icmp.c | icmphr = (struct icmphdr *) (skb2->data + offset); |
offset | 635 | net/inet/ip.c | static struct ipfrag *ip_frag_create(int offset, int end, struct sk_buff *skb, unsigned char *ptr) |
offset | 648 | net/inet/ip.c | fp->offset = offset; |
offset | 650 | net/inet/ip.c | fp->len = end - offset; |
offset | 857 | net/inet/ip.c | int offset; |
offset | 865 | net/inet/ip.c | offset = 0; |
offset | 868 | net/inet/ip.c | if (fp->offset > offset) |
offset | 870 | net/inet/ip.c | offset = fp->end; |
offset | 937 | net/inet/ip.c | memcpy((ptr + fp->offset), fp->ptr, fp->len); |
offset | 967 | net/inet/ip.c | int flags, offset; |
offset | 976 | net/inet/ip.c | offset = ntohs(iph->frag_off); |
offset | 977 | net/inet/ip.c | flags = offset & ~IP_OFFSET; |
offset | 978 | net/inet/ip.c | offset &= IP_OFFSET; |
offset | 979 | net/inet/ip.c | if (((flags & IP_MF) == 0) && (offset == 0)) |
offset | 986 | net/inet/ip.c | offset <<= 3; /* offset is in 8-byte chunks */ |
offset | 1021 | net/inet/ip.c | end = offset + ntohs(iph->tot_len) - ihl; |
offset | 1045 | net/inet/ip.c | if (next->offset > offset) |
offset | 1055 | net/inet/ip.c | if (prev != NULL && offset < prev->end) |
offset | 1057 | net/inet/ip.c | i = prev->end - offset; |
offset | 1058 | net/inet/ip.c | offset += i; /* ptr into datagram */ |
offset | 1071 | net/inet/ip.c | if (next->offset >= end) |
offset | 1074 | net/inet/ip.c | i = end - next->offset; /* overlap is 'i' bytes */ |
offset | 1076 | net/inet/ip.c | next->offset += i; /* next fragment */ |
offset | 1106 | net/inet/ip.c | tfp = ip_frag_create(offset, end, skb, ptr); |
offset | 1164 | net/inet/ip.c | int offset; |
offset | 1230 | net/inet/ip.c | offset = (ntohs(iph->frag_off) & 0x1fff) << 3; |
offset | 1232 | net/inet/ip.c | offset = 0; |
offset | 1301 | net/inet/ip.c | iph->frag_off = htons((offset >> 3)); |
offset | 1309 | net/inet/ip.c | offset += len; |
offset | 42 | net/inet/ip.h | int offset; /* offset of fragment in IP datagram */ |
offset | 135 | net/inet/ipx.c | int ipx_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 162 | net/inet/ipx.c | if(pos<offset) |
offset | 167 | net/inet/ipx.c | if(pos>offset+length) /* We have dumped enough */ |
offset | 172 | net/inet/ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 173 | net/inet/ipx.c | len-=(offset-begin); /* Remove unwanted header data from lenth */ |
offset | 310 | net/inet/ipx.c | int ipx_rt_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 324 | net/inet/ipx.c | if(pos<offset) |
offset | 329 | net/inet/ipx.c | if(pos>offset+length) |
offset | 332 | net/inet/ipx.c | *start=buffer+(offset-begin); |
offset | 333 | net/inet/ipx.c | len-=(offset-begin); |
offset | 57 | net/inet/proc.c | get__netinfo(struct proto *pro, char *buffer, int format, char **start, off_t offset, int length) |
offset | 107 | net/inet/proc.c | if(pos<offset) |
offset | 112 | net/inet/proc.c | if(pos>offset+length) |
offset | 117 | net/inet/proc.c | if(pos>offset+length) |
offset | 120 | net/inet/proc.c | *start=buffer+(offset-begin); |
offset | 121 | net/inet/proc.c | len-=(offset-begin); |
offset | 128 | net/inet/proc.c | int tcp_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 130 | net/inet/proc.c | return get__netinfo(&tcp_prot, buffer,0, start, offset, length); |
offset | 134 | net/inet/proc.c | int udp_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 136 | net/inet/proc.c | return get__netinfo(&udp_prot, buffer,1, start, offset, length); |
offset | 140 | net/inet/proc.c | int raw_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 142 | net/inet/proc.c | return get__netinfo(&raw_prot, buffer,1, start, offset, length); |
offset | 493 | net/inet/route.c | int rt_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 517 | net/inet/route.c | if(pos<offset) |
offset | 522 | net/inet/route.c | if(pos>offset+length) |
offset | 526 | net/inet/route.c | *start=buffer+(offset-begin); |
offset | 527 | net/inet/route.c | len-=(offset-begin); |
offset | 44 | net/inet/route.h | extern int rt_get_info(char * buffer, char **start, off_t offset, int length); |
offset | 502 | net/inet/skbuff.c | unsigned long offset; |
offset | 508 | net/inet/skbuff.c | offset=((char *)n)-((char *)skb); |
offset | 516 | net/inet/skbuff.c | n->h.raw=skb->h.raw+offset; |
offset | 517 | net/inet/skbuff.c | n->ip_hdr=(struct iphdr *)(((char *)skb->ip_hdr)+offset); |
offset | 1299 | net/inet/tcp.c | unsigned long offset; |
offset | 1315 | net/inet/tcp.c | offset = 1 + *seq - skb->h.th->seq; |
offset | 1317 | net/inet/tcp.c | offset--; |
offset | 1318 | net/inet/tcp.c | if (offset < skb->len) |
offset | 1366 | net/inet/tcp.c | used = skb->len - offset; |
offset | 1376 | net/inet/tcp.c | offset++; |
offset | 1385 | net/inet/tcp.c | skb->h.th->doff*4 + offset, used); |
offset | 1392 | net/inet/tcp.c | if (!(flags & MSG_PEEK) && (used + offset >= skb->len)) |
offset | 54 | net/socket.c | static int sock_lseek(struct inode *inode, struct file *file, off_t offset, |
offset | 272 | net/socket.c | sock_lseek(struct inode *inode, struct file *file, off_t offset, int whence) |
offset | 38 | net/unix/proc.c | int unix_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 72 | net/unix/proc.c | if(pos<offset) |
offset | 77 | net/unix/proc.c | if(pos>offset+length) |
offset | 82 | net/unix/proc.c | *start=buffer+(offset-begin); |
offset | 83 | net/unix/proc.c | len-=(offset-begin); |