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 | 71 | arch/alpha/kernel/osf_sys.c | static int osf_filldir(void * __buf, const char * name, int namlen, off_t offset, ino_t ino) |
offset | 81 | arch/alpha/kernel/osf_sys.c | put_user(offset, buf->basep); |
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 | 33 | arch/i386/kernel/smp.c | extern void *vremap(unsigned long offset, unsigned long size); /* Linus hasnt put this in the headers yet */ |
offset | 120 | arch/i386/kernel/time.c | unsigned long offset = 0; |
offset | 131 | arch/i386/kernel/time.c | offset = TICK_SIZE; |
offset | 135 | arch/i386/kernel/time.c | return offset + count; |
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 | 55 | arch/sparc/mm/srmmu.c | unsigned long offset = PAGE_OFFSET; |
offset | 62 | arch/sparc/mm/srmmu.c | return (paddr - sp_banks[i].base_addr) + offset; |
offset | 64 | arch/sparc/mm/srmmu.c | offset += sp_banks[i].num_bytes; |
offset | 60 | arch/sparc/mm/sun4c.c | unsigned long offset = PAGE_OFFSET; |
offset | 67 | arch/sparc/mm/sun4c.c | return (paddr - sp_banks[i].base_addr) + offset; |
offset | 69 | arch/sparc/mm/sun4c.c | offset += sp_banks[i].num_bytes; |
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 | 2700 | drivers/block/ide.c | int ide_xlate_1024 (kdev_t i_rdev, int offset, const char *msg) |
offset | 2723 | drivers/block/ide.c | if (offset) { |
offset | 2725 | drivers/block/ide.c | if (offset == -1) |
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 | 1209 | drivers/cdrom/cdu31a.c | unsigned int offset, |
offset | 1243 | drivers/cdrom/cdu31a.c | insb(sony_cd_read_reg, &buffer[offset], bytesleft); |
offset | 1276 | drivers/cdrom/cdu31a.c | unsigned int offset; |
offset | 1284 | drivers/cdrom/cdu31a.c | offset = 0; |
offset | 1312 | drivers/cdrom/cdu31a.c | offset += readahead_dataleft; |
offset | 1386 | drivers/cdrom/cdu31a.c | input_data(buffer, bytesleft, nblocks, offset, skip); |
offset | 119 | drivers/char/console.c | extern void set_scrmem(int currcons, long offset); |
offset | 958 | drivers/char/console.c | static inline unsigned short *screenpos(int currcons, int offset, int viewed) |
offset | 960 | drivers/char/console.c | unsigned short *p = (unsigned short *)(origin + offset); |
offset | 967 | drivers/char/console.c | void invert_screen(int currcons, int offset, int count, int viewed) |
offset | 972 | drivers/char/console.c | p = screenpos(currcons, offset, viewed); |
offset | 989 | drivers/char/console.c | void complement_pos(int currcons, int offset) |
offset | 996 | drivers/char/console.c | if (offset == -1) |
offset | 999 | drivers/char/console.c | p = screenpos(currcons, offset, 1); |
offset | 1006 | drivers/char/console.c | unsigned short screen_word(int currcons, int offset, int viewed) |
offset | 1008 | drivers/char/console.c | return scr_readw(screenpos(currcons, offset, viewed)); |
offset | 2061 | drivers/char/console.c | long offset; |
offset | 2077 | drivers/char/console.c | offset = 0; |
offset | 2083 | drivers/char/console.c | offset = (blank_origin - video_mem_base) |
offset | 2088 | drivers/char/console.c | set_scrmem(fg_console, offset); |
offset | 301 | drivers/char/istallion.c | char *(*getmemptr)(struct stlbrd *brdp, unsigned long offset, int line); |
offset | 534 | drivers/char/istallion.c | #define EBRDGETMEMPTR(brdp,offset) \ |
offset | 535 | drivers/char/istallion.c | (* brdp->getmemptr)(brdp, offset, __LINE__) |
offset | 628 | drivers/char/istallion.c | static char *stli_ecpgetmemptr(stlibrd_t *brdp, unsigned long offset, int line); |
offset | 634 | drivers/char/istallion.c | static char *stli_ecpeigetmemptr(stlibrd_t *brdp, unsigned long offset, int line); |
offset | 638 | drivers/char/istallion.c | static char *stli_ecpmcgetmemptr(stlibrd_t *brdp, unsigned long offset, int line); |
offset | 644 | drivers/char/istallion.c | static char *stli_onbgetmemptr(stlibrd_t *brdp, unsigned long offset, int line); |
offset | 649 | drivers/char/istallion.c | static char *stli_onbegetmemptr(stlibrd_t *brdp, unsigned long offset, int line); |
offset | 652 | drivers/char/istallion.c | static char *stli_bbygetmemptr(stlibrd_t *brdp, unsigned long offset, int line); |
offset | 655 | drivers/char/istallion.c | static char *stli_stalgetmemptr(stlibrd_t *brdp, unsigned long offset, int line); |
offset | 2835 | drivers/char/istallion.c | static char *stli_ecpgetmemptr(stlibrd_t *brdp, unsigned long offset, int line) |
offset | 2841 | drivers/char/istallion.c | printk("stli_ecpgetmemptr(brdp=%x,offset=%x)\n", (int) brdp, (int) offset); |
offset | 2844 | drivers/char/istallion.c | if (offset > brdp->memsize) { |
offset | 2845 | drivers/char/istallion.c | printk("STALLION: shared memory pointer=%x out of range at line=%d(%d), brd=%d\n", (int) offset, line, __LINE__, brdp->brdnr); |
offset | 2849 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ECP_ATPAGESIZE); |
offset | 2850 | drivers/char/istallion.c | val = (unsigned char) (offset / ECP_ATPAGESIZE); |
offset | 2922 | drivers/char/istallion.c | static char *stli_ecpeigetmemptr(stlibrd_t *brdp, unsigned long offset, int line) |
offset | 2928 | drivers/char/istallion.c | printk("stli_ecpeigetmemptr(brdp=%x,offset=%x,line=%d)\n", (int) brdp, (int) offset, line); |
offset | 2931 | drivers/char/istallion.c | if (offset > brdp->memsize) { |
offset | 2932 | drivers/char/istallion.c | printk("STALLION: shared memory pointer=%x out of range at line=%d(%d), brd=%d\n", (int) offset, line, __LINE__, brdp->brdnr); |
offset | 2936 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ECP_EIPAGESIZE); |
offset | 2937 | drivers/char/istallion.c | if (offset < ECP_EIPAGESIZE) |
offset | 2976 | drivers/char/istallion.c | static char *stli_ecpmcgetmemptr(stlibrd_t *brdp, unsigned long offset, int line) |
offset | 2981 | drivers/char/istallion.c | if (offset > brdp->memsize) { |
offset | 2982 | drivers/char/istallion.c | printk("STALLION: shared memory pointer=%x out of range at line=%d(%d), brd=%d\n", (int) offset, line, __LINE__, brdp->brdnr); |
offset | 2986 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ECP_MCPAGESIZE); |
offset | 2987 | drivers/char/istallion.c | val = ((unsigned char) (offset / ECP_MCPAGESIZE)) | ECP_MCENABLE; |
offset | 3052 | drivers/char/istallion.c | static char *stli_onbgetmemptr(stlibrd_t *brdp, unsigned long offset, int line) |
offset | 3057 | drivers/char/istallion.c | printk("stli_onbgetmemptr(brdp=%x,offset=%x)\n", (int) brdp, (int) offset); |
offset | 3060 | drivers/char/istallion.c | if (offset > brdp->memsize) { |
offset | 3061 | drivers/char/istallion.c | printk("STALLION: shared memory pointer=%x out of range at line=%d(%d), brd=%d\n", (int) offset, line, __LINE__, brdp->brdnr); |
offset | 3064 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ONB_ATPAGESIZE); |
offset | 3138 | drivers/char/istallion.c | static char *stli_onbegetmemptr(stlibrd_t *brdp, unsigned long offset, int line) |
offset | 3144 | drivers/char/istallion.c | printk("stli_onbegetmemptr(brdp=%x,offset=%x,line=%d)\n", (int) brdp, (int) offset, line); |
offset | 3147 | drivers/char/istallion.c | if (offset > brdp->memsize) { |
offset | 3148 | drivers/char/istallion.c | printk("STALLION: shared memory pointer=%x out of range at line=%d(%d), brd=%d\n", (int) offset, line, __LINE__, brdp->brdnr); |
offset | 3152 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ONB_EIPAGESIZE); |
offset | 3153 | drivers/char/istallion.c | if (offset < ONB_EIPAGESIZE) |
offset | 3204 | drivers/char/istallion.c | static char *stli_bbygetmemptr(stlibrd_t *brdp, unsigned long offset, int line) |
offset | 3210 | drivers/char/istallion.c | printk("stli_bbygetmemptr(brdp=%x,offset=%x)\n", (int) brdp, (int) offset); |
offset | 3213 | drivers/char/istallion.c | if (offset > brdp->memsize) { |
offset | 3214 | drivers/char/istallion.c | printk("STALLION: shared memory pointer=%x out of range at line=%d(%d), brd=%d\n", (int) offset, line, __LINE__, brdp->brdnr); |
offset | 3218 | drivers/char/istallion.c | ptr = brdp->membase + (offset % BBY_PAGESIZE); |
offset | 3219 | drivers/char/istallion.c | val = (unsigned char) (offset / BBY_PAGESIZE); |
offset | 3263 | drivers/char/istallion.c | static char *stli_stalgetmemptr(stlibrd_t *brdp, unsigned long offset, int line) |
offset | 3268 | drivers/char/istallion.c | printk("stli_stalgetmemptr(brdp=%x,offset=%x)\n", (int) brdp, (int) offset); |
offset | 3271 | drivers/char/istallion.c | if (offset > brdp->memsize) { |
offset | 3272 | drivers/char/istallion.c | printk("STALLION: shared memory pointer=%x out of range at line=%d(%d), brd=%d\n", (int) offset, line, __LINE__, brdp->brdnr); |
offset | 3275 | drivers/char/istallion.c | ptr = brdp->membase + (offset % STAL_PAGESIZE); |
offset | 3678 | drivers/char/istallion.c | portp->addr = memp->offset; |
offset | 3699 | drivers/char/istallion.c | portp->rxoffset = ap->rxq.offset; |
offset | 3700 | drivers/char/istallion.c | portp->txoffset = ap->txq.offset; |
offset | 312 | drivers/char/lp.c | off_t offset, int origin) |
offset | 525 | drivers/char/lp.c | static int lp_probe(int offset) |
offset | 530 | drivers/char/lp.c | base = LP_B(offset); |
offset | 539 | drivers/char/lp.c | LP_F(offset) |= LP_EXIST; |
offset | 540 | drivers/char/lp.c | lp_reset(offset); |
offset | 541 | drivers/char/lp.c | printk("lp%d at 0x%04x, ", offset, base); |
offset | 543 | drivers/char/lp.c | if (LP_IRQ(offset)) |
offset | 544 | drivers/char/lp.c | printk("(irq = %d)\n", LP_IRQ(offset)); |
offset | 561 | drivers/char/lp.c | int offset = 0; |
offset | 570 | drivers/char/lp.c | for (offset=0; offset < LP_NO; offset++) { |
offset | 573 | drivers/char/lp.c | if (io[offset] != 0) { |
offset | 574 | drivers/char/lp.c | LP_B(offset) = io[offset]; |
offset | 577 | drivers/char/lp.c | if (irq[offset] != 0) { |
offset | 578 | drivers/char/lp.c | LP_IRQ(offset) = irq[offset]; |
offset | 582 | drivers/char/lp.c | if (lp_probe(offset) <= 0) { |
offset | 583 | drivers/char/lp.c | printk(KERN_INFO "lp%d: Not found\n", offset); |
offset | 593 | drivers/char/lp.c | for (offset = 0; offset < LP_NO; offset++) { |
offset | 594 | drivers/char/lp.c | int ret = lp_probe(offset); |
offset | 608 | drivers/char/lp.c | int offset; |
offset | 611 | drivers/char/lp.c | for (offset = 0; offset < LP_NO; offset++) { |
offset | 613 | drivers/char/lp.c | base = LP_B(offset); |
offset | 615 | drivers/char/lp.c | if (LP_F(offset) & LP_EXIST) |
offset | 616 | drivers/char/lp.c | release_region(LP_B(offset),size); |
offset | 203 | drivers/char/mem.c | static int null_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 215 | drivers/char/mem.c | static int memory_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 219 | drivers/char/mem.c | file->f_pos = offset; |
offset | 222 | drivers/char/mem.c | file->f_pos += offset; |
offset | 46 | drivers/char/selection.h | extern unsigned short screen_word(int currcons, int offset, int viewed); |
offset | 48 | drivers/char/selection.h | extern void complement_pos(int currcons, int offset); |
offset | 49 | drivers/char/selection.h | extern void invert_screen(int currcons, int offset, int count, int shift); |
offset | 234 | drivers/char/serial.c | static inline unsigned int serial_in(struct async_struct *info, int offset) |
offset | 238 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 242 | drivers/char/serial.c | return inb(info->port + offset); |
offset | 245 | drivers/char/serial.c | static inline unsigned int serial_inp(struct async_struct *info, int offset) |
offset | 249 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 254 | drivers/char/serial.c | return inb(info->port + offset); |
offset | 256 | drivers/char/serial.c | return inb_p(info->port + offset); |
offset | 260 | drivers/char/serial.c | static inline void serial_out(struct async_struct *info, int offset, int value) |
offset | 264 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 268 | drivers/char/serial.c | outb(value, info->port+offset); |
offset | 271 | drivers/char/serial.c | static inline void serial_outp(struct async_struct *info, int offset, |
offset | 276 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 281 | drivers/char/serial.c | outb(value, info->port+offset); |
offset | 283 | drivers/char/serial.c | outb_p(value, info->port+offset); |
offset | 232 | drivers/char/tga.c | __set_origin(unsigned short offset) |
offset | 338 | drivers/char/tga.c | set_scrmem(int currcons, long offset) |
offset | 340 | drivers/char/tga.c | if (video_mem_term - video_mem_base < offset + video_screen_size) |
offset | 341 | drivers/char/tga.c | offset = 0; /* strange ... */ |
offset | 342 | drivers/char/tga.c | memcpyw((unsigned short *)(video_mem_base + offset), |
offset | 346 | drivers/char/tga.c | origin = video_mem_base + offset; |
offset | 1880 | drivers/char/tpqic02.c | static int qic02_tape_lseek(struct inode * inode, struct file * file, off_t offset, int origin) |
offset | 312 | 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 | 85 | drivers/char/vga.c | __set_origin(unsigned short offset) |
offset | 92 | drivers/char/vga.c | __origin = offset; |
offset | 94 | drivers/char/vga.c | outb_p(offset >> 8, video_port_val); |
offset | 96 | drivers/char/vga.c | outb_p(offset, video_port_val); |
offset | 237 | drivers/char/vga.c | set_scrmem(int currcons, long offset) |
offset | 270 | drivers/char/vga.c | if (video_mem_term - video_mem_base < offset + video_screen_size) |
offset | 271 | drivers/char/vga.c | offset = 0; /* strange ... */ |
offset | 272 | drivers/char/vga.c | memcpyw((unsigned short *)(video_mem_base + offset), |
offset | 276 | drivers/char/vga.c | origin = video_mem_base + offset; |
offset | 1472 | drivers/net/arcnet.c | int offset; |
offset | 1491 | drivers/net/arcnet.c | arcpacket->hardheader.offset1=offset=256-length; |
offset | 1493 | drivers/net/arcnet.c | (&arcpacket->raw[offset]); |
offset | 1498 | drivers/net/arcnet.c | arcpacket->hardheader.offset2=offset=512-length; |
offset | 1501 | drivers/net/arcnet.c | (&arcpacket->raw[offset]); |
offset | 1506 | drivers/net/arcnet.c | arcpacket->hardheader.offset2=offset=512-length-4; |
offset | 1508 | drivers/net/arcnet.c | (&arcpacket->raw[offset+4]); |
offset | 1514 | drivers/net/arcnet.c | arcpacket->raw[offset+0]=hdr[0]; |
offset | 1515 | drivers/net/arcnet.c | arcpacket->raw[offset+1]=0xFF; /* FF flag */ |
offset | 1516 | drivers/net/arcnet.c | arcpacket->raw[offset+2]=0xFF; /* FF padding */ |
offset | 1517 | drivers/net/arcnet.c | arcpacket->raw[offset+3]=0xFF; /* FF padding */ |
offset | 1526 | drivers/net/arcnet.c | arcpacket->hardheader.offset2=offset=512-MinTU; |
offset | 1527 | drivers/net/arcnet.c | arcsoft=(struct ClientData *)(&arcpacket->raw[offset]); |
offset | 1638 | drivers/net/arcnet.c | short offset,length=skb->len+1; |
offset | 1669 | drivers/net/arcnet.c | offset=512-length; |
offset | 1672 | drivers/net/arcnet.c | if (length<MinTU) offset-=3; |
offset | 1674 | drivers/net/arcnet.c | arcpacket->hardheader.offset2=offset; |
offset | 1678 | drivers/net/arcnet.c | arcpacket->hardheader.offset1=(offset-=256); |
offset | 1683 | drivers/net/arcnet.c | length,offset,arcpacket->hardheader.offset1, |
offset | 1686 | drivers/net/arcnet.c | arcsoft=&arcpacket->raw[offset]; |
offset | 2146 | drivers/net/arcnet.c | short length,offset; |
offset | 2164 | drivers/net/arcnet.c | offset=arcpacket->hardheader.offset1; |
offset | 2165 | drivers/net/arcnet.c | arcsoft=&arcpacket->raw[offset]; |
offset | 2166 | drivers/net/arcnet.c | length=256-offset; |
offset | 2170 | drivers/net/arcnet.c | offset=arcpacket->hardheader.offset2; |
offset | 2171 | drivers/net/arcnet.c | arcsoft=&arcpacket->raw[offset]; |
offset | 2173 | drivers/net/arcnet.c | length=512-offset; |
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 | 430 | drivers/net/de4x5.c | static short srom_rd(u_long address, u_char offset); |
offset | 433 | drivers/net/de4x5.c | static void srom_address(u_int command, u_long address, u_char offset); |
offset | 2325 | drivers/net/de4x5.c | static short srom_rd(u_long addr, u_char offset) |
offset | 2331 | drivers/net/de4x5.c | srom_address(SROM_RD | SROM_SR | DT_CS, addr, offset); |
offset | 2354 | drivers/net/de4x5.c | static void srom_address(u_int command, u_long addr, u_char offset) |
offset | 2359 | drivers/net/de4x5.c | a = (char)(offset << 2); |
offset | 446 | drivers/net/depca.c | int i, j, offset, netRAM, mem_len, status=0; |
offset | 484 | drivers/net/depca.c | offset = 0x0000; |
offset | 488 | drivers/net/depca.c | offset = 0x8000; /* 32kbyte RAM offset*/ |
offset | 492 | drivers/net/depca.c | mem_start += offset; /* (E)ISA start address */ |
offset | 198 | drivers/net/ne.c | struct {unsigned char value, offset; } program_seq[] = { |
offset | 214 | drivers/net/ne.c | outb_p(program_seq[i].value, ioaddr + program_seq[i].offset); |
offset | 2115 | drivers/net/wavelan.c | wavelan_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 2146 | drivers/net/wavelan.c | if (pos < offset) |
offset | 2152 | drivers/net/wavelan.c | if (pos > offset + length) |
offset | 2160 | drivers/net/wavelan.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
offset | 2161 | drivers/net/wavelan.c | len -= (offset - begin); /* Start slop */ |
offset | 1080 | drivers/scsi/53c7,8xx.c | hostdata->script[EXTERNAL_PATCHES[i].offset] += |
offset | 1358 | drivers/scsi/53c7,8xx.h | #define patch_abs_32(script, offset, symbol, value) \ |
offset | 1361 | drivers/scsi/53c7,8xx.h | (script)[A_##symbol##_used[i] - (offset)] += (value); \ |
offset | 1365 | drivers/scsi/53c7,8xx.h | (int)(offset), #script, (script)[A_##symbol##_used[i] - \ |
offset | 1366 | drivers/scsi/53c7,8xx.h | (offset)]); \ |
offset | 1369 | drivers/scsi/53c7,8xx.h | #define patch_abs_rwri_data(script, offset, symbol, value) \ |
offset | 1372 | drivers/scsi/53c7,8xx.h | (script)[A_##symbol##_used[i] - (offset)] = \ |
offset | 1373 | drivers/scsi/53c7,8xx.h | ((script)[A_##symbol##_used[i] - (offset)] & \ |
offset | 2253 | drivers/scsi/53c8xx_d.h | u32 offset; |
offset | 1536 | drivers/scsi/aic7xxx.c | unsigned char offset, int target, char channel) |
offset | 1544 | drivers/scsi/aic7xxx.c | *scsirate = (aic7xxx_syncrates[i].rate << 4) | (offset & 0x0F); |
offset | 1547 | drivers/scsi/aic7xxx.c | target, channel, aic7xxx_syncrates[i].english, offset); |
offset | 2013 | drivers/scsi/aic7xxx.c | unsigned long offset, offset_max; |
offset | 2027 | drivers/scsi/aic7xxx.c | offset = HA_TARG_SCRATCH(base) + 8; |
offset | 2040 | drivers/scsi/aic7xxx.c | offset = HA_TARG_SCRATCH(base); |
offset | 2048 | drivers/scsi/aic7xxx.c | offset = HA_TARG_SCRATCH(base); |
offset | 2052 | drivers/scsi/aic7xxx.c | while (offset < offset_max) |
offset | 2059 | drivers/scsi/aic7xxx.c | targ_scratch = inb(offset); |
offset | 2061 | drivers/scsi/aic7xxx.c | outb(targ_scratch, offset); |
offset | 2062 | drivers/scsi/aic7xxx.c | offset++; |
offset | 2114 | drivers/scsi/aic7xxx.c | unsigned char offset, rate, scratch, scratch_offset; |
offset | 2269 | drivers/scsi/aic7xxx.c | offset = inb(ACCUM(base)); |
offset | 2283 | drivers/scsi/aic7xxx.c | aic7xxx_scsirate(&rate, transfer, MIN(offset, max_offset), scsi_id, channel); |
offset | 74 | drivers/scsi/aic7xxx_proc.c | aic7xxx_proc_info(char *buffer, char **start, off_t offset, int length, |
offset | 123 | drivers/scsi/aic7xxx_proc.c | if (offset == 0) |
offset | 246 | drivers/scsi/aic7xxx_proc.c | proc_debug("2pos: %ld offset: %ld len: %d\n", pos, offset, len); |
offset | 247 | drivers/scsi/aic7xxx_proc.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
offset | 248 | drivers/scsi/aic7xxx_proc.c | len -= (offset - begin); /* Start slop */ |
offset | 253 | drivers/scsi/aic7xxx_proc.c | proc_debug("3pos: %ld offset: %ld len: %d\n", pos, offset, len); |
offset | 67 | drivers/scsi/eata_dma_proc.c | int eata_proc_info(char *buffer, char **start, off_t offset, int length, |
offset | 105 | drivers/scsi/eata_dma_proc.c | if (offset == 0) |
offset | 292 | drivers/scsi/eata_dma_proc.c | if (pos < offset) { |
offset | 296 | drivers/scsi/eata_dma_proc.c | if (pos > offset + length) |
offset | 357 | drivers/scsi/eata_dma_proc.c | if (pos < offset) { |
offset | 361 | drivers/scsi/eata_dma_proc.c | if (pos > offset + length) |
offset | 394 | drivers/scsi/eata_dma_proc.c | if (pos < offset) { |
offset | 398 | drivers/scsi/eata_dma_proc.c | if (pos > offset + length) |
offset | 429 | drivers/scsi/eata_dma_proc.c | if (pos < offset) { |
offset | 433 | drivers/scsi/eata_dma_proc.c | if (pos > offset + length) |
offset | 450 | drivers/scsi/eata_dma_proc.c | if (pos < offset) { |
offset | 454 | drivers/scsi/eata_dma_proc.c | if (pos > offset + length) |
offset | 462 | drivers/scsi/eata_dma_proc.c | DBG(DBG_PROC, printk("2pos: %ld offset: %ld len: %d\n", pos, offset, len)); |
offset | 463 | drivers/scsi/eata_dma_proc.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 464 | drivers/scsi/eata_dma_proc.c | len-=(offset-begin); /* Start slop */ |
offset | 467 | drivers/scsi/eata_dma_proc.c | DBG(DBG_PROC, printk("3pos: %ld offset: %ld len: %d\n", pos, offset, len)); |
offset | 126 | drivers/scsi/eata_dma_proc.h | __u8 offset, |
offset | 40 | drivers/scsi/eata_pio_proc.c | int eata_pio_proc_info(char *buffer, char **start, off_t offset, int length, |
offset | 62 | drivers/scsi/eata_pio_proc.c | if (offset == 0) |
offset | 93 | drivers/scsi/eata_pio_proc.c | if (pos < offset) { |
offset | 97 | drivers/scsi/eata_pio_proc.c | if (pos > offset + length) |
offset | 112 | drivers/scsi/eata_pio_proc.c | if (pos < offset) { |
offset | 116 | drivers/scsi/eata_pio_proc.c | if (pos > offset + length) |
offset | 123 | drivers/scsi/eata_pio_proc.c | DBG(DBG_PROC, printk("2pos: %ld offset: %ld len: %d\n", pos, offset, len)); |
offset | 124 | drivers/scsi/eata_pio_proc.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 125 | drivers/scsi/eata_pio_proc.c | len-=(offset-begin); /* Start slop */ |
offset | 128 | drivers/scsi/eata_pio_proc.c | DBG(DBG_PROC, printk("3pos: %ld offset: %ld len: %d\n", pos, offset, len)); |
offset | 1094 | drivers/scsi/fdomain.c | int fdomain_16x0_proc_info( char *buffer, char **start, off_t offset, |
offset | 1110 | drivers/scsi/fdomain.c | if(pos < offset) { |
offset | 1115 | drivers/scsi/fdomain.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
offset | 1116 | drivers/scsi/fdomain.c | len -= (offset - begin); |
offset | 35 | drivers/scsi/fdomain.h | int fdomain_16x0_proc_info( char *buffer, char **start, off_t offset, |
offset | 116 | drivers/scsi/scsi.c | off_t offset, int length, int inout); |
offset | 118 | drivers/scsi/scsi.c | off_t offset, int length, int inout); |
offset | 2158 | drivers/scsi/scsi.c | long offset; |
offset | 2165 | drivers/scsi/scsi.c | offset = -1; |
offset | 2171 | drivers/scsi/scsi.c | offset = ((unsigned long) obj) - ((unsigned long)dma_malloc_pages[page]); |
offset | 2176 | drivers/scsi/scsi.c | sector = offset >> 9; |
offset | 2179 | drivers/scsi/scsi.c | sector = (offset >> 9) & (sizeof(*dma_malloc_freelist) * 8 - 1); |
offset | 2391 | drivers/scsi/scsi.c | int scsi_proc_info(char *buffer, char **start, off_t offset, int length, |
offset | 2423 | drivers/scsi/scsi.c | if (pos < offset) { |
offset | 2427 | drivers/scsi/scsi.c | if (pos > offset + length) |
offset | 2436 | drivers/scsi/scsi.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 2437 | drivers/scsi/scsi.c | len-=(offset-begin); /* Start slop */ |
offset | 633 | drivers/scsi/scsi_debug.c | int scsi_debug_proc_info(char *buffer, char **start, off_t offset, |
offset | 675 | drivers/scsi/scsi_debug.c | if(pos < offset) |
offset | 681 | drivers/scsi/scsi_debug.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
offset | 682 | drivers/scsi/scsi_debug.c | len -= (offset - begin); |
offset | 56 | drivers/scsi/scsi_proc.c | int generic_proc_info(char *buffer, char **start, off_t offset, |
offset | 67 | drivers/scsi/scsi_proc.c | if(pos < offset) { |
offset | 72 | drivers/scsi/scsi_proc.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
offset | 73 | drivers/scsi/scsi_proc.c | len -= (offset - begin); |
offset | 84 | drivers/scsi/scsi_proc.c | off_t offset, int length, int func) |
offset | 93 | drivers/scsi/scsi_proc.c | return(scsi_proc_info(buffer, start, offset, length, 0, func)); |
offset | 99 | drivers/scsi/scsi_proc.c | return generic_proc_info(buffer, start, offset, length, |
offset | 102 | drivers/scsi/scsi_proc.c | return(hpnt->hostt->proc_info(buffer, start, offset, |
offset | 163 | drivers/scsi/seagate.c | unsigned offset; |
offset | 338 | drivers/scsi/seagate.c | signatures[j].offset), (const void *) signatures[j].signature, |
offset | 162 | drivers/scsi/sr.c | int offset; |
offset | 163 | drivers/scsi/sr.c | offset = (SCpnt->request.sector % 4) << 9; |
offset | 165 | drivers/scsi/sr.c | (char *)SCpnt->buffer + offset, |
offset | 171 | drivers/scsi/sr.c | if((offset == 0) && this_count == 2 && |
offset | 315 | drivers/scsi/st.c | int offset, transfer, blks; |
offset | 340 | drivers/scsi/st.c | offset = (STp->buffer)->buffer_bytes; |
offset | 341 | drivers/scsi/st.c | transfer = ((offset + STp->block_size - 1) / |
offset | 347 | drivers/scsi/st.c | memset((STp->buffer)->b_data + offset, 0, transfer - offset); |
offset | 151 | drivers/scsi/t128.c | int offset; |
offset | 219 | drivers/scsi/t128.c | (bases[current_base].address + signatures[sig].offset, |
offset | 32 | drivers/sound/sound_calls.h | int audio_lseek (int dev, struct fileinfo *file, off_t offset, int orig); |
offset | 47 | drivers/sound/sound_calls.h | int sequencer_lseek (int dev, struct fileinfo *file, off_t offset, int orig); |
offset | 67 | drivers/sound/sound_calls.h | int MIDIbuf_lseek (int dev, struct fileinfo *file, off_t offset, int orig); |
offset | 245 | drivers/sound/sound_calls.h | int pss_lseek (int dev, struct fileinfo *file, off_t offset, int orig); |
offset | 99 | drivers/sound/soundcard.c | sound_lseek (struct inode *inode, struct file *file, off_t offset, int orig) |
offset | 955 | fs/binfmt_elf.c | off_t offset = 0, dataoff; |
offset | 1042 | fs/binfmt_elf.c | offset += sizeof(elf); /* Elf header */ |
offset | 1043 | fs/binfmt_elf.c | offset += (segs+1) * sizeof(struct elf_phdr); /* Program headers */ |
offset | 1141 | fs/binfmt_elf.c | phdr.p_offset = offset; |
offset | 1149 | fs/binfmt_elf.c | offset += phdr.p_filesz; |
offset | 1154 | fs/binfmt_elf.c | dataoff = offset = roundup(offset, PAGE_SIZE); |
offset | 1169 | fs/binfmt_elf.c | phdr.p_offset = offset; |
offset | 1174 | fs/binfmt_elf.c | offset += sz; |
offset | 1206 | fs/binfmt_elf.c | if ((off_t) file.f_pos != offset) { |
offset | 1209 | fs/binfmt_elf.c | (off_t) file.f_pos, offset); |
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 | else if (size - offset > INT_MAX) |
offset | 204 | fs/block_dev.c | left = size - offset; |
offset | 210 | fs/block_dev.c | block = offset >> blocksize_bits; |
offset | 211 | fs/block_dev.c | offset &= blocksize-1; |
offset | 213 | fs/block_dev.c | rblocks = blocks = (left + offset + blocksize - 1) >> blocksize_bits; |
offset | 283 | fs/block_dev.c | if (left < blocksize - offset) |
offset | 286 | fs/block_dev.c | chars = blocksize - offset; |
offset | 291 | fs/block_dev.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 298 | fs/block_dev.c | offset = 0; |
offset | 992 | fs/buffer.c | unsigned long offset; |
offset | 995 | fs/buffer.c | offset = PAGE_SIZE; |
offset | 996 | fs/buffer.c | while ((offset -= size) < PAGE_SIZE) { |
offset | 1002 | fs/buffer.c | bh->b_data = (char *) (page+offset); |
offset | 1060 | fs/buffer.c | unsigned long offset; |
offset | 1070 | fs/buffer.c | for (offset = size ; offset < PAGE_SIZE ; offset += size) { |
offset | 1078 | fs/buffer.c | if (page+offset != (unsigned long) first->b_data) |
offset | 1100 | fs/buffer.c | unsigned long offset; |
offset | 1110 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
offset | 1666 | fs/buffer.c | unsigned long offset; |
offset | 1679 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
offset | 1721 | fs/buffer.c | int i, offset; |
offset | 1723 | fs/buffer.c | for (i = 0, offset = 0 ; offset < PAGE_SIZE ; i++, offset += size) { |
offset | 150 | fs/exec.c | #define DUMP_SEEK(offset) \ |
offset | 152 | fs/exec.c | if (file.f_op->lseek(inode,&file,(offset),0) != (offset)) \ |
offset | 154 | fs/exec.c | } else file.f_pos = (offset) |
offset | 418 | fs/exec.c | int len, offset = 0; |
offset | 444 | fs/exec.c | if (--offset < 0) { |
offset | 445 | fs/exec.c | offset = p % PAGE_SIZE; |
offset | 456 | fs/exec.c | *(pag + offset) = get_user(tmp); |
offset | 485 | fs/exec.c | int read_exec(struct inode *inode, unsigned long offset, |
offset | 506 | fs/exec.c | if (file.f_op->lseek(inode,&file,offset,0) != offset) |
offset | 509 | fs/exec.c | file.f_pos = offset; |
offset | 69 | fs/ext/dir.c | off_t offset; |
offset | 79 | fs/ext/dir.c | offset = filp->f_pos & 1023; |
offset | 82 | fs/ext/dir.c | filp->f_pos += 1024-offset; |
offset | 85 | fs/ext/dir.c | for (i = 0; i < 1024 && i < offset; ) { |
offset | 91 | fs/ext/dir.c | offset = i; |
offset | 92 | fs/ext/dir.c | de = (struct ext_dir_entry *) (offset + bh->b_data); |
offset | 93 | fs/ext/dir.c | while (offset < 1024 && filp->f_pos < inode->i_size) { |
offset | 101 | fs/ext/dir.c | offset, de->rec_len, de->name_len); |
offset | 102 | fs/ext/dir.c | filp->f_pos += 1024-offset; |
offset | 112 | 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 | 123 | fs/ext/namei.c | kdevname(dir->i_dev), dir->i_ino, offset, |
offset | 126 | fs/ext/namei.c | offset = ((offset / BLOCK_SIZE) + 1) * BLOCK_SIZE; |
offset | 134 | fs/ext/namei.c | if (offset + de->rec_len < dir->i_size && |
offset | 142 | fs/ext/namei.c | offset += de->rec_len; |
offset | 193 | fs/ext/namei.c | long offset; |
offset | 214 | fs/ext/namei.c | offset = 0; |
offset | 217 | fs/ext/namei.c | if ((char *)de >= BLOCK_SIZE+bh->b_data && offset < dir->i_size) { |
offset | 223 | fs/ext/namei.c | bh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,0); |
offset | 228 | fs/ext/namei.c | if (offset >= dir->i_size) { |
offset | 230 | fs/ext/namei.c | if (offset % BLOCK_SIZE == 0 || |
offset | 231 | fs/ext/namei.c | (BLOCK_SIZE - (offset % BLOCK_SIZE)) < rec_len) { |
offset | 232 | fs/ext/namei.c | if ((offset % BLOCK_SIZE) != 0) { |
offset | 238 | fs/ext/namei.c | - (offset & (BLOCK_SIZE - 1)); |
offset | 240 | fs/ext/namei.c | offset += de->rec_len; |
offset | 253 | fs/ext/namei.c | bh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,1); |
offset | 273 | fs/ext/namei.c | kdevname(dir->i_dev), dir->i_ino, offset, |
offset | 300 | fs/ext/namei.c | offset += de->rec_len; |
offset | 473 | fs/ext/namei.c | unsigned long offset; |
offset | 490 | fs/ext/namei.c | offset = de->rec_len + de1->rec_len; |
offset | 492 | fs/ext/namei.c | while (offset < inode->i_size ) { |
offset | 495 | fs/ext/namei.c | bh = ext_bread(inode, offset >> BLOCK_SIZE_BITS,1); |
offset | 497 | fs/ext/namei.c | offset += BLOCK_SIZE; |
offset | 508 | fs/ext/namei.c | offset, de->rec_len, de->name_len); |
offset | 516 | fs/ext/namei.c | offset += de->rec_len; |
offset | 63 | fs/ext/truncate.c | static int trunc_indirect(struct inode * inode, int offset, unsigned long * p) |
offset | 70 | fs/ext/truncate.c | #define INDIRECT_BLOCK (DIRECT_BLOCK-offset) |
offset | 126 | fs/ext/truncate.c | static int trunc_dindirect(struct inode * inode, int offset, unsigned long * p) |
offset | 132 | fs/ext/truncate.c | #define DINDIRECT_BLOCK ((DIRECT_BLOCK-offset)>>8) |
offset | 156 | fs/ext/truncate.c | retry |= trunc_indirect(inode,offset+(i<<8),dind); |
offset | 74 | fs/ext2/dir.c | unsigned long offset) |
offset | 93 | fs/ext2/dir.c | dir->i_ino, error_msg, offset, (unsigned long) de->inode, |
offset | 102 | fs/ext2/dir.c | unsigned long offset, blk; |
offset | 115 | fs/ext2/dir.c | offset = filp->f_pos & (sb->s_blocksize - 1); |
offset | 124 | fs/ext2/dir.c | filp->f_pos += sb->s_blocksize - offset; |
offset | 131 | fs/ext2/dir.c | if (!offset) { |
offset | 153 | fs/ext2/dir.c | for (i = 0; i < sb->s_blocksize && i < offset; ) { |
offset | 166 | fs/ext2/dir.c | offset = i; |
offset | 168 | fs/ext2/dir.c | | offset; |
offset | 173 | fs/ext2/dir.c | && offset < sb->s_blocksize) { |
offset | 174 | fs/ext2/dir.c | de = (struct ext2_dir_entry *) (bh->b_data + offset); |
offset | 176 | fs/ext2/dir.c | bh, offset)) { |
offset | 184 | fs/ext2/dir.c | offset += de->rec_len; |
offset | 204 | 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 | 117 | fs/ext2/file.c | chars = sb->s_blocksize - offset; |
offset | 119 | fs/ext2/file.c | blocks = (left + offset + sb->s_blocksize - 1) >> EXT2_BLOCK_SIZE_BITS(sb); |
offset | 198 | fs/ext2/file.c | memcpy_tofs (buf, offset + (*bhe)->b_data, |
offset | 206 | fs/ext2/file.c | offset = 0; |
offset | 238 | fs/ext2/file.c | int offset; |
offset | 277 | fs/ext2/file.c | offset = pos2 & (sb->s_blocksize - 1); |
offset | 278 | fs/ext2/file.c | c = sb->s_blocksize - offset; |
offset | 308 | fs/ext2/file.c | memcpy_fromfs (bh->b_data + offset, buf, c); |
offset | 329 | fs/ext2/file.c | offset = 0; |
offset | 75 | fs/ext2/namei.c | unsigned long offset; |
offset | 104 | fs/ext2/namei.c | for (block = 0, offset = 0; offset < dir->i_size; block++) { |
offset | 117 | fs/ext2/namei.c | dir->i_ino, offset); |
offset | 118 | fs/ext2/namei.c | offset += sb->s_blocksize; |
offset | 133 | fs/ext2/namei.c | de, bh, offset)) |
offset | 143 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 224 | fs/ext2/namei.c | unsigned long offset; |
offset | 256 | fs/ext2/namei.c | offset = 0; |
offset | 263 | fs/ext2/namei.c | bh = ext2_bread (dir, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, err); |
offset | 266 | fs/ext2/namei.c | if (dir->i_size <= offset) { |
offset | 277 | fs/ext2/namei.c | dir->i_size = offset + sb->s_blocksize; |
offset | 287 | fs/ext2/namei.c | offset)) { |
offset | 299 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 330 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 553 | fs/ext2/namei.c | unsigned long offset; |
offset | 576 | fs/ext2/namei.c | offset = de->rec_len + de1->rec_len; |
offset | 578 | fs/ext2/namei.c | while (offset < inode->i_size ) { |
offset | 581 | fs/ext2/namei.c | bh = ext2_bread (inode, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, &err); |
offset | 585 | fs/ext2/namei.c | inode->i_ino, offset); |
offset | 586 | fs/ext2/namei.c | offset += sb->s_blocksize; |
offset | 592 | fs/ext2/namei.c | offset)) { |
offset | 600 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 406 | fs/ext2/super.c | unsigned long offset; |
offset | 411 | fs/ext2/super.c | offset = (sb_block*BLOCK_SIZE) % sb->s_blocksize; |
offset | 417 | fs/ext2/super.c | es = (struct ext2_super_block *) (((char *)bh->b_data) + offset); |
offset | 110 | fs/ext2/truncate.c | static int trunc_indirect (struct inode * inode, int offset, u32 * p) |
offset | 121 | fs/ext2/truncate.c | #define INDIRECT_BLOCK ((int)DIRECT_BLOCK - offset) |
offset | 199 | fs/ext2/truncate.c | static int trunc_dindirect (struct inode * inode, int offset, |
offset | 208 | fs/ext2/truncate.c | #define DINDIRECT_BLOCK (((int)DIRECT_BLOCK - offset) / addr_per_block) |
offset | 233 | fs/ext2/truncate.c | retry |= trunc_indirect (inode, offset + (i * addr_per_block), |
offset | 325 | fs/ext2/truncate.c | int offset; |
offset | 356 | fs/ext2/truncate.c | offset = inode->i_size & (inode->i_sb->s_blocksize - 1); |
offset | 357 | 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 | 112 | fs/isofs/dir.c | unsigned int block, offset; |
offset | 120 | fs/isofs/dir.c | offset = filp->f_pos & (bufsize - 1); |
offset | 133 | fs/isofs/dir.c | block, offset, filp->f_pos); |
offset | 136 | fs/isofs/dir.c | if (offset >= bufsize) { |
offset | 138 | fs/isofs/dir.c | offset = 0; |
offset | 148 | fs/isofs/dir.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 149 | fs/isofs/dir.c | inode_number = (block << bufbits) + (offset & (bufsize - 1)); |
offset | 161 | fs/isofs/dir.c | offset = 0; |
offset | 174 | fs/isofs/dir.c | next_offset = offset + de_len; |
offset | 177 | fs/isofs/dir.c | memcpy(tmpde, de, bufsize - offset); |
offset | 185 | fs/isofs/dir.c | memcpy(bufsize - offset + (char *) tmpde, bh->b_data, next_offset); |
offset | 188 | fs/isofs/dir.c | offset = next_offset; |
offset | 120 | fs/isofs/file.c | int block, blocks, offset, total_blocks; |
offset | 147 | fs/isofs/file.c | offset = (inode->u.isofs_i.i_first_extent + filp->f_pos) |
offset | 149 | fs/isofs/file.c | blocks = (left + offset + ISOFS_BUFFER_SIZE(inode) - 1) / ISOFS_BUFFER_SIZE(inode); |
offset | 219 | fs/isofs/file.c | if (left < ISOFS_BUFFER_SIZE(inode) - offset) |
offset | 222 | fs/isofs/file.c | chars = ISOFS_BUFFER_SIZE(inode) - offset; |
offset | 229 | fs/isofs/file.c | unixify_to_fs(buf, offset+(*bhe)->b_data, chars, |
offset | 232 | fs/isofs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 239 | fs/isofs/file.c | offset = 0; |
offset | 438 | fs/isofs/inode.c | int frag1, offset; |
offset | 440 | fs/isofs/inode.c | offset = (inode->i_ino & (bufsize - 1)); |
offset | 441 | fs/isofs/inode.c | frag1 = bufsize - offset; |
offset | 448 | fs/isofs/inode.c | memcpy(cpnt, bh->b_data + offset, frag1); |
offset | 455 | fs/isofs/inode.c | offset += *pnt - bufsize; |
offset | 456 | fs/isofs/inode.c | memcpy((char *)cpnt+frag1, bh->b_data, offset); |
offset | 635 | fs/isofs/inode.c | unsigned int block,offset; |
offset | 644 | fs/isofs/inode.c | offset = 0; |
offset | 649 | fs/isofs/inode.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 656 | fs/isofs/inode.c | offset += *((unsigned char *) de); |
offset | 658 | fs/isofs/inode.c | if (offset >= bufsize) |
offset | 681 | fs/isofs/inode.c | offset = 0; |
offset | 688 | fs/isofs/inode.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 689 | fs/isofs/inode.c | inode_number = (block << bufbits)+(offset & (bufsize - 1)); |
offset | 698 | fs/isofs/inode.c | offset = 0; |
offset | 714 | fs/isofs/inode.c | old_offset = offset; |
offset | 715 | fs/isofs/inode.c | offset += *((unsigned char *) de); |
offset | 717 | fs/isofs/inode.c | if (offset >= bufsize) |
offset | 726 | fs/isofs/inode.c | offset -= bufsize; |
offset | 734 | fs/isofs/inode.c | memcpy((char *)cpnt+frag1, bh->b_data, offset); |
offset | 66 | fs/isofs/namei.c | unsigned int block, i, f_pos, offset, inode_number; |
offset | 83 | fs/isofs/namei.c | offset = f_pos & (bufsize - 1); |
offset | 89 | fs/isofs/namei.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 91 | fs/isofs/namei.c | inode_number = (block << bufbits) + (offset & (bufsize - 1)); |
offset | 98 | fs/isofs/namei.c | offset = 0; |
offset | 107 | fs/isofs/namei.c | old_offset = offset; |
offset | 108 | fs/isofs/namei.c | offset += *((unsigned char *) de); |
offset | 113 | fs/isofs/namei.c | if (offset >= bufsize) { |
offset | 122 | fs/isofs/namei.c | offset = f_pos & (bufsize - 1); |
offset | 128 | fs/isofs/namei.c | memcpy((char *)cpnt+frag1, bh->b_data, offset); |
offset | 44 | fs/isofs/rock.c | cont_offset = isonum_733(rr->u.CE.offset); \ |
offset | 56 | fs/isofs/rock.c | int block, offset, offset1; \ |
offset | 61 | fs/isofs/rock.c | offset = cont_offset; \ |
offset | 65 | fs/isofs/rock.c | if (offset >= 1024) block++; \ |
offset | 66 | fs/isofs/rock.c | offset &= 1023; \ |
offset | 67 | fs/isofs/rock.c | if(offset + cont_size >= 1024) { \ |
offset | 72 | fs/isofs/rock.c | memcpy(buffer, bh->b_data + offset, 1024 - offset); \ |
offset | 74 | fs/isofs/rock.c | offset1 = 1024 - offset; \ |
offset | 75 | fs/isofs/rock.c | offset = 0;} \ |
offset | 81 | fs/isofs/rock.c | memcpy(buffer + offset1, bh->b_data + offset, cont_size - offset1); \ |
offset | 435 | fs/isofs/rock.c | int frag1, offset; |
offset | 437 | fs/isofs/rock.c | offset = (inode->i_ino & (bufsize - 1)); |
offset | 438 | fs/isofs/rock.c | frag1 = bufsize - offset; |
offset | 441 | fs/isofs/rock.c | memcpy(cpnt, bh->b_data + offset, frag1); |
offset | 448 | fs/isofs/rock.c | offset += *pnt - bufsize; |
offset | 449 | fs/isofs/rock.c | memcpy((char *)cpnt+frag1, bh->b_data, offset); |
offset | 13 | fs/isofs/rock.h | char offset[8]; |
offset | 61 | fs/minix/dir.c | unsigned int offset; |
offset | 72 | fs/minix/dir.c | offset = filp->f_pos & 1023; |
offset | 75 | fs/minix/dir.c | filp->f_pos += 1024-offset; |
offset | 79 | fs/minix/dir.c | de = (struct minix_dir_entry *) (offset + bh->b_data); |
offset | 87 | fs/minix/dir.c | offset += info->s_dirsize; |
offset | 89 | fs/minix/dir.c | } while (offset < 1024 && filp->f_pos < inode->i_size); |
offset | 69 | fs/minix/file.c | int block, blocks, offset; |
offset | 84 | fs/minix/file.c | offset = filp->f_pos; |
offset | 86 | fs/minix/file.c | if (offset > size) |
offset | 89 | fs/minix/file.c | left = size - offset; |
offset | 95 | fs/minix/file.c | block = offset >> BLOCK_SIZE_BITS; |
offset | 96 | fs/minix/file.c | offset &= BLOCK_SIZE-1; |
offset | 98 | fs/minix/file.c | blocks = (left + offset + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; |
offset | 154 | fs/minix/file.c | if (left < BLOCK_SIZE - offset) |
offset | 157 | fs/minix/file.c | chars = BLOCK_SIZE - offset; |
offset | 162 | fs/minix/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 169 | fs/minix/file.c | offset = 0; |
offset | 41 | fs/minix/namei.c | struct buffer_head * bh, unsigned long * offset, |
offset | 46 | fs/minix/namei.c | de = (struct minix_dir_entry *) (bh->b_data + *offset); |
offset | 47 | fs/minix/namei.c | *offset += info->s_dirsize; |
offset | 67 | fs/minix/namei.c | unsigned long block, offset; |
offset | 83 | fs/minix/namei.c | block = offset = 0; |
offset | 84 | fs/minix/namei.c | while (block*BLOCK_SIZE+offset < dir->i_size) { |
offset | 92 | fs/minix/namei.c | *res_dir = (struct minix_dir_entry *) (bh->b_data + offset); |
offset | 93 | fs/minix/namei.c | if (minix_match(namelen,name,bh,&offset,info)) |
offset | 95 | fs/minix/namei.c | if (offset < bh->b_size) |
offset | 99 | fs/minix/namei.c | offset = 0; |
offset | 151 | fs/minix/namei.c | unsigned long block, offset; |
offset | 171 | fs/minix/namei.c | block = offset = 0; |
offset | 178 | fs/minix/namei.c | de = (struct minix_dir_entry *) (bh->b_data + offset); |
offset | 179 | fs/minix/namei.c | offset += info->s_dirsize; |
offset | 180 | fs/minix/namei.c | if (block*bh->b_size + offset > dir->i_size) { |
offset | 182 | fs/minix/namei.c | dir->i_size = block*bh->b_size + offset; |
offset | 200 | fs/minix/namei.c | if (offset < bh->b_size) |
offset | 204 | fs/minix/namei.c | offset = 0; |
offset | 376 | fs/minix/namei.c | unsigned int block, offset; |
offset | 386 | fs/minix/namei.c | offset = 2*info->s_dirsize; |
offset | 389 | fs/minix/namei.c | if (inode->i_size < offset) |
offset | 400 | fs/minix/namei.c | while (block*BLOCK_SIZE+offset < inode->i_size) { |
offset | 408 | fs/minix/namei.c | de = (struct minix_dir_entry *) (bh->b_data + offset); |
offset | 409 | fs/minix/namei.c | offset += info->s_dirsize; |
offset | 414 | fs/minix/namei.c | if (offset < bh->b_size) |
offset | 418 | fs/minix/namei.c | offset = 0; |
offset | 60 | fs/minix/truncate.c | static int trunc_indirect(struct inode * inode, int offset, unsigned short * p) |
offset | 67 | fs/minix/truncate.c | #define INDIRECT_BLOCK (DIRECT_BLOCK-offset) |
offset | 245 | fs/msdos/fat.c | int cluster,offset; |
offset | 254 | fs/msdos/fat.c | offset = sector % sb->cluster_size; |
offset | 256 | fs/msdos/fat.c | return (cluster-2)*sb->cluster_size+sb->data_start+offset; |
offset | 214 | fs/msdos/file.c | int size,offset; |
offset | 232 | fs/msdos/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
offset | 233 | fs/msdos/file.c | data = bh->b_data + offset; |
offset | 234 | fs/msdos/file.c | size = MIN(SECTOR_SIZE-offset,left_in_file); |
offset | 272 | fs/msdos/file.c | int sector,offset,size,left,written; |
offset | 302 | fs/msdos/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
offset | 303 | fs/msdos/file.c | size = MIN(SECTOR_SIZE-offset,MAX(carry,count)); |
offset | 305 | fs/msdos/file.c | && offset == 0 |
offset | 320 | fs/msdos/file.c | memcpy_fromfs(bh->b_data+offset,buf,written = size); |
offset | 324 | fs/msdos/file.c | written = left = SECTOR_SIZE-offset; |
offset | 337 | fs/msdos/inode.c | int cluster,offset; |
offset | 344 | fs/msdos/inode.c | offset = block % sb->cluster_size; |
offset | 346 | fs/msdos/inode.c | return (cluster-2)*sb->cluster_size+sb->data_start+offset; |
offset | 287 | fs/msdos/misc.c | int sector,offset; |
offset | 290 | fs/msdos/misc.c | offset = *pos; |
offset | 291 | fs/msdos/misc.c | PRINTK (("get_entry offset %d\n",offset)); |
offset | 292 | fs/msdos/misc.c | if ((sector = msdos_smap(dir,offset >> SECTOR_BITS)) == -1) |
offset | 306 | fs/msdos/misc.c | *de = (struct msdos_dir_entry *) ((*bh)->b_data+(offset & |
offset | 308 | fs/msdos/misc.c | return (sector << MSDOS_DPS_BITS)+((offset & (SECTOR_SIZE-1)) >> |
offset | 376 | fs/nfs/proc.c | int offset, int count, char *data, struct nfs_fattr *fattr, int fs) |
offset | 383 | fs/nfs/proc.c | PRINTK("NFS call read %d @ %d\n", count, offset); |
offset | 389 | fs/nfs/proc.c | *p++ = htonl(offset); |
offset | 422 | fs/nfs/proc.c | int offset, int count, const char *data, struct nfs_fattr *fattr) |
offset | 428 | fs/nfs/proc.c | PRINTK("NFS call write %d @ %d\n", count, offset); |
offset | 434 | fs/nfs/proc.c | *p++ = htonl(offset); /* traditional, could be any value */ |
offset | 435 | 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 | 763 | fs/proc/array.c | static int get_root_array(char * page, int type, char **start, off_t offset, int length) |
offset | 807 | fs/proc/array.c | return get_ksyms_list(page, start, offset, length); |
offset | 834 | fs/proc/array.c | static inline int fill_array(char * page, int pid, int type, char **start, off_t offset, int length) |
offset | 838 | fs/proc/array.c | return get_root_array(page, type, start, offset, length); |
offset | 186 | fs/proc/mem.c | static int mem_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 190 | fs/proc/mem.c | file->f_pos = offset; |
offset | 193 | fs/proc/mem.c | file->f_pos += offset; |
offset | 78 | fs/proc/scsi.c | int get_not_present_info(char *buffer, char **start, off_t offset, int length) |
offset | 85 | fs/proc/scsi.c | if(pos < offset) { |
offset | 90 | fs/proc/scsi.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
offset | 91 | fs/proc/scsi.c | len -= (offset - begin); |
offset | 185 | fs/proc/scsi.c | off_t offset, int orig) |
offset | 189 | fs/proc/scsi.c | file->f_pos = offset; |
offset | 192 | fs/proc/scsi.c | file->f_pos += offset; |
offset | 195 | fs/proc/scsi.c | if (offset) /* to determine the length of the */ |
offset | 18 | fs/read_write.c | asmlinkage int sys_lseek(unsigned int fd, off_t offset, unsigned int origin) |
offset | 28 | fs/read_write.c | return file->f_op->lseek(file->f_inode,file,offset,origin); |
offset | 33 | fs/read_write.c | tmp = offset; |
offset | 36 | fs/read_write.c | tmp = file->f_pos + offset; |
offset | 41 | fs/read_write.c | tmp = file->f_inode->i_size + offset; |
offset | 60 | fs/read_write.c | loff_t offset; |
offset | 69 | fs/read_write.c | offset = (loff_t) (((unsigned long long) offset_high << 32) | offset_low); |
offset | 74 | fs/read_write.c | if (offset != (long) offset) |
offset | 76 | fs/read_write.c | return file->f_op->lseek(file->f_inode,file,offset,origin); |
offset | 81 | fs/read_write.c | tmp = offset; |
offset | 84 | fs/read_write.c | tmp = file->f_pos + offset; |
offset | 89 | fs/read_write.c | tmp = file->f_inode->i_size + offset; |
offset | 39 | fs/readdir.c | static int fillonedir(void * __buf, const char * name, int namlen, off_t offset, ino_t ino) |
offset | 49 | fs/readdir.c | put_user(offset, &dirent->d_offset); |
offset | 95 | fs/readdir.c | static int filldir(void * __buf, const char * name, int namlen, off_t offset, ino_t ino) |
offset | 106 | fs/readdir.c | put_user(offset, &dirent->d_off); |
offset | 612 | fs/smbfs/proc.c | off_t offset, long count, char *data, int fs) |
offset | 622 | fs/smbfs/proc.c | DSET(buf, smb_vwv2, offset); |
offset | 650 | fs/smbfs/proc.c | off_t offset, long count, char *data) |
offset | 662 | fs/smbfs/proc.c | DSET(buf, smb_vwv1, offset); |
offset | 674 | fs/smbfs/proc.c | off_t offset, int count, const char *data) |
offset | 683 | fs/smbfs/proc.c | DSET(buf, smb_vwv2, offset); |
offset | 702 | fs/smbfs/proc.c | off_t offset, long count, const char *data) |
offset | 716 | fs/smbfs/proc.c | DSET(buf, smb_vwv3, offset); |
offset | 69 | fs/sysv/dir.c | unsigned int offset,i; |
offset | 79 | fs/sysv/dir.c | offset = filp->f_pos & sb->sv_block_size_1; |
offset | 82 | fs/sysv/dir.c | filp->f_pos += sb->sv_block_size - offset; |
offset | 86 | fs/sysv/dir.c | while (offset < sb->sv_block_size && filp->f_pos < inode->i_size) { |
offset | 87 | fs/sysv/dir.c | de = (struct sysv_dir_entry *) (offset + bh_data); |
offset | 106 | fs/sysv/dir.c | offset += SYSV_DIRSIZE; |
offset | 77 | fs/sysv/file.c | int blocks, offset; |
offset | 92 | fs/sysv/file.c | offset = filp->f_pos; |
offset | 94 | fs/sysv/file.c | if (offset > size) |
offset | 97 | fs/sysv/file.c | left = size - offset; |
offset | 103 | fs/sysv/file.c | block = offset >> sb->sv_block_size_bits; |
offset | 104 | fs/sysv/file.c | offset &= sb->sv_block_size_1; |
offset | 106 | fs/sysv/file.c | blocks = (left + offset + sb->sv_block_size_1) >> sb->sv_block_size_bits; |
offset | 162 | fs/sysv/file.c | if (left < sb->sv_block_size - offset) |
offset | 165 | fs/sysv/file.c | chars = sb->sv_block_size - offset; |
offset | 170 | fs/sysv/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 177 | fs/sysv/file.c | offset = 0; |
offset | 44 | fs/sysv/ialloc.c | unsigned int offset = offsetof(struct xenix_super_block, s_inode[i]); |
offset | 45 | fs/sysv/ialloc.c | if (offset < 512) |
offset | 46 | fs/sysv/ialloc.c | return (sysv_ino_t*)(sb->sv_sbd1 + offset); |
offset | 48 | fs/sysv/ialloc.c | return (sysv_ino_t*)(sb->sv_sbd2 + offset); |
offset | 64 | fs/sysv/namei.c | unsigned long pos, block, offset; /* pos = block * block_size + offset */ |
offset | 77 | fs/sysv/namei.c | pos = block = offset = 0; |
offset | 88 | fs/sysv/namei.c | *res_dir = (struct sysv_dir_entry *) (bh->b_data + offset) )) |
offset | 91 | fs/sysv/namei.c | offset += SYSV_DIRSIZE; |
offset | 92 | fs/sysv/namei.c | if (offset < sb->sv_block_size) |
offset | 96 | fs/sysv/namei.c | offset = 0; block++; |
offset | 148 | fs/sysv/namei.c | unsigned long pos, block, offset; /* pos = block * block_size + offset */ |
offset | 165 | fs/sysv/namei.c | pos = block = offset = 0; |
offset | 172 | fs/sysv/namei.c | de = (struct sysv_dir_entry *) (bh->b_data + offset); |
offset | 174 | fs/sysv/namei.c | offset += SYSV_DIRSIZE; |
offset | 194 | fs/sysv/namei.c | if (offset < sb->sv_block_size) |
offset | 198 | fs/sysv/namei.c | offset = 0; block++; |
offset | 368 | fs/sysv/namei.c | unsigned long pos, block, offset; /* pos = block * block_size + offset */ |
offset | 376 | fs/sysv/namei.c | pos = offset = 2*SYSV_DIRSIZE; |
offset | 400 | fs/sysv/namei.c | de = (struct sysv_dir_entry *) (bh->b_data + offset); |
offset | 402 | fs/sysv/namei.c | offset += SYSV_DIRSIZE; |
offset | 407 | fs/sysv/namei.c | if (offset < sb->sv_block_size) |
offset | 411 | fs/sysv/namei.c | offset = 0; block++; |
offset | 74 | fs/sysv/truncate.c | static int trunc_indirect(struct inode * inode, unsigned long offset, unsigned long * p, int convert, unsigned char * dirt) |
offset | 102 | fs/sysv/truncate.c | if (inode->i_size < offset) |
offset | 105 | fs/sysv/truncate.c | i = (inode->i_size - offset + sb->sv_block_size_1) >> sb->sv_block_size_bits; |
offset | 114 | fs/sysv/truncate.c | if ((i << sb->sv_block_size_bits) + offset < inode->i_size) { |
offset | 143 | fs/sysv/truncate.c | static int trunc_dindirect(struct inode * inode, unsigned long offset, unsigned long * p, int convert, unsigned char * dirt) |
offset | 169 | fs/sysv/truncate.c | if (inode->i_size < offset) |
offset | 172 | 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 | 180 | fs/sysv/truncate.c | retry |= trunc_indirect(inode,offset+(i<<sb->sv_ind_per_block_bits),ind,sb->sv_convert,&indbh->b_dirt); |
offset | 197 | fs/sysv/truncate.c | static int trunc_tindirect(struct inode * inode, unsigned long offset, unsigned long * p, int convert, unsigned char * dirt) |
offset | 223 | fs/sysv/truncate.c | if (inode->i_size < offset) |
offset | 226 | 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 | 234 | 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 | 51 | fs/umsdos/dir.c | off_t offset, |
offset | 61 | fs/umsdos/dir.c | Printk (("dir_once :%s: offset %Ld\n",zname,offset)); |
offset | 63 | fs/umsdos/dir.c | ret = d->filldir (d->dirbuf,name,name_len,offset,ino); |
offset | 420 | fs/umsdos/dir.c | off_t offset, |
offset | 424 | fs/umsdos/dir.c | d->f_pos = offset; |
offset | 439 | fs/umsdos/dir.c | off_t offset, |
offset | 34 | fs/umsdos/ioctl.c | off_t offset, |
offset | 44 | fs/umsdos/ioctl.c | put_user (offset,&d->ent->d_off); |
offset | 37 | fs/umsdos/rdir.c | off_t offset, |
offset | 53 | fs/umsdos/rdir.c | ret = d->filldir (d->dirbuf,name,name_len,offset,ino); |
offset | 57 | fs/umsdos/rdir.c | ret = d->filldir (d->dirbuf,name,name_len,offset,ino); |
offset | 217 | fs/xiafs/bitmap.c | unsigned int bit, offset; |
offset | 236 | fs/xiafs/bitmap.c | offset = bit & (XIAFS_BITS_PER_Z(sb) -1); |
offset | 237 | fs/xiafs/bitmap.c | if (!clear_bit(offset, bh->b_data)) |
offset | 69 | fs/xiafs/dir.c | u_int offset, i; |
offset | 78 | fs/xiafs/dir.c | offset = filp->f_pos & (XIAFS_ZSIZE(inode->i_sb) - 1); |
offset | 81 | fs/xiafs/dir.c | filp->f_pos += XIAFS_ZSIZE(inode->i_sb)-offset; |
offset | 84 | fs/xiafs/dir.c | for (i = 0; i < XIAFS_ZSIZE(inode->i_sb) && i < offset; ) { |
offset | 90 | fs/xiafs/dir.c | offset = i; |
offset | 91 | fs/xiafs/dir.c | de = (struct xiafs_direct *) (offset + bh->b_data); |
offset | 93 | fs/xiafs/dir.c | while (offset < XIAFS_ZSIZE(inode->i_sb) && filp->f_pos < inode->i_size) { |
offset | 114 | fs/xiafs/dir.c | offset += de->d_rec_len; |
offset | 116 | fs/xiafs/dir.c | de = (struct xiafs_direct *) (offset + bh->b_data); |
offset | 119 | fs/xiafs/dir.c | if (offset > XIAFS_ZSIZE(inode->i_sb)) { |
offset | 73 | fs/xiafs/file.c | int zone_nr, zones, f_zones, offset; |
offset | 87 | fs/xiafs/file.c | offset = filp->f_pos; |
offset | 88 | fs/xiafs/file.c | left = inode->i_size - offset; |
offset | 94 | fs/xiafs/file.c | zone_nr = offset >> XIAFS_ZSIZE_BITS(inode->i_sb); |
offset | 95 | fs/xiafs/file.c | offset &= XIAFS_ZSIZE(inode->i_sb) -1 ; |
offset | 97 | fs/xiafs/file.c | zones = (left+offset+XIAFS_ZSIZE(inode->i_sb)-1) >> XIAFS_ZSIZE_BITS(inode->i_sb); |
offset | 152 | fs/xiafs/file.c | if (left < XIAFS_ZSIZE(inode->i_sb) - offset) |
offset | 155 | fs/xiafs/file.c | chars = XIAFS_ZSIZE(inode->i_sb) - offset; |
offset | 160 | fs/xiafs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 167 | fs/xiafs/file.c | offset = 0; |
offset | 158 | fs/xiafs/namei.c | int i, pos, offset; |
offset | 183 | fs/xiafs/namei.c | offset = 12; |
offset | 186 | fs/xiafs/namei.c | offset = 0; |
offset | 187 | fs/xiafs/namei.c | while (offset < XIAFS_ZSIZE(dir->i_sb)) { |
offset | 231 | fs/xiafs/namei.c | offset+=de->d_rec_len; |
offset | 233 | fs/xiafs/namei.c | de=(struct xiafs_direct *)(bh->b_data+offset); |
offset | 236 | fs/xiafs/namei.c | if (offset > XIAFS_ZSIZE(dir->i_sb)) { |
offset | 408 | fs/xiafs/namei.c | int i, zones, offset; |
offset | 438 | fs/xiafs/namei.c | offset=de->d_rec_len+12; |
offset | 441 | fs/xiafs/namei.c | offset = 0; |
offset | 444 | fs/xiafs/namei.c | while (offset < XIAFS_ZSIZE(inode->i_sb)) { |
offset | 445 | fs/xiafs/namei.c | de=(struct xiafs_direct *)(bh->b_data+offset); |
offset | 459 | 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 | 410 | include/asm-alpha/pgtable.h | extern inline pte_t mk_swap_pte(unsigned long type, unsigned long offset) |
offset | 411 | include/asm-alpha/pgtable.h | { pte_t pte; pte_val(pte) = (type << 32) | (offset << 40); return pte; } |
offset | 415 | include/asm-alpha/pgtable.h | #define SWP_ENTRY(type,offset) pte_val(mk_swap_pte((type),(offset))) |
offset | 103 | include/asm-i386/bitops.h | extern __inline__ int find_next_zero_bit (void * addr, int size, int offset) |
offset | 105 | include/asm-i386/bitops.h | unsigned long * p = ((unsigned long *) addr) + (offset >> 5); |
offset | 106 | include/asm-i386/bitops.h | int set = 0, bit = offset & 31, res; |
offset | 120 | include/asm-i386/bitops.h | return set + offset; |
offset | 128 | include/asm-i386/bitops.h | return (offset + set + res); |
offset | 348 | include/asm-i386/pgtable.h | #define SWP_ENTRY(type,offset) (((type) << 1) | ((offset) << 8)) |
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 | 284 | include/asm-sparc/bitops.h | find_next_zero_bit(void *addr, unsigned long size, unsigned long offset) |
offset | 291 | include/asm-sparc/bitops.h | unsigned long *p = ((unsigned long *) addr) + (offset >> 6); |
offset | 292 | include/asm-sparc/bitops.h | unsigned long result = offset & ~31UL; |
offset | 295 | include/asm-sparc/bitops.h | if (offset >= size) |
offset | 298 | include/asm-sparc/bitops.h | offset &= 31UL; |
offset | 299 | include/asm-sparc/bitops.h | if (offset) |
offset | 302 | include/asm-sparc/bitops.h | tmp |= ~0UL >> (32-offset); |
offset | 66 | include/asm-sparc/mostek.h | char offset[6*1024]; /* Magic things may be here, who knows? */ |
offset | 25 | include/asm-sparc/sbus.h | extern inline unsigned long sbus_devaddr(int slotnum, unsigned long offset) |
offset | 27 | include/asm-sparc/sbus.h | return (unsigned long) (SUN_SBUS_BVADDR+((slotnum)<<25)+(offset)); |
offset | 61 | include/asm-sparc/sbus.h | unsigned long offset; /* Offset given by PROM */ |
offset | 43 | include/linux/binfmts.h | extern int read_exec(struct inode *inode, unsigned long offset, |
offset | 157 | include/linux/cdk.h | unsigned long offset; |
offset | 434 | include/linux/cdk.h | unsigned long offset; |
offset | 123 | include/linux/mm.h | unsigned long offset; |
offset | 188 | include/linux/mm.h | extern void vmtruncate(struct inode * inode, unsigned long offset); |
offset | 202 | include/linux/mm.h | extern void * vremap(unsigned long offset, unsigned long size); |
offset | 221 | include/linux/netdevice.h | extern int dev_get_info(char *buffer, char **start, off_t offset, int length, int dummy); |
offset | 63 | include/linux/nfs_fs.h | int offset, int count, char *data, |
offset | 66 | include/linux/nfs_fs.h | int offset, int count, const char *data, |
offset | 367 | include/linux/skbuff.h | extern void skb_copy_datagram(struct sk_buff *from, int offset, char *to,int size); |
offset | 368 | include/linux/skbuff.h | extern void skb_copy_datagram_iovec(struct sk_buff *from, int offset, struct iovec *to,int size); |
offset | 132 | include/linux/smb_fs.h | off_t offset, long count, char *data, int fs); |
offset | 134 | include/linux/smb_fs.h | off_t offset, long count, char *data); |
offset | 136 | include/linux/smb_fs.h | off_t offset, int count, const char *data); |
offset | 138 | include/linux/smb_fs.h | off_t offset, long count, const char *data); |
offset | 128 | include/linux/timex.h | long offset; /* time offset (usec) */ |
offset | 100 | include/linux/xd.h | u_long offset; |
offset | 53 | include/net/ip.h | int offset; /* offset of fragment in IP datagram */ |
offset | 8 | include/net/rarp.h | off_t offset, |
offset | 51 | include/net/route.h | extern int rt_get_info(char * buffer, char **start, off_t offset, int length, int dummy); |
offset | 603 | ipc/shm.c | static pte_t shm_swap_in(struct vm_area_struct * shmd, unsigned long offset, unsigned long code) |
offset | 625 | ipc/shm.c | if (idx != (offset >> PAGE_SHIFT)) { |
offset | 627 | ipc/shm.c | idx, offset >> PAGE_SHIFT); |
offset | 117 | kernel/ksyms.c | off_t offset, int length, |
offset | 580 | kernel/module.c | int get_ksyms_list(char *buf, char **start, off_t offset, int length) |
offset | 609 | kernel/module.c | if (pos < offset) { |
offset | 614 | kernel/module.c | if (pos > offset+length) |
offset | 620 | kernel/module.c | *start = buf + (offset - begin); |
offset | 621 | kernel/module.c | len -= (offset - begin); |
offset | 206 | kernel/time.c | if (txc.offset <= - MAXPHASE || txc.offset >= MAXPHASE ) |
offset | 244 | kernel/time.c | time_adjust = txc.offset; |
offset | 250 | kernel/time.c | pps_offset : txc.offset; |
offset | 309 | kernel/time.c | txc.offset = save_adjust; |
offset | 75 | mm/filemap.c | unsigned long offset, |
offset | 99 | mm/filemap.c | size = offset + PAGE_SIZE; |
offset | 105 | mm/filemap.c | if (size < offset) |
offset | 108 | mm/filemap.c | size -= offset; |
offset | 113 | mm/filemap.c | file.f_pos = offset; |
offset | 136 | mm/filemap.c | unsigned long offset, |
offset | 145 | mm/filemap.c | error = filemap_write_page(vma, offset, page); |
offset | 158 | mm/filemap.c | unsigned long offset, |
offset | 206 | mm/filemap.c | struct vm_area_struct *vma, unsigned long offset, unsigned int flags) |
offset | 220 | mm/filemap.c | offset += address & PMD_MASK; |
offset | 227 | mm/filemap.c | error |= filemap_sync_pte(pte, vma, address + offset, flags); |
offset | 239 | mm/filemap.c | unsigned long offset, end; |
offset | 250 | mm/filemap.c | offset = address & PMD_MASK; |
offset | 257 | mm/filemap.c | error |= filemap_sync_pte_range(pmd, address, end - address, vma, offset, flags); |
offset | 442 | mm/memory.c | unsigned long offset, pgprot_t prot) |
offset | 453 | mm/memory.c | if (offset >= high_memory || mem_map[MAP_NR(offset)].reserved) |
offset | 454 | mm/memory.c | set_pte(pte, mk_pte(offset, prot)); |
offset | 457 | mm/memory.c | offset += PAGE_SIZE; |
offset | 463 | mm/memory.c | unsigned long offset, pgprot_t prot) |
offset | 471 | mm/memory.c | offset -= address; |
offset | 476 | mm/memory.c | remap_pte_range(pte, address, end - address, address + offset, prot); |
offset | 483 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long offset, unsigned long size, pgprot_t prot) |
offset | 489 | mm/memory.c | offset -= from; |
offset | 496 | mm/memory.c | error = remap_pmd_range(pmd, from, end - from, offset + from, prot); |
offset | 860 | mm/memory.c | unsigned long offset; |
offset | 874 | mm/memory.c | offset = address - area->vm_start + area->vm_offset; |
offset | 887 | mm/memory.c | from_address = offset + mpnt->vm_start - mpnt->vm_offset; |
offset | 969 | mm/memory.c | void vmtruncate(struct inode * inode, unsigned long offset) |
offset | 988 | mm/memory.c | if (mpnt->vm_offset >= offset) { |
offset | 993 | mm/memory.c | diff = offset - mpnt->vm_offset; |
offset | 180 | mm/swap.c | unsigned long type, offset; |
offset | 189 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 190 | mm/swap.c | if (offset >= p->max) { |
offset | 194 | mm/swap.c | if (p->swap_map && !p->swap_map[offset]) { |
offset | 202 | mm/swap.c | while (set_bit(offset,p->swap_lockmap)) |
offset | 209 | mm/swap.c | ll_rw_page(rw,p->swap_device,offset,buf); |
offset | 229 | mm/swap.c | unsigned int block = offset << 3; |
offset | 239 | mm/swap.c | unsigned int block = offset |
offset | 251 | mm/swap.c | if (offset && !clear_bit(offset,p->swap_lockmap)) |
offset | 259 | mm/swap.c | unsigned long offset, entry; |
offset | 269 | mm/swap.c | for (offset = p->lowest_bit; offset <= p->highest_bit ; offset++) { |
offset | 270 | mm/swap.c | if (p->swap_map[offset]) |
offset | 272 | mm/swap.c | if (test_bit(offset, p->swap_lockmap)) |
offset | 274 | mm/swap.c | p->swap_map[offset] = 1; |
offset | 276 | mm/swap.c | if (offset == p->highest_bit) |
offset | 278 | mm/swap.c | p->lowest_bit = offset; |
offset | 279 | mm/swap.c | entry = SWP_ENTRY(type,offset); |
offset | 305 | mm/swap.c | unsigned long offset, type; |
offset | 309 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 318 | mm/swap.c | if (offset >= p->max) { |
offset | 322 | mm/swap.c | if (!p->swap_map[offset]) { |
offset | 326 | mm/swap.c | p->swap_map[offset]++; |
offset | 333 | mm/swap.c | unsigned long offset, type; |
offset | 345 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 346 | mm/swap.c | if (offset >= p->max) { |
offset | 354 | mm/swap.c | if (offset < p->lowest_bit) |
offset | 355 | mm/swap.c | p->lowest_bit = offset; |
offset | 356 | mm/swap.c | if (offset > p->highest_bit) |
offset | 357 | mm/swap.c | p->highest_bit = offset; |
offset | 358 | mm/swap.c | if (!p->swap_map[offset]) |
offset | 361 | mm/swap.c | if (!--p->swap_map[offset]) |
offset | 938 | mm/swap.c | unsigned long address, unsigned long size, unsigned long offset, |
offset | 952 | mm/swap.c | offset += address & PMD_MASK; |
offset | 958 | mm/swap.c | if (unuse_pte(vma, offset+address-vma->vm_start, pte, type, page)) |
offset | 971 | mm/swap.c | unsigned long offset, end; |
offset | 981 | mm/swap.c | offset = address & PGDIR_MASK; |
offset | 987 | mm/swap.c | if (unuse_pmd(vma, pmd, address, end - address, offset, type, page)) |
offset | 174 | mm/vmalloc.c | unsigned long offset) |
offset | 185 | mm/vmalloc.c | set_pte(pte, mk_pte(offset, PAGE_KERNEL)); |
offset | 187 | mm/vmalloc.c | offset += PAGE_SIZE; |
offset | 193 | mm/vmalloc.c | unsigned long offset) |
offset | 201 | mm/vmalloc.c | offset -= address; |
offset | 206 | mm/vmalloc.c | remap_area_pte(pte, address, end - address, address + offset); |
offset | 213 | mm/vmalloc.c | static int remap_area_pages(unsigned long address, unsigned long offset, unsigned long size) |
offset | 218 | mm/vmalloc.c | offset -= address; |
offset | 224 | mm/vmalloc.c | if (remap_area_pmd(pmd, address, end - address, offset + address)) |
offset | 301 | mm/vmalloc.c | void * vremap(unsigned long offset, unsigned long size) |
offset | 306 | mm/vmalloc.c | if (offset < high_memory) |
offset | 308 | mm/vmalloc.c | if (offset & ~PAGE_MASK) |
offset | 311 | mm/vmalloc.c | if (!size || size > offset + size) |
offset | 317 | mm/vmalloc.c | if (remap_area_pages(VMALLOC_VMADDR(addr), offset, size)) { |
offset | 244 | net/802/tr.c | int rif_get_info(char *buffer,char **start, off_t offset, int length) { |
offset | 267 | net/802/tr.c | if(pos<offset) { |
offset | 271 | net/802/tr.c | if(pos>offset+length) |
offset | 274 | net/802/tr.c | if(pos>offset+length) |
offset | 278 | net/802/tr.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 279 | net/802/tr.c | len-=(offset-begin); /* Start slop */ |
offset | 233 | net/appletalk/ddp.c | int atalk_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 258 | net/appletalk/ddp.c | if(pos<offset) |
offset | 263 | net/appletalk/ddp.c | if(pos>offset+length) /* We have dumped enough */ |
offset | 268 | net/appletalk/ddp.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 269 | net/appletalk/ddp.c | len-=(offset-begin); /* Remove unwanted header data from length */ |
offset | 840 | net/appletalk/ddp.c | int atalk_if_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 856 | net/appletalk/ddp.c | if(pos<offset) |
offset | 861 | net/appletalk/ddp.c | if(pos>offset+length) |
offset | 864 | net/appletalk/ddp.c | *start=buffer+(offset-begin); |
offset | 865 | net/appletalk/ddp.c | len-=(offset-begin); |
offset | 873 | net/appletalk/ddp.c | int atalk_rt_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 895 | net/appletalk/ddp.c | if(pos<offset) |
offset | 900 | net/appletalk/ddp.c | if(pos>offset+length) |
offset | 903 | net/appletalk/ddp.c | *start=buffer+(offset-begin); |
offset | 904 | net/appletalk/ddp.c | len-=(offset-begin); |
offset | 2003 | net/ax25/af_ax25.c | static int ax25_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 2048 | net/ax25/af_ax25.c | if (pos < offset) { |
offset | 2053 | net/ax25/af_ax25.c | if (pos > offset + length) |
offset | 2059 | net/ax25/af_ax25.c | *start = buffer + (offset - begin); |
offset | 2060 | net/ax25/af_ax25.c | len -= (offset - begin); |
offset | 266 | net/ax25/ax25_route.c | int ax25_rt_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 307 | net/ax25/ax25_route.c | if (pos < offset) { |
offset | 312 | net/ax25/ax25_route.c | if (pos > offset + length) |
offset | 318 | net/ax25/ax25_route.c | *start = buffer + (offset - begin); |
offset | 319 | net/ax25/ax25_route.c | len -= (offset - begin); |
offset | 326 | net/ax25/ax25_route.c | int ax25_cs_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 342 | net/ax25/ax25_route.c | if (pos < offset) { |
offset | 347 | net/ax25/ax25_route.c | if (pos > offset + length) |
offset | 353 | net/ax25/ax25_route.c | *start = buffer + (offset - begin); |
offset | 354 | net/ax25/ax25_route.c | len -= offset - begin; |
offset | 169 | net/core/datagram.c | void skb_copy_datagram(struct sk_buff *skb, int offset, char *to, int size) |
offset | 171 | net/core/datagram.c | memcpy_tofs(to,skb->h.raw+offset,size); |
offset | 179 | net/core/datagram.c | void skb_copy_datagram_iovec(struct sk_buff *skb, int offset, struct iovec *to, int size) |
offset | 181 | net/core/datagram.c | memcpy_toiovec(to,skb->h.raw+offset,size); |
offset | 904 | net/core/dev.c | int dev_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 927 | net/core/dev.c | if(pos<offset) |
offset | 932 | net/core/dev.c | if(pos>offset+length) |
offset | 936 | net/core/dev.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 937 | net/core/dev.c | len-=(offset-begin); /* Start slop */ |
offset | 597 | net/core/skbuff.c | unsigned long offset; |
offset | 613 | net/core/skbuff.c | offset=n->head-skb->head; |
offset | 625 | net/core/skbuff.c | n->h.raw=skb->h.raw+offset; |
offset | 626 | net/core/skbuff.c | n->mac.raw=skb->mac.raw+offset; |
offset | 627 | net/core/skbuff.c | n->ip_hdr=(struct iphdr *)(((char *)skb->ip_hdr)+offset); |
offset | 1042 | net/ipv4/arp.c | int arp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 1103 | net/ipv4/arp.c | if(pos<offset) |
offset | 1108 | net/ipv4/arp.c | if(pos>offset+length) |
offset | 1114 | net/ipv4/arp.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 1115 | net/ipv4/arp.c | len-=(offset-begin); /* Start slop */ |
offset | 200 | net/ipv4/icmp.c | static void icmp_glue_bits(const void *p, __u32 saddr, char *to, unsigned int offset, unsigned int fraglen) |
offset | 206 | net/ipv4/icmp.c | if (offset) { |
offset | 207 | net/ipv4/icmp.c | icmp_param->csum=csum_partial_copy(icmp_param->data_ptr+offset-sizeof(struct icmphdr), |
offset | 91 | net/ipv4/ip_fragment.c | static struct ipfrag *ip_frag_create(int offset, int end, struct sk_buff *skb, unsigned char *ptr) |
offset | 105 | net/ipv4/ip_fragment.c | fp->offset = offset; |
offset | 107 | net/ipv4/ip_fragment.c | fp->len = end - offset; |
offset | 311 | net/ipv4/ip_fragment.c | int offset; |
offset | 319 | net/ipv4/ip_fragment.c | offset = 0; |
offset | 322 | net/ipv4/ip_fragment.c | if (fp->offset > offset) |
offset | 324 | net/ipv4/ip_fragment.c | offset = fp->end; |
offset | 386 | net/ipv4/ip_fragment.c | memcpy((ptr + fp->offset), fp->ptr, fp->len); |
offset | 416 | net/ipv4/ip_fragment.c | int flags, offset; |
offset | 434 | net/ipv4/ip_fragment.c | offset = ntohs(iph->frag_off); |
offset | 435 | net/ipv4/ip_fragment.c | flags = offset & ~IP_OFFSET; |
offset | 436 | net/ipv4/ip_fragment.c | offset &= IP_OFFSET; |
offset | 437 | net/ipv4/ip_fragment.c | if (((flags & IP_MF) == 0) && (offset == 0)) |
offset | 444 | net/ipv4/ip_fragment.c | offset <<= 3; /* offset is in 8-byte chunks */ |
offset | 458 | net/ipv4/ip_fragment.c | if (offset == 0) |
offset | 487 | net/ipv4/ip_fragment.c | end = offset + ntohs(iph->tot_len) - ihl; |
offset | 511 | net/ipv4/ip_fragment.c | if (next->offset > offset) |
offset | 521 | net/ipv4/ip_fragment.c | if (prev != NULL && offset < prev->end) |
offset | 523 | net/ipv4/ip_fragment.c | i = prev->end - offset; |
offset | 524 | net/ipv4/ip_fragment.c | offset += i; /* ptr into datagram */ |
offset | 536 | net/ipv4/ip_fragment.c | if (tmp->offset >= end) |
offset | 539 | net/ipv4/ip_fragment.c | i = end - next->offset; /* overlap is 'i' bytes */ |
offset | 541 | net/ipv4/ip_fragment.c | tmp->offset += i; /* next fragment */ |
offset | 569 | net/ipv4/ip_fragment.c | tfp = ip_frag_create(offset, end, skb, ptr); |
offset | 625 | net/ipv4/ip_fragment.c | int offset; |
offset | 685 | net/ipv4/ip_fragment.c | offset = (ntohs(iph->frag_off) & IP_OFFSET) << 3; |
offset | 687 | net/ipv4/ip_fragment.c | offset = 0; |
offset | 761 | net/ipv4/ip_fragment.c | iph->frag_off = htons((offset >> 3)); |
offset | 770 | net/ipv4/ip_fragment.c | if (offset == 0) |
offset | 780 | net/ipv4/ip_fragment.c | offset += len; |
offset | 200 | net/ipv4/ip_fw.c | unsigned short offset; |
offset | 225 | net/ipv4/ip_fw.c | offset = ntohs(ip->frag_off) & IP_OFFSET; |
offset | 234 | net/ipv4/ip_fw.c | if (offset == 1 && ip->protocol == IPPROTO_TCP) |
offset | 237 | net/ipv4/ip_fw.c | if (offset!=0 && (opt != 1) && (ip->protocol == IPPROTO_TCP || |
offset | 272 | net/ipv4/ip_fw.c | if (!offset) { |
offset | 287 | net/ipv4/ip_fw.c | if (!offset) { |
offset | 1520 | net/ipv4/ip_fw.c | off_t offset, int length, int reset) |
offset | 1571 | net/ipv4/ip_fw.c | if(pos<offset) |
offset | 1582 | net/ipv4/ip_fw.c | if(pos>offset+length) |
offset | 1587 | net/ipv4/ip_fw.c | *start=buffer+(offset-begin); |
offset | 1588 | net/ipv4/ip_fw.c | len-=(offset-begin); |
offset | 1597 | net/ipv4/ip_fw.c | static int ip_acct_procinfo(char *buffer, char **start, off_t offset, |
offset | 1600 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_INFO_ACCT, buffer,start, offset,length, |
offset | 1608 | net/ipv4/ip_fw.c | static int ip_fw_blk_procinfo(char *buffer, char **start, off_t offset, |
offset | 1611 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_INFO_BLK, buffer,start,offset,length, |
offset | 1615 | net/ipv4/ip_fw.c | static int ip_fw_fwd_procinfo(char *buffer, char **start, off_t offset, |
offset | 1618 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_INFO_FWD, buffer,start,offset,length, |
offset | 1625 | net/ipv4/ip_fw.c | static int ip_msqhst_procinfo(char *buffer, char **start, off_t offset, |
offset | 1653 | net/ipv4/ip_fw.c | if(pos<offset) |
offset | 1658 | net/ipv4/ip_fw.c | if(pos>offset+length) |
offset | 1663 | net/ipv4/ip_fw.c | *start=buffer+(offset-begin); |
offset | 1664 | net/ipv4/ip_fw.c | len-=(offset-begin); |
offset | 562 | net/ipv4/ip_output.c | int offset, mf; |
offset | 775 | net/ipv4/ip_output.c | offset = length - (length % (maxfraglen - fragheaderlen)); |
offset | 781 | net/ipv4/ip_output.c | fraglen = length - offset + fragheaderlen; |
offset | 783 | net/ipv4/ip_output.c | if(length-offset==0) |
offset | 786 | net/ipv4/ip_output.c | offset -= maxfraglen-fragheaderlen; |
offset | 800 | net/ipv4/ip_output.c | if (sk->ip_hdrincl && offset > 0) |
offset | 891 | net/ipv4/ip_output.c | true_daddr, dev->pa_addr, offset); |
offset | 896 | net/ipv4/ip_output.c | iph->frag_off = htons(offset>>3); |
offset | 922 | net/ipv4/ip_output.c | getfrag(frag, saddr, data, offset, fraglen-fragheaderlen); |
offset | 929 | net/ipv4/ip_output.c | if(!offset && call_out_firewall(PF_INET, skb, iph) < FW_ACCEPT) |
offset | 937 | net/ipv4/ip_output.c | if(!offset) |
offset | 940 | net/ipv4/ip_output.c | offset -= (maxfraglen-fragheaderlen); |
offset | 1023 | net/ipv4/ip_output.c | while (offset >= 0); |
offset | 43 | net/ipv4/ip_sockglue.c | int ip_mc_procinfo(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 68 | net/ipv4/ip_sockglue.c | if(pos<offset) |
offset | 73 | net/ipv4/ip_sockglue.c | if(pos>offset+length) |
offset | 79 | net/ipv4/ip_sockglue.c | *start=buffer+(offset-begin); |
offset | 80 | net/ipv4/ip_sockglue.c | len-=(offset-begin); |
offset | 786 | net/ipv4/ipmr.c | int ipmr_vif_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 811 | net/ipv4/ipmr.c | if(pos<offset) |
offset | 816 | net/ipv4/ipmr.c | if(pos>offset+length) |
offset | 820 | net/ipv4/ipmr.c | *start=buffer+(offset-begin); |
offset | 821 | net/ipv4/ipmr.c | len-=(offset-begin); |
offset | 827 | net/ipv4/ipmr.c | int ipmr_mfc_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 873 | net/ipv4/ipmr.c | if(pos<offset) |
offset | 878 | net/ipv4/ipmr.c | if(pos>offset+length) |
offset | 888 | net/ipv4/ipmr.c | *start=buffer+(offset-begin); |
offset | 889 | net/ipv4/ipmr.c | len-=(offset-begin); |
offset | 59 | net/ipv4/proc.c | get__netinfo(struct proto *pro, char *buffer, int format, char **start, off_t offset, int length) |
offset | 128 | net/ipv4/proc.c | if(pos<offset) |
offset | 133 | net/ipv4/proc.c | if(pos>offset+length) |
offset | 140 | net/ipv4/proc.c | if(pos>offset+length) |
offset | 143 | net/ipv4/proc.c | *start=buffer+(offset-begin); |
offset | 144 | net/ipv4/proc.c | len-=(offset-begin); |
offset | 151 | net/ipv4/proc.c | int tcp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 153 | net/ipv4/proc.c | return get__netinfo(&tcp_prot, buffer,0, start, offset, length); |
offset | 157 | net/ipv4/proc.c | int udp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 159 | net/ipv4/proc.c | return get__netinfo(&udp_prot, buffer,1, start, offset, length); |
offset | 163 | net/ipv4/proc.c | int raw_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 165 | net/ipv4/proc.c | return get__netinfo(&raw_prot, buffer,1, start, offset, length); |
offset | 172 | net/ipv4/proc.c | int afinet_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 178 | net/ipv4/proc.c | int len = socket_get_info(buffer,start,offset,length); |
offset | 189 | net/ipv4/proc.c | *start = buffer + offset; |
offset | 190 | net/ipv4/proc.c | len -= offset; |
offset | 201 | net/ipv4/proc.c | int snmp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 261 | net/ipv4/proc.c | if (offset >= len) |
offset | 266 | net/ipv4/proc.c | *start = buffer + offset; |
offset | 267 | net/ipv4/proc.c | len -= offset; |
offset | 477 | net/ipv4/rarp.c | int rarp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 523 | net/ipv4/rarp.c | if(pos<offset) |
offset | 528 | net/ipv4/rarp.c | if(pos>offset+length) |
offset | 534 | net/ipv4/rarp.c | *start = buffer+(offset-begin); /* Start of wanted data */ |
offset | 535 | net/ipv4/rarp.c | len -= (offset-begin); /* Start slop */ |
offset | 152 | net/ipv4/raw.c | static void raw_getfrag(const void *p, __u32 saddr, char *to, unsigned int offset, unsigned int fraglen) |
offset | 154 | net/ipv4/raw.c | memcpy_fromfs(to, (const unsigned char *)p+offset, fraglen); |
offset | 161 | net/ipv4/raw.c | static void raw_getrawfrag(const void *p, __u32 saddr, char *to, unsigned int offset, unsigned int fraglen) |
offset | 163 | net/ipv4/raw.c | memcpy_fromfs(to, (const unsigned char *)p+offset, fraglen); |
offset | 164 | net/ipv4/raw.c | if(offset==0) |
offset | 575 | net/ipv4/route.c | int rt_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 583 | net/ipv4/route.c | if(offset<128) |
offset | 592 | net/ipv4/route.c | if(pos+128<offset) |
offset | 605 | net/ipv4/route.c | if(pos<offset) |
offset | 610 | net/ipv4/route.c | if(pos>offset+length) |
offset | 614 | net/ipv4/route.c | *start=buffer+(offset-begin); |
offset | 615 | net/ipv4/route.c | len-=(offset-begin); |
offset | 2269 | net/ipv4/tcp.c | u32 offset; |
offset | 2291 | net/ipv4/tcp.c | offset = *seq - skb->h.th->seq; |
offset | 2293 | net/ipv4/tcp.c | offset--; |
offset | 2294 | net/ipv4/tcp.c | if (offset < skb->len) |
offset | 2364 | net/ipv4/tcp.c | used = skb->len - offset; |
offset | 2381 | net/ipv4/tcp.c | offset++; |
offset | 2404 | net/ipv4/tcp.c | skb->h.th->doff*4 + offset, used); |
offset | 2418 | net/ipv4/tcp.c | if (used + offset < skb->len) |
offset | 225 | net/ipv4/udp.c | static void udp_getfrag(const void *p, __u32 saddr, char * to, unsigned int offset, unsigned int fraglen) |
offset | 232 | net/ipv4/udp.c | if (offset) |
offset | 235 | net/ipv4/udp.c | src = ufh->from+(offset-sizeof(struct udphdr)); |
offset | 245 | net/ipv4/udp.c | if (offset == 0) |
offset | 265 | net/ipv4/udp.c | static void udp_getfrag_nosum(const void *p, __u32 saddr, char * to, unsigned int offset, unsigned int fraglen) |
offset | 272 | net/ipv4/udp.c | if (offset) |
offset | 275 | net/ipv4/udp.c | src = ufh->from+(offset-sizeof(struct udphdr)); |
offset | 285 | net/ipv4/udp.c | if (offset == 0) |
offset | 1172 | net/ipx/af_ipx.c | static int ipx_interface_get_info(char *buffer, char **start, off_t offset, |
offset | 1198 | net/ipx/af_ipx.c | if(pos<offset) { |
offset | 1202 | net/ipx/af_ipx.c | if(pos>offset+length) /* We have dumped enough */ |
offset | 1207 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 1208 | net/ipx/af_ipx.c | len-=(offset-begin); /* Remove unwanted header data from length */ |
offset | 1215 | net/ipx/af_ipx.c | static int ipx_get_info(char *buffer, char **start, off_t offset, |
offset | 1253 | net/ipx/af_ipx.c | if(pos<offset) |
offset | 1258 | net/ipx/af_ipx.c | if(pos>offset+length) /* We have dumped enough */ |
offset | 1264 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 1265 | net/ipx/af_ipx.c | len-=(offset-begin); /* Remove unwanted header data from length */ |
offset | 1272 | net/ipx/af_ipx.c | static int ipx_rt_get_info(char *buffer, char **start, off_t offset, |
offset | 1296 | net/ipx/af_ipx.c | if(pos<offset) |
offset | 1301 | net/ipx/af_ipx.c | if(pos>offset+length) |
offset | 1304 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); |
offset | 1305 | net/ipx/af_ipx.c | len-=(offset-begin); |
offset | 112 | net/netlink.c | off_t offset, int origin) |
offset | 1281 | net/netrom/af_netrom.c | static int nr_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 1321 | net/netrom/af_netrom.c | if (pos < offset) { |
offset | 1326 | net/netrom/af_netrom.c | if (pos > offset + length) |
offset | 1332 | net/netrom/af_netrom.c | *start = buffer + (offset - begin); |
offset | 1333 | net/netrom/af_netrom.c | len -= (offset - begin); |
offset | 711 | net/netrom/nr_route.c | int nr_nodes_get_info(char *buffer, char **start, off_t offset, |
offset | 742 | net/netrom/nr_route.c | if (pos < offset) { |
offset | 747 | net/netrom/nr_route.c | if (pos > offset + length) |
offset | 753 | net/netrom/nr_route.c | *start = buffer + (offset - begin); |
offset | 754 | net/netrom/nr_route.c | len -= (offset - begin); |
offset | 761 | net/netrom/nr_route.c | int nr_neigh_get_info(char *buffer, char **start, off_t offset, |
offset | 784 | net/netrom/nr_route.c | if (pos < offset) { |
offset | 789 | net/netrom/nr_route.c | if (pos > offset + length) |
offset | 795 | net/netrom/nr_route.c | *start = buffer + (offset - begin); |
offset | 796 | net/netrom/nr_route.c | len -= (offset - begin); |
offset | 73 | net/socket.c | static int sock_lseek(struct inode *inode, struct file *file, off_t offset, |
offset | 312 | 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 | 972 | net/unix/af_unix.c | static int unix_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 996 | net/unix/af_unix.c | if(pos<offset) |
offset | 1001 | net/unix/af_unix.c | if(pos>offset+length) |
offset | 1005 | net/unix/af_unix.c | *start=buffer+(offset-begin); |
offset | 1006 | net/unix/af_unix.c | len-=(offset-begin); |
offset | 198 | scripts/ksymoops.cc | long offset = strtol(buf, 0, 16); |
offset | 200 | scripts/ksymoops.cc | KSym* ksym = find(eip_addr + offset); |
offset | 540 | scripts/tkparse.c | int offset; |
offset | 571 | scripts/tkparse.c | offset = 0; |
offset | 574 | scripts/tkparse.c | fgets(&buffer[offset], sizeof(buffer) - offset, infile); |
offset | 585 | scripts/tkparse.c | offset = pnt - buffer; |
offset | 590 | scripts/tkparse.c | offset = 0; |