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 | 54 | arch/i386/kernel/ptrace.c | static inline int get_stack_long(struct task_struct *task, int offset) |
offset | 59 | arch/i386/kernel/ptrace.c | stack += offset; |
offset | 69 | arch/i386/kernel/ptrace.c | static inline int put_stack_long(struct task_struct *task, int offset, |
offset | 75 | 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 | 175 | drivers/char/console.c | static void set_scrmem(int currcons, long offset); |
offset | 641 | drivers/char/console.c | static inline void __set_origin(unsigned short offset) |
offset | 648 | drivers/char/console.c | __origin = offset; |
offset | 650 | drivers/char/console.c | outb_p(offset >> 8, video_port_val); |
offset | 652 | drivers/char/console.c | outb_p(offset, video_port_val); |
offset | 2056 | drivers/char/console.c | static void set_scrmem(int currcons, long offset) |
offset | 2089 | drivers/char/console.c | if (video_mem_term - video_mem_base < offset + video_screen_size) |
offset | 2090 | drivers/char/console.c | offset = 0; /* strange ... */ |
offset | 2091 | drivers/char/console.c | memcpyw((unsigned short *)(video_mem_base + offset), |
offset | 2095 | drivers/char/console.c | origin = video_mem_base + offset; |
offset | 2130 | drivers/char/console.c | long offset; |
offset | 2146 | drivers/char/console.c | offset = 0; |
offset | 2152 | drivers/char/console.c | offset = (blank_origin - video_mem_base) |
offset | 2157 | 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 | 195 | drivers/char/mem.c | static int null_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 207 | drivers/char/mem.c | static int memory_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 211 | drivers/char/mem.c | file->f_pos = offset; |
offset | 214 | drivers/char/mem.c | file->f_pos += offset; |
offset | 232 | drivers/char/serial.c | static inline unsigned int serial_in(struct async_struct *info, int offset) |
offset | 236 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 240 | drivers/char/serial.c | return inb(info->port + offset); |
offset | 243 | drivers/char/serial.c | static inline unsigned int serial_inp(struct async_struct *info, int offset) |
offset | 247 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 252 | drivers/char/serial.c | return inb(info->port + offset); |
offset | 254 | drivers/char/serial.c | return inb_p(info->port + offset); |
offset | 258 | drivers/char/serial.c | static inline void serial_out(struct async_struct *info, int offset, int value) |
offset | 262 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 266 | drivers/char/serial.c | outb(value, info->port+offset); |
offset | 269 | drivers/char/serial.c | static inline void serial_outp(struct async_struct *info, int offset, |
offset | 274 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 279 | drivers/char/serial.c | outb(value, info->port+offset); |
offset | 281 | 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 | 311 | drivers/char/tty_io.c | static int tty_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 950 | drivers/net/arcnet.c | int offset; |
offset | 989 | drivers/net/arcnet.c | arcpacket->hardheader.offset1=offset=256-length |
offset | 992 | drivers/net/arcnet.c | (&arcpacket->raw[offset-EXTRA_CLIENTDATA]); |
offset | 999 | drivers/net/arcnet.c | arcpacket->hardheader.offset2=offset=512-length |
offset | 1002 | drivers/net/arcnet.c | (&arcpacket->raw[offset-EXTRA_CLIENTDATA]); |
offset | 1009 | drivers/net/arcnet.c | arcpacket->hardheader.offset2=offset=512-length-4 |
offset | 1012 | drivers/net/arcnet.c | (&arcpacket->raw[offset+4-EXTRA_CLIENTDATA]); |
offset | 1018 | drivers/net/arcnet.c | arcpacket->raw[offset+0]=arcsoft->protocol_id; |
offset | 1019 | drivers/net/arcnet.c | arcpacket->raw[offset+1]=0xFF; /* FF flag */ |
offset | 1020 | drivers/net/arcnet.c | arcpacket->raw[offset+2]=0xFF; /* FF padding */ |
offset | 1021 | drivers/net/arcnet.c | arcpacket->raw[offset+3]=0xFF; /* FF padding */ |
offset | 1204 | drivers/net/arcnet.c | short length,offset; |
offset | 1223 | drivers/net/arcnet.c | offset=arcpacket->hardheader.offset1; |
offset | 1225 | drivers/net/arcnet.c | (&arcpacket->raw[offset-EXTRA_CLIENTDATA]); |
offset | 1226 | drivers/net/arcnet.c | length=256-offset+EXTRA_CLIENTDATA; |
offset | 1231 | drivers/net/arcnet.c | offset=arcpacket->hardheader.offset2; |
offset | 1233 | drivers/net/arcnet.c | (&arcpacket->raw[offset-EXTRA_CLIENTDATA]); |
offset | 1237 | drivers/net/arcnet.c | length=512-offset+EXTRA_CLIENTDATA; |
offset | 1245 | 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 | 660 | drivers/net/de4x5.c | int offset, status = 0; |
offset | 674 | drivers/net/de4x5.c | offset = IMPERF_PA_OFFSET; |
offset | 701 | drivers/net/de4x5.c | for (pa=lp->setup_frame+offset, j=0; j<ETH_ALEN; j++) { |
offset | 1709 | drivers/net/de4x5.c | int offset; |
offset | 1719 | drivers/net/de4x5.c | offset = IMPERF_PA_OFFSET; |
offset | 1721 | drivers/net/de4x5.c | offset = PERF_PA_OFFSET; |
offset | 1724 | drivers/net/de4x5.c | for (pa=lp->setup_frame+offset, i=0; i<ETH_ALEN; i++) { |
offset | 414 | drivers/net/depca.c | unsigned int nicsr, offset, netRAM; |
offset | 501 | drivers/net/depca.c | offset = 0x8000; /* 32kbyte RAM offset*/ |
offset | 505 | drivers/net/depca.c | offset = 0x0000; |
offset | 508 | drivers/net/depca.c | offset = 0x0000; /* 64k/48k bytes RAM */ |
offset | 512 | drivers/net/depca.c | mem_start += offset; /* (E)ISA start address */ |
offset | 532 | drivers/net/depca.c | j = (((netRAM << 10) - offset - sizeof(struct depca_private)) / |
offset | 154 | drivers/net/ne.c | struct {unsigned char value, offset; } program_seq[] = { |
offset | 170 | drivers/net/ne.c | outb_p(program_seq[i].value, ioaddr + program_seq[i].offset); |
offset | 1935 | drivers/net/wavelan.c | wavelan_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 1966 | drivers/net/wavelan.c | if (pos < offset) |
offset | 1972 | drivers/net/wavelan.c | if (pos > offset + length) |
offset | 1980 | drivers/net/wavelan.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
offset | 1981 | drivers/net/wavelan.c | len -= (offset - begin); /* Start slop */ |
offset | 1296 | drivers/scsi/53c7,8xx.h | #define patch_abs_32(script, offset, symbol, value) \ |
offset | 1299 | drivers/scsi/53c7,8xx.h | (script)[A_##symbol##_used[i] - (offset)] += (value); \ |
offset | 1303 | drivers/scsi/53c7,8xx.h | (offset), #script, (script)[A_##symbol##_used[i] - \ |
offset | 1304 | drivers/scsi/53c7,8xx.h | (offset)]); \ |
offset | 1307 | drivers/scsi/53c7,8xx.h | #define patch_abs_rwri_data(script, offset, symbol, value) \ |
offset | 1310 | drivers/scsi/53c7,8xx.h | (script)[A_##symbol##_used[i] - (offset)] = \ |
offset | 1311 | 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 | 326 | 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 | 271 | drivers/scsi/st.c | int offset, transfer, blks; |
offset | 295 | drivers/scsi/st.c | offset = (STp->buffer)->buffer_bytes; |
offset | 296 | drivers/scsi/st.c | transfer = ((offset + STp->block_size - 1) / |
offset | 302 | 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 | 76 | fs/ext2/dir.c | unsigned long offset) |
offset | 95 | fs/ext2/dir.c | error_msg, offset, de->inode, de->rec_len, |
offset | 103 | fs/ext2/dir.c | unsigned long offset, blk; |
offset | 116 | fs/ext2/dir.c | offset = filp->f_pos & (sb->s_blocksize - 1); |
offset | 122 | fs/ext2/dir.c | filp->f_pos += sb->s_blocksize - offset; |
offset | 129 | fs/ext2/dir.c | if (!offset) { |
offset | 151 | fs/ext2/dir.c | for (i = 0; i < sb->s_blocksize && i < offset; ) { |
offset | 164 | fs/ext2/dir.c | offset = i; |
offset | 166 | fs/ext2/dir.c | | offset; |
offset | 171 | fs/ext2/dir.c | && offset < sb->s_blocksize) { |
offset | 172 | fs/ext2/dir.c | de = (struct ext2_dir_entry *) (bh->b_data + offset); |
offset | 174 | fs/ext2/dir.c | bh, offset)) { |
offset | 216 | fs/ext2/dir.c | offset += de->rec_len; |
offset | 219 | fs/ext2/dir.c | offset = 0; |
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 | 327 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 550 | fs/ext2/namei.c | unsigned long offset; |
offset | 571 | fs/ext2/namei.c | offset = de->rec_len + de1->rec_len; |
offset | 573 | fs/ext2/namei.c | while (offset < inode->i_size ) { |
offset | 576 | fs/ext2/namei.c | bh = ext2_bread (inode, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, &err); |
offset | 578 | fs/ext2/namei.c | offset += sb->s_blocksize; |
offset | 584 | fs/ext2/namei.c | offset)) { |
offset | 592 | 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 | 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 | 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 | 432 | fs/isofs/inode.c | int frag1, offset; |
offset | 434 | fs/isofs/inode.c | offset = (inode->i_ino & (bufsize - 1)); |
offset | 435 | fs/isofs/inode.c | frag1 = bufsize - offset; |
offset | 442 | fs/isofs/inode.c | memcpy(cpnt, bh->b_data + offset, frag1); |
offset | 449 | fs/isofs/inode.c | offset += *pnt - bufsize; |
offset | 450 | fs/isofs/inode.c | memcpy((char *)cpnt+frag1, bh->b_data, offset); |
offset | 622 | fs/isofs/inode.c | unsigned int block,offset; |
offset | 631 | fs/isofs/inode.c | offset = 0; |
offset | 636 | fs/isofs/inode.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 643 | fs/isofs/inode.c | offset += *((unsigned char *) de); |
offset | 645 | fs/isofs/inode.c | if (offset >= bufsize) |
offset | 668 | fs/isofs/inode.c | offset = 0; |
offset | 675 | fs/isofs/inode.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 676 | fs/isofs/inode.c | inode_number = (block << bufbits)+(offset & (bufsize - 1)); |
offset | 685 | fs/isofs/inode.c | offset = 0; |
offset | 701 | fs/isofs/inode.c | old_offset = offset; |
offset | 702 | fs/isofs/inode.c | offset += *((unsigned char *) de); |
offset | 704 | fs/isofs/inode.c | if (offset >= bufsize) |
offset | 713 | fs/isofs/inode.c | offset -= bufsize; |
offset | 721 | 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 | 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 | 127 | fs/isofs/namei.c | offset = f_pos & (bufsize - 1); |
offset | 133 | 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 | 427 | fs/isofs/rock.c | int frag1, offset; |
offset | 429 | fs/isofs/rock.c | offset = (inode->i_ino & (bufsize - 1)); |
offset | 430 | fs/isofs/rock.c | frag1 = bufsize - offset; |
offset | 433 | fs/isofs/rock.c | memcpy(cpnt, bh->b_data + offset, frag1); |
offset | 440 | fs/isofs/rock.c | offset += *pnt - bufsize; |
offset | 441 | 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 | 265 | fs/msdos/misc.c | int sector,offset; |
offset | 268 | fs/msdos/misc.c | offset = *pos; |
offset | 269 | fs/msdos/misc.c | PRINTK (("get_entry offset %d\n",offset)); |
offset | 270 | fs/msdos/misc.c | if ((sector = msdos_smap(dir,offset >> SECTOR_BITS)) == -1) |
offset | 284 | fs/msdos/misc.c | *de = (struct msdos_dir_entry *) ((*bh)->b_data+(offset & |
offset | 286 | 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 | 138 | fs/proc/mem.c | static int mem_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 142 | fs/proc/mem.c | file->f_pos = offset; |
offset | 145 | 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 | 633 | ipc/shm.c | static pte_t shm_swap_in(struct vm_area_struct * shmd, unsigned long offset, unsigned long code) |
offset | 655 | ipc/shm.c | if (idx != (offset >> PAGE_SHIFT)) { |
offset | 657 | ipc/shm.c | idx, offset >> PAGE_SHIFT); |
offset | 178 | kernel/time.c | unsigned long offset = 0; |
offset | 189 | kernel/time.c | offset = TICK_SIZE; |
offset | 193 | kernel/time.c | return offset + count; |
offset | 353 | kernel/time.c | if (txc.offset <= -(1 << (31 - SHIFT_UPDATE)) |
offset | 354 | kernel/time.c | || txc.offset >= (1 << (31 - SHIFT_UPDATE))) |
offset | 396 | kernel/time.c | time_adjust = txc.offset; |
offset | 400 | kernel/time.c | time_offset = txc.offset << SHIFT_UPDATE; |
offset | 406 | kernel/time.c | if (txc.offset < 0) |
offset | 407 | kernel/time.c | time_freq -= (-txc.offset * mtemp) >> |
offset | 410 | kernel/time.c | time_freq += (txc.offset * mtemp) >> |
offset | 424 | kernel/time.c | txc.offset = save_adjust; |
offset | 65 | mm/filemap.c | unsigned long offset, |
offset | 81 | mm/filemap.c | printk("msync: %ld: [%08lx]\n", offset, page); |
offset | 164 | mm/filemap.c | unsigned long offset, |
offset | 811 | mm/memory.c | unsigned long offset; |
offset | 825 | mm/memory.c | offset = address - area->vm_start + area->vm_offset; |
offset | 838 | mm/memory.c | from_address = offset + mpnt->vm_start - mpnt->vm_offset; |
offset | 24 | mm/mprotect.c | unsigned long offset; |
offset | 28 | mm/mprotect.c | offset = (start >> PAGE_SHIFT) & (PTRS_PER_PAGE-1); |
offset | 33 | mm/mprotect.c | nr = nr - PTRS_PER_PAGE + offset; |
offset | 34 | mm/mprotect.c | offset = 0; |
offset | 41 | mm/mprotect.c | nr = nr - PTRS_PER_PAGE + offset; |
offset | 42 | mm/mprotect.c | offset = 0; |
offset | 45 | mm/mprotect.c | page_table = offset + (pte_t *) pgd_page(*dir); |
offset | 46 | mm/mprotect.c | offset = PTRS_PER_PAGE - offset; |
offset | 47 | mm/mprotect.c | if (offset > nr) |
offset | 48 | mm/mprotect.c | offset = nr; |
offset | 49 | mm/mprotect.c | nr = nr - offset; |
offset | 55 | mm/mprotect.c | } while (--offset); |
offset | 34 | mm/swap.c | #define SWP_ENTRY(type,offset) (((type) << 1) | ((offset) << 12)) |
offset | 108 | mm/swap.c | unsigned long type, offset; |
offset | 117 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 118 | mm/swap.c | if (offset >= p->max) { |
offset | 122 | mm/swap.c | if (p->swap_map && !p->swap_map[offset]) { |
offset | 130 | mm/swap.c | while (set_bit(offset,p->swap_lockmap)) |
offset | 137 | mm/swap.c | ll_rw_page(rw,p->swap_device,offset,buf); |
offset | 157 | mm/swap.c | unsigned int block = offset << 3; |
offset | 167 | mm/swap.c | unsigned int block = offset |
offset | 179 | mm/swap.c | if (offset && !clear_bit(offset,p->swap_lockmap)) |
offset | 187 | mm/swap.c | unsigned int offset, type; |
offset | 193 | mm/swap.c | for (offset = p->lowest_bit; offset <= p->highest_bit ; offset++) { |
offset | 194 | mm/swap.c | if (p->swap_map[offset]) |
offset | 196 | mm/swap.c | p->swap_map[offset] = 1; |
offset | 198 | mm/swap.c | if (offset == p->highest_bit) |
offset | 200 | mm/swap.c | p->lowest_bit = offset; |
offset | 201 | mm/swap.c | return SWP_ENTRY(type,offset); |
offset | 210 | mm/swap.c | unsigned long offset, type; |
offset | 214 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 223 | mm/swap.c | if (offset >= p->max) { |
offset | 227 | mm/swap.c | if (!p->swap_map[offset]) { |
offset | 231 | mm/swap.c | p->swap_map[offset]++; |
offset | 238 | mm/swap.c | unsigned long offset, type; |
offset | 250 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 251 | mm/swap.c | if (offset >= p->max) { |
offset | 259 | mm/swap.c | while (set_bit(offset,p->swap_lockmap)) |
offset | 261 | mm/swap.c | if (offset < p->lowest_bit) |
offset | 262 | mm/swap.c | p->lowest_bit = offset; |
offset | 263 | mm/swap.c | if (offset > p->highest_bit) |
offset | 264 | mm/swap.c | p->highest_bit = offset; |
offset | 265 | mm/swap.c | if (!p->swap_map[offset]) |
offset | 268 | mm/swap.c | if (!--p->swap_map[offset]) |
offset | 270 | mm/swap.c | if (!clear_bit(offset,p->swap_lockmap)) |
offset | 313 | mm/swap.c | static inline int try_to_swap_out(struct vm_area_struct* vma, unsigned offset, pte_t * page_table) |
offset | 335 | mm/swap.c | vma->vm_ops->swapout(vma, offset, page_table); |
offset | 394 | mm/swap.c | unsigned long offset; |
offset | 413 | mm/swap.c | offset = address & ~PGDIR_MASK; |
offset | 415 | mm/swap.c | for ( ; address < TASK_SIZE ; pgdir++, address = address + PGDIR_SIZE, offset = 0) { |
offset | 428 | mm/swap.c | pg_table += offset >> PAGE_SHIFT; |
offset | 433 | mm/swap.c | for( ; offset < ~PGDIR_MASK ; pg_table++, offset += PAGE_SIZE) { |
offset | 438 | mm/swap.c | if (address+offset < vma->vm_end) |
offset | 445 | mm/swap.c | switch(try_to_swap_out(vma, offset+address-vma->vm_start, pg_table)) { |
offset | 452 | mm/swap.c | p->mm->swap_address = address + offset + PAGE_SIZE; |
offset | 931 | net/inet/arp.c | int arp_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 987 | net/inet/arp.c | if(pos<offset) |
offset | 992 | net/inet/arp.c | if(pos>offset+length) |
offset | 998 | net/inet/arp.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 999 | 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 | 919 | net/inet/dev.c | int dev_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 942 | net/inet/dev.c | if(pos<offset) |
offset | 947 | net/inet/dev.c | if(pos>offset+length) |
offset | 951 | net/inet/dev.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 952 | 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 | 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 | 1152 | net/inet/ip.c | offset = (ntohs(iph->frag_off) & 0x1fff) << 3; |
offset | 1154 | net/inet/ip.c | offset = 0; |
offset | 1228 | net/inet/ip.c | iph->frag_off = htons((offset >> 3)); |
offset | 1236 | net/inet/ip.c | offset += len; |
offset | 1983 | net/inet/ip.c | int ip_mc_procinfo(char *buffer, char **start, off_t offset, int length) |
offset | 2008 | net/inet/ip.c | if(pos<offset) |
offset | 2013 | net/inet/ip.c | if(pos>offset+length) |
offset | 2019 | net/inet/ip.c | *start=buffer+(offset-begin); |
offset | 2020 | net/inet/ip.c | len-=(offset-begin); |
offset | 50 | net/inet/ip.h | int offset; /* offset of fragment in IP datagram */ |
offset | 931 | net/inet/ip_fw.c | off_t offset, int length, int reset) |
offset | 982 | net/inet/ip_fw.c | if(pos<offset) |
offset | 993 | net/inet/ip_fw.c | if(pos>offset+length) |
offset | 998 | net/inet/ip_fw.c | *start=buffer+(offset-begin); |
offset | 999 | net/inet/ip_fw.c | len-=(offset-begin); |
offset | 1008 | net/inet/ip_fw.c | int ip_acct_procinfo(char *buffer, char **start, off_t offset, int length) |
offset | 1010 | net/inet/ip_fw.c | return ip_chain_procinfo(IP_INFO_ACCT, buffer,start,offset,length,0); |
offset | 1013 | net/inet/ip_fw.c | int ip_acct0_procinfo(char *buffer, char **start, off_t offset, int length) |
offset | 1015 | net/inet/ip_fw.c | return ip_chain_procinfo(IP_INFO_ACCT, buffer,start,offset,length,1); |
offset | 1022 | net/inet/ip_fw.c | int ip_fw_blk_procinfo(char *buffer, char **start, off_t offset, int length) |
offset | 1024 | net/inet/ip_fw.c | return ip_chain_procinfo(IP_INFO_BLK, buffer,start,offset,length,0); |
offset | 1027 | net/inet/ip_fw.c | int ip_fw_blk0_procinfo(char *buffer, char **start, off_t offset, int length) |
offset | 1029 | net/inet/ip_fw.c | return ip_chain_procinfo(IP_INFO_BLK, buffer,start,offset,length,1); |
offset | 1032 | net/inet/ip_fw.c | int ip_fw_fwd_procinfo(char *buffer, char **start, off_t offset, int length) |
offset | 1034 | net/inet/ip_fw.c | return ip_chain_procinfo(IP_INFO_FWD, buffer,start,offset,length,0); |
offset | 1037 | net/inet/ip_fw.c | int ip_fw_fwd0_procinfo(char *buffer, char **start, off_t offset, int length) |
offset | 1039 | net/inet/ip_fw.c | return ip_chain_procinfo(IP_INFO_FWD, buffer,start,offset,length,1); |
offset | 1094 | net/inet/ipx.c | ipx_get_interface_info(char *buffer, char **start, off_t offset, int length) |
offset | 1119 | net/inet/ipx.c | if(pos<offset) { |
offset | 1123 | net/inet/ipx.c | if(pos>offset+length) /* We have dumped enough */ |
offset | 1128 | net/inet/ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 1129 | net/inet/ipx.c | len-=(offset-begin); /* Remove unwanted header data from length */ |
offset | 1137 | net/inet/ipx.c | ipx_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 1174 | net/inet/ipx.c | if(pos<offset) |
offset | 1179 | net/inet/ipx.c | if(pos>offset+length) /* We have dumped enough */ |
offset | 1185 | net/inet/ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 1186 | net/inet/ipx.c | len-=(offset-begin); /* Remove unwanted header data from length */ |
offset | 1193 | net/inet/ipx.c | int ipx_rt_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 1216 | net/inet/ipx.c | if(pos<offset) |
offset | 1221 | net/inet/ipx.c | if(pos>offset+length) |
offset | 1224 | net/inet/ipx.c | *start=buffer+(offset-begin); |
offset | 1225 | 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 | 495 | net/inet/route.c | int rt_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 519 | net/inet/route.c | if(pos<offset) |
offset | 524 | net/inet/route.c | if(pos>offset+length) |
offset | 528 | net/inet/route.c | *start=buffer+(offset-begin); |
offset | 529 | 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 | 2051 | net/inet/tcp.c | unsigned long offset; |
offset | 2073 | net/inet/tcp.c | offset = *seq - skb->h.th->seq; |
offset | 2075 | net/inet/tcp.c | offset--; |
offset | 2076 | net/inet/tcp.c | if (offset < skb->len) |
offset | 2147 | net/inet/tcp.c | used = skb->len - offset; |
offset | 2164 | net/inet/tcp.c | offset++; |
offset | 2187 | net/inet/tcp.c | skb->h.th->doff*4 + offset, used); |
offset | 2202 | net/inet/tcp.c | if (used + offset < skb->len) |
offset | 65 | net/socket.c | static int sock_lseek(struct inode *inode, struct file *file, off_t offset, |
offset | 305 | net/socket.c | static int sock_lseek(struct inode *inode, struct file *file, off_t offset, int whence) |
offset | 1377 | net/socket.c | int socket_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 1380 | net/socket.c | if (offset >= len) |
offset | 1385 | net/socket.c | *start = buffer + offset; |
offset | 1386 | 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); |