tag | line | file | source code |
offset | 122 | arch/alpha/boot/tools/build.c | unsigned long size, offset; |
offset | 130 | arch/alpha/boot/tools/build.c | offset = shdr[i].s_scnptr; |
offset | 131 | arch/alpha/boot/tools/build.c | if (lseek(fd, offset, SEEK_SET) != offset) |
offset | 137 | arch/alpha/boot/tools/build.c | if (offset) |
offset | 55 | arch/i386/kernel/ptrace.c | static inline int get_stack_long(struct task_struct *task, int offset) |
offset | 60 | arch/i386/kernel/ptrace.c | stack += offset; |
offset | 70 | arch/i386/kernel/ptrace.c | static inline int put_stack_long(struct task_struct *task, int offset, |
offset | 76 | arch/i386/kernel/ptrace.c | stack += offset; |
offset | 45 | arch/i386/math-emu/fpu_aux.c | operand_address.offset = 0; |
offset | 47 | arch/i386/math-emu/fpu_aux.c | instruction_address.offset = 0; |
offset | 97 | arch/i386/math-emu/fpu_emu.h | unsigned int offset; |
offset | 314 | arch/i386/math-emu/fpu_entry.c | entry_sel_off.offset = FPU_ORIG_EIP; |
offset | 515 | arch/i386/math-emu/fpu_entry.c | operand_address.offset = 0; |
offset | 77 | arch/i386/math-emu/get_address.c | long offset; |
offset | 89 | arch/i386/math-emu/get_address.c | offset = 0; /* No base register */ |
offset | 91 | arch/i386/math-emu/get_address.c | offset = REG_(base); |
offset | 102 | arch/i386/math-emu/get_address.c | offset += (REG_(index)) << ss; |
offset | 110 | arch/i386/math-emu/get_address.c | offset += (signed char) get_fs_byte((char *) (*fpu_eip)); |
offset | 119 | arch/i386/math-emu/get_address.c | offset += (signed) get_fs_long((unsigned long *) (*fpu_eip)); |
offset | 124 | arch/i386/math-emu/get_address.c | return offset; |
offset | 146 | arch/i386/math-emu/get_address.c | unsigned short *selector, long offset) |
offset | 164 | arch/i386/math-emu/get_address.c | address = base_address + offset; |
offset | 254 | arch/i386/math-emu/get_address.c | addr->offset = address; |
offset | 261 | arch/i386/math-emu/get_address.c | addr->offset = address; |
offset | 287 | arch/i386/math-emu/get_address.c | addr->offset = address; |
offset | 403 | arch/i386/math-emu/get_address.c | addr->offset = address; |
offset | 1164 | arch/i386/math-emu/reg_ld_str.c | instruction_address.offset = get_fs_word((unsigned short *) (s+6)); |
offset | 1166 | arch/i386/math-emu/reg_ld_str.c | operand_address.offset = get_fs_word((unsigned short *) (s+0x0a)); |
offset | 1172 | arch/i386/math-emu/reg_ld_str.c | instruction_address.offset |
offset | 1174 | arch/i386/math-emu/reg_ld_str.c | operand_address.offset += (operand_address.selector & 0xf000) << 4; |
offset | 1184 | arch/i386/math-emu/reg_ld_str.c | instruction_address.offset = get_fs_long((unsigned long *) (s+0x0c)); |
offset | 1187 | arch/i386/math-emu/reg_ld_str.c | operand_address.offset = get_fs_long((unsigned long *) (s+0x14)); |
offset | 1305 | arch/i386/math-emu/reg_ld_str.c | put_fs_word(instruction_address.offset, (unsigned short *) (d+6)); |
offset | 1306 | arch/i386/math-emu/reg_ld_str.c | put_fs_word(operand_address.offset, (unsigned short *) (d+0x0a)); |
offset | 1309 | arch/i386/math-emu/reg_ld_str.c | put_fs_word((instruction_address.offset & 0xf0000) >> 4, |
offset | 1311 | arch/i386/math-emu/reg_ld_str.c | put_fs_word((operand_address.offset & 0xf0000) >> 4, |
offset | 1336 | arch/i386/math-emu/reg_ld_str.c | put_fs_long(instruction_address.offset, (unsigned long *) (d+0x0c)); |
offset | 1339 | arch/i386/math-emu/reg_ld_str.c | put_fs_long(operand_address.offset, (unsigned long *) (d+0x14)); |
offset | 53 | arch/mips/kernel/ptrace.c | static inline int get_stack_long(struct task_struct *task, int offset) |
offset | 58 | arch/mips/kernel/ptrace.c | stack += offset; |
offset | 68 | arch/mips/kernel/ptrace.c | static inline int put_stack_long(struct task_struct *task, int offset, |
offset | 74 | arch/mips/kernel/ptrace.c | stack += offset; |
offset | 19 | arch/sparc/mm/vac-flush.c | register int entries_left, offset; |
offset | 35 | arch/sparc/mm/vac-flush.c | offset = vac_linesize; |
offset | 39 | arch/sparc/mm/vac-flush.c | address += offset; |
offset | 47 | arch/sparc/mm/vac-flush.c | register int entries_left, offset; |
offset | 65 | arch/sparc/mm/vac-flush.c | offset = vac_linesize; |
offset | 69 | arch/sparc/mm/vac-flush.c | address += offset; |
offset | 77 | arch/sparc/mm/vac-flush.c | register int entries_left, offset; |
offset | 86 | arch/sparc/mm/vac-flush.c | offset = vac_linesize; |
offset | 90 | arch/sparc/mm/vac-flush.c | addr += offset; |
offset | 1087 | drivers/block/cdu31a.c | unsigned int offset, |
offset | 1121 | drivers/block/cdu31a.c | insb(sony_cd_read_reg, &buffer[offset], bytesleft); |
offset | 1154 | drivers/block/cdu31a.c | unsigned int offset; |
offset | 1162 | drivers/block/cdu31a.c | offset = 0; |
offset | 1190 | drivers/block/cdu31a.c | offset += readahead_dataleft; |
offset | 1264 | drivers/block/cdu31a.c | input_data(buffer, bytesleft, nblocks, offset, skip); |
offset | 146 | drivers/block/xd.c | if (!memcmp(xd_bases[i] + xd_sigs[j].offset,xd_sigs[j].string,strlen(xd_sigs[j].string))) { |
offset | 128 | drivers/char/console.c | static void set_scrmem(int currcons, long offset); |
offset | 521 | drivers/char/console.c | static inline void __set_origin(unsigned short offset) |
offset | 528 | drivers/char/console.c | __origin = offset; |
offset | 530 | drivers/char/console.c | outb_p(offset >> 8, video_port_val); |
offset | 532 | drivers/char/console.c | outb_p(offset, video_port_val); |
offset | 982 | drivers/char/console.c | static inline unsigned short *screenpos(int currcons, int offset, int viewed) |
offset | 984 | drivers/char/console.c | unsigned short *p = (unsigned short *)(origin + offset); |
offset | 991 | drivers/char/console.c | void invert_screen(int currcons, int offset, int count, int viewed) |
offset | 996 | drivers/char/console.c | p = screenpos(currcons, offset, viewed); |
offset | 1013 | drivers/char/console.c | void complement_pos(int currcons, int offset) |
offset | 1020 | drivers/char/console.c | if (offset == -1) |
offset | 1023 | drivers/char/console.c | p = screenpos(currcons, offset, 1); |
offset | 1030 | drivers/char/console.c | unsigned short screen_word(int currcons, int offset, int viewed) |
offset | 1032 | drivers/char/console.c | return scr_readw(screenpos(currcons, offset, viewed)); |
offset | 1995 | drivers/char/console.c | static void set_scrmem(int currcons, long offset) |
offset | 2028 | drivers/char/console.c | if (video_mem_term - video_mem_base < offset + video_screen_size) |
offset | 2029 | drivers/char/console.c | offset = 0; /* strange ... */ |
offset | 2030 | drivers/char/console.c | memcpyw((unsigned short *)(video_mem_base + offset), |
offset | 2034 | drivers/char/console.c | origin = video_mem_base + offset; |
offset | 2069 | drivers/char/console.c | long offset; |
offset | 2085 | drivers/char/console.c | offset = 0; |
offset | 2091 | drivers/char/console.c | offset = (blank_origin - video_mem_base) |
offset | 2096 | drivers/char/console.c | set_scrmem(fg_console, offset); |
offset | 317 | drivers/char/lp.c | off_t offset, int origin) |
offset | 534 | drivers/char/lp.c | int offset = 0; |
offset | 543 | drivers/char/lp.c | for (offset = 0; offset < LP_NO; offset++) { |
offset | 544 | drivers/char/lp.c | if (check_region(LP_B(offset), 3)) |
offset | 547 | drivers/char/lp.c | outb_p( LP_DUMMY, LP_B(offset)); |
offset | 550 | drivers/char/lp.c | testvalue = inb_p(LP_B(offset)); |
offset | 552 | drivers/char/lp.c | LP_F(offset) |= LP_EXIST; |
offset | 553 | drivers/char/lp.c | lp_reset(offset); |
offset | 554 | drivers/char/lp.c | printk("lp%d at 0x%04x, ", offset,LP_B(offset)); |
offset | 555 | drivers/char/lp.c | request_region(LP_B(offset), 3, "lp"); |
offset | 556 | drivers/char/lp.c | if (LP_IRQ(offset)) |
offset | 557 | drivers/char/lp.c | printk("using IRQ%d\n", LP_IRQ(offset)); |
offset | 574 | drivers/char/lp.c | int offset = 0; |
offset | 583 | drivers/char/lp.c | for (offset = 0; offset < LP_NO; offset++) { |
offset | 585 | drivers/char/lp.c | outb_p( LP_DUMMY, LP_B(offset)); |
offset | 588 | drivers/char/lp.c | testvalue = inb_p(LP_B(offset)); |
offset | 590 | drivers/char/lp.c | LP_F(offset) |= LP_EXIST; |
offset | 591 | drivers/char/lp.c | lp_reset(offset); |
offset | 592 | drivers/char/lp.c | printk("lp%d at 0x%04x, ", offset,LP_B(offset)); |
offset | 593 | drivers/char/lp.c | request_region(LP_B(offset),3,"lp"); |
offset | 594 | drivers/char/lp.c | if (LP_IRQ(offset)) |
offset | 595 | drivers/char/lp.c | printk("using IRQ%d\n", LP_IRQ(offset)); |
offset | 608 | drivers/char/lp.c | int offset; |
offset | 613 | drivers/char/lp.c | for (offset = 0; offset < LP_NO; offset++) |
offset | 614 | drivers/char/lp.c | if(LP_F(offset) && LP_EXIST) |
offset | 615 | drivers/char/lp.c | release_region(LP_B(offset),3); |
offset | 196 | drivers/char/mem.c | static int null_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 208 | drivers/char/mem.c | static int memory_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 212 | drivers/char/mem.c | file->f_pos = offset; |
offset | 215 | drivers/char/mem.c | file->f_pos += offset; |
offset | 21 | drivers/char/selection.h | extern unsigned short screen_word(int currcons, int offset, int viewed); |
offset | 22 | drivers/char/selection.h | extern void complement_pos(int currcons, int offset); |
offset | 23 | drivers/char/selection.h | extern void invert_screen(int currcons, int offset, int count, int shift); |
offset | 235 | drivers/char/serial.c | static inline unsigned int serial_in(struct async_struct *info, int offset) |
offset | 239 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 243 | drivers/char/serial.c | return inb(info->port + offset); |
offset | 246 | drivers/char/serial.c | static inline unsigned int serial_inp(struct async_struct *info, int offset) |
offset | 250 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 255 | drivers/char/serial.c | return inb(info->port + offset); |
offset | 257 | drivers/char/serial.c | return inb_p(info->port + offset); |
offset | 261 | drivers/char/serial.c | static inline void serial_out(struct async_struct *info, int offset, int value) |
offset | 265 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 269 | drivers/char/serial.c | outb(value, info->port+offset); |
offset | 272 | drivers/char/serial.c | static inline void serial_outp(struct async_struct *info, int offset, |
offset | 277 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 282 | drivers/char/serial.c | outb(value, info->port+offset); |
offset | 284 | drivers/char/serial.c | outb_p(value, info->port+offset); |
offset | 1880 | drivers/char/tpqic02.c | static int qic02_tape_lseek(struct inode * inode, struct file * file, off_t offset, int origin) |
offset | 304 | drivers/char/tty_io.c | static int tty_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 40 | drivers/char/vc_screen.c | vcs_lseek(struct inode *inode, struct file *file, off_t offset, int orig) |
offset | 46 | drivers/char/vc_screen.c | file->f_pos = offset; |
offset | 49 | drivers/char/vc_screen.c | file->f_pos += offset; |
offset | 52 | drivers/char/vc_screen.c | file->f_pos = size + offset; |
offset | 1202 | drivers/net/arcnet.c | int offset; |
offset | 1224 | drivers/net/arcnet.c | arcpacket->hardheader.offset1=offset=256-length |
offset | 1227 | drivers/net/arcnet.c | (&arcpacket->raw[offset-EXTRA_CLIENTDATA]); |
offset | 1234 | drivers/net/arcnet.c | arcpacket->hardheader.offset2=offset=512-length |
offset | 1237 | drivers/net/arcnet.c | (&arcpacket->raw[offset-EXTRA_CLIENTDATA]); |
offset | 1244 | drivers/net/arcnet.c | arcpacket->hardheader.offset2=offset=512-length-4 |
offset | 1247 | drivers/net/arcnet.c | (&arcpacket->raw[offset+4-EXTRA_CLIENTDATA]); |
offset | 1253 | drivers/net/arcnet.c | arcpacket->raw[offset+0]=arcsoft->protocol_id; |
offset | 1254 | drivers/net/arcnet.c | arcpacket->raw[offset+1]=0xFF; /* FF flag */ |
offset | 1255 | drivers/net/arcnet.c | arcpacket->raw[offset+2]=0xFF; /* FF padding */ |
offset | 1256 | drivers/net/arcnet.c | arcpacket->raw[offset+3]=0xFF; /* FF padding */ |
offset | 1530 | drivers/net/arcnet.c | short length,offset; |
offset | 1549 | drivers/net/arcnet.c | offset=arcpacket->hardheader.offset1; |
offset | 1551 | drivers/net/arcnet.c | (&arcpacket->raw[offset-EXTRA_CLIENTDATA]); |
offset | 1552 | drivers/net/arcnet.c | length=256-offset+EXTRA_CLIENTDATA; |
offset | 1557 | drivers/net/arcnet.c | offset=arcpacket->hardheader.offset2; |
offset | 1559 | drivers/net/arcnet.c | (&arcpacket->raw[offset-EXTRA_CLIENTDATA]); |
offset | 1563 | drivers/net/arcnet.c | length=512-offset+EXTRA_CLIENTDATA; |
offset | 1571 | drivers/net/arcnet.c | length=512-offset+EXTRA_CLIENTDATA-4; |
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 | 713 | drivers/net/de4x5.c | int offset, status = 0; |
offset | 727 | drivers/net/de4x5.c | offset = IMPERF_PA_OFFSET; |
offset | 754 | drivers/net/de4x5.c | for (pa=lp->setup_frame+offset, j=0; j<ETH_ALEN; j++) { |
offset | 1815 | drivers/net/de4x5.c | int offset; |
offset | 1825 | drivers/net/de4x5.c | offset = IMPERF_PA_OFFSET; |
offset | 1827 | drivers/net/de4x5.c | offset = PERF_PA_OFFSET; |
offset | 1830 | drivers/net/de4x5.c | for (pa=lp->setup_frame+offset, i=0; i<ETH_ALEN; i++) { |
offset | 419 | drivers/net/depca.c | unsigned int nicsr, offset, netRAM; |
offset | 504 | drivers/net/depca.c | offset = 0x8000; /* 32kbyte RAM offset*/ |
offset | 508 | drivers/net/depca.c | offset = 0x0000; |
offset | 511 | drivers/net/depca.c | offset = 0x0000; /* 64k/48k bytes RAM */ |
offset | 515 | drivers/net/depca.c | mem_start += offset; /* (E)ISA start address */ |
offset | 535 | drivers/net/depca.c | j = (((netRAM << 10) - offset - sizeof(struct depca_private)) / |
offset | 183 | drivers/net/ne.c | struct {unsigned char value, offset; } program_seq[] = { |
offset | 199 | drivers/net/ne.c | outb_p(program_seq[i].value, ioaddr + program_seq[i].offset); |
offset | 2043 | drivers/net/wavelan.c | wavelan_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 2074 | drivers/net/wavelan.c | if (pos < offset) |
offset | 2080 | drivers/net/wavelan.c | if (pos > offset + length) |
offset | 2088 | drivers/net/wavelan.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
offset | 2089 | drivers/net/wavelan.c | len -= (offset - begin); /* Start slop */ |
offset | 1338 | drivers/scsi/53c7,8xx.h | #define patch_abs_32(script, offset, symbol, value) \ |
offset | 1341 | drivers/scsi/53c7,8xx.h | (script)[A_##symbol##_used[i] - (offset)] += (value); \ |
offset | 1345 | drivers/scsi/53c7,8xx.h | (offset), #script, (script)[A_##symbol##_used[i] - \ |
offset | 1346 | drivers/scsi/53c7,8xx.h | (offset)]); \ |
offset | 1349 | drivers/scsi/53c7,8xx.h | #define patch_abs_rwri_data(script, offset, symbol, value) \ |
offset | 1352 | drivers/scsi/53c7,8xx.h | (script)[A_##symbol##_used[i] - (offset)] = \ |
offset | 1353 | drivers/scsi/53c7,8xx.h | ((script)[A_##symbol##_used[i] - (offset)] & \ |
offset | 398 | drivers/scsi/aha274x.c | unsigned char offset) |
offset | 407 | drivers/scsi/aha274x.c | *rate = (aha274x_synctab[i].rate << 4) | (offset & 0xf); |
offset | 415 | drivers/scsi/aha274x.c | (offset & 0xf); |
offset | 672 | drivers/scsi/aha274x.c | unsigned char transfer, offset, rate; |
offset | 701 | drivers/scsi/aha274x.c | offset = inb(HA_ARG_2(base)); |
offset | 702 | drivers/scsi/aha274x.c | aha274x_to_scsirate(&rate, transfer, offset); |
offset | 1876 | drivers/scsi/scsi.c | long offset; |
offset | 1883 | drivers/scsi/scsi.c | offset = -1; |
offset | 1888 | drivers/scsi/scsi.c | offset = ((unsigned long) obj) - ((unsigned long)dma_malloc_pages[page]); |
offset | 1893 | drivers/scsi/scsi.c | sector = offset >> 9; |
offset | 1896 | drivers/scsi/scsi.c | sector = (offset >> 9) & (sizeof(*dma_malloc_freelist) * 8 - 1); |
offset | 153 | drivers/scsi/seagate.c | unsigned offset; |
offset | 327 | drivers/scsi/seagate.c | signatures[j].offset), (void *) signatures[j].signature, |
offset | 153 | drivers/scsi/sr.c | int offset; |
offset | 154 | drivers/scsi/sr.c | offset = (SCpnt->request.sector % 4) << 9; |
offset | 156 | drivers/scsi/sr.c | (char *)SCpnt->buffer + offset, |
offset | 162 | drivers/scsi/sr.c | if((offset == 0) && this_count == 2 && |
offset | 290 | drivers/scsi/st.c | int offset, transfer, blks; |
offset | 315 | drivers/scsi/st.c | offset = (STp->buffer)->buffer_bytes; |
offset | 316 | drivers/scsi/st.c | transfer = ((offset + STp->block_size - 1) / |
offset | 322 | 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 | 83 | drivers/sound/soundcard.c | sound_lseek (struct inode *inode, struct file *file, off_t offset, int orig) |
offset | 27 | fs/block_dev.c | loff_t offset; |
offset | 57 | fs/block_dev.c | offset = filp->f_pos & (blocksize-1); |
offset | 66 | fs/block_dev.c | chars = blocksize - offset; |
offset | 118 | fs/block_dev.c | p = offset + bh->b_data; |
offset | 119 | fs/block_dev.c | offset = 0; |
offset | 163 | fs/block_dev.c | loff_t offset; |
offset | 190 | fs/block_dev.c | offset = filp->f_pos; |
offset | 198 | fs/block_dev.c | if (offset > size) |
offset | 201 | fs/block_dev.c | left = size - offset; |
offset | 207 | fs/block_dev.c | block = offset >> blocksize_bits; |
offset | 208 | fs/block_dev.c | offset &= blocksize-1; |
offset | 210 | fs/block_dev.c | rblocks = blocks = (left + offset + blocksize - 1) >> blocksize_bits; |
offset | 280 | fs/block_dev.c | if (left < blocksize - offset) |
offset | 283 | fs/block_dev.c | chars = blocksize - offset; |
offset | 288 | fs/block_dev.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 295 | 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 | 1004 | fs/buffer.c | unsigned long offset; |
offset | 1014 | fs/buffer.c | for (offset = size ; offset < PAGE_SIZE ; offset += size) { |
offset | 1022 | fs/buffer.c | if (page+offset != (unsigned long) first->b_data) |
offset | 1044 | fs/buffer.c | unsigned long offset; |
offset | 1054 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
offset | 1526 | fs/buffer.c | unsigned long offset; |
offset | 1539 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
offset | 1581 | fs/buffer.c | int i, offset; |
offset | 1583 | fs/buffer.c | for (i = 0, offset = 0 ; offset < PAGE_SIZE ; i++, offset += size) { |
offset | 152 | fs/exec.c | #define DUMP_SEEK(offset) \ |
offset | 154 | fs/exec.c | if (file.f_op->lseek(inode,&file,(offset),0) != (offset)) \ |
offset | 156 | fs/exec.c | } else file.f_pos = (offset) |
offset | 391 | fs/exec.c | int len, offset = 0; |
offset | 417 | fs/exec.c | if (--offset < 0) { |
offset | 418 | fs/exec.c | offset = p % PAGE_SIZE; |
offset | 429 | fs/exec.c | *(pag + offset) = get_fs_byte(tmp); |
offset | 462 | fs/exec.c | int read_exec(struct inode *inode, unsigned long offset, |
offset | 483 | fs/exec.c | if (file.f_op->lseek(inode,&file,offset,0) != offset) |
offset | 486 | fs/exec.c | file.f_pos = offset; |
offset | 72 | fs/ext/dir.c | off_t offset; |
offset | 83 | fs/ext/dir.c | offset = filp->f_pos & 1023; |
offset | 86 | fs/ext/dir.c | filp->f_pos += 1024-offset; |
offset | 89 | fs/ext/dir.c | for (i = 0; i < 1024 && i < offset; ) { |
offset | 95 | fs/ext/dir.c | offset = i; |
offset | 96 | fs/ext/dir.c | de = (struct ext_dir_entry *) (offset + bh->b_data); |
offset | 97 | fs/ext/dir.c | while (!ret && offset < 1024 && filp->f_pos < inode->i_size) { |
offset | 103 | fs/ext/dir.c | inode->i_dev, inode->i_ino, offset, de->rec_len, de->name_len); |
offset | 104 | fs/ext/dir.c | filp->f_pos += 1024-offset; |
offset | 109 | 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 | 83 | fs/ext/namei.c | long offset; |
offset | 104 | fs/ext/namei.c | offset = 0; |
offset | 106 | fs/ext/namei.c | while (offset < dir->i_size) { |
offset | 110 | fs/ext/namei.c | bh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,0); |
offset | 122 | fs/ext/namei.c | dir->i_dev, dir->i_ino, offset, de->rec_len, de->name_len); |
offset | 124 | fs/ext/namei.c | offset = ((offset / BLOCK_SIZE) + 1) * BLOCK_SIZE; |
offset | 132 | fs/ext/namei.c | if (offset + de->rec_len < dir->i_size && |
offset | 140 | fs/ext/namei.c | offset += de->rec_len; |
offset | 191 | fs/ext/namei.c | long offset; |
offset | 212 | fs/ext/namei.c | offset = 0; |
offset | 215 | fs/ext/namei.c | if ((char *)de >= BLOCK_SIZE+bh->b_data && offset < dir->i_size) { |
offset | 221 | fs/ext/namei.c | bh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,0); |
offset | 226 | fs/ext/namei.c | if (offset >= dir->i_size) { |
offset | 228 | fs/ext/namei.c | if (offset % BLOCK_SIZE == 0 || |
offset | 229 | fs/ext/namei.c | (BLOCK_SIZE - (offset % BLOCK_SIZE)) < rec_len) { |
offset | 230 | fs/ext/namei.c | if ((offset % BLOCK_SIZE) != 0) { |
offset | 236 | fs/ext/namei.c | - (offset & (BLOCK_SIZE - 1)); |
offset | 238 | fs/ext/namei.c | offset += de->rec_len; |
offset | 251 | fs/ext/namei.c | bh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,1); |
offset | 270 | fs/ext/namei.c | dir->i_dev, dir->i_ino, offset, de->rec_len, de->name_len); |
offset | 296 | fs/ext/namei.c | offset += de->rec_len; |
offset | 469 | fs/ext/namei.c | unsigned long offset; |
offset | 484 | fs/ext/namei.c | offset = de->rec_len + de1->rec_len; |
offset | 486 | fs/ext/namei.c | while (offset < inode->i_size ) { |
offset | 489 | fs/ext/namei.c | bh = ext_bread(inode, offset >> BLOCK_SIZE_BITS,1); |
offset | 491 | fs/ext/namei.c | offset += BLOCK_SIZE; |
offset | 500 | fs/ext/namei.c | inode->i_dev, inode->i_ino, offset, de->rec_len, de->name_len); |
offset | 508 | 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 | 77 | fs/ext2/dir.c | unsigned long offset) |
offset | 96 | fs/ext2/dir.c | error_msg, offset, (unsigned long) de->inode, de->rec_len, |
offset | 104 | fs/ext2/dir.c | unsigned long offset, blk; |
offset | 117 | fs/ext2/dir.c | offset = filp->f_pos & (sb->s_blocksize - 1); |
offset | 123 | fs/ext2/dir.c | filp->f_pos += sb->s_blocksize - offset; |
offset | 130 | fs/ext2/dir.c | if (!offset) { |
offset | 152 | fs/ext2/dir.c | for (i = 0; i < sb->s_blocksize && i < offset; ) { |
offset | 165 | fs/ext2/dir.c | offset = i; |
offset | 167 | fs/ext2/dir.c | | offset; |
offset | 172 | fs/ext2/dir.c | && offset < sb->s_blocksize) { |
offset | 173 | fs/ext2/dir.c | de = (struct ext2_dir_entry *) (bh->b_data + offset); |
offset | 175 | fs/ext2/dir.c | bh, offset)) { |
offset | 217 | fs/ext2/dir.c | offset += de->rec_len; |
offset | 220 | fs/ext2/dir.c | offset = 0; |
offset | 84 | fs/ext2/file.c | int block, blocks, offset; |
offset | 104 | fs/ext2/file.c | offset = filp->f_pos; |
offset | 106 | fs/ext2/file.c | if (offset > size) |
offset | 109 | fs/ext2/file.c | left = size - offset; |
offset | 115 | fs/ext2/file.c | block = offset >> EXT2_BLOCK_SIZE_BITS(sb); |
offset | 116 | fs/ext2/file.c | offset &= (sb->s_blocksize - 1); |
offset | 118 | fs/ext2/file.c | blocks = (left + offset + sb->s_blocksize - 1) >> EXT2_BLOCK_SIZE_BITS(sb); |
offset | 191 | fs/ext2/file.c | if (left < sb->s_blocksize - offset) |
offset | 194 | fs/ext2/file.c | chars = sb->s_blocksize - offset; |
offset | 199 | fs/ext2/file.c | memcpy_tofs (buf, offset + (*bhe)->b_data, |
offset | 207 | fs/ext2/file.c | offset = 0; |
offset | 75 | fs/ext2/namei.c | unsigned long offset; |
offset | 105 | fs/ext2/namei.c | offset = 0; |
offset | 106 | fs/ext2/namei.c | while (offset < dir->i_size) { |
offset | 131 | fs/ext2/namei.c | de, bh, offset)) |
offset | 141 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 222 | fs/ext2/namei.c | unsigned long offset; |
offset | 254 | fs/ext2/namei.c | offset = 0; |
offset | 261 | fs/ext2/namei.c | bh = ext2_bread (dir, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, err); |
offset | 264 | fs/ext2/namei.c | if (dir->i_size <= offset) { |
offset | 275 | fs/ext2/namei.c | dir->i_size = offset + sb->s_blocksize; |
offset | 285 | fs/ext2/namei.c | offset)) { |
offset | 297 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 328 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 551 | fs/ext2/namei.c | unsigned long offset; |
offset | 572 | fs/ext2/namei.c | offset = de->rec_len + de1->rec_len; |
offset | 574 | fs/ext2/namei.c | while (offset < inode->i_size ) { |
offset | 577 | fs/ext2/namei.c | bh = ext2_bread (inode, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, &err); |
offset | 579 | fs/ext2/namei.c | offset += sb->s_blocksize; |
offset | 585 | fs/ext2/namei.c | offset)) { |
offset | 593 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 447 | fs/ext2/super.c | unsigned long offset; |
offset | 452 | fs/ext2/super.c | offset = (sb_block*BLOCK_SIZE) % sb->s_blocksize; |
offset | 456 | fs/ext2/super.c | es = (struct ext2_super_block *) (((char *)bh->b_data) + offset); |
offset | 106 | fs/ext2/truncate.c | static int trunc_indirect (struct inode * inode, int offset, u32 * p) |
offset | 117 | fs/ext2/truncate.c | #define INDIRECT_BLOCK ((int)DIRECT_BLOCK - offset) |
offset | 202 | fs/ext2/truncate.c | static int trunc_dindirect (struct inode * inode, int offset, |
offset | 211 | fs/ext2/truncate.c | #define DINDIRECT_BLOCK (((int)DIRECT_BLOCK - offset) / addr_per_block) |
offset | 236 | fs/ext2/truncate.c | retry |= trunc_indirect (inode, offset + (i * addr_per_block), |
offset | 326 | fs/ext2/truncate.c | int offset; |
offset | 357 | fs/ext2/truncate.c | offset = inode->i_size % inode->i_sb->s_blocksize; |
offset | 358 | fs/ext2/truncate.c | if (offset) { |
offset | 362 | fs/ext2/truncate.c | memset (bh->b_data + offset, 0, |
offset | 363 | fs/ext2/truncate.c | inode->i_sb->s_blocksize - offset); |
offset | 72 | fs/isofs/dir.c | unsigned int block,offset,i, j; |
offset | 87 | fs/isofs/dir.c | offset = filp->f_pos & (bufsize - 1); |
offset | 98 | fs/isofs/dir.c | block, offset, filp->f_pos); |
offset | 100 | fs/isofs/dir.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 101 | fs/isofs/dir.c | inode_number = (block << bufbits) + (offset & (bufsize - 1)); |
offset | 109 | fs/isofs/dir.c | offset = 0; |
offset | 125 | fs/isofs/dir.c | old_offset = offset; |
offset | 126 | fs/isofs/dir.c | offset += *((unsigned char *) de); |
offset | 129 | fs/isofs/dir.c | if (offset > bufsize) { |
offset | 137 | fs/isofs/dir.c | offset = filp->f_pos & (bufsize - 1); |
offset | 145 | fs/isofs/dir.c | memcpy((char *)cpnt+frag1, bh->b_data, offset); |
offset | 126 | fs/isofs/file.c | int block, blocks, offset, total_blocks; |
offset | 153 | fs/isofs/file.c | offset = (inode->u.isofs_i.i_first_extent + filp->f_pos) |
offset | 155 | fs/isofs/file.c | blocks = (left + offset + ISOFS_BUFFER_SIZE(inode) - 1) / ISOFS_BUFFER_SIZE(inode); |
offset | 225 | fs/isofs/file.c | if (left < ISOFS_BUFFER_SIZE(inode) - offset) |
offset | 228 | fs/isofs/file.c | chars = ISOFS_BUFFER_SIZE(inode) - offset; |
offset | 235 | fs/isofs/file.c | unixify_to_fs(buf, offset+(*bhe)->b_data, chars, |
offset | 238 | fs/isofs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 245 | fs/isofs/file.c | offset = 0; |
offset | 440 | fs/isofs/inode.c | int frag1, offset; |
offset | 442 | fs/isofs/inode.c | offset = (inode->i_ino & (bufsize - 1)); |
offset | 443 | fs/isofs/inode.c | frag1 = bufsize - offset; |
offset | 450 | fs/isofs/inode.c | memcpy(cpnt, bh->b_data + offset, frag1); |
offset | 457 | fs/isofs/inode.c | offset += *pnt - bufsize; |
offset | 458 | fs/isofs/inode.c | memcpy((char *)cpnt+frag1, bh->b_data, offset); |
offset | 630 | fs/isofs/inode.c | unsigned int block,offset; |
offset | 639 | fs/isofs/inode.c | offset = 0; |
offset | 644 | fs/isofs/inode.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 651 | fs/isofs/inode.c | offset += *((unsigned char *) de); |
offset | 653 | fs/isofs/inode.c | if (offset >= bufsize) |
offset | 676 | fs/isofs/inode.c | offset = 0; |
offset | 683 | fs/isofs/inode.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 684 | fs/isofs/inode.c | inode_number = (block << bufbits)+(offset & (bufsize - 1)); |
offset | 693 | fs/isofs/inode.c | offset = 0; |
offset | 709 | fs/isofs/inode.c | old_offset = offset; |
offset | 710 | fs/isofs/inode.c | offset += *((unsigned char *) de); |
offset | 712 | fs/isofs/inode.c | if (offset >= bufsize) |
offset | 721 | fs/isofs/inode.c | offset -= bufsize; |
offset | 729 | fs/isofs/inode.c | memcpy((char *)cpnt+frag1, bh->b_data, offset); |
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 | 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 | 47 | fs/isofs/rock.c | cont_offset = isonum_733(rr->u.CE.offset); \ |
offset | 59 | fs/isofs/rock.c | int block, offset, offset1; \ |
offset | 64 | fs/isofs/rock.c | offset = cont_offset; \ |
offset | 68 | fs/isofs/rock.c | if (offset >= 1024) block++; \ |
offset | 69 | fs/isofs/rock.c | offset &= 1023; \ |
offset | 70 | fs/isofs/rock.c | if(offset + cont_size >= 1024) { \ |
offset | 75 | fs/isofs/rock.c | memcpy(buffer, bh->b_data + offset, 1024 - offset); \ |
offset | 77 | fs/isofs/rock.c | offset1 = 1024 - offset; \ |
offset | 78 | fs/isofs/rock.c | offset = 0;} \ |
offset | 84 | fs/isofs/rock.c | memcpy(buffer + offset1, bh->b_data + offset, cont_size - offset1); \ |
offset | 438 | fs/isofs/rock.c | int frag1, offset; |
offset | 440 | fs/isofs/rock.c | offset = (inode->i_ino & (bufsize - 1)); |
offset | 441 | fs/isofs/rock.c | frag1 = bufsize - offset; |
offset | 444 | fs/isofs/rock.c | memcpy(cpnt, bh->b_data + offset, frag1); |
offset | 451 | fs/isofs/rock.c | offset += *pnt - bufsize; |
offset | 452 | fs/isofs/rock.c | memcpy((char *)cpnt+frag1, bh->b_data, offset); |
offset | 13 | fs/isofs/rock.h | char offset[8]; |
offset | 67 | fs/minix/dir.c | unsigned int offset,i,ret; |
offset | 81 | fs/minix/dir.c | offset = filp->f_pos & 1023; |
offset | 84 | fs/minix/dir.c | filp->f_pos += 1024-offset; |
offset | 87 | fs/minix/dir.c | while (!ret && offset < 1024 && filp->f_pos < inode->i_size) { |
offset | 88 | fs/minix/dir.c | de = (struct minix_dir_entry *) (offset + bh->b_data); |
offset | 89 | fs/minix/dir.c | offset += info->s_dirsize; |
offset | 73 | fs/minix/file.c | int block, blocks, offset; |
offset | 88 | fs/minix/file.c | offset = filp->f_pos; |
offset | 90 | fs/minix/file.c | if (offset > size) |
offset | 93 | fs/minix/file.c | left = size - offset; |
offset | 99 | fs/minix/file.c | block = offset >> BLOCK_SIZE_BITS; |
offset | 100 | fs/minix/file.c | offset &= BLOCK_SIZE-1; |
offset | 102 | fs/minix/file.c | blocks = (left + offset + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; |
offset | 158 | fs/minix/file.c | if (left < BLOCK_SIZE - offset) |
offset | 161 | fs/minix/file.c | chars = BLOCK_SIZE - offset; |
offset | 166 | fs/minix/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 173 | 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 | 204 | fs/minix/namei.c | if (offset < bh->b_size) |
offset | 208 | fs/minix/namei.c | offset = 0; |
offset | 380 | fs/minix/namei.c | unsigned int block, offset; |
offset | 390 | fs/minix/namei.c | offset = 2*info->s_dirsize; |
offset | 393 | fs/minix/namei.c | if (inode->i_size < offset) |
offset | 404 | fs/minix/namei.c | while (block*BLOCK_SIZE+offset < inode->i_size) { |
offset | 412 | fs/minix/namei.c | de = (struct minix_dir_entry *) (bh->b_data + offset); |
offset | 413 | fs/minix/namei.c | offset += info->s_dirsize; |
offset | 418 | fs/minix/namei.c | if (offset < bh->b_size) |
offset | 422 | fs/minix/namei.c | offset = 0; |
offset | 61 | fs/minix/truncate.c | static int trunc_indirect(struct inode * inode, int offset, unsigned short * p) |
offset | 68 | fs/minix/truncate.c | #define INDIRECT_BLOCK (DIRECT_BLOCK-offset) |
offset | 244 | fs/msdos/fat.c | int cluster,offset; |
offset | 253 | fs/msdos/fat.c | offset = sector % sb->cluster_size; |
offset | 255 | fs/msdos/fat.c | return (cluster-2)*sb->cluster_size+sb->data_start+offset; |
offset | 216 | fs/msdos/file.c | int size,offset; |
offset | 234 | fs/msdos/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
offset | 235 | fs/msdos/file.c | data = bh->b_data + offset; |
offset | 236 | fs/msdos/file.c | size = MIN(SECTOR_SIZE-offset,left_in_file); |
offset | 274 | fs/msdos/file.c | int sector,offset,size,left,written; |
offset | 303 | fs/msdos/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
offset | 304 | fs/msdos/file.c | size = MIN(SECTOR_SIZE-offset,MAX(carry,count)); |
offset | 306 | fs/msdos/file.c | && offset == 0 |
offset | 321 | fs/msdos/file.c | memcpy_fromfs(bh->b_data+offset,buf,written = size); |
offset | 325 | fs/msdos/file.c | written = left = SECTOR_SIZE-offset; |
offset | 340 | fs/msdos/inode.c | int cluster,offset; |
offset | 347 | fs/msdos/inode.c | offset = block % sb->cluster_size; |
offset | 349 | fs/msdos/inode.c | return (cluster-2)*sb->cluster_size+sb->data_start+offset; |
offset | 289 | fs/msdos/misc.c | int sector,offset; |
offset | 292 | fs/msdos/misc.c | offset = *pos; |
offset | 293 | fs/msdos/misc.c | PRINTK (("get_entry offset %d\n",offset)); |
offset | 294 | fs/msdos/misc.c | if ((sector = msdos_smap(dir,offset >> SECTOR_BITS)) == -1) |
offset | 308 | fs/msdos/misc.c | *de = (struct msdos_dir_entry *) ((*bh)->b_data+(offset & |
offset | 310 | fs/msdos/misc.c | return (sector << MSDOS_DPS_BITS)+((offset & (SECTOR_SIZE-1)) >> |
offset | 380 | fs/nfs/proc.c | int offset, int count, char *data, struct nfs_fattr *fattr, int fs) |
offset | 387 | fs/nfs/proc.c | PRINTK("NFS call read %d @ %d\n", count, offset); |
offset | 393 | fs/nfs/proc.c | *p++ = htonl(offset); |
offset | 426 | fs/nfs/proc.c | int offset, int count, char *data, struct nfs_fattr *fattr) |
offset | 432 | fs/nfs/proc.c | PRINTK("NFS call write %d @ %d\n", count, offset); |
offset | 438 | fs/nfs/proc.c | *p++ = htonl(offset); /* traditional, could be any value */ |
offset | 439 | fs/nfs/proc.c | *p++ = htonl(offset); |
offset | 119 | fs/pipe.c | static int pipe_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 157 | fs/proc/mem.c | static int mem_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 161 | fs/proc/mem.c | file->f_pos = offset; |
offset | 164 | fs/proc/mem.c | file->f_pos += offset; |
offset | 47 | fs/read_write.c | asmlinkage int sys_lseek(unsigned int fd, off_t offset, unsigned int origin) |
offset | 57 | fs/read_write.c | return file->f_op->lseek(file->f_inode,file,offset,origin); |
offset | 62 | fs/read_write.c | tmp = offset; |
offset | 65 | fs/read_write.c | tmp = file->f_pos + offset; |
offset | 70 | fs/read_write.c | tmp = file->f_inode->i_size + offset; |
offset | 89 | fs/read_write.c | loff_t offset; |
offset | 98 | fs/read_write.c | offset = (loff_t) (((unsigned long long) offset_high << 32) | offset_low); |
offset | 102 | fs/read_write.c | tmp = offset; |
offset | 105 | fs/read_write.c | tmp = file->f_pos + offset; |
offset | 110 | fs/read_write.c | tmp = file->f_inode->i_size + offset; |
offset | 75 | fs/sysv/dir.c | unsigned int offset,i; |
offset | 86 | fs/sysv/dir.c | offset = filp->f_pos & sb->sv_block_size_1; |
offset | 89 | fs/sysv/dir.c | filp->f_pos += sb->sv_block_size - offset; |
offset | 93 | fs/sysv/dir.c | while (offset < sb->sv_block_size && filp->f_pos < inode->i_size) { |
offset | 94 | fs/sysv/dir.c | de = (struct sysv_dir_entry *) (offset + bh_data); |
offset | 95 | fs/sysv/dir.c | offset += SYSV_DIRSIZE; |
offset | 81 | fs/sysv/file.c | int blocks, offset; |
offset | 96 | fs/sysv/file.c | offset = filp->f_pos; |
offset | 98 | fs/sysv/file.c | if (offset > size) |
offset | 101 | fs/sysv/file.c | left = size - offset; |
offset | 107 | fs/sysv/file.c | block = offset >> sb->sv_block_size_bits; |
offset | 108 | fs/sysv/file.c | offset &= sb->sv_block_size_1; |
offset | 110 | fs/sysv/file.c | blocks = (left + offset + sb->sv_block_size_1) >> sb->sv_block_size_bits; |
offset | 166 | fs/sysv/file.c | if (left < sb->sv_block_size - offset) |
offset | 169 | fs/sysv/file.c | chars = sb->sv_block_size - offset; |
offset | 174 | fs/sysv/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 181 | fs/sysv/file.c | offset = 0; |
offset | 48 | fs/sysv/ialloc.c | unsigned int offset = offsetof(struct xenix_super_block, s_inode[i]); |
offset | 49 | fs/sysv/ialloc.c | if (offset < 512) |
offset | 50 | fs/sysv/ialloc.c | return (sysv_ino_t*)(sb->sv_sbd1 + offset); |
offset | 52 | fs/sysv/ialloc.c | return (sysv_ino_t*)(sb->sv_sbd2 + offset); |
offset | 68 | fs/sysv/namei.c | unsigned long pos, block, offset; /* pos = block * block_size + offset */ |
offset | 81 | fs/sysv/namei.c | pos = block = offset = 0; |
offset | 92 | fs/sysv/namei.c | *res_dir = (struct sysv_dir_entry *) (bh->b_data + offset) )) |
offset | 95 | fs/sysv/namei.c | offset += SYSV_DIRSIZE; |
offset | 96 | fs/sysv/namei.c | if (offset < sb->sv_block_size) |
offset | 100 | fs/sysv/namei.c | offset = 0; block++; |
offset | 152 | fs/sysv/namei.c | unsigned long pos, block, offset; /* pos = block * block_size + offset */ |
offset | 169 | fs/sysv/namei.c | pos = block = offset = 0; |
offset | 176 | fs/sysv/namei.c | de = (struct sysv_dir_entry *) (bh->b_data + offset); |
offset | 178 | fs/sysv/namei.c | offset += SYSV_DIRSIZE; |
offset | 198 | fs/sysv/namei.c | if (offset < sb->sv_block_size) |
offset | 202 | fs/sysv/namei.c | offset = 0; block++; |
offset | 372 | fs/sysv/namei.c | unsigned long pos, block, offset; /* pos = block * block_size + offset */ |
offset | 380 | fs/sysv/namei.c | pos = offset = 2*SYSV_DIRSIZE; |
offset | 404 | fs/sysv/namei.c | de = (struct sysv_dir_entry *) (bh->b_data + offset); |
offset | 406 | fs/sysv/namei.c | offset += SYSV_DIRSIZE; |
offset | 411 | fs/sysv/namei.c | if (offset < sb->sv_block_size) |
offset | 415 | fs/sysv/namei.c | offset = 0; block++; |
offset | 78 | fs/sysv/truncate.c | static int trunc_indirect(struct inode * inode, unsigned long offset, unsigned long * p, int convert, unsigned char * dirt) |
offset | 106 | fs/sysv/truncate.c | if (inode->i_size < offset) |
offset | 109 | fs/sysv/truncate.c | i = (inode->i_size - offset + sb->sv_block_size_1) >> sb->sv_block_size_bits; |
offset | 118 | fs/sysv/truncate.c | if ((i << sb->sv_block_size_bits) + offset < inode->i_size) { |
offset | 147 | fs/sysv/truncate.c | static int trunc_dindirect(struct inode * inode, unsigned long offset, unsigned long * p, int convert, unsigned char * dirt) |
offset | 173 | fs/sysv/truncate.c | if (inode->i_size < offset) |
offset | 176 | fs/sysv/truncate.c | i = (inode->i_size - offset + sb->sv_ind_per_block_block_size_1) >> sb->sv_ind_per_block_block_size_bits; |
offset | 184 | fs/sysv/truncate.c | retry |= trunc_indirect(inode,offset+(i<<sb->sv_ind_per_block_bits),ind,sb->sv_convert,&indbh->b_dirt); |
offset | 201 | fs/sysv/truncate.c | static int trunc_tindirect(struct inode * inode, unsigned long offset, unsigned long * p, int convert, unsigned char * dirt) |
offset | 227 | fs/sysv/truncate.c | if (inode->i_size < offset) |
offset | 230 | fs/sysv/truncate.c | i = (inode->i_size - offset + sb->sv_ind_per_block_2_block_size_1) >> sb->sv_ind_per_block_2_block_size_bits; |
offset | 238 | fs/sysv/truncate.c | retry |= trunc_dindirect(inode,offset+(i<<sb->sv_ind_per_block_2_bits),ind,sb->sv_convert,&indbh->b_dirt); |
offset | 221 | fs/xiafs/bitmap.c | unsigned int bit, offset; |
offset | 240 | fs/xiafs/bitmap.c | offset = bit & (XIAFS_BITS_PER_Z(sb) -1); |
offset | 241 | fs/xiafs/bitmap.c | if (!clear_bit(offset, bh->b_data)) |
offset | 75 | fs/xiafs/dir.c | u_int offset, i,ret; |
offset | 85 | fs/xiafs/dir.c | offset = filp->f_pos & (XIAFS_ZSIZE(inode->i_sb) - 1); |
offset | 88 | fs/xiafs/dir.c | filp->f_pos += XIAFS_ZSIZE(inode->i_sb)-offset; |
offset | 91 | fs/xiafs/dir.c | for (i = 0; i < XIAFS_ZSIZE(inode->i_sb) && i < offset; ) { |
offset | 97 | fs/xiafs/dir.c | offset = i; |
offset | 98 | fs/xiafs/dir.c | de = (struct xiafs_direct *) (offset + bh->b_data); |
offset | 100 | fs/xiafs/dir.c | while (!ret && offset < XIAFS_ZSIZE(inode->i_sb) && filp->f_pos < inode->i_size) { |
offset | 111 | fs/xiafs/dir.c | offset += de->d_rec_len; |
offset | 126 | fs/xiafs/dir.c | de = (struct xiafs_direct *) (offset + bh->b_data); |
offset | 129 | fs/xiafs/dir.c | if (offset > XIAFS_ZSIZE(inode->i_sb)) { |
offset | 77 | fs/xiafs/file.c | int zone_nr, zones, f_zones, offset; |
offset | 91 | fs/xiafs/file.c | offset = filp->f_pos; |
offset | 92 | fs/xiafs/file.c | left = inode->i_size - offset; |
offset | 98 | fs/xiafs/file.c | zone_nr = offset >> XIAFS_ZSIZE_BITS(inode->i_sb); |
offset | 99 | fs/xiafs/file.c | offset &= XIAFS_ZSIZE(inode->i_sb) -1 ; |
offset | 101 | fs/xiafs/file.c | zones = (left+offset+XIAFS_ZSIZE(inode->i_sb)-1) >> XIAFS_ZSIZE_BITS(inode->i_sb); |
offset | 156 | fs/xiafs/file.c | if (left < XIAFS_ZSIZE(inode->i_sb) - offset) |
offset | 159 | fs/xiafs/file.c | chars = XIAFS_ZSIZE(inode->i_sb) - offset; |
offset | 164 | fs/xiafs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 171 | fs/xiafs/file.c | offset = 0; |
offset | 161 | fs/xiafs/namei.c | int i, pos, offset; |
offset | 186 | fs/xiafs/namei.c | offset = 12; |
offset | 189 | fs/xiafs/namei.c | offset = 0; |
offset | 190 | fs/xiafs/namei.c | while (offset < XIAFS_ZSIZE(dir->i_sb)) { |
offset | 234 | fs/xiafs/namei.c | offset+=de->d_rec_len; |
offset | 236 | fs/xiafs/namei.c | de=(struct xiafs_direct *)(bh->b_data+offset); |
offset | 239 | fs/xiafs/namei.c | if (offset > XIAFS_ZSIZE(dir->i_sb)) { |
offset | 411 | fs/xiafs/namei.c | int i, zones, offset; |
offset | 441 | fs/xiafs/namei.c | offset=de->d_rec_len+12; |
offset | 444 | fs/xiafs/namei.c | offset = 0; |
offset | 447 | fs/xiafs/namei.c | while (offset < XIAFS_ZSIZE(inode->i_sb)) { |
offset | 448 | fs/xiafs/namei.c | de=(struct xiafs_direct *)(bh->b_data+offset); |
offset | 462 | fs/xiafs/namei.c | offset+=de->d_rec_len; |
offset | 117 | include/asm-alpha/bitops.h | extern inline unsigned long find_next_zero_bit(void * addr, unsigned long size, unsigned long offset) |
offset | 119 | include/asm-alpha/bitops.h | unsigned long * p = ((unsigned long *) addr) + (offset >> 6); |
offset | 120 | include/asm-alpha/bitops.h | unsigned long result = offset & ~63UL; |
offset | 123 | include/asm-alpha/bitops.h | if (offset >= size) |
offset | 126 | include/asm-alpha/bitops.h | offset &= 63UL; |
offset | 127 | include/asm-alpha/bitops.h | if (offset) { |
offset | 129 | include/asm-alpha/bitops.h | tmp |= ~0UL >> (64-offset); |
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 | 87 | include/asm-m68k/bitops.h | int offset) |
offset | 90 | include/asm-m68k/bitops.h | unsigned long *p = addr + (offset >> 5); |
offset | 91 | include/asm-m68k/bitops.h | int set = 0, bit = offset & 31, res; |
offset | 99 | include/asm-m68k/bitops.h | return set + offset; |
offset | 105 | include/asm-m68k/bitops.h | return (offset + set + res); |
offset | 183 | include/asm-mips/bitops.h | extern __inline__ int find_next_zero_bit (void * addr, int size, int offset) |
offset | 185 | include/asm-mips/bitops.h | unsigned long * p = ((unsigned long *) addr) + (offset >> 5); |
offset | 186 | include/asm-mips/bitops.h | int set = 0, bit = offset & 31, res; |
offset | 207 | include/asm-mips/bitops.h | return set + offset; |
offset | 215 | include/asm-mips/bitops.h | return (offset + set + res); |
offset | 199 | include/asm-mips/processor.h | asmlinkage void resume(struct task_struct *tsk, int offset); |
offset | 126 | include/asm-sparc/bitops.h | extern __inline__ unsigned long find_next_zero_bit(void *addr, unsigned long size, unsigned long offset) |
offset | 128 | include/asm-sparc/bitops.h | unsigned long *p = ((unsigned long *) addr) + (offset >> 6); |
offset | 129 | include/asm-sparc/bitops.h | unsigned long result = offset & ~31UL; |
offset | 132 | include/asm-sparc/bitops.h | if (offset >= size) |
offset | 135 | include/asm-sparc/bitops.h | offset &= 31UL; |
offset | 136 | include/asm-sparc/bitops.h | if (offset) |
offset | 139 | include/asm-sparc/bitops.h | tmp |= ~0UL >> (32-offset); |
offset | 42 | include/linux/binfmts.h | extern int read_exec(struct inode *inode, unsigned long offset, |
offset | 120 | include/linux/mm.h | unsigned long offset; |
offset | 212 | 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 | 282 | 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 | 597 | ipc/shm.c | static pte_t shm_swap_in(struct vm_area_struct * shmd, unsigned long offset, unsigned long code) |
offset | 619 | ipc/shm.c | if (idx != (offset >> PAGE_SHIFT)) { |
offset | 621 | ipc/shm.c | idx, offset >> PAGE_SHIFT); |
offset | 190 | kernel/time.c | unsigned long offset = 0; |
offset | 201 | kernel/time.c | offset = TICK_SIZE; |
offset | 205 | kernel/time.c | return offset + count; |
offset | 366 | kernel/time.c | if (txc.offset <= -(1 << (31 - SHIFT_UPDATE)) |
offset | 367 | kernel/time.c | || txc.offset >= (1 << (31 - SHIFT_UPDATE))) |
offset | 409 | kernel/time.c | time_adjust = txc.offset; |
offset | 413 | kernel/time.c | time_offset = txc.offset << SHIFT_UPDATE; |
offset | 419 | kernel/time.c | if (txc.offset < 0) |
offset | 420 | kernel/time.c | time_freq -= (-txc.offset * mtemp) >> |
offset | 423 | kernel/time.c | time_freq += (txc.offset * mtemp) >> |
offset | 437 | kernel/time.c | txc.offset = save_adjust; |
offset | 66 | mm/filemap.c | unsigned long offset, |
offset | 71 | mm/filemap.c | printk("msync: %ld: [%08lx]\n", offset, page); |
offset | 108 | mm/filemap.c | struct vm_area_struct *vma, unsigned long offset, unsigned int flags) |
offset | 121 | mm/filemap.c | offset += address & PMD_MASK; |
offset | 127 | mm/filemap.c | filemap_sync_pte(pte, vma, address + offset, flags); |
offset | 138 | mm/filemap.c | unsigned long offset, end; |
offset | 148 | mm/filemap.c | offset = address & PMD_MASK; |
offset | 154 | mm/filemap.c | filemap_sync_pte_range(pmd, address, end - address, vma, offset, flags); |
offset | 200 | mm/filemap.c | unsigned long offset, |
offset | 495 | mm/memory.c | unsigned long offset, pgprot_t prot) |
offset | 506 | mm/memory.c | if (offset >= high_memory || (mem_map[MAP_NR(offset)] & MAP_PAGE_RESERVED)) |
offset | 507 | mm/memory.c | *pte = mk_pte(offset, prot); |
offset | 508 | mm/memory.c | else if (mem_map[MAP_NR(offset)]) { |
offset | 509 | mm/memory.c | mem_map[MAP_NR(offset)]++; |
offset | 510 | mm/memory.c | *pte = mk_pte(offset, prot); |
offset | 514 | mm/memory.c | offset += PAGE_SIZE; |
offset | 520 | mm/memory.c | unsigned long offset, pgprot_t prot) |
offset | 528 | mm/memory.c | offset -= address; |
offset | 533 | mm/memory.c | remap_pte_range(pte, address, end - address, address + offset, prot); |
offset | 540 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long offset, unsigned long size, pgprot_t prot) |
offset | 546 | mm/memory.c | offset -= from; |
offset | 553 | mm/memory.c | error = remap_pmd_range(pmd, from, end - from, offset + from, prot); |
offset | 925 | mm/memory.c | unsigned long offset; |
offset | 939 | mm/memory.c | offset = address - area->vm_start + area->vm_offset; |
offset | 952 | mm/memory.c | from_address = offset + mpnt->vm_start - mpnt->vm_offset; |
offset | 35 | mm/swap.c | #define SWP_ENTRY(type,offset) (((type) << 1) | ((offset) << 12)) |
offset | 109 | mm/swap.c | unsigned long type, offset; |
offset | 118 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 119 | mm/swap.c | if (offset >= p->max) { |
offset | 123 | mm/swap.c | if (p->swap_map && !p->swap_map[offset]) { |
offset | 131 | mm/swap.c | while (set_bit(offset,p->swap_lockmap)) |
offset | 138 | mm/swap.c | ll_rw_page(rw,p->swap_device,offset,buf); |
offset | 158 | mm/swap.c | unsigned int block = offset << 3; |
offset | 168 | mm/swap.c | unsigned int block = offset |
offset | 180 | mm/swap.c | if (offset && !clear_bit(offset,p->swap_lockmap)) |
offset | 188 | mm/swap.c | unsigned int offset, type; |
offset | 194 | mm/swap.c | for (offset = p->lowest_bit; offset <= p->highest_bit ; offset++) { |
offset | 195 | mm/swap.c | if (p->swap_map[offset]) |
offset | 197 | mm/swap.c | if (test_bit(offset, p->swap_lockmap)) |
offset | 199 | mm/swap.c | p->swap_map[offset] = 1; |
offset | 201 | mm/swap.c | if (offset == p->highest_bit) |
offset | 203 | mm/swap.c | p->lowest_bit = offset; |
offset | 204 | mm/swap.c | return SWP_ENTRY(type,offset); |
offset | 213 | mm/swap.c | unsigned long offset, type; |
offset | 217 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 226 | mm/swap.c | if (offset >= p->max) { |
offset | 230 | mm/swap.c | if (!p->swap_map[offset]) { |
offset | 234 | mm/swap.c | p->swap_map[offset]++; |
offset | 241 | mm/swap.c | unsigned long offset, type; |
offset | 253 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 254 | mm/swap.c | if (offset >= p->max) { |
offset | 262 | mm/swap.c | if (offset < p->lowest_bit) |
offset | 263 | mm/swap.c | p->lowest_bit = offset; |
offset | 264 | mm/swap.c | if (offset > p->highest_bit) |
offset | 265 | mm/swap.c | p->highest_bit = offset; |
offset | 266 | mm/swap.c | if (!p->swap_map[offset]) |
offset | 269 | mm/swap.c | if (!--p->swap_map[offset]) |
offset | 866 | mm/swap.c | unsigned long address, unsigned long size, unsigned long offset, |
offset | 880 | mm/swap.c | offset += address & PMD_MASK; |
offset | 886 | mm/swap.c | if (unuse_pte(vma, offset+address-vma->vm_start, pte, type, page)) |
offset | 899 | mm/swap.c | unsigned long offset, end; |
offset | 909 | mm/swap.c | offset = address & PGDIR_MASK; |
offset | 915 | mm/swap.c | if (unuse_pmd(vma, pmd, address, end - address, offset, type, page)) |
offset | 944 | net/inet/arp.c | int arp_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 1000 | net/inet/arp.c | if(pos<offset) |
offset | 1005 | net/inet/arp.c | if(pos>offset+length) |
offset | 1011 | net/inet/arp.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 1012 | net/inet/arp.c | len-=(offset-begin); /* Start slop */ |
offset | 163 | net/inet/datagram.c | void skb_copy_datagram(struct sk_buff *skb, int offset, char *to, int size) |
offset | 167 | net/inet/datagram.c | memcpy_tofs(to,skb->h.raw+offset,size); |
offset | 925 | net/inet/dev.c | int dev_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 948 | net/inet/dev.c | if(pos<offset) |
offset | 953 | net/inet/dev.c | if(pos>offset+length) |
offset | 957 | net/inet/dev.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 958 | net/inet/dev.c | len-=(offset-begin); /* Start slop */ |
offset | 103 | net/inet/icmp.c | int offset; |
offset | 230 | net/inet/icmp.c | offset = ip_build_header(skb, our_addr, iph->saddr, |
offset | 233 | net/inet/icmp.c | if (offset < 0) |
offset | 245 | net/inet/icmp.c | skb->len = offset + sizeof(struct icmphdr) + sizeof(struct iphdr) + 8; |
offset | 251 | net/inet/icmp.c | icmph = (struct icmphdr *) (skb->data + offset); |
offset | 415 | net/inet/icmp.c | int size, offset; |
offset | 432 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, |
offset | 434 | net/inet/icmp.c | if (offset < 0) |
offset | 447 | net/inet/icmp.c | skb2->len = offset + len; |
offset | 452 | net/inet/icmp.c | icmphr = (struct icmphdr *) (skb2->data + offset); |
offset | 481 | net/inet/icmp.c | int size, offset; |
offset | 513 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, IPPROTO_ICMP, opt, len, |
offset | 515 | net/inet/icmp.c | if (offset < 0) |
offset | 527 | net/inet/icmp.c | skb2->len = offset + 20; |
offset | 533 | net/inet/icmp.c | icmphr = (struct icmphdr *) ((char *) (skb2 + 1) + offset); |
offset | 583 | net/inet/icmp.c | int size, offset; |
offset | 603 | net/inet/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, |
offset | 605 | net/inet/icmp.c | if (offset < 0) |
offset | 618 | net/inet/icmp.c | skb2->len = offset + len; |
offset | 624 | net/inet/icmp.c | icmphr = (struct icmphdr *) (skb2->data + offset); |
offset | 572 | net/inet/ip.c | static struct ipfrag *ip_frag_create(int offset, int end, struct sk_buff *skb, unsigned char *ptr) |
offset | 585 | net/inet/ip.c | fp->offset = offset; |
offset | 587 | net/inet/ip.c | fp->len = end - offset; |
offset | 792 | net/inet/ip.c | int offset; |
offset | 800 | net/inet/ip.c | offset = 0; |
offset | 803 | net/inet/ip.c | if (fp->offset > offset) |
offset | 805 | net/inet/ip.c | offset = fp->end; |
offset | 872 | net/inet/ip.c | memcpy((ptr + fp->offset), fp->ptr, fp->len); |
offset | 902 | net/inet/ip.c | int flags, offset; |
offset | 911 | net/inet/ip.c | offset = ntohs(iph->frag_off); |
offset | 912 | net/inet/ip.c | flags = offset & ~IP_OFFSET; |
offset | 913 | net/inet/ip.c | offset &= IP_OFFSET; |
offset | 914 | net/inet/ip.c | if (((flags & IP_MF) == 0) && (offset == 0)) |
offset | 921 | net/inet/ip.c | offset <<= 3; /* offset is in 8-byte chunks */ |
offset | 956 | net/inet/ip.c | end = offset + ntohs(iph->tot_len) - ihl; |
offset | 980 | net/inet/ip.c | if (next->offset > offset) |
offset | 990 | net/inet/ip.c | if (prev != NULL && offset < prev->end) |
offset | 992 | net/inet/ip.c | i = prev->end - offset; |
offset | 993 | net/inet/ip.c | offset += i; /* ptr into datagram */ |
offset | 1005 | net/inet/ip.c | if (next->offset >= end) |
offset | 1008 | net/inet/ip.c | i = end - next->offset; /* overlap is 'i' bytes */ |
offset | 1010 | net/inet/ip.c | next->offset += i; /* next fragment */ |
offset | 1037 | net/inet/ip.c | tfp = ip_frag_create(offset, end, skb, ptr); |
offset | 1094 | net/inet/ip.c | int offset; |
offset | 1154 | net/inet/ip.c | offset = (ntohs(iph->frag_off) & 0x1fff) << 3; |
offset | 1156 | net/inet/ip.c | offset = 0; |
offset | 1230 | net/inet/ip.c | iph->frag_off = htons((offset >> 3)); |
offset | 1238 | net/inet/ip.c | offset += len; |
offset | 1999 | net/inet/ip.c | int ip_mc_procinfo(char *buffer, char **start, off_t offset, int length) |
offset | 2024 | net/inet/ip.c | if(pos<offset) |
offset | 2029 | net/inet/ip.c | if(pos>offset+length) |
offset | 2035 | net/inet/ip.c | *start=buffer+(offset-begin); |
offset | 2036 | net/inet/ip.c | len-=(offset-begin); |
offset | 50 | net/inet/ip.h | int offset; /* offset of fragment in IP datagram */ |
offset | 920 | net/inet/ip_fw.c | off_t offset, int length, int reset) |
offset | 971 | net/inet/ip_fw.c | if(pos<offset) |
offset | 982 | net/inet/ip_fw.c | if(pos>offset+length) |
offset | 987 | net/inet/ip_fw.c | *start=buffer+(offset-begin); |
offset | 988 | net/inet/ip_fw.c | len-=(offset-begin); |
offset | 997 | net/inet/ip_fw.c | int ip_acct_procinfo(char *buffer, char **start, off_t offset, int length, int reset) |
offset | 999 | net/inet/ip_fw.c | return ip_chain_procinfo(IP_INFO_ACCT, buffer,start,offset,length,reset); |
offset | 1006 | net/inet/ip_fw.c | int ip_fw_blk_procinfo(char *buffer, char **start, off_t offset, int length, int reset) |
offset | 1008 | net/inet/ip_fw.c | return ip_chain_procinfo(IP_INFO_BLK, buffer,start,offset,length,reset); |
offset | 1011 | net/inet/ip_fw.c | int ip_fw_fwd_procinfo(char *buffer, char **start, off_t offset, int length, int reset) |
offset | 1013 | net/inet/ip_fw.c | return ip_chain_procinfo(IP_INFO_FWD, buffer,start,offset,length,reset); |
offset | 1116 | net/inet/ipx.c | ipx_get_interface_info(char *buffer, char **start, off_t offset, int length) |
offset | 1141 | net/inet/ipx.c | if(pos<offset) { |
offset | 1145 | net/inet/ipx.c | if(pos>offset+length) /* We have dumped enough */ |
offset | 1150 | net/inet/ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 1151 | net/inet/ipx.c | len-=(offset-begin); /* Remove unwanted header data from length */ |
offset | 1159 | net/inet/ipx.c | ipx_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 1196 | net/inet/ipx.c | if(pos<offset) |
offset | 1201 | net/inet/ipx.c | if(pos>offset+length) /* We have dumped enough */ |
offset | 1207 | net/inet/ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 1208 | net/inet/ipx.c | len-=(offset-begin); /* Remove unwanted header data from length */ |
offset | 1215 | net/inet/ipx.c | int ipx_rt_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 1238 | net/inet/ipx.c | if(pos<offset) |
offset | 1243 | net/inet/ipx.c | if(pos>offset+length) |
offset | 1246 | net/inet/ipx.c | *start=buffer+(offset-begin); |
offset | 1247 | 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 | 109 | net/inet/proc.c | if(pos<offset) |
offset | 114 | net/inet/proc.c | if(pos>offset+length) |
offset | 119 | net/inet/proc.c | if(pos>offset+length) |
offset | 122 | net/inet/proc.c | *start=buffer+(offset-begin); |
offset | 123 | net/inet/proc.c | len-=(offset-begin); |
offset | 130 | net/inet/proc.c | int tcp_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 132 | net/inet/proc.c | return get__netinfo(&tcp_prot, buffer,0, start, offset, length); |
offset | 136 | net/inet/proc.c | int udp_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 138 | net/inet/proc.c | return get__netinfo(&udp_prot, buffer,1, start, offset, length); |
offset | 142 | net/inet/proc.c | int raw_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 144 | net/inet/proc.c | return get__netinfo(&raw_prot, buffer,1, start, offset, length); |
offset | 151 | net/inet/proc.c | int afinet_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 157 | net/inet/proc.c | int len = socket_get_info(buffer,start,offset,length); |
offset | 168 | net/inet/proc.c | *start = buffer + offset; |
offset | 169 | net/inet/proc.c | len -= offset; |
offset | 180 | net/inet/proc.c | int snmp_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 240 | net/inet/proc.c | if (offset >= len) |
offset | 245 | net/inet/proc.c | *start = buffer + offset; |
offset | 246 | net/inet/proc.c | len -= offset; |
offset | 427 | net/inet/rarp.c | int rarp_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 473 | net/inet/rarp.c | if(pos<offset) |
offset | 478 | net/inet/rarp.c | if(pos>offset+length) |
offset | 484 | net/inet/rarp.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 485 | net/inet/rarp.c | len-=(offset-begin); /* Start slop */ |
offset | 11 | net/inet/rarp.h | off_t offset, |
offset | 496 | net/inet/route.c | int rt_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 520 | net/inet/route.c | if(pos<offset) |
offset | 525 | net/inet/route.c | if(pos>offset+length) |
offset | 529 | net/inet/route.c | *start=buffer+(offset-begin); |
offset | 530 | 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 | 496 | net/inet/skbuff.c | unsigned long offset; |
offset | 502 | net/inet/skbuff.c | offset=((char *)n)-((char *)skb); |
offset | 510 | net/inet/skbuff.c | n->h.raw=skb->h.raw+offset; |
offset | 511 | net/inet/skbuff.c | n->ip_hdr=(struct iphdr *)(((char *)skb->ip_hdr)+offset); |
offset | 2054 | net/inet/tcp.c | unsigned long offset; |
offset | 2076 | net/inet/tcp.c | offset = *seq - skb->h.th->seq; |
offset | 2078 | net/inet/tcp.c | offset--; |
offset | 2079 | net/inet/tcp.c | if (offset < skb->len) |
offset | 2150 | net/inet/tcp.c | used = skb->len - offset; |
offset | 2167 | net/inet/tcp.c | offset++; |
offset | 2190 | net/inet/tcp.c | skb->h.th->doff*4 + offset, used); |
offset | 2205 | net/inet/tcp.c | if (used + offset < skb->len) |
offset | 68 | net/socket.c | static int sock_lseek(struct inode *inode, struct file *file, off_t offset, |
offset | 308 | net/socket.c | static int sock_lseek(struct inode *inode, struct file *file, off_t offset, int whence) |
offset | 1380 | net/socket.c | int socket_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 1383 | net/socket.c | if (offset >= len) |
offset | 1388 | net/socket.c | *start = buffer + offset; |
offset | 1389 | net/socket.c | len -= offset; |
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); |