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 | 72 | arch/alpha/kernel/osf_sys.c | static int osf_filldir(void * __buf, const char * name, int namlen, off_t offset, ino_t ino) |
offset | 82 | 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 | 36 | arch/i386/kernel/smp.c | extern void *vremap(unsigned long offset, unsigned long size); /* Linus hasnt put this in the headers yet */ |
offset | 121 | arch/i386/kernel/time.c | unsigned long offset = 0; |
offset | 132 | arch/i386/kernel/time.c | offset = TICK_SIZE; |
offset | 136 | 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 | 54 | arch/mips/kernel/ptrace.c | static inline int get_stack_long(struct task_struct *task, int offset) |
offset | 59 | arch/mips/kernel/ptrace.c | stack += offset; |
offset | 69 | arch/mips/kernel/ptrace.c | static inline int put_stack_long(struct task_struct *task, int offset, |
offset | 75 | arch/mips/kernel/ptrace.c | stack += offset; |
offset | 40 | arch/mips/kernel/syscall.c | int flags, int fd, off_t offset) |
offset | 50 | arch/mips/kernel/syscall.c | return do_mmap(file, addr, len, prot, flags, offset); |
offset | 61 | arch/mips/kernel/time.c | unsigned long offset = 0; |
offset | 72 | arch/mips/kernel/time.c | offset = TICK_SIZE; |
offset | 76 | arch/mips/kernel/time.c | return offset + count; |
offset | 154 | arch/ppc/kernel/mk_defs.c | put_line(FILE *out, char *name, int offset) |
offset | 156 | arch/ppc/kernel/mk_defs.c | fprintf(out, "#define %s %d\n", name, offset); |
offset | 54 | arch/ppc/kernel/pci.c | unsigned char dev, unsigned char offset, unsigned int *val) |
offset | 60 | arch/ppc/kernel/pci.c | _printk("PCI Read config dword[%d.%d.%x] = ", bus, dev, offset); |
offset | 68 | arch/ppc/kernel/pci.c | ptr = (unsigned long *)(0x80800000 | (1<<dev) | offset); |
offset | 83 | arch/ppc/kernel/pci.c | unsigned char dev, unsigned char offset, unsigned short *val) |
offset | 89 | arch/ppc/kernel/pci.c | _printk("PCI Read config word[%d.%d.%x] = ", bus, dev, offset); |
offset | 97 | arch/ppc/kernel/pci.c | ptr = (unsigned short *)(0x80800000 | (1<<dev) | offset); |
offset | 112 | arch/ppc/kernel/pci.c | unsigned char dev, unsigned char offset, unsigned char *val) |
offset | 118 | arch/ppc/kernel/pci.c | _printk("PCI Read config byte[%d.%d.%x] = ", bus, dev, offset); |
offset | 126 | arch/ppc/kernel/pci.c | ptr = (unsigned char *)(0x80800000 | (1<<dev) | offset ^ 1); |
offset | 141 | arch/ppc/kernel/pci.c | unsigned char dev, unsigned char offset, unsigned int val) |
offset | 148 | arch/ppc/kernel/pci.c | _printk("PCI Write config dword[%d.%d.%x] = %x\n", bus, dev, offset, _val); |
offset | 155 | arch/ppc/kernel/pci.c | ptr = (unsigned long *)(0x80800000 | (1<<dev) | offset); |
offset | 163 | arch/ppc/kernel/pci.c | unsigned char dev, unsigned char offset, unsigned short val) |
offset | 170 | arch/ppc/kernel/pci.c | _printk("PCI Write config word[%d.%d.%x] = %x\n", bus, dev, offset, _val); |
offset | 177 | arch/ppc/kernel/pci.c | ptr = (unsigned short *)(0x80800000 | (1<<dev) | offset); |
offset | 185 | arch/ppc/kernel/pci.c | unsigned char dev, unsigned char offset, unsigned char val) |
offset | 192 | arch/ppc/kernel/pci.c | _printk("PCI Write config byte[%d.%d.%x] = %x\n", bus, dev, offset, _val); |
offset | 199 | arch/ppc/kernel/pci.c | ptr = (unsigned char *)(0x80800000 | (1<<dev) | offset ^ 1); |
offset | 55 | arch/sparc/kernel/ioport.c | unsigned long offset = (addr & (~PAGE_MASK)); |
offset | 63 | arch/sparc/kernel/ioport.c | len += offset; |
offset | 68 | arch/sparc/kernel/ioport.c | if (check_region ((vaddr | offset), len)){ |
offset | 74 | arch/sparc/kernel/ioport.c | request_region ((vaddr | offset), len, name); |
offset | 85 | arch/sparc/kernel/ioport.c | return (void *) (base_address | offset); |
offset | 347 | arch/sparc/kernel/sys_sunos.c | off_t offset, ino_t ino) |
offset | 358 | arch/sparc/kernel/sys_sunos.c | put_user(offset, &dirent->d_off); |
offset | 2770 | drivers/block/ide.c | int ide_xlate_1024 (kdev_t i_rdev, int offset, const char *msg) |
offset | 2798 | drivers/block/ide.c | if (offset) { |
offset | 2800 | drivers/block/ide.c | if (offset == -1) |
offset | 99 | drivers/block/rd.c | int offset, len; |
offset | 111 | drivers/block/rd.c | offset = CURRENT->sector << 9; |
offset | 114 | drivers/block/rd.c | if ((offset + len) > rd_length[minor]) { |
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 | 1208 | drivers/cdrom/cdu31a.c | unsigned int offset, |
offset | 1242 | drivers/cdrom/cdu31a.c | insb(sony_cd_read_reg, &buffer[offset], bytesleft); |
offset | 1275 | drivers/cdrom/cdu31a.c | unsigned int offset; |
offset | 1283 | drivers/cdrom/cdu31a.c | offset = 0; |
offset | 1311 | drivers/cdrom/cdu31a.c | offset += readahead_dataleft; |
offset | 1385 | drivers/cdrom/cdu31a.c | input_data(buffer, bytesleft, nblocks, offset, skip); |
offset | 272 | drivers/char/apm_bios.c | unsigned long offset; |
offset | 902 | drivers/char/apm_bios.c | apm_bios_info.cseg, apm_bios_info.offset, |
offset | 982 | drivers/char/apm_bios.c | apm_bios_info.cseg, apm_bios_info.offset, |
offset | 989 | drivers/char/apm_bios.c | apm_bios_entry.offset = apm_bios_info.offset; |
offset | 125 | drivers/char/console.c | extern void set_scrmem(int currcons, long offset); |
offset | 966 | drivers/char/console.c | static inline unsigned short *screenpos(int currcons, int offset, int viewed) |
offset | 968 | drivers/char/console.c | unsigned short *p = (unsigned short *)(origin + offset); |
offset | 975 | drivers/char/console.c | void invert_screen(int currcons, int offset, int count, int viewed) |
offset | 980 | drivers/char/console.c | p = screenpos(currcons, offset, viewed); |
offset | 997 | drivers/char/console.c | void complement_pos(int currcons, int offset) |
offset | 1004 | drivers/char/console.c | if (offset == -1) |
offset | 1007 | drivers/char/console.c | p = screenpos(currcons, offset, 1); |
offset | 1014 | drivers/char/console.c | unsigned short screen_word(int currcons, int offset, int viewed) |
offset | 1016 | drivers/char/console.c | return scr_readw(screenpos(currcons, offset, viewed)); |
offset | 2124 | drivers/char/console.c | long offset; |
offset | 2145 | drivers/char/console.c | offset = 0; |
offset | 2151 | drivers/char/console.c | offset = (blank_origin - video_mem_base) |
offset | 2156 | 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 | 535 | drivers/char/lp.c | static int lp_probe(int offset) |
offset | 540 | drivers/char/lp.c | base = LP_B(offset); |
offset | 549 | drivers/char/lp.c | LP_F(offset) |= LP_EXIST; |
offset | 550 | drivers/char/lp.c | lp_reset(offset); |
offset | 551 | drivers/char/lp.c | printk("lp%d at 0x%04x, ", offset, base); |
offset | 553 | drivers/char/lp.c | if (LP_IRQ(offset)) |
offset | 554 | drivers/char/lp.c | printk("(irq = %d)\n", LP_IRQ(offset)); |
offset | 571 | drivers/char/lp.c | int offset = 0; |
offset | 580 | drivers/char/lp.c | for (offset=0; offset < LP_NO; offset++) { |
offset | 583 | drivers/char/lp.c | if (io[offset] != 0) { |
offset | 584 | drivers/char/lp.c | LP_B(offset) = io[offset]; |
offset | 587 | drivers/char/lp.c | if (irq[offset] != 0) { |
offset | 588 | drivers/char/lp.c | LP_IRQ(offset) = irq[offset]; |
offset | 592 | drivers/char/lp.c | if (lp_probe(offset) <= 0) { |
offset | 593 | drivers/char/lp.c | printk(KERN_INFO "lp%d: Not found\n", offset); |
offset | 603 | drivers/char/lp.c | for (offset = 0; offset < LP_NO; offset++) { |
offset | 604 | drivers/char/lp.c | int ret = lp_probe(offset); |
offset | 618 | drivers/char/lp.c | int offset; |
offset | 621 | drivers/char/lp.c | for (offset = 0; offset < LP_NO; offset++) { |
offset | 623 | drivers/char/lp.c | base = LP_B(offset); |
offset | 625 | drivers/char/lp.c | if (LP_F(offset) & LP_EXIST) |
offset | 626 | 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 | 236 | drivers/char/serial.c | static inline unsigned int serial_in(struct async_struct *info, int offset) |
offset | 240 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 244 | drivers/char/serial.c | return inb(info->port + offset); |
offset | 247 | drivers/char/serial.c | static inline unsigned int serial_inp(struct async_struct *info, int offset) |
offset | 251 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 256 | drivers/char/serial.c | return inb(info->port + offset); |
offset | 258 | drivers/char/serial.c | return inb_p(info->port + offset); |
offset | 262 | drivers/char/serial.c | static inline void serial_out(struct async_struct *info, int offset, int value) |
offset | 266 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 270 | drivers/char/serial.c | outb(value, info->port+offset); |
offset | 273 | drivers/char/serial.c | static inline void serial_outp(struct async_struct *info, int offset, |
offset | 278 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 283 | drivers/char/serial.c | outb(value, info->port+offset); |
offset | 285 | 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 | 1883 | drivers/char/tpqic02.c | static int qic02_tape_lseek(struct inode * inode, struct file * file, off_t offset, int origin) |
offset | 321 | 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 | 1527 | drivers/net/arcnet.c | short offset,length=skb->len+1; |
offset | 1567 | drivers/net/arcnet.c | offset=512-length; |
offset | 1570 | drivers/net/arcnet.c | if (length<MinTU) offset-=3; |
offset | 1572 | drivers/net/arcnet.c | arcpacket->hardheader.offset2=offset; |
offset | 1576 | drivers/net/arcnet.c | arcpacket->hardheader.offset1=(offset-=256); |
offset | 1580 | drivers/net/arcnet.c | length,offset,arcpacket->hardheader.offset1, |
offset | 1583 | drivers/net/arcnet.c | arcsoft=&arcpacket->raw[offset]; |
offset | 1771 | drivers/net/arcnet.c | int offset; |
offset | 1789 | drivers/net/arcnet.c | arcpacket->hardheader.offset1=offset=256-length; |
offset | 1791 | drivers/net/arcnet.c | (&arcpacket->raw[offset]); |
offset | 1796 | drivers/net/arcnet.c | arcpacket->hardheader.offset2=offset=512-length; |
offset | 1799 | drivers/net/arcnet.c | (&arcpacket->raw[offset]); |
offset | 1804 | drivers/net/arcnet.c | arcpacket->hardheader.offset2=offset=512-length-4; |
offset | 1806 | drivers/net/arcnet.c | (&arcpacket->raw[offset+4]); |
offset | 1812 | drivers/net/arcnet.c | arcpacket->raw[offset+0]=hdr[0]; |
offset | 1813 | drivers/net/arcnet.c | arcpacket->raw[offset+1]=0xFF; /* FF flag */ |
offset | 1814 | drivers/net/arcnet.c | arcpacket->raw[offset+2]=0xFF; /* FF padding */ |
offset | 1815 | drivers/net/arcnet.c | arcpacket->raw[offset+3]=0xFF; /* FF padding */ |
offset | 1824 | drivers/net/arcnet.c | arcpacket->hardheader.offset2=offset=512-MinTU; |
offset | 1825 | drivers/net/arcnet.c | arcsoft=(struct ClientData *)(&arcpacket->raw[offset]); |
offset | 2192 | drivers/net/arcnet.c | short length,offset; |
offset | 2212 | drivers/net/arcnet.c | offset=arcpacket->hardheader.offset1; |
offset | 2213 | drivers/net/arcnet.c | arcsoft=&arcpacket->raw[offset]; |
offset | 2214 | drivers/net/arcnet.c | length=256-offset; |
offset | 2218 | drivers/net/arcnet.c | offset=arcpacket->hardheader.offset2; |
offset | 2219 | drivers/net/arcnet.c | arcsoft=&arcpacket->raw[offset]; |
offset | 2221 | 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 | 2320 | drivers/net/de4x5.c | static short srom_rd(u_long addr, u_char offset) |
offset | 2326 | drivers/net/de4x5.c | srom_address(SROM_RD | SROM_SR | DT_CS, addr, offset); |
offset | 2349 | drivers/net/de4x5.c | static void srom_address(u_int command, u_long addr, u_char offset) |
offset | 2354 | drivers/net/de4x5.c | a = (char)(offset << 2); |
offset | 473 | drivers/net/depca.c | int i, j, offset, netRAM, mem_len, status=0; |
offset | 520 | drivers/net/depca.c | offset = 0x0000; |
offset | 524 | drivers/net/depca.c | offset = 0x8000; /* 32kbyte RAM offset*/ |
offset | 528 | drivers/net/depca.c | mem_start += offset; /* (E)ISA start address */ |
offset | 322 | drivers/net/eth16i.c | static int eth16i_read_eeprom(int ioaddr, int offset); |
offset | 740 | drivers/net/eth16i.c | static int eth16i_read_eeprom(int ioaddr, int offset) |
offset | 744 | drivers/net/eth16i.c | eth16i_eeprom_cmd(ioaddr, EEPROM_READ | offset); |
offset | 209 | drivers/net/ne.c | struct {unsigned char value, offset; } program_seq[] = { |
offset | 225 | 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 | 1631 | drivers/scsi/53c7,8xx.c | hostdata->script[EXTERNAL_PATCHES[i].offset] += |
offset | 4624 | drivers/scsi/53c7,8xx.c | int sstat, phase, offset; |
offset | 4647 | drivers/scsi/53c7,8xx.c | offset = OFFSET (sstat & SSTAT2_FF_MASK) >> SSTAT2_FF_SHIFT; |
offset | 4660 | drivers/scsi/53c7,8xx.c | (!offset ? 1 : offset) /* One transfer per outstanding byte */ + |
offset | 5690 | drivers/scsi/53c7,8xx.c | int offset = 0, buffers; |
offset | 5710 | drivers/scsi/53c7,8xx.c | for (offset = 0, |
offset | 5714 | drivers/scsi/53c7,8xx.c | --buffers, offset += segment->length, ++segment) |
offset | 5721 | drivers/scsi/53c7,8xx.c | offset += ptr - segment->address; |
offset | 5724 | drivers/scsi/53c7,8xx.c | offset = ptr - (char *) (cmd->request_buffer); |
offset | 5731 | drivers/scsi/53c7,8xx.c | offset = 0; |
offset | 5733 | drivers/scsi/53c7,8xx.c | return found ? offset : -1; |
offset | 5752 | drivers/scsi/53c7,8xx.c | int offset, i; |
offset | 5769 | drivers/scsi/53c7,8xx.c | offset = insn_to_offset (cmd, ptr); |
offset | 5771 | drivers/scsi/53c7,8xx.c | if (offset != -1) |
offset | 5773 | drivers/scsi/53c7,8xx.c | cmd->host->host_no, where, offset); |
offset | 1540 | drivers/scsi/53c7,8xx.h | #define patch_abs_32(script, offset, symbol, value) \ |
offset | 1543 | drivers/scsi/53c7,8xx.h | (script)[A_##symbol##_used[i] - (offset)] += (value); \ |
offset | 1547 | drivers/scsi/53c7,8xx.h | (int)(offset), #script, (script)[A_##symbol##_used[i] - \ |
offset | 1548 | drivers/scsi/53c7,8xx.h | (offset)]); \ |
offset | 1552 | drivers/scsi/53c7,8xx.h | #define patch_abs_rwri_data(script, offset, symbol, value) \ |
offset | 1555 | drivers/scsi/53c7,8xx.h | (script)[A_##symbol##_used[i] - (offset)] = \ |
offset | 1556 | drivers/scsi/53c7,8xx.h | ((script)[A_##symbol##_used[i] - (offset)] & \ |
offset | 1562 | drivers/scsi/53c7,8xx.h | #define patch_abs_tci_data(script, offset, symbol, value) \ |
offset | 1565 | drivers/scsi/53c7,8xx.h | (script)[A_##symbol##_used[i] - (offset)] = \ |
offset | 1566 | drivers/scsi/53c7,8xx.h | ((script)[A_##symbol##_used[i] - (offset)] & \ |
offset | 2644 | drivers/scsi/53c8xx_d.h | u32 offset; |
offset | 2798 | drivers/scsi/aha152x.c | off_t offset, |
offset | 20 | drivers/scsi/aha152x.h | int aha152x_proc_info(char *buffer, char **start, off_t offset, int length, int hostno, int inout); |
offset | 1554 | drivers/scsi/aic7xxx.c | unsigned char period, unsigned char offset, |
offset | 1593 | drivers/scsi/aic7xxx.c | *scsirate = (aic7xxx_syncrates[i].rate) | (offset & 0x0F); |
offset | 1596 | drivers/scsi/aic7xxx.c | target, channel, aic7xxx_syncrates[i].english, offset); |
offset | 2074 | drivers/scsi/aic7xxx.c | unsigned long offset, offset_max; |
offset | 2092 | drivers/scsi/aic7xxx.c | offset = HA_TARG_SCRATCH(base) + 8; |
offset | 2105 | drivers/scsi/aic7xxx.c | offset = HA_TARG_SCRATCH(base); |
offset | 2113 | drivers/scsi/aic7xxx.c | offset = HA_TARG_SCRATCH(base); |
offset | 2117 | drivers/scsi/aic7xxx.c | while (offset < offset_max) |
offset | 2124 | drivers/scsi/aic7xxx.c | targ_scratch = inb(offset); |
offset | 2126 | drivers/scsi/aic7xxx.c | outb(targ_scratch, offset); |
offset | 2127 | drivers/scsi/aic7xxx.c | offset++; |
offset | 2188 | drivers/scsi/aic7xxx.c | unsigned char offset, rate, scratch, scratch_offset; |
offset | 2343 | drivers/scsi/aic7xxx.c | offset = inb(ACCUM(base)); |
offset | 2357 | drivers/scsi/aic7xxx.c | aic7xxx_scsirate(p, &rate, transfer, MIN(offset, max_offset), scsi_id, channel); |
offset | 3281 | drivers/scsi/aic7xxx.c | read_seeprom(int base, int offset, struct seeprom_config *sc) |
offset | 3351 | drivers/scsi/aic7xxx.c | temp = k + offset; |
offset | 74 | drivers/scsi/aic7xxx_proc.c | aic7xxx_proc_info(char *buffer, char **start, off_t offset, int length, |
offset | 122 | drivers/scsi/aic7xxx_proc.c | if (offset == 0) |
offset | 242 | drivers/scsi/aic7xxx_proc.c | proc_debug("2pos: %ld offset: %ld len: %d\n", pos, offset, len); |
offset | 243 | drivers/scsi/aic7xxx_proc.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
offset | 244 | drivers/scsi/aic7xxx_proc.c | len -= (offset - begin); /* Start slop */ |
offset | 249 | 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 | 136 | drivers/scsi/scsi.c | off_t offset, int length, int inout); |
offset | 138 | drivers/scsi/scsi.c | off_t offset, int length, int inout); |
offset | 2428 | drivers/scsi/scsi.c | int scsi_proc_info(char *buffer, char **start, off_t offset, int length, |
offset | 2460 | drivers/scsi/scsi.c | if (pos < offset) { |
offset | 2464 | drivers/scsi/scsi.c | if (pos > offset + length) |
offset | 2473 | drivers/scsi/scsi.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 2474 | 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 | 50 | drivers/scsi/scsi_proc.c | int generic_proc_info(char *buffer, char **start, off_t offset, |
offset | 61 | drivers/scsi/scsi_proc.c | if(pos < offset) { |
offset | 66 | drivers/scsi/scsi_proc.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
offset | 67 | drivers/scsi/scsi_proc.c | len -= (offset - begin); |
offset | 78 | drivers/scsi/scsi_proc.c | off_t offset, int length, int func) |
offset | 87 | drivers/scsi/scsi_proc.c | return(scsi_proc_info(buffer, start, offset, length, 0, func)); |
offset | 93 | drivers/scsi/scsi_proc.c | return generic_proc_info(buffer, start, offset, length, |
offset | 96 | drivers/scsi/scsi_proc.c | return(hpnt->hostt->proc_info(buffer, start, offset, |
offset | 161 | drivers/scsi/seagate.c | unsigned offset; |
offset | 336 | drivers/scsi/seagate.c | signatures[j].offset), (const void *) signatures[j].signature, |
offset | 409 | drivers/scsi/seagate.c | int seagate_st0x_proc_info(char *buffer, char **start, off_t offset, |
offset | 425 | drivers/scsi/seagate.c | if (pos<offset) { |
offset | 430 | drivers/scsi/seagate.c | *start = buffer + (offset - begin); |
offset | 431 | drivers/scsi/seagate.c | len -= (offset - begin); |
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 | 323 | drivers/scsi/st.c | int offset, transfer, blks; |
offset | 348 | drivers/scsi/st.c | offset = (STp->buffer)->buffer_bytes; |
offset | 349 | drivers/scsi/st.c | transfer = ((offset + STp->block_size - 1) / |
offset | 355 | 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 | 100 | drivers/sound/soundcard.c | sound_lseek (struct inode *inode, struct file *file, off_t offset, int orig) |
offset | 954 | fs/binfmt_elf.c | off_t offset = 0, dataoff; |
offset | 1041 | fs/binfmt_elf.c | offset += sizeof(elf); /* Elf header */ |
offset | 1042 | fs/binfmt_elf.c | offset += (segs+1) * sizeof(struct elf_phdr); /* Program headers */ |
offset | 1140 | fs/binfmt_elf.c | phdr.p_offset = offset; |
offset | 1148 | fs/binfmt_elf.c | offset += phdr.p_filesz; |
offset | 1153 | fs/binfmt_elf.c | dataoff = offset = roundup(offset, PAGE_SIZE); |
offset | 1168 | fs/binfmt_elf.c | phdr.p_offset = offset; |
offset | 1173 | fs/binfmt_elf.c | offset += sz; |
offset | 1205 | fs/binfmt_elf.c | if ((off_t) file.f_pos != offset) { |
offset | 1208 | 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 | 991 | fs/buffer.c | unsigned long offset; |
offset | 994 | fs/buffer.c | offset = PAGE_SIZE; |
offset | 995 | fs/buffer.c | while ((offset -= size) < PAGE_SIZE) { |
offset | 1001 | fs/buffer.c | bh->b_data = (char *) (page+offset); |
offset | 1091 | fs/buffer.c | block = page->offset >> inode->i_sb->s_blocksize_bits; |
offset | 1559 | fs/buffer.c | unsigned long offset; |
offset | 1572 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
offset | 1611 | fs/buffer.c | int i, offset; |
offset | 1613 | fs/buffer.c | for (i = 0, offset = 0 ; offset < PAGE_SIZE ; i++, offset += size) { |
offset | 153 | fs/exec.c | #define DUMP_SEEK(offset) \ |
offset | 155 | fs/exec.c | if (file.f_op->lseek(inode,&file,(offset),0) != (offset)) \ |
offset | 157 | fs/exec.c | } else file.f_pos = (offset) |
offset | 422 | fs/exec.c | int len, offset = 0; |
offset | 448 | fs/exec.c | if (--offset < 0) { |
offset | 449 | fs/exec.c | offset = p % PAGE_SIZE; |
offset | 460 | fs/exec.c | *(pag + offset) = get_user(tmp); |
offset | 489 | fs/exec.c | int read_exec(struct inode *inode, unsigned long offset, |
offset | 510 | fs/exec.c | if (file.f_op->lseek(inode,&file,offset,0) != offset) |
offset | 513 | fs/exec.c | file.f_pos = offset; |
offset | 71 | fs/ext/dir.c | off_t offset; |
offset | 81 | fs/ext/dir.c | offset = filp->f_pos & 1023; |
offset | 84 | fs/ext/dir.c | filp->f_pos += 1024-offset; |
offset | 87 | fs/ext/dir.c | for (i = 0; i < 1024 && i < offset; ) { |
offset | 93 | fs/ext/dir.c | offset = i; |
offset | 94 | fs/ext/dir.c | de = (struct ext_dir_entry *) (offset + bh->b_data); |
offset | 95 | fs/ext/dir.c | while (offset < 1024 && filp->f_pos < inode->i_size) { |
offset | 103 | fs/ext/dir.c | offset, de->rec_len, de->name_len); |
offset | 104 | fs/ext/dir.c | filp->f_pos += 1024-offset; |
offset | 114 | fs/ext/dir.c | offset += de->rec_len; |
offset | 77 | fs/ext/file.c | int block, blocks, offset; |
offset | 92 | fs/ext/file.c | offset = filp->f_pos; |
offset | 94 | fs/ext/file.c | if (offset > size) |
offset | 97 | fs/ext/file.c | left = size - offset; |
offset | 103 | fs/ext/file.c | block = offset >> BLOCK_SIZE_BITS; |
offset | 104 | fs/ext/file.c | offset &= BLOCK_SIZE-1; |
offset | 106 | fs/ext/file.c | blocks = (left + offset + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; |
offset | 162 | fs/ext/file.c | if (left < BLOCK_SIZE - offset) |
offset | 165 | fs/ext/file.c | chars = BLOCK_SIZE - offset; |
offset | 170 | fs/ext/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 177 | 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 | 76 | fs/ext2/dir.c | unsigned long offset) |
offset | 95 | fs/ext2/dir.c | dir->i_ino, error_msg, offset, (unsigned long) de->inode, |
offset | 104 | fs/ext2/dir.c | unsigned long offset, blk; |
offset | 117 | fs/ext2/dir.c | offset = filp->f_pos & (sb->s_blocksize - 1); |
offset | 126 | fs/ext2/dir.c | filp->f_pos += sb->s_blocksize - offset; |
offset | 133 | fs/ext2/dir.c | if (!offset) { |
offset | 155 | fs/ext2/dir.c | for (i = 0; i < sb->s_blocksize && i < offset; ) { |
offset | 168 | fs/ext2/dir.c | offset = i; |
offset | 170 | fs/ext2/dir.c | | offset; |
offset | 175 | fs/ext2/dir.c | && offset < sb->s_blocksize) { |
offset | 176 | fs/ext2/dir.c | de = (struct ext2_dir_entry *) (bh->b_data + offset); |
offset | 178 | fs/ext2/dir.c | bh, offset)) { |
offset | 186 | fs/ext2/dir.c | offset += de->rec_len; |
offset | 206 | fs/ext2/dir.c | offset = 0; |
offset | 90 | fs/ext2/file.c | int offset; |
offset | 128 | fs/ext2/file.c | offset = pos2 & (sb->s_blocksize - 1); |
offset | 129 | fs/ext2/file.c | c = sb->s_blocksize - offset; |
offset | 156 | fs/ext2/file.c | memcpy_fromfs (bh->b_data + offset, buf, c); |
offset | 157 | fs/ext2/file.c | update_vm_cache(inode, pos, bh->b_data + offset, c); |
offset | 181 | 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 | 412 | fs/ext2/super.c | unsigned long offset; |
offset | 417 | fs/ext2/super.c | offset = (sb_block*BLOCK_SIZE) % sb->s_blocksize; |
offset | 423 | 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 | 198 | fs/ext2/truncate.c | static int trunc_dindirect (struct inode * inode, int offset, |
offset | 207 | fs/ext2/truncate.c | #define DINDIRECT_BLOCK (((int)DIRECT_BLOCK - offset) / addr_per_block) |
offset | 232 | fs/ext2/truncate.c | retry |= trunc_indirect (inode, offset + (i * addr_per_block), |
offset | 322 | fs/ext2/truncate.c | int offset; |
offset | 351 | fs/ext2/truncate.c | offset = inode->i_size & (inode->i_sb->s_blocksize - 1); |
offset | 352 | fs/ext2/truncate.c | if (offset) { |
offset | 357 | fs/ext2/truncate.c | memset (bh->b_data + offset, 0, |
offset | 358 | fs/ext2/truncate.c | inode->i_sb->s_blocksize - offset); |
offset | 114 | fs/isofs/dir.c | unsigned int block, offset; |
offset | 122 | fs/isofs/dir.c | offset = filp->f_pos & (bufsize - 1); |
offset | 135 | fs/isofs/dir.c | block, offset, filp->f_pos); |
offset | 138 | fs/isofs/dir.c | if (offset >= bufsize) { |
offset | 140 | fs/isofs/dir.c | offset = 0; |
offset | 150 | fs/isofs/dir.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 151 | fs/isofs/dir.c | inode_number = (block << bufbits) + (offset & (bufsize - 1)); |
offset | 163 | fs/isofs/dir.c | offset = 0; |
offset | 176 | fs/isofs/dir.c | next_offset = offset + de_len; |
offset | 179 | fs/isofs/dir.c | memcpy(tmpde, de, bufsize - offset); |
offset | 187 | fs/isofs/dir.c | memcpy(bufsize - offset + (char *) tmpde, bh->b_data, next_offset); |
offset | 190 | fs/isofs/dir.c | offset = next_offset; |
offset | 449 | fs/isofs/inode.c | int frag1, offset; |
offset | 451 | fs/isofs/inode.c | offset = (inode->i_ino & (bufsize - 1)); |
offset | 452 | fs/isofs/inode.c | frag1 = bufsize - offset; |
offset | 459 | fs/isofs/inode.c | memcpy(cpnt, bh->b_data + offset, frag1); |
offset | 466 | fs/isofs/inode.c | offset += *pnt - bufsize; |
offset | 467 | fs/isofs/inode.c | memcpy((char *)cpnt+frag1, bh->b_data, offset); |
offset | 646 | fs/isofs/inode.c | unsigned int block,offset; |
offset | 655 | fs/isofs/inode.c | offset = 0; |
offset | 660 | fs/isofs/inode.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 667 | fs/isofs/inode.c | offset += *((unsigned char *) de); |
offset | 669 | fs/isofs/inode.c | if (offset >= bufsize) |
offset | 692 | fs/isofs/inode.c | offset = 0; |
offset | 699 | fs/isofs/inode.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 700 | fs/isofs/inode.c | inode_number = (block << bufbits)+(offset & (bufsize - 1)); |
offset | 709 | fs/isofs/inode.c | offset = 0; |
offset | 725 | fs/isofs/inode.c | old_offset = offset; |
offset | 726 | fs/isofs/inode.c | offset += *((unsigned char *) de); |
offset | 728 | fs/isofs/inode.c | if (offset >= bufsize) |
offset | 737 | fs/isofs/inode.c | offset -= bufsize; |
offset | 745 | 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 | 63 | fs/minix/dir.c | unsigned int offset; |
offset | 74 | fs/minix/dir.c | offset = filp->f_pos & 1023; |
offset | 77 | fs/minix/dir.c | filp->f_pos += 1024-offset; |
offset | 81 | fs/minix/dir.c | de = (struct minix_dir_entry *) (offset + bh->b_data); |
offset | 89 | fs/minix/dir.c | offset += info->s_dirsize; |
offset | 91 | fs/minix/dir.c | } while (offset < 1024 && filp->f_pos < inode->i_size); |
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 | 17 | fs/minix/truncate.c | #define INDIRECT_BLOCK(offset) (DIRECT_BLOCK-offset) |
offset | 18 | fs/minix/truncate.c | #define DINDIRECT_BLOCK(offset) ((DIRECT_BLOCK-offset)>>9) |
offset | 19 | fs/minix/truncate.c | #define TINDIRECT_BLOCK(offset) ((DIRECT_BLOCK-(offset))>>9) |
offset | 70 | fs/minix/truncate.c | static int V1_trunc_indirect(struct inode * inode, int offset, unsigned short * p) |
offset | 91 | fs/minix/truncate.c | for (i = INDIRECT_BLOCK(offset) ; i < 512 ; i++) { |
offset | 94 | fs/minix/truncate.c | if (i < INDIRECT_BLOCK(offset)) |
offset | 101 | fs/minix/truncate.c | if (i < INDIRECT_BLOCK(offset)) { |
offset | 131 | fs/minix/truncate.c | static int V1_trunc_dindirect(struct inode * inode, int offset, unsigned short *p) |
offset | 150 | fs/minix/truncate.c | for (i = DINDIRECT_BLOCK(offset) ; i < 512 ; i ++) { |
offset | 153 | fs/minix/truncate.c | if (i < DINDIRECT_BLOCK(offset)) |
offset | 156 | fs/minix/truncate.c | retry |= V1_trunc_indirect(inode,offset+(i<<9),dind); |
offset | 232 | fs/minix/truncate.c | static int V2_trunc_indirect(struct inode * inode, int offset, unsigned long * p) |
offset | 253 | fs/minix/truncate.c | for (i = INDIRECT_BLOCK(offset) ; i < 256 ; i++) { |
offset | 256 | fs/minix/truncate.c | if (i < INDIRECT_BLOCK(offset)) |
offset | 263 | fs/minix/truncate.c | if (i < INDIRECT_BLOCK(offset)) { |
offset | 293 | fs/minix/truncate.c | static int V2_trunc_dindirect(struct inode * inode, int offset, unsigned long *p) |
offset | 312 | fs/minix/truncate.c | for (i = DINDIRECT_BLOCK(offset) ; i < 256 ; i ++) { |
offset | 315 | fs/minix/truncate.c | if (i < DINDIRECT_BLOCK(offset)) |
offset | 318 | fs/minix/truncate.c | retry |= V2_trunc_indirect(inode,offset+(i<<9),dind); |
offset | 338 | fs/minix/truncate.c | static int V2_trunc_tindirect(struct inode * inode, int offset, unsigned long * p) |
offset | 357 | fs/minix/truncate.c | for (i = TINDIRECT_BLOCK(offset) ; i < 256 ; i ++) { |
offset | 360 | fs/minix/truncate.c | if (i < TINDIRECT_BLOCK(offset)) |
offset | 363 | fs/minix/truncate.c | retry |= V2_trunc_dindirect(inode,offset+(i<<9),tind); |
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 | 216 | fs/msdos/file.c | int size,offset; |
offset | 234 | fs/msdos/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
offset | 235 | fs/msdos/file.c | data = bh->b_data + offset; |
offset | 236 | fs/msdos/file.c | size = MIN(SECTOR_SIZE-offset,left_in_file); |
offset | 274 | fs/msdos/file.c | int sector,offset,size,left,written; |
offset | 306 | fs/msdos/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
offset | 307 | fs/msdos/file.c | size = MIN(SECTOR_SIZE-offset,MAX(carry,count)); |
offset | 309 | fs/msdos/file.c | && offset == 0 |
offset | 324 | fs/msdos/file.c | memcpy_fromfs(bh->b_data+offset,buf,written = size); |
offset | 328 | fs/msdos/file.c | written = left = SECTOR_SIZE-offset; |
offset | 346 | fs/msdos/inode.c | int cluster,offset; |
offset | 353 | fs/msdos/inode.c | offset = block % sb->cluster_size; |
offset | 355 | 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 | 102 | fs/ncpfs/ncplib_kernel.c | ncp_reply_data(struct ncp_server *server, int offset) |
offset | 104 | fs/ncpfs/ncplib_kernel.c | return &(server->packet[sizeof(struct ncp_reply_header) + offset]); |
offset | 108 | fs/ncpfs/ncplib_kernel.c | ncp_reply_byte(struct ncp_server *server, int offset) |
offset | 110 | fs/ncpfs/ncplib_kernel.c | return *(byte *)(ncp_reply_data(server, offset)); |
offset | 114 | fs/ncpfs/ncplib_kernel.c | ncp_reply_word(struct ncp_server *server, int offset) |
offset | 116 | fs/ncpfs/ncplib_kernel.c | return *(word *)(ncp_reply_data(server, offset)); |
offset | 120 | fs/ncpfs/ncplib_kernel.c | ncp_reply_dword(struct ncp_server *server, int offset) |
offset | 122 | fs/ncpfs/ncplib_kernel.c | return *(dword *)(ncp_reply_data(server, offset)); |
offset | 561 | fs/ncpfs/ncplib_kernel.c | __u32 offset, __u16 to_read, |
offset | 569 | fs/ncpfs/ncplib_kernel.c | ncp_add_dword(server, htonl(offset)); |
offset | 588 | fs/ncpfs/ncplib_kernel.c | __u32 offset, __u16 to_write, |
offset | 596 | fs/ncpfs/ncplib_kernel.c | ncp_add_dword(server, htonl(offset)); |
offset | 108 | fs/ncpfs/ncplib_kernel.h | __u32 offset, __u16 to_read, |
offset | 113 | fs/ncpfs/ncplib_kernel.h | __u32 offset, __u16 to_write, |
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 | 785 | fs/proc/array.c | static int get_root_array(char * page, int type, char **start, off_t offset, int length) |
offset | 818 | fs/proc/array.c | return get_ksyms_list(page, start, offset, length); |
offset | 864 | fs/proc/array.c | static inline int fill_array(char * page, int pid, int type, char **start, off_t offset, int length) |
offset | 868 | 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 | 42 | fs/proc/scsi.c | off_t offset, int length, int inout) = 0; |
offset | 80 | fs/proc/scsi.c | int get_not_present_info(char *buffer, char **start, off_t offset, int length) |
offset | 87 | fs/proc/scsi.c | if(pos < offset) { |
offset | 92 | fs/proc/scsi.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
offset | 93 | fs/proc/scsi.c | len -= (offset - begin); |
offset | 187 | fs/proc/scsi.c | off_t offset, int orig) |
offset | 191 | fs/proc/scsi.c | file->f_pos = offset; |
offset | 194 | fs/proc/scsi.c | file->f_pos += offset; |
offset | 197 | 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 | 615 | fs/smbfs/proc.c | off_t offset, long count, char *data, int fs) |
offset | 625 | fs/smbfs/proc.c | DSET(buf, smb_vwv2, offset); |
offset | 653 | fs/smbfs/proc.c | off_t offset, long count, char *data) |
offset | 665 | fs/smbfs/proc.c | DSET(buf, smb_vwv1, offset); |
offset | 677 | fs/smbfs/proc.c | off_t offset, int count, const char *data) |
offset | 686 | fs/smbfs/proc.c | DSET(buf, smb_vwv2, offset); |
offset | 705 | fs/smbfs/proc.c | off_t offset, long count, const char *data) |
offset | 719 | fs/smbfs/proc.c | DSET(buf, smb_vwv3, offset); |
offset | 71 | fs/sysv/dir.c | unsigned int offset,i; |
offset | 81 | fs/sysv/dir.c | offset = filp->f_pos & sb->sv_block_size_1; |
offset | 84 | fs/sysv/dir.c | filp->f_pos += sb->sv_block_size - offset; |
offset | 88 | fs/sysv/dir.c | while (offset < sb->sv_block_size && filp->f_pos < inode->i_size) { |
offset | 89 | fs/sysv/dir.c | de = (struct sysv_dir_entry *) (offset + bh_data); |
offset | 108 | fs/sysv/dir.c | offset += SYSV_DIRSIZE; |
offset | 79 | fs/sysv/file.c | int blocks, offset; |
offset | 94 | fs/sysv/file.c | offset = filp->f_pos; |
offset | 96 | fs/sysv/file.c | if (offset > size) |
offset | 99 | fs/sysv/file.c | left = size - offset; |
offset | 105 | fs/sysv/file.c | block = offset >> sb->sv_block_size_bits; |
offset | 106 | fs/sysv/file.c | offset &= sb->sv_block_size_1; |
offset | 108 | fs/sysv/file.c | blocks = (left + offset + sb->sv_block_size_1) >> sb->sv_block_size_bits; |
offset | 164 | fs/sysv/file.c | if (left < sb->sv_block_size - offset) |
offset | 167 | fs/sysv/file.c | chars = sb->sv_block_size - offset; |
offset | 172 | fs/sysv/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 179 | 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 | 181 | fs/sysv/truncate.c | retry |= trunc_indirect(inode,offset+(i<<sb->sv_ind_per_block_bits),ind,sb->sv_convert,&dirty); |
offset | 200 | fs/sysv/truncate.c | static int trunc_tindirect(struct inode * inode, unsigned long offset, unsigned long * p, int convert, unsigned char * dirt) |
offset | 226 | fs/sysv/truncate.c | if (inode->i_size < offset) |
offset | 229 | fs/sysv/truncate.c | i = (inode->i_size - offset + sb->sv_ind_per_block_2_block_size_1) >> sb->sv_ind_per_block_2_block_size_bits; |
offset | 238 | fs/sysv/truncate.c | retry |= trunc_dindirect(inode,offset+(i<<sb->sv_ind_per_block_2_bits),ind,sb->sv_convert,&dirty); |
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 | 71 | fs/xiafs/dir.c | u_int offset, i; |
offset | 80 | fs/xiafs/dir.c | offset = filp->f_pos & (XIAFS_ZSIZE(inode->i_sb) - 1); |
offset | 83 | fs/xiafs/dir.c | filp->f_pos += XIAFS_ZSIZE(inode->i_sb)-offset; |
offset | 86 | fs/xiafs/dir.c | for (i = 0; i < XIAFS_ZSIZE(inode->i_sb) && i < offset; ) { |
offset | 92 | fs/xiafs/dir.c | offset = i; |
offset | 93 | fs/xiafs/dir.c | de = (struct xiafs_direct *) (offset + bh->b_data); |
offset | 95 | fs/xiafs/dir.c | while (offset < XIAFS_ZSIZE(inode->i_sb) && filp->f_pos < inode->i_size) { |
offset | 116 | fs/xiafs/dir.c | offset += de->d_rec_len; |
offset | 118 | fs/xiafs/dir.c | de = (struct xiafs_direct *) (offset + bh->b_data); |
offset | 121 | fs/xiafs/dir.c | if (offset > XIAFS_ZSIZE(inode->i_sb)) { |
offset | 75 | fs/xiafs/file.c | int zone_nr, zones, f_zones, offset; |
offset | 89 | fs/xiafs/file.c | offset = filp->f_pos; |
offset | 90 | fs/xiafs/file.c | left = inode->i_size - offset; |
offset | 96 | fs/xiafs/file.c | zone_nr = offset >> XIAFS_ZSIZE_BITS(inode->i_sb); |
offset | 97 | fs/xiafs/file.c | offset &= XIAFS_ZSIZE(inode->i_sb) -1 ; |
offset | 99 | fs/xiafs/file.c | zones = (left+offset+XIAFS_ZSIZE(inode->i_sb)-1) >> XIAFS_ZSIZE_BITS(inode->i_sb); |
offset | 154 | fs/xiafs/file.c | if (left < XIAFS_ZSIZE(inode->i_sb) - offset) |
offset | 157 | fs/xiafs/file.c | chars = XIAFS_ZSIZE(inode->i_sb) - offset; |
offset | 162 | fs/xiafs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 169 | 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 | 120 | include/asm-alpha/bitops.h | extern inline unsigned long find_next_zero_bit(void * addr, unsigned long size, unsigned long offset) |
offset | 122 | include/asm-alpha/bitops.h | unsigned long * p = ((unsigned long *) addr) + (offset >> 6); |
offset | 123 | include/asm-alpha/bitops.h | unsigned long result = offset & ~63UL; |
offset | 126 | include/asm-alpha/bitops.h | if (offset >= size) |
offset | 129 | include/asm-alpha/bitops.h | offset &= 63UL; |
offset | 130 | include/asm-alpha/bitops.h | if (offset) { |
offset | 132 | include/asm-alpha/bitops.h | tmp |= ~0UL >> (64-offset); |
offset | 469 | include/asm-alpha/pgtable.h | extern inline pte_t mk_swap_pte(unsigned long type, unsigned long offset) |
offset | 470 | include/asm-alpha/pgtable.h | { pte_t pte; pte_val(pte) = (type << 32) | (offset << 40); return pte; } |
offset | 474 | include/asm-alpha/pgtable.h | #define SWP_ENTRY(type,offset) pte_val(mk_swap_pte((type),(offset))) |
offset | 97 | include/asm-i386/bitops.h | extern __inline__ int find_next_zero_bit (void * addr, int size, int offset) |
offset | 99 | include/asm-i386/bitops.h | unsigned long * p = ((unsigned long *) addr) + (offset >> 5); |
offset | 100 | include/asm-i386/bitops.h | int set = 0, bit = offset & 31, res; |
offset | 114 | include/asm-i386/bitops.h | return set + offset; |
offset | 122 | include/asm-i386/bitops.h | return (offset + set + res); |
offset | 437 | 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 | 186 | include/asm-mips/bitops.h | extern __inline__ int find_next_zero_bit (void * addr, int size, int offset) |
offset | 188 | include/asm-mips/bitops.h | unsigned long * p = ((unsigned long *) addr) + (offset >> 5); |
offset | 189 | include/asm-mips/bitops.h | int set = 0, bit = offset & 31, res; |
offset | 210 | include/asm-mips/bitops.h | return set + offset; |
offset | 218 | include/asm-mips/bitops.h | return (offset + set + res); |
offset | 558 | include/asm-mips/pgtable.h | #define SWP_ENTRY(type,offset) pte_val(mk_swap_pte((type),(offset))) |
offset | 564 | include/asm-mips/pgtable.h | #define SWP_ENTRY(type,offset) (((type) << 1) | ((offset) << 8)) |
offset | 197 | include/asm-mips/processor.h | asmlinkage void resume(struct task_struct *tsk, int offset); |
offset | 503 | include/asm-ppc/pgtable.h | #define SWP_ENTRY(type,offset) (((type) << 1) | ((offset) << 8)) |
offset | 90 | include/asm-sparc/bitops.h | extern __inline__ unsigned long find_next_zero_bit(void *addr, unsigned long size, unsigned long offset) |
offset | 92 | include/asm-sparc/bitops.h | unsigned long *p = ((unsigned long *) addr) + (offset >> 5); |
offset | 93 | include/asm-sparc/bitops.h | unsigned long result = offset & ~31UL; |
offset | 96 | include/asm-sparc/bitops.h | if (offset >= size) |
offset | 99 | include/asm-sparc/bitops.h | offset &= 31UL; |
offset | 100 | include/asm-sparc/bitops.h | if (offset) { |
offset | 102 | include/asm-sparc/bitops.h | tmp |= ~0UL << (32-offset); |
offset | 176 | include/asm-sparc/bitops.h | extern __inline__ unsigned long ext2_find_next_zero_bit(void *addr, unsigned long size, unsigned long offset) |
offset | 178 | include/asm-sparc/bitops.h | unsigned long *p = ((unsigned long *) addr) + (offset >> 5); |
offset | 179 | include/asm-sparc/bitops.h | unsigned long result = offset & ~31UL; |
offset | 182 | include/asm-sparc/bitops.h | if (offset >= size) |
offset | 185 | include/asm-sparc/bitops.h | offset &= 31UL; |
offset | 186 | include/asm-sparc/bitops.h | if(offset) { |
offset | 188 | include/asm-sparc/bitops.h | tmp |= ~0UL << (32-offset); |
offset | 67 | include/asm-sparc/mostek.h | char offset[6*1024]; /* Magic things may be here, who knows? */ |
offset | 276 | include/asm-sparc/pgtable.h | #define SWP_ENTRY(type,offset) (((type) << 1) | ((offset) << 8)) |
offset | 26 | include/asm-sparc/sbus.h | extern inline unsigned long sbus_devaddr(int slotnum, unsigned long offset) |
offset | 28 | 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 | 35 | include/linux/apm_bios.h | unsigned long offset; |
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 | 117 | include/linux/mm.h | unsigned long offset; |
offset | 183 | include/linux/mm.h | extern void vmtruncate(struct inode * inode, unsigned long offset); |
offset | 197 | include/linux/mm.h | extern void * vremap(unsigned long offset, unsigned long size); |
offset | 237 | 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 | 21 | include/linux/pagemap.h | static inline unsigned long _page_hashfn(struct inode * inode, unsigned long offset) |
offset | 23 | include/linux/pagemap.h | offset ^= (unsigned long) inode; |
offset | 24 | include/linux/pagemap.h | return offset % PAGE_HASH_SIZE; |
offset | 27 | include/linux/pagemap.h | #define page_hash(inode,offset) page_hash_table[_page_hashfn(inode,offset)] |
offset | 29 | include/linux/pagemap.h | static inline struct page * find_page(struct inode * inode, unsigned long offset) |
offset | 33 | include/linux/pagemap.h | for (page = page_hash(inode, offset); page ; page = page->next_hash) { |
offset | 36 | include/linux/pagemap.h | if (page->offset != offset) |
offset | 47 | include/linux/pagemap.h | struct page **p = &page_hash(page->inode,page->offset); |
offset | 61 | include/linux/pagemap.h | struct page **p = &page_hash(inode,page->offset); |
offset | 372 | include/linux/skbuff.h | extern void skb_copy_datagram(struct sk_buff *from, int offset, char *to,int size); |
offset | 373 | include/linux/skbuff.h | extern void skb_copy_datagram_iovec(struct sk_buff *from, int offset, struct iovec *to,int size); |
offset | 128 | include/linux/smb_fs.h | off_t offset, long count, char *data, int fs); |
offset | 130 | include/linux/smb_fs.h | off_t offset, long count, char *data); |
offset | 132 | include/linux/smb_fs.h | off_t offset, int count, const char *data); |
offset | 134 | 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 | 54 | include/net/ip.h | int offset; /* offset of fragment in IP datagram */ |
offset | 8 | include/net/rarp.h | off_t offset, |
offset | 143 | include/net/route.h | extern int rt_get_info(char * buffer, char **start, off_t offset, int length, int dummy); |
offset | 144 | include/net/route.h | extern int rt_cache_get_info(char *buffer, char **start, off_t offset, int length, int dummy); |
offset | 604 | ipc/shm.c | static pte_t shm_swap_in(struct vm_area_struct * shmd, unsigned long offset, unsigned long code) |
offset | 626 | ipc/shm.c | if (idx != (offset >> PAGE_SHIFT)) { |
offset | 628 | ipc/shm.c | idx, offset >> PAGE_SHIFT); |
offset | 587 | kernel/module.c | int get_ksyms_list(char *buf, char **start, off_t offset, int length) |
offset | 616 | kernel/module.c | if (pos < offset) { |
offset | 621 | kernel/module.c | if (pos > offset+length) |
offset | 627 | kernel/module.c | *start = buf + (offset - begin); |
offset | 628 | 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 | 49 | mm/filemap.c | unsigned long offset = page->offset; |
offset | 52 | mm/filemap.c | if (offset >= start) { |
offset | 65 | mm/filemap.c | offset = start - offset; |
offset | 67 | mm/filemap.c | if (offset < PAGE_SIZE) |
offset | 68 | mm/filemap.c | memset((void *) (offset + page_address(page)), 0, PAGE_SIZE - offset); |
offset | 158 | mm/filemap.c | static unsigned long fill_page(struct inode * inode, unsigned long offset, unsigned long newpage) |
offset | 162 | mm/filemap.c | page = find_page(inode, offset); |
offset | 172 | mm/filemap.c | page->offset = offset; |
offset | 186 | mm/filemap.c | static unsigned long try_to_read_ahead(struct inode * inode, unsigned long offset, unsigned long page_cache) |
offset | 190 | mm/filemap.c | offset = (offset + PAGE_SIZE) & PAGE_MASK; |
offset | 215 | mm/filemap.c | unsigned long offset, addr, nr; |
offset | 219 | mm/filemap.c | offset = pos & ~PAGE_MASK; |
offset | 220 | mm/filemap.c | nr = PAGE_SIZE - offset; |
offset | 258 | mm/filemap.c | page->offset = pos & PAGE_MASK; |
offset | 273 | mm/filemap.c | page_cache = try_to_read_ahead(inode, offset, page_cache); |
offset | 279 | mm/filemap.c | memcpy_tofs(buf, (void *) (addr + offset), nr); |
offset | 305 | mm/filemap.c | unsigned long offset; |
offset | 309 | mm/filemap.c | offset = (address & PAGE_MASK) - area->vm_start + area->vm_offset; |
offset | 310 | mm/filemap.c | if (offset >= inode->i_size && (area->vm_flags & VM_SHARED) && area->vm_mm == current->mm) |
offset | 313 | mm/filemap.c | new_page = fill_page(inode, offset, page); |
offset | 342 | mm/filemap.c | unsigned long offset, |
offset | 366 | mm/filemap.c | size = offset + PAGE_SIZE; |
offset | 372 | mm/filemap.c | if (size < offset) |
offset | 375 | mm/filemap.c | size -= offset; |
offset | 380 | mm/filemap.c | file.f_pos = offset; |
offset | 403 | mm/filemap.c | unsigned long offset, |
offset | 412 | mm/filemap.c | invalidate_page(vma, (offset + vma->vm_start - vma->vm_offset)); |
offset | 413 | mm/filemap.c | error = filemap_write_page(vma, offset, page); |
offset | 426 | mm/filemap.c | unsigned long offset, |
offset | 475 | mm/filemap.c | struct vm_area_struct *vma, unsigned long offset, unsigned int flags) |
offset | 489 | mm/filemap.c | offset += address & PMD_MASK; |
offset | 496 | mm/filemap.c | error |= filemap_sync_pte(pte, vma, address + offset, flags); |
offset | 508 | mm/filemap.c | unsigned long offset, end; |
offset | 519 | mm/filemap.c | offset = address & PMD_MASK; |
offset | 526 | mm/filemap.c | error |= filemap_sync_pte_range(pmd, address, end - address, vma, offset, flags); |
offset | 459 | mm/memory.c | unsigned long offset, pgprot_t prot) |
offset | 470 | mm/memory.c | if (offset >= high_memory || mem_map[MAP_NR(offset)].reserved) |
offset | 471 | mm/memory.c | set_pte(pte, mk_pte(offset, prot)); |
offset | 474 | mm/memory.c | offset += PAGE_SIZE; |
offset | 480 | mm/memory.c | unsigned long offset, pgprot_t prot) |
offset | 488 | mm/memory.c | offset -= address; |
offset | 493 | mm/memory.c | remap_pte_range(pte, address, end - address, address + offset, prot); |
offset | 500 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long offset, unsigned long size, pgprot_t prot) |
offset | 506 | mm/memory.c | offset -= from; |
offset | 513 | mm/memory.c | error = remap_pmd_range(pmd, from, end - from, offset + from, prot); |
offset | 799 | mm/memory.c | void vmtruncate(struct inode * inode, unsigned long offset) |
offset | 803 | mm/memory.c | invalidate_inode_pages(inode, offset); |
offset | 813 | mm/memory.c | if (mpnt->vm_offset >= offset) { |
offset | 818 | 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 | 937 | mm/swap.c | unsigned long address, unsigned long size, unsigned long offset, |
offset | 951 | mm/swap.c | offset += address & PMD_MASK; |
offset | 957 | mm/swap.c | if (unuse_pte(vma, offset+address-vma->vm_start, pte, type, page)) |
offset | 970 | mm/swap.c | unsigned long offset, end; |
offset | 980 | mm/swap.c | offset = address & PGDIR_MASK; |
offset | 986 | 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 | 2016 | net/ax25/af_ax25.c | static int ax25_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 2061 | net/ax25/af_ax25.c | if (pos < offset) { |
offset | 2066 | net/ax25/af_ax25.c | if (pos > offset + length) |
offset | 2072 | net/ax25/af_ax25.c | *start = buffer + (offset - begin); |
offset | 2073 | 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 | 603 | net/ax25/ax25_route.c | int ax25_bpq_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 621 | net/ax25/ax25_route.c | if (pos < offset) { |
offset | 626 | net/ax25/ax25_route.c | if (pos > offset + length) |
offset | 632 | net/ax25/ax25_route.c | *start = buffer + (offset - begin); |
offset | 633 | net/ax25/ax25_route.c | len -= (offset - begin); |
offset | 166 | net/core/datagram.c | void skb_copy_datagram(struct sk_buff *skb, int offset, char *to, int size) |
offset | 168 | net/core/datagram.c | memcpy_tofs(to,skb->h.raw+offset,size); |
offset | 176 | net/core/datagram.c | void skb_copy_datagram_iovec(struct sk_buff *skb, int offset, struct iovec *to, int size) |
offset | 178 | net/core/datagram.c | memcpy_toiovec(to,skb->h.raw+offset,size); |
offset | 929 | net/core/dev.c | int dev_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 952 | net/core/dev.c | if(pos<offset) |
offset | 957 | net/core/dev.c | if(pos>offset+length) |
offset | 961 | net/core/dev.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 962 | net/core/dev.c | len-=(offset-begin); /* Start slop */ |
offset | 868 | net/core/net_alias.c | int net_alias_types_getinfo(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 881 | net/core/net_alias.c | if(pos<offset) |
offset | 886 | net/core/net_alias.c | if(pos>offset+length) |
offset | 889 | net/core/net_alias.c | *start=buffer+(offset-begin); |
offset | 890 | net/core/net_alias.c | len-=(offset-begin); |
offset | 905 | net/core/net_alias.c | int net_alias_getinfo(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 944 | net/core/net_alias.c | if(pos<offset) |
offset | 949 | net/core/net_alias.c | if(pos>offset+length) |
offset | 952 | net/core/net_alias.c | *start=buffer+(offset-begin); |
offset | 953 | net/core/net_alias.c | len-=(offset-begin); |
offset | 642 | net/core/skbuff.c | unsigned long offset; |
offset | 658 | net/core/skbuff.c | offset=n->head-skb->head; |
offset | 670 | net/core/skbuff.c | n->h.raw=skb->h.raw+offset; |
offset | 671 | net/core/skbuff.c | n->mac.raw=skb->mac.raw+offset; |
offset | 672 | net/core/skbuff.c | n->ip_hdr=(struct iphdr *)(((char *)skb->ip_hdr)+offset); |
offset | 1318 | net/ipv4/arp.c | int arp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 1388 | net/ipv4/arp.c | if (pos <= offset) |
offset | 1390 | net/ipv4/arp.c | if (pos >= offset+length) |
offset | 1396 | net/ipv4/arp.c | *start = buffer+len-(pos-offset); /* Start of wanted data */ |
offset | 1397 | net/ipv4/arp.c | len = pos-offset; /* 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 | 199 | 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 | 1538 | net/ipv4/ip_fw.c | off_t offset, int length, int reset) |
offset | 1590 | net/ipv4/ip_fw.c | if(pos<offset) |
offset | 1601 | net/ipv4/ip_fw.c | if(pos>offset+length) |
offset | 1606 | net/ipv4/ip_fw.c | *start=buffer+(offset-begin); |
offset | 1607 | net/ipv4/ip_fw.c | len-=(offset-begin); |
offset | 1616 | net/ipv4/ip_fw.c | static int ip_acct_procinfo(char *buffer, char **start, off_t offset, |
offset | 1619 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_INFO_ACCT, buffer,start, offset,length, |
offset | 1627 | net/ipv4/ip_fw.c | static int ip_fw_blk_procinfo(char *buffer, char **start, off_t offset, |
offset | 1630 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_INFO_BLK, buffer,start,offset,length, |
offset | 1634 | net/ipv4/ip_fw.c | static int ip_fw_fwd_procinfo(char *buffer, char **start, off_t offset, |
offset | 1637 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_INFO_FWD, buffer,start,offset,length, |
offset | 1644 | net/ipv4/ip_fw.c | static int ip_msqhst_procinfo(char *buffer, char **start, off_t offset, |
offset | 1672 | net/ipv4/ip_fw.c | if(pos<offset) |
offset | 1677 | net/ipv4/ip_fw.c | if(pos>offset+length) |
offset | 1682 | net/ipv4/ip_fw.c | *start=buffer+(offset-begin); |
offset | 1683 | net/ipv4/ip_fw.c | len-=(offset-begin); |
offset | 578 | net/ipv4/ip_output.c | int offset, mf; |
offset | 754 | net/ipv4/ip_output.c | offset = length - (length % (maxfraglen - fragheaderlen)); |
offset | 760 | net/ipv4/ip_output.c | fraglen = length - offset + fragheaderlen; |
offset | 762 | net/ipv4/ip_output.c | if(length-offset==0) |
offset | 765 | net/ipv4/ip_output.c | offset -= maxfraglen-fragheaderlen; |
offset | 779 | net/ipv4/ip_output.c | if (sk->ip_hdrincl && offset > 0) |
offset | 877 | net/ipv4/ip_output.c | true_daddr, dev->pa_addr, offset); |
offset | 882 | net/ipv4/ip_output.c | iph->frag_off = htons(offset>>3); |
offset | 908 | net/ipv4/ip_output.c | getfrag(frag, saddr, data, offset, fraglen-fragheaderlen); |
offset | 915 | net/ipv4/ip_output.c | if(!offset && call_out_firewall(PF_INET, skb, iph) < FW_ACCEPT) |
offset | 923 | net/ipv4/ip_output.c | if(!offset) |
offset | 926 | net/ipv4/ip_output.c | offset -= (maxfraglen-fragheaderlen); |
offset | 1009 | 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 | 787 | net/ipv4/ipmr.c | int ipmr_vif_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 812 | net/ipv4/ipmr.c | if(pos<offset) |
offset | 817 | net/ipv4/ipmr.c | if(pos>offset+length) |
offset | 821 | net/ipv4/ipmr.c | *start=buffer+(offset-begin); |
offset | 822 | net/ipv4/ipmr.c | len-=(offset-begin); |
offset | 828 | net/ipv4/ipmr.c | int ipmr_mfc_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 874 | net/ipv4/ipmr.c | if(pos<offset) |
offset | 879 | net/ipv4/ipmr.c | if(pos>offset+length) |
offset | 889 | net/ipv4/ipmr.c | *start=buffer+(offset-begin); |
offset | 890 | 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 | 480 | net/ipv4/rarp.c | int rarp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 526 | net/ipv4/rarp.c | if(pos<offset) |
offset | 531 | net/ipv4/rarp.c | if(pos>offset+length) |
offset | 537 | net/ipv4/rarp.c | *start = buffer+(offset-begin); /* Start of wanted data */ |
offset | 538 | net/ipv4/rarp.c | len -= (offset-begin); /* Start slop */ |
offset | 163 | net/ipv4/raw.c | static void raw_getfrag(const void *p, __u32 saddr, char *to, unsigned int offset, unsigned int fraglen) |
offset | 165 | net/ipv4/raw.c | memcpy_fromfs(to, (const unsigned char *)p+offset, fraglen); |
offset | 172 | net/ipv4/raw.c | static void raw_getrawfrag(const void *p, __u32 saddr, char *to, unsigned int offset, unsigned int fraglen) |
offset | 174 | net/ipv4/raw.c | memcpy_fromfs(to, (const unsigned char *)p+offset, fraglen); |
offset | 175 | net/ipv4/raw.c | if(offset==0) |
offset | 798 | net/ipv4/route.c | int rt_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 809 | net/ipv4/route.c | if (offset<128) |
offset | 827 | net/ipv4/route.c | if (pos + 128*fz->fz_nent <= offset) |
offset | 856 | net/ipv4/route.c | if (pos <= offset) |
offset | 870 | net/ipv4/route.c | if (pos >= offset+length) |
offset | 880 | net/ipv4/route.c | *start = buffer+len-(pos-offset); |
offset | 881 | net/ipv4/route.c | len = pos - offset; |
offset | 887 | net/ipv4/route.c | int rt_cache_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 897 | net/ipv4/route.c | if (offset<128) |
offset | 917 | net/ipv4/route.c | if (pos <= offset) |
offset | 929 | net/ipv4/route.c | if (pos >= offset+length) |
offset | 938 | net/ipv4/route.c | *start = buffer+len-(pos-offset); |
offset | 939 | net/ipv4/route.c | len = pos-offset; |
offset | 2346 | net/ipv4/tcp.c | u32 offset; |
offset | 2368 | net/ipv4/tcp.c | offset = *seq - skb->seq; |
offset | 2370 | net/ipv4/tcp.c | offset--; |
offset | 2371 | net/ipv4/tcp.c | if (offset < skb->len) |
offset | 2441 | net/ipv4/tcp.c | used = skb->len - offset; |
offset | 2458 | net/ipv4/tcp.c | offset++; |
offset | 2481 | net/ipv4/tcp.c | skb->h.th->doff*4 + offset, used); |
offset | 2495 | net/ipv4/tcp.c | if (used + offset < skb->len) |
offset | 231 | net/ipv4/udp.c | static void udp_getfrag(const void *p, __u32 saddr, char * to, unsigned int offset, unsigned int fraglen) |
offset | 238 | net/ipv4/udp.c | if (offset) |
offset | 241 | net/ipv4/udp.c | src = ufh->from+(offset-sizeof(struct udphdr)); |
offset | 251 | net/ipv4/udp.c | if (offset == 0) |
offset | 271 | net/ipv4/udp.c | static void udp_getfrag_nosum(const void *p, __u32 saddr, char * to, unsigned int offset, unsigned int fraglen) |
offset | 278 | net/ipv4/udp.c | if (offset) |
offset | 281 | net/ipv4/udp.c | src = ufh->from+(offset-sizeof(struct udphdr)); |
offset | 291 | net/ipv4/udp.c | if (offset == 0) |
offset | 1215 | net/ipx/af_ipx.c | static int ipx_interface_get_info(char *buffer, char **start, off_t offset, |
offset | 1241 | net/ipx/af_ipx.c | if(pos<offset) { |
offset | 1245 | net/ipx/af_ipx.c | if(pos>offset+length) /* We have dumped enough */ |
offset | 1250 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 1251 | net/ipx/af_ipx.c | len-=(offset-begin); /* Remove unwanted header data from length */ |
offset | 1258 | net/ipx/af_ipx.c | static int ipx_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) /* We have dumped enough */ |
offset | 1307 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 1308 | net/ipx/af_ipx.c | len-=(offset-begin); /* Remove unwanted header data from length */ |
offset | 1315 | net/ipx/af_ipx.c | static int ipx_rt_get_info(char *buffer, char **start, off_t offset, |
offset | 1339 | net/ipx/af_ipx.c | if(pos<offset) |
offset | 1344 | net/ipx/af_ipx.c | if(pos>offset+length) |
offset | 1347 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); |
offset | 1348 | 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 | 712 | net/netrom/nr_route.c | int nr_nodes_get_info(char *buffer, char **start, off_t offset, |
offset | 743 | net/netrom/nr_route.c | if (pos < offset) { |
offset | 748 | net/netrom/nr_route.c | if (pos > offset + length) |
offset | 754 | net/netrom/nr_route.c | *start = buffer + (offset - begin); |
offset | 755 | net/netrom/nr_route.c | len -= (offset - begin); |
offset | 762 | net/netrom/nr_route.c | int nr_neigh_get_info(char *buffer, char **start, off_t offset, |
offset | 785 | net/netrom/nr_route.c | if (pos < offset) { |
offset | 790 | net/netrom/nr_route.c | if (pos > offset + length) |
offset | 796 | net/netrom/nr_route.c | *start = buffer + (offset - begin); |
offset | 797 | 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 | 1382 | net/socket.c | int socket_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 1385 | net/socket.c | if (offset >= len) |
offset | 1390 | net/socket.c | *start = buffer + offset; |
offset | 1391 | net/socket.c | len -= offset; |
offset | 974 | net/unix/af_unix.c | static int unix_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 998 | net/unix/af_unix.c | if(pos<offset) |
offset | 1003 | net/unix/af_unix.c | if(pos>offset+length) |
offset | 1007 | net/unix/af_unix.c | *start=buffer+(offset-begin); |
offset | 1008 | 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; |