tag | line | file | source code |
offset | 45 | drivers/FPU-emu/fpu_aux.c | operand_address.offset = 0; |
offset | 47 | drivers/FPU-emu/fpu_aux.c | instruction_address.offset = 0; |
offset | 97 | drivers/FPU-emu/fpu_emu.h | unsigned int offset; |
offset | 315 | drivers/FPU-emu/fpu_entry.c | entry_sel_off.offset = FPU_ORIG_EIP; |
offset | 516 | drivers/FPU-emu/fpu_entry.c | operand_address.offset = 0; |
offset | 77 | drivers/FPU-emu/get_address.c | long offset; |
offset | 89 | drivers/FPU-emu/get_address.c | offset = 0; /* No base register */ |
offset | 91 | drivers/FPU-emu/get_address.c | offset = REG_(base); |
offset | 102 | drivers/FPU-emu/get_address.c | offset += (REG_(index)) << ss; |
offset | 110 | drivers/FPU-emu/get_address.c | offset += (signed char) get_fs_byte((char *) (*fpu_eip)); |
offset | 119 | drivers/FPU-emu/get_address.c | offset += (signed) get_fs_long((unsigned long *) (*fpu_eip)); |
offset | 124 | drivers/FPU-emu/get_address.c | return offset; |
offset | 146 | drivers/FPU-emu/get_address.c | unsigned short *selector, long offset) |
offset | 164 | drivers/FPU-emu/get_address.c | address = base_address + offset; |
offset | 254 | drivers/FPU-emu/get_address.c | addr->offset = address; |
offset | 261 | drivers/FPU-emu/get_address.c | addr->offset = address; |
offset | 287 | drivers/FPU-emu/get_address.c | addr->offset = address; |
offset | 403 | drivers/FPU-emu/get_address.c | addr->offset = address; |
offset | 1164 | drivers/FPU-emu/reg_ld_str.c | instruction_address.offset = get_fs_word((unsigned short *) (s+6)); |
offset | 1166 | drivers/FPU-emu/reg_ld_str.c | operand_address.offset = get_fs_word((unsigned short *) (s+0x0a)); |
offset | 1172 | drivers/FPU-emu/reg_ld_str.c | instruction_address.offset |
offset | 1174 | drivers/FPU-emu/reg_ld_str.c | operand_address.offset += (operand_address.selector & 0xf000) << 4; |
offset | 1184 | drivers/FPU-emu/reg_ld_str.c | instruction_address.offset = get_fs_long((unsigned long *) (s+0x0c)); |
offset | 1187 | drivers/FPU-emu/reg_ld_str.c | operand_address.offset = get_fs_long((unsigned long *) (s+0x14)); |
offset | 1305 | drivers/FPU-emu/reg_ld_str.c | put_fs_word(instruction_address.offset, (unsigned short *) (d+6)); |
offset | 1306 | drivers/FPU-emu/reg_ld_str.c | put_fs_word(operand_address.offset, (unsigned short *) (d+0x0a)); |
offset | 1309 | drivers/FPU-emu/reg_ld_str.c | put_fs_word((instruction_address.offset & 0xf0000) >> 4, |
offset | 1311 | drivers/FPU-emu/reg_ld_str.c | put_fs_word((operand_address.offset & 0xf0000) >> 4, |
offset | 1336 | drivers/FPU-emu/reg_ld_str.c | put_fs_long(instruction_address.offset, (unsigned long *) (d+0x0c)); |
offset | 1339 | drivers/FPU-emu/reg_ld_str.c | put_fs_long(operand_address.offset, (unsigned long *) (d+0x14)); |
offset | 145 | drivers/block/xd.c | if (!memcmp(xd_bases[i] + xd_sigs[j].offset,xd_sigs[j].string,strlen(xd_sigs[j].string))) { |
offset | 362 | drivers/char/console.c | static inline void __set_origin(unsigned short offset) |
offset | 369 | drivers/char/console.c | __origin = offset; |
offset | 371 | drivers/char/console.c | outb_p(offset >> 8, video_port_val); |
offset | 373 | drivers/char/console.c | outb_p(offset, video_port_val); |
offset | 294 | drivers/char/lp.c | off_t offset, int origin) |
offset | 449 | drivers/char/lp.c | int offset = 0; |
offset | 458 | drivers/char/lp.c | for (offset = 0; offset < LP_NO; offset++) { |
offset | 460 | drivers/char/lp.c | outb_p( LP_DUMMY, LP_B(offset)); |
offset | 463 | drivers/char/lp.c | testvalue = inb_p(LP_B(offset)); |
offset | 465 | drivers/char/lp.c | LP_F(offset) |= LP_EXIST; |
offset | 466 | drivers/char/lp.c | lp_reset(offset); |
offset | 467 | drivers/char/lp.c | printk("lp_init: lp%d exists, ", offset); |
offset | 468 | drivers/char/lp.c | if (LP_IRQ(offset)) |
offset | 469 | drivers/char/lp.c | printk("using IRQ%d\n", LP_IRQ(offset)); |
offset | 486 | drivers/char/lp.c | int offset = 0; |
offset | 495 | drivers/char/lp.c | for (offset = 0; offset < LP_NO; offset++) { |
offset | 497 | drivers/char/lp.c | outb_p( LP_DUMMY, LP_B(offset)); |
offset | 500 | drivers/char/lp.c | testvalue = inb_p(LP_B(offset)); |
offset | 502 | drivers/char/lp.c | LP_F(offset) |= LP_EXIST; |
offset | 503 | drivers/char/lp.c | lp_reset(offset); |
offset | 504 | drivers/char/lp.c | printk("lp_init: lp%d exists, ", offset); |
offset | 505 | drivers/char/lp.c | if (LP_IRQ(offset)) |
offset | 506 | drivers/char/lp.c | printk("using IRQ%d\n", LP_IRQ(offset)); |
offset | 186 | drivers/char/mem.c | static int null_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 198 | drivers/char/mem.c | static int memory_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 202 | drivers/char/mem.c | file->f_pos = offset; |
offset | 205 | drivers/char/mem.c | file->f_pos += offset; |
offset | 230 | drivers/char/serial.c | static inline unsigned int serial_in(struct async_struct *info, int offset) |
offset | 234 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 238 | drivers/char/serial.c | return inb(info->port + offset); |
offset | 241 | drivers/char/serial.c | static inline unsigned int serial_inp(struct async_struct *info, int offset) |
offset | 245 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 250 | drivers/char/serial.c | return inb(info->port + offset); |
offset | 252 | drivers/char/serial.c | return inb_p(info->port + offset); |
offset | 256 | drivers/char/serial.c | static inline void serial_out(struct async_struct *info, int offset, int value) |
offset | 260 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 264 | drivers/char/serial.c | outb(value, info->port+offset); |
offset | 267 | drivers/char/serial.c | static inline void serial_outp(struct async_struct *info, int offset, |
offset | 272 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 277 | drivers/char/serial.c | outb(value, info->port+offset); |
offset | 279 | drivers/char/serial.c | outb_p(value, info->port+offset); |
offset | 1878 | drivers/char/tpqic02.c | static int qic02_tape_lseek(struct inode * inode, struct file * file, off_t offset, int origin) |
offset | 274 | 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 | 398 | drivers/net/depca.c | unsigned int nicsr, offset, netRAM; |
offset | 486 | drivers/net/depca.c | offset = 0x8000; /* 32kbyte RAM offset*/ |
offset | 490 | drivers/net/depca.c | offset = 0x0000; |
offset | 493 | drivers/net/depca.c | offset = 0x0000; /* 64k/48k bytes RAM */ |
offset | 497 | drivers/net/depca.c | mem_start += offset; /* (E)ISA start address */ |
offset | 517 | 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 | 1297 | drivers/scsi/53c7,8xx.h | #define patch_abs_32(script, offset, symbol, value) \ |
offset | 1300 | drivers/scsi/53c7,8xx.h | (script)[A_##symbol##_used[i] - (offset)] += (value); \ |
offset | 1304 | drivers/scsi/53c7,8xx.h | (offset), #script, (script)[A_##symbol##_used[i] - \ |
offset | 1305 | drivers/scsi/53c7,8xx.h | (offset)]); \ |
offset | 1308 | drivers/scsi/53c7,8xx.h | #define patch_abs_rwri_data(script, offset, symbol, value) \ |
offset | 1311 | drivers/scsi/53c7,8xx.h | (script)[A_##symbol##_used[i] - (offset)] = \ |
offset | 1312 | drivers/scsi/53c7,8xx.h | ((script)[A_##symbol##_used[i] - (offset)] & \ |
offset | 1670 | drivers/scsi/scsi.c | int offset; |
offset | 1677 | drivers/scsi/scsi.c | offset = ((int) obj) - ((int) dma_malloc_buffer); |
offset | 1679 | drivers/scsi/scsi.c | if (offset < 0) panic("Bad offset"); |
offset | 1680 | drivers/scsi/scsi.c | page = offset >> 13; |
offset | 1681 | drivers/scsi/scsi.c | sector = offset >> 9; |
offset | 1684 | drivers/scsi/scsi.c | sector = (offset >> 9) & 15; |
offset | 149 | drivers/scsi/seagate.c | unsigned offset; |
offset | 322 | drivers/scsi/seagate.c | signatures[j].offset), (void *) signatures[j].signature, |
offset | 145 | drivers/scsi/sr.c | int offset; |
offset | 146 | drivers/scsi/sr.c | offset = (SCpnt->request.sector % 4) << 9; |
offset | 148 | drivers/scsi/sr.c | (char *)SCpnt->buffer + offset, |
offset | 154 | drivers/scsi/sr.c | if((offset == 0) && this_count == 2 && |
offset | 264 | drivers/scsi/st.c | int offset, transfer, blks; |
offset | 288 | drivers/scsi/st.c | offset = (STp->buffer)->buffer_bytes; |
offset | 289 | drivers/scsi/st.c | transfer = ((offset + STp->block_size - 1) / |
offset | 295 | drivers/scsi/st.c | memset((STp->buffer)->b_data + offset, 0, transfer - offset); |
offset | 146 | drivers/scsi/t128.c | int offset; |
offset | 212 | drivers/scsi/t128.c | (bases[current_base].address + signatures[sig].offset, |
offset | 411 | drivers/sound/audio.c | audio_lseek (int dev, struct fileinfo *file, off_t offset, int orig) |
offset | 1844 | drivers/sound/sequencer.c | sequencer_lseek (int dev, struct fileinfo *file, off_t offset, int orig) |
offset | 30 | drivers/sound/sound_calls.h | int audio_lseek (int dev, struct fileinfo *file, off_t offset, int orig); |
offset | 43 | drivers/sound/sound_calls.h | int sequencer_lseek (int dev, struct fileinfo *file, off_t offset, int orig); |
offset | 65 | drivers/sound/sound_calls.h | int MIDIbuf_lseek (int dev, struct fileinfo *file, off_t offset, int orig); |
offset | 242 | drivers/sound/sound_calls.h | int pss_lseek (int dev, struct fileinfo *file, off_t offset, int orig); |
offset | 76 | drivers/sound/soundcard.c | sound_lseek (struct inode *inode, struct file *file, off_t offset, int orig) |
offset | 24 | fs/block_dev.c | loff_t offset; |
offset | 53 | fs/block_dev.c | offset = filp->f_pos & (blocksize-1); |
offset | 62 | fs/block_dev.c | chars = blocksize - offset; |
offset | 112 | fs/block_dev.c | p = offset + bh->b_data; |
offset | 113 | fs/block_dev.c | offset = 0; |
offset | 157 | fs/block_dev.c | loff_t offset; |
offset | 183 | fs/block_dev.c | offset = filp->f_pos; |
offset | 191 | fs/block_dev.c | if (offset > size) |
offset | 194 | fs/block_dev.c | left = size - offset; |
offset | 200 | fs/block_dev.c | block = offset >> blocksize_bits; |
offset | 201 | fs/block_dev.c | offset &= blocksize-1; |
offset | 203 | fs/block_dev.c | rblocks = blocks = (left + offset + blocksize - 1) >> blocksize_bits; |
offset | 271 | fs/block_dev.c | if (left < blocksize - offset) |
offset | 274 | fs/block_dev.c | chars = blocksize - offset; |
offset | 279 | fs/block_dev.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 286 | fs/block_dev.c | offset = 0; |
offset | 936 | fs/buffer.c | unsigned long offset; |
offset | 939 | fs/buffer.c | offset = PAGE_SIZE; |
offset | 940 | fs/buffer.c | while ((offset -= size) < PAGE_SIZE) { |
offset | 946 | fs/buffer.c | bh->b_data = (char *) (page+offset); |
offset | 988 | fs/buffer.c | unsigned long offset; |
offset | 1000 | fs/buffer.c | for (offset = size ; offset < PAGE_SIZE ; offset += size) { |
offset | 1008 | fs/buffer.c | if (page+offset != (unsigned long) first->b_data) |
offset | 1028 | fs/buffer.c | unsigned long offset; |
offset | 1038 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
offset | 1507 | fs/buffer.c | unsigned long offset; |
offset | 1520 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
offset | 1562 | fs/buffer.c | int i, offset; |
offset | 1564 | fs/buffer.c | for (i = 0, offset = 0 ; offset < PAGE_SIZE ; i++, offset += size) { |
offset | 144 | fs/exec.c | #define DUMP_SEEK(offset) \ |
offset | 146 | fs/exec.c | if (file.f_op->lseek(inode,&file,(offset),0) != (offset)) \ |
offset | 148 | fs/exec.c | } else file.f_pos = (offset) |
offset | 393 | fs/exec.c | int len, offset = 0; |
offset | 419 | fs/exec.c | if (--offset < 0) { |
offset | 420 | fs/exec.c | offset = p % PAGE_SIZE; |
offset | 431 | fs/exec.c | *(pag + offset) = get_fs_byte(tmp); |
offset | 464 | fs/exec.c | int read_exec(struct inode *inode, unsigned long offset, |
offset | 485 | fs/exec.c | if (file.f_op->lseek(inode,&file,offset,0) != offset) |
offset | 488 | fs/exec.c | file.f_pos = offset; |
offset | 68 | fs/ext/dir.c | off_t offset; |
offset | 78 | fs/ext/dir.c | offset = filp->f_pos & 1023; |
offset | 81 | fs/ext/dir.c | filp->f_pos += 1024-offset; |
offset | 84 | fs/ext/dir.c | de = (struct ext_dir_entry *) (offset + bh->b_data); |
offset | 85 | fs/ext/dir.c | while (offset < 1024 && filp->f_pos < inode->i_size) { |
offset | 91 | fs/ext/dir.c | inode->i_dev, inode->i_ino, offset, de->rec_len, de->name_len); |
offset | 92 | fs/ext/dir.c | filp->f_pos += 1024-offset; |
offset | 97 | 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 | 92 | fs/ext/namei.c | long offset; |
offset | 113 | fs/ext/namei.c | offset = 0; |
offset | 115 | fs/ext/namei.c | while (offset < dir->i_size) { |
offset | 119 | fs/ext/namei.c | bh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,0); |
offset | 131 | fs/ext/namei.c | dir->i_dev, dir->i_ino, offset, de->rec_len, de->name_len); |
offset | 133 | fs/ext/namei.c | offset = ((offset / BLOCK_SIZE) + 1) * BLOCK_SIZE; |
offset | 141 | fs/ext/namei.c | if (offset + de->rec_len < dir->i_size && |
offset | 149 | fs/ext/namei.c | offset += de->rec_len; |
offset | 200 | fs/ext/namei.c | long offset; |
offset | 221 | fs/ext/namei.c | offset = 0; |
offset | 224 | fs/ext/namei.c | if ((char *)de >= BLOCK_SIZE+bh->b_data && offset < dir->i_size) { |
offset | 230 | fs/ext/namei.c | bh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,0); |
offset | 235 | fs/ext/namei.c | if (offset >= dir->i_size) { |
offset | 237 | fs/ext/namei.c | if (offset % BLOCK_SIZE == 0 || |
offset | 238 | fs/ext/namei.c | (BLOCK_SIZE - (offset % BLOCK_SIZE)) < rec_len) { |
offset | 239 | fs/ext/namei.c | if ((offset % BLOCK_SIZE) != 0) { |
offset | 245 | fs/ext/namei.c | - (offset & (BLOCK_SIZE - 1)); |
offset | 247 | fs/ext/namei.c | offset += de->rec_len; |
offset | 260 | fs/ext/namei.c | bh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,1); |
offset | 279 | fs/ext/namei.c | dir->i_dev, dir->i_ino, offset, de->rec_len, de->name_len); |
offset | 304 | fs/ext/namei.c | offset += de->rec_len; |
offset | 477 | fs/ext/namei.c | unsigned long offset; |
offset | 492 | fs/ext/namei.c | offset = de->rec_len + de1->rec_len; |
offset | 494 | fs/ext/namei.c | while (offset < inode->i_size ) { |
offset | 497 | fs/ext/namei.c | bh = ext_bread(inode, offset >> BLOCK_SIZE_BITS,1); |
offset | 499 | fs/ext/namei.c | offset += BLOCK_SIZE; |
offset | 508 | fs/ext/namei.c | inode->i_dev, inode->i_ino, offset, de->rec_len, de->name_len); |
offset | 516 | 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 | 73 | fs/ext2/dir.c | unsigned long offset) |
offset | 92 | fs/ext2/dir.c | error_msg, offset, de->inode, de->rec_len, |
offset | 100 | fs/ext2/dir.c | unsigned long offset, blk; |
offset | 111 | fs/ext2/dir.c | offset = filp->f_pos & (sb->s_blocksize - 1); |
offset | 115 | fs/ext2/dir.c | filp->f_pos += sb->s_blocksize - offset; |
offset | 122 | fs/ext2/dir.c | if (!offset) { |
offset | 138 | fs/ext2/dir.c | de = (struct ext2_dir_entry *) (offset + bh->b_data); |
offset | 139 | fs/ext2/dir.c | while (offset < sb->s_blocksize && filp->f_pos < inode->i_size) { |
offset | 141 | fs/ext2/dir.c | bh, offset)) { |
offset | 145 | fs/ext2/dir.c | offset += de->rec_len; |
offset | 83 | fs/ext2/file.c | int block, blocks, offset; |
offset | 103 | fs/ext2/file.c | offset = filp->f_pos; |
offset | 105 | fs/ext2/file.c | if (offset > size) |
offset | 108 | fs/ext2/file.c | left = size - offset; |
offset | 114 | fs/ext2/file.c | block = offset >> EXT2_BLOCK_SIZE_BITS(sb); |
offset | 115 | fs/ext2/file.c | offset &= (sb->s_blocksize - 1); |
offset | 117 | fs/ext2/file.c | blocks = (left + offset + sb->s_blocksize - 1) >> EXT2_BLOCK_SIZE_BITS(sb); |
offset | 190 | fs/ext2/file.c | if (left < sb->s_blocksize - offset) |
offset | 193 | fs/ext2/file.c | chars = sb->s_blocksize - offset; |
offset | 198 | fs/ext2/file.c | memcpy_tofs (buf, offset + (*bhe)->b_data, |
offset | 206 | fs/ext2/file.c | offset = 0; |
offset | 74 | fs/ext2/namei.c | unsigned long offset; |
offset | 104 | fs/ext2/namei.c | offset = 0; |
offset | 105 | fs/ext2/namei.c | while (offset < dir->i_size) { |
offset | 130 | fs/ext2/namei.c | de, bh, offset)) |
offset | 140 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 221 | fs/ext2/namei.c | unsigned long offset; |
offset | 253 | fs/ext2/namei.c | offset = 0; |
offset | 260 | fs/ext2/namei.c | bh = ext2_bread (dir, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, err); |
offset | 263 | fs/ext2/namei.c | if (dir->i_size <= offset) { |
offset | 274 | fs/ext2/namei.c | dir->i_size = offset + sb->s_blocksize; |
offset | 284 | fs/ext2/namei.c | offset)) { |
offset | 296 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 326 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 549 | fs/ext2/namei.c | unsigned long offset; |
offset | 570 | fs/ext2/namei.c | offset = de->rec_len + de1->rec_len; |
offset | 572 | fs/ext2/namei.c | while (offset < inode->i_size ) { |
offset | 575 | fs/ext2/namei.c | bh = ext2_bread (inode, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, &err); |
offset | 577 | fs/ext2/namei.c | offset += sb->s_blocksize; |
offset | 583 | fs/ext2/namei.c | offset)) { |
offset | 591 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 413 | fs/ext2/super.c | unsigned long offset; |
offset | 418 | fs/ext2/super.c | offset = (sb_block*BLOCK_SIZE) % sb->s_blocksize; |
offset | 422 | fs/ext2/super.c | es = (struct ext2_super_block *) (((char *)bh->b_data) + offset); |
offset | 105 | fs/ext2/truncate.c | static int trunc_indirect (struct inode * inode, int offset, unsigned long * p) |
offset | 116 | 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 | 65 | fs/isofs/dir.c | unsigned int block,offset,i, j; |
offset | 79 | 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 | 117 | fs/isofs/dir.c | old_offset = offset; |
offset | 118 | fs/isofs/dir.c | offset += *((unsigned char *) de); |
offset | 121 | fs/isofs/dir.c | if (offset >= bufsize) { |
offset | 128 | fs/isofs/dir.c | offset = filp->f_pos & (bufsize - 1); |
offset | 136 | fs/isofs/dir.c | memcpy((char *)cpnt+frag1, bh->b_data, offset); |
offset | 122 | fs/isofs/file.c | int block, blocks, offset; |
offset | 149 | fs/isofs/file.c | offset = filp->f_pos & (ISOFS_BUFFER_SIZE(inode)-1); |
offset | 150 | fs/isofs/file.c | blocks = (left + offset + ISOFS_BUFFER_SIZE(inode) - 1) / ISOFS_BUFFER_SIZE(inode); |
offset | 208 | fs/isofs/file.c | if (left < ISOFS_BUFFER_SIZE(inode) - offset) |
offset | 211 | fs/isofs/file.c | chars = ISOFS_BUFFER_SIZE(inode) - offset; |
offset | 218 | fs/isofs/file.c | unixify_to_fs(buf, offset+(*bhe)->b_data, chars, |
offset | 221 | fs/isofs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 228 | fs/isofs/file.c | offset = 0; |
offset | 349 | fs/isofs/inode.c | int frag1, offset; |
offset | 351 | fs/isofs/inode.c | offset = (inode->i_ino & (bufsize - 1)); |
offset | 352 | fs/isofs/inode.c | frag1 = bufsize - offset; |
offset | 359 | fs/isofs/inode.c | memcpy(cpnt, bh->b_data + offset, frag1); |
offset | 366 | fs/isofs/inode.c | offset += *pnt - bufsize; |
offset | 367 | fs/isofs/inode.c | memcpy((char *)cpnt+frag1, bh->b_data, offset); |
offset | 541 | fs/isofs/inode.c | unsigned int block,offset; |
offset | 550 | fs/isofs/inode.c | offset = 0; |
offset | 555 | fs/isofs/inode.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 562 | fs/isofs/inode.c | offset += *((unsigned char *) de); |
offset | 564 | fs/isofs/inode.c | if (offset >= bufsize) |
offset | 587 | fs/isofs/inode.c | offset = 0; |
offset | 594 | fs/isofs/inode.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 595 | fs/isofs/inode.c | inode_number = (block << bufbits)+(offset & (bufsize - 1)); |
offset | 604 | fs/isofs/inode.c | offset = 0; |
offset | 620 | fs/isofs/inode.c | old_offset = offset; |
offset | 621 | fs/isofs/inode.c | offset += *((unsigned char *) de); |
offset | 623 | fs/isofs/inode.c | if (offset >= bufsize) |
offset | 631 | fs/isofs/inode.c | offset -= bufsize; |
offset | 639 | fs/isofs/inode.c | memcpy((char *)cpnt+frag1, bh->b_data, offset); |
offset | 71 | fs/isofs/namei.c | unsigned int block, i, f_pos, offset, inode_number; |
offset | 88 | fs/isofs/namei.c | offset = f_pos & (bufsize - 1); |
offset | 94 | fs/isofs/namei.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 96 | fs/isofs/namei.c | inode_number = (block << bufbits) + (offset & (bufsize - 1)); |
offset | 103 | fs/isofs/namei.c | offset = 0; |
offset | 112 | fs/isofs/namei.c | old_offset = offset; |
offset | 113 | fs/isofs/namei.c | offset += *((unsigned char *) de); |
offset | 118 | fs/isofs/namei.c | if (offset >= bufsize) { |
offset | 126 | fs/isofs/namei.c | offset = f_pos & (bufsize - 1); |
offset | 132 | fs/isofs/namei.c | memcpy((char *)cpnt+frag1, bh->b_data, offset); |
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 | 71 | fs/isofs/rock.c | memcpy(buffer, bh->b_data + offset, 1024 - offset); \ |
offset | 73 | fs/isofs/rock.c | offset1 = 1024 - offset; \ |
offset | 74 | fs/isofs/rock.c | offset = 0;} \ |
offset | 80 | fs/isofs/rock.c | memcpy(buffer + offset1, bh->b_data + offset, cont_size - offset1); \ |
offset | 422 | fs/isofs/rock.c | int frag1, offset; |
offset | 424 | fs/isofs/rock.c | offset = (inode->i_ino & (bufsize - 1)); |
offset | 425 | fs/isofs/rock.c | frag1 = bufsize - offset; |
offset | 428 | fs/isofs/rock.c | memcpy(cpnt, bh->b_data + offset, frag1); |
offset | 435 | fs/isofs/rock.c | offset += *pnt - bufsize; |
offset | 436 | fs/isofs/rock.c | memcpy((char *)cpnt+frag1, bh->b_data, offset); |
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 | 242 | fs/msdos/fat.c | int cluster,offset; |
offset | 251 | fs/msdos/fat.c | offset = sector % sb->cluster_size; |
offset | 253 | fs/msdos/fat.c | return (cluster-2)*sb->cluster_size+sb->data_start+offset; |
offset | 87 | fs/msdos/file.c | int left,offset,size,sector,cnt; |
offset | 107 | fs/msdos/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
offset | 109 | fs/msdos/file.c | filp->f_pos += (size = MIN(SECTOR_SIZE-offset,left)); |
offset | 111 | fs/msdos/file.c | memcpy_tofs(buf,data+offset,size); |
offset | 115 | fs/msdos/file.c | if ((ch = *((char *) data+offset++)) == '\r') |
offset | 147 | fs/msdos/file.c | int sector,offset,size,left,written; |
offset | 176 | fs/msdos/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
offset | 177 | fs/msdos/file.c | size = MIN(SECTOR_SIZE-offset,MAX(carry,count)); |
offset | 188 | 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 | 271 | fs/msdos/misc.c | int sector,offset; |
offset | 275 | fs/msdos/misc.c | offset = *pos; |
offset | 276 | fs/msdos/misc.c | if ((sector = msdos_smap(dir,offset >> SECTOR_BITS)) == -1) |
offset | 287 | fs/msdos/misc.c | *de = (struct msdos_dir_entry *) (data+(offset & |
offset | 289 | fs/msdos/misc.c | return (sector << MSDOS_DPS_BITS)+((offset & (SECTOR_SIZE-1)) >> |
offset | 390 | fs/nfs/proc.c | int offset, int count, char *data, struct nfs_fattr *fattr, int fs) |
offset | 397 | fs/nfs/proc.c | PRINTK("NFS call read %d @ %d\n", count, offset); |
offset | 403 | fs/nfs/proc.c | *p++ = htonl(offset); |
offset | 436 | fs/nfs/proc.c | int offset, int count, char *data, struct nfs_fattr *fattr) |
offset | 442 | fs/nfs/proc.c | PRINTK("NFS call write %d @ %d\n", count, offset); |
offset | 448 | fs/nfs/proc.c | *p++ = htonl(offset); /* traditional, could be any value */ |
offset | 449 | 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 | 129 | fs/proc/mem.c | static int mem_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 133 | fs/proc/mem.c | file->f_pos = offset; |
offset | 136 | 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 | 76 | fs/read_write.c | loff_t offset; |
offset | 85 | fs/read_write.c | offset = (loff_t) (((unsigned long long) offset_high << 32) | offset_low); |
offset | 89 | fs/read_write.c | tmp = offset; |
offset | 92 | fs/read_write.c | tmp = file->f_pos + offset; |
offset | 97 | 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 | 113 | fs/sysv/file.c | int blocks, offset; |
offset | 128 | fs/sysv/file.c | offset = filp->f_pos; |
offset | 130 | fs/sysv/file.c | if (offset > size) |
offset | 133 | fs/sysv/file.c | left = size - offset; |
offset | 139 | fs/sysv/file.c | block = offset >> sb->sv_block_size_bits; |
offset | 140 | fs/sysv/file.c | offset &= sb->sv_block_size_1; |
offset | 142 | fs/sysv/file.c | blocks = (left + offset + sb->sv_block_size_1) >> sb->sv_block_size_bits; |
offset | 206 | fs/sysv/file.c | if (left < sb->sv_block_size - offset) |
offset | 209 | fs/sysv/file.c | chars = sb->sv_block_size - offset; |
offset | 214 | fs/sysv/file.c | memcpy_tofs(buf,offset+bhe->bh_data,chars); |
offset | 221 | 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 | 95 | include/asm-i386/bitops.h | extern inline int find_next_zero_bit (void * addr, int size, int offset) |
offset | 97 | include/asm-i386/bitops.h | unsigned long * p = ((unsigned long *) addr) + (offset >> 5); |
offset | 98 | include/asm-i386/bitops.h | int set = 0, bit = offset & 31, res; |
offset | 112 | include/asm-i386/bitops.h | return set + offset; |
offset | 120 | include/asm-i386/bitops.h | return (offset + set + res); |
offset | 42 | 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 | 102 | include/linux/mm.h | unsigned long offset; |
offset | 191 | include/linux/netdevice.h | extern int dev_get_info(char *buffer, char **start, off_t offset, int length); |
offset | 63 | include/linux/nfs_fs.h | int offset, int count, char *data, |
offset | 66 | include/linux/nfs_fs.h | int offset, int count, char *data, |
offset | 140 | 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 | 180 | kernel/time.c | unsigned long offset = 0; |
offset | 191 | kernel/time.c | offset = TICK_SIZE; |
offset | 195 | kernel/time.c | return offset + count; |
offset | 356 | kernel/time.c | if (txc.offset <= -(1 << (31 - SHIFT_UPDATE)) |
offset | 357 | kernel/time.c | || txc.offset >= (1 << (31 - SHIFT_UPDATE))) |
offset | 399 | kernel/time.c | time_adjust = txc.offset; |
offset | 403 | kernel/time.c | time_offset = txc.offset << SHIFT_UPDATE; |
offset | 409 | kernel/time.c | if (txc.offset < 0) |
offset | 410 | kernel/time.c | time_freq -= (-txc.offset * mtemp) >> |
offset | 413 | kernel/time.c | time_freq += (txc.offset * mtemp) >> |
offset | 427 | kernel/time.c | txc.offset = save_adjust; |
offset | 809 | mm/memory.c | unsigned long offset; |
offset | 822 | mm/memory.c | offset = address - area->vm_start + area->vm_offset; |
offset | 839 | mm/memory.c | from_address = offset + mpnt->vm_start - mpnt->vm_offset; |
offset | 24 | mm/mprotect.c | unsigned long page, offset; |
offset | 28 | mm/mprotect.c | offset = (start >> PAGE_SHIFT) & (PTRS_PER_PAGE-1); |
offset | 34 | mm/mprotect.c | nr = nr - PTRS_PER_PAGE + offset; |
offset | 35 | mm/mprotect.c | offset = 0; |
offset | 38 | mm/mprotect.c | page_table = offset + (unsigned long *) (page & PAGE_MASK); |
offset | 39 | mm/mprotect.c | offset = PTRS_PER_PAGE - offset; |
offset | 40 | mm/mprotect.c | if (offset > nr) |
offset | 41 | mm/mprotect.c | offset = nr; |
offset | 42 | mm/mprotect.c | nr = nr - offset; |
offset | 48 | mm/mprotect.c | } while (--offset); |
offset | 32 | mm/swap.c | #define SWP_ENTRY(type,offset) (((type) << 1) | ((offset) << PAGE_SHIFT)) |
offset | 110 | mm/swap.c | unsigned long type, offset; |
offset | 119 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 120 | mm/swap.c | if (offset >= p->max) { |
offset | 128 | mm/swap.c | while (set_bit(offset,p->swap_lockmap)) |
offset | 135 | mm/swap.c | ll_rw_page(rw,p->swap_device,offset,buf); |
offset | 155 | mm/swap.c | unsigned int block = offset << 3; |
offset | 165 | mm/swap.c | unsigned int block = offset |
offset | 177 | mm/swap.c | if (offset && !clear_bit(offset,p->swap_lockmap)) |
offset | 185 | mm/swap.c | unsigned int offset, type; |
offset | 191 | mm/swap.c | for (offset = p->lowest_bit; offset <= p->highest_bit ; offset++) { |
offset | 192 | mm/swap.c | if (p->swap_map[offset]) |
offset | 194 | mm/swap.c | p->swap_map[offset] = 1; |
offset | 196 | mm/swap.c | if (offset == p->highest_bit) |
offset | 198 | mm/swap.c | p->lowest_bit = offset; |
offset | 199 | mm/swap.c | return SWP_ENTRY(type,offset); |
offset | 208 | mm/swap.c | unsigned long offset, type; |
offset | 212 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 221 | mm/swap.c | if (offset >= p->max) { |
offset | 225 | mm/swap.c | if (!p->swap_map[offset]) { |
offset | 229 | mm/swap.c | p->swap_map[offset]++; |
offset | 236 | mm/swap.c | unsigned long offset, type; |
offset | 248 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 249 | mm/swap.c | if (offset >= p->max) { |
offset | 257 | mm/swap.c | while (set_bit(offset,p->swap_lockmap)) |
offset | 259 | mm/swap.c | if (offset < p->lowest_bit) |
offset | 260 | mm/swap.c | p->lowest_bit = offset; |
offset | 261 | mm/swap.c | if (offset > p->highest_bit) |
offset | 262 | mm/swap.c | p->highest_bit = offset; |
offset | 263 | mm/swap.c | if (!p->swap_map[offset]) |
offset | 266 | mm/swap.c | if (!--p->swap_map[offset]) |
offset | 268 | mm/swap.c | if (!clear_bit(offset,p->swap_lockmap)) |
offset | 368 | mm/swap.c | unsigned long offset; |
offset | 377 | mm/swap.c | offset = address & ~PGDIR_MASK; |
offset | 380 | mm/swap.c | pgdir++, address = address + PGDIR_SIZE, offset = 0) { |
offset | 388 | mm/swap.c | p->comm, address + offset, pg_table); |
offset | 397 | mm/swap.c | for( ; offset < ~PGDIR_MASK ; offset += PAGE_SIZE) { |
offset | 398 | mm/swap.c | switch(try_to_swap_out((unsigned long *) (pg_table + (offset >> 10)))) { |
offset | 405 | mm/swap.c | p->mm->swap_address = address + offset + PAGE_SIZE; |
offset | 866 | net/inet/arp.c | int arp_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 917 | net/inet/arp.c | if(pos<offset) |
offset | 922 | net/inet/arp.c | if(pos>offset+length) |
offset | 928 | net/inet/arp.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 929 | net/inet/arp.c | len-=(offset-begin); /* Start slop */ |
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 | 974 | net/inet/dev.c | int dev_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 997 | net/inet/dev.c | if(pos<offset) |
offset | 1002 | net/inet/dev.c | if(pos>offset+length) |
offset | 1006 | net/inet/dev.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 1007 | net/inet/dev.c | len-=(offset-begin); /* Start slop */ |
offset | 96 | net/inet/icmp.c | int offset; |
offset | 178 | net/inet/icmp.c | offset = ip_build_header(skb, dev->pa_addr, iph->saddr, |
offset | 181 | net/inet/icmp.c | if (offset < 0) |
offset | 193 | net/inet/icmp.c | skb->len = offset + sizeof(struct icmphdr) + sizeof(struct iphdr) + 8; |
offset | 199 | net/inet/icmp.c | icmph = (struct icmphdr *) (skb->data + offset); |
offset | 358 | net/inet/icmp.c | int size, offset; |
offset | 375 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, |
offset | 377 | net/inet/icmp.c | if (offset < 0) |
offset | 390 | net/inet/icmp.c | skb2->len = offset + len; |
offset | 395 | net/inet/icmp.c | icmphr = (struct icmphdr *) (skb2->data + offset); |
offset | 424 | net/inet/icmp.c | int size, offset; |
offset | 443 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, IPPROTO_ICMP, opt, len, |
offset | 445 | net/inet/icmp.c | if (offset < 0) |
offset | 457 | net/inet/icmp.c | skb2->len = offset + len; |
offset | 463 | net/inet/icmp.c | icmphr = (struct icmphdr *) ((char *) (skb2 + 1) + offset); |
offset | 513 | net/inet/icmp.c | int size, offset; |
offset | 533 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, |
offset | 535 | net/inet/icmp.c | if (offset < 0) |
offset | 548 | net/inet/icmp.c | skb2->len = offset + len; |
offset | 554 | net/inet/icmp.c | icmphr = (struct icmphdr *) (skb2->data + offset); |
offset | 570 | net/inet/ip.c | static struct ipfrag *ip_frag_create(int offset, int end, struct sk_buff *skb, unsigned char *ptr) |
offset | 583 | net/inet/ip.c | fp->offset = offset; |
offset | 585 | net/inet/ip.c | fp->len = end - offset; |
offset | 790 | net/inet/ip.c | int offset; |
offset | 798 | net/inet/ip.c | offset = 0; |
offset | 801 | net/inet/ip.c | if (fp->offset > offset) |
offset | 803 | net/inet/ip.c | offset = fp->end; |
offset | 870 | net/inet/ip.c | memcpy((ptr + fp->offset), fp->ptr, fp->len); |
offset | 900 | net/inet/ip.c | int flags, offset; |
offset | 909 | net/inet/ip.c | offset = ntohs(iph->frag_off); |
offset | 910 | net/inet/ip.c | flags = offset & ~IP_OFFSET; |
offset | 911 | net/inet/ip.c | offset &= IP_OFFSET; |
offset | 912 | net/inet/ip.c | if (((flags & IP_MF) == 0) && (offset == 0)) |
offset | 919 | net/inet/ip.c | offset <<= 3; /* offset is in 8-byte chunks */ |
offset | 954 | net/inet/ip.c | end = offset + ntohs(iph->tot_len) - ihl; |
offset | 978 | net/inet/ip.c | if (next->offset > offset) |
offset | 988 | net/inet/ip.c | if (prev != NULL && offset < prev->end) |
offset | 990 | net/inet/ip.c | i = prev->end - offset; |
offset | 991 | net/inet/ip.c | offset += i; /* ptr into datagram */ |
offset | 1003 | net/inet/ip.c | if (next->offset >= end) |
offset | 1006 | net/inet/ip.c | i = end - next->offset; /* overlap is 'i' bytes */ |
offset | 1008 | net/inet/ip.c | next->offset += i; /* next fragment */ |
offset | 1035 | net/inet/ip.c | tfp = ip_frag_create(offset, end, skb, ptr); |
offset | 1092 | net/inet/ip.c | int offset; |
offset | 1149 | net/inet/ip.c | offset = (ntohs(iph->frag_off) & 0x1fff) << 3; |
offset | 1151 | net/inet/ip.c | offset = 0; |
offset | 1225 | net/inet/ip.c | iph->frag_off = htons((offset >> 3)); |
offset | 1233 | net/inet/ip.c | offset += len; |
offset | 42 | net/inet/ip.h | int offset; /* offset of fragment in IP datagram */ |
offset | 145 | net/inet/ipx.c | int ipx_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 172 | net/inet/ipx.c | if(pos<offset) |
offset | 177 | net/inet/ipx.c | if(pos>offset+length) /* We have dumped enough */ |
offset | 182 | net/inet/ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 183 | net/inet/ipx.c | len-=(offset-begin); /* Remove unwanted header data from length */ |
offset | 431 | net/inet/ipx.c | int ipx_rt_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 445 | net/inet/ipx.c | if(pos<offset) |
offset | 450 | net/inet/ipx.c | if(pos>offset+length) |
offset | 453 | net/inet/ipx.c | *start=buffer+(offset-begin); |
offset | 454 | 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 | 108 | net/inet/proc.c | if(pos<offset) |
offset | 113 | net/inet/proc.c | if(pos>offset+length) |
offset | 118 | net/inet/proc.c | if(pos>offset+length) |
offset | 121 | net/inet/proc.c | *start=buffer+(offset-begin); |
offset | 122 | net/inet/proc.c | len-=(offset-begin); |
offset | 129 | net/inet/proc.c | int tcp_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 131 | net/inet/proc.c | return get__netinfo(&tcp_prot, buffer,0, start, offset, length); |
offset | 135 | net/inet/proc.c | int udp_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 137 | net/inet/proc.c | return get__netinfo(&udp_prot, buffer,1, start, offset, length); |
offset | 141 | net/inet/proc.c | int raw_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 143 | net/inet/proc.c | return get__netinfo(&raw_prot, buffer,1, start, offset, length); |
offset | 151 | net/inet/proc.c | int snmp_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 211 | net/inet/proc.c | if (offset >= len) |
offset | 216 | net/inet/proc.c | *start = buffer + offset; |
offset | 217 | net/inet/proc.c | len -= offset; |
offset | 426 | net/inet/rarp.c | int rarp_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 472 | net/inet/rarp.c | if(pos<offset) |
offset | 477 | net/inet/rarp.c | if(pos>offset+length) |
offset | 483 | net/inet/rarp.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 484 | net/inet/rarp.c | len-=(offset-begin); /* Start slop */ |
offset | 11 | net/inet/rarp.h | off_t offset, |
offset | 481 | net/inet/route.c | int rt_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 505 | net/inet/route.c | if(pos<offset) |
offset | 510 | net/inet/route.c | if(pos>offset+length) |
offset | 514 | net/inet/route.c | *start=buffer+(offset-begin); |
offset | 515 | net/inet/route.c | len-=(offset-begin); |
offset | 50 | net/inet/route.h | extern int rt_get_info(char * buffer, char **start, off_t offset, int length); |
offset | 494 | net/inet/skbuff.c | unsigned long offset; |
offset | 500 | net/inet/skbuff.c | offset=((char *)n)-((char *)skb); |
offset | 508 | net/inet/skbuff.c | n->h.raw=skb->h.raw+offset; |
offset | 509 | net/inet/skbuff.c | n->ip_hdr=(struct iphdr *)(((char *)skb->ip_hdr)+offset); |
offset | 1489 | net/inet/tcp.c | unsigned long offset; |
offset | 1506 | net/inet/tcp.c | offset = 1 + *seq - skb->h.th->seq; |
offset | 1508 | net/inet/tcp.c | offset--; |
offset | 1509 | net/inet/tcp.c | if (offset < skb->len) |
offset | 1564 | net/inet/tcp.c | used = skb->len - offset; |
offset | 1578 | net/inet/tcp.c | offset++; |
offset | 1588 | net/inet/tcp.c | skb->h.th->doff*4 + offset, used); |
offset | 1595 | net/inet/tcp.c | if (!(flags & MSG_PEEK) && (used + offset >= skb->len)) |
offset | 53 | net/socket.c | static int sock_lseek(struct inode *inode, struct file *file, off_t offset, |
offset | 360 | net/socket.c | static int sock_lseek(struct inode *inode, struct file *file, off_t offset, int whence) |
offset | 39 | net/unix/proc.c | int unix_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 83 | net/unix/proc.c | if(pos<offset) |
offset | 88 | net/unix/proc.c | if(pos>offset+length) |
offset | 95 | net/unix/proc.c | *start=buffer+(offset-begin); |
offset | 96 | net/unix/proc.c | len-=(offset-begin); |