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 | 123 | arch/i386/kernel/time.c | unsigned long offset = 0; |
offset | 134 | arch/i386/kernel/time.c | offset = TICK_SIZE; |
offset | 138 | 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 | 62 | arch/sparc/kernel/ioport.c | len += offset; |
offset | 67 | arch/sparc/kernel/ioport.c | if(check_region ((vaddr | offset), len)) { |
offset | 73 | arch/sparc/kernel/ioport.c | request_region ((vaddr | offset), len, name); |
offset | 84 | arch/sparc/kernel/ioport.c | return (void *) (base_address | offset); |
offset | 348 | arch/sparc/kernel/sys_sunos.c | off_t offset, ino_t ino) |
offset | 359 | arch/sparc/kernel/sys_sunos.c | put_user(offset, &dirent->d_off); |
offset | 419 | arch/sparc/kernel/sys_sunos.c | off_t offset, ino_t ino) |
offset | 838 | arch/sparc/mm/srmmu.c | unsigned long start, end, offset; |
offset | 843 | arch/sparc/mm/srmmu.c | offset = page & ~PAGE_MASK; |
offset | 858 | arch/sparc/mm/srmmu.c | vaddr = (char *) (start | offset); |
offset | 123 | drivers/block/linear.c | if (block >= (hash->dev0->size + hash->dev0->offset)) |
offset | 132 | drivers/block/linear.c | if (block >= (tmp_dev->size + tmp_dev->offset) || block < tmp_dev->offset) |
offset | 133 | drivers/block/linear.c | printk ("Block %ld out of bounds on dev %04x size %d offset %d\n", block, tmp_dev->dev, tmp_dev->size, tmp_dev->offset); |
offset | 135 | drivers/block/linear.c | rblock=(block-(tmp_dev->offset)); |
offset | 148 | drivers/block/loop.c | int real_block, block, offset, len, blksize, size; |
offset | 172 | drivers/block/loop.c | offset = 0; |
offset | 175 | drivers/block/loop.c | offset = CURRENT->sector % (blksize >> 9); |
offset | 178 | drivers/block/loop.c | offset += lo->lo_offset % blksize; |
offset | 179 | drivers/block/loop.c | if (offset > blksize) { |
offset | 181 | drivers/block/loop.c | offset -= blksize; |
offset | 205 | drivers/block/loop.c | (offset || (len < blksize)))) { |
offset | 213 | drivers/block/loop.c | size = blksize - offset; |
offset | 217 | drivers/block/loop.c | if ((lo->transfer)(lo, CURRENT->cmd, bh->b_data + offset, |
offset | 228 | drivers/block/loop.c | offset = 0; |
offset | 179 | drivers/block/md.c | devices[minor][index].offset=index ? |
offset | 180 | drivers/block/md.c | (devices[minor][index-1].offset + devices[minor][index-1].size) : 0; |
offset | 110 | drivers/block/rd.c | int offset, len; |
offset | 122 | drivers/block/rd.c | offset = CURRENT->sector << 9; |
offset | 125 | drivers/block/rd.c | if ((offset + len) > rd_length[minor]) { |
offset | 417 | drivers/block/rd.c | static void rd_load_image(kdev_t device,int offset) |
offset | 448 | drivers/block/rd.c | nblocks = identify_ramdisk_image(device, &infile, offset); |
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 | 295 | drivers/char/apm_bios.c | unsigned long offset; |
offset | 1039 | drivers/char/apm_bios.c | apm_bios_info.cseg, apm_bios_info.offset, |
offset | 1046 | drivers/char/apm_bios.c | apm_bios_entry.offset = apm_bios_info.offset; |
offset | 133 | drivers/char/console.c | extern void set_scrmem(int currcons, long offset); |
offset | 970 | drivers/char/console.c | static inline unsigned short *screenpos(int currcons, int offset, int viewed) |
offset | 972 | drivers/char/console.c | unsigned short *p = (unsigned short *)(origin + offset); |
offset | 979 | drivers/char/console.c | void invert_screen(int currcons, int offset, int count, int viewed) |
offset | 984 | drivers/char/console.c | p = screenpos(currcons, offset, viewed); |
offset | 1001 | drivers/char/console.c | void complement_pos(int currcons, int offset) |
offset | 1008 | drivers/char/console.c | if (offset == -1) |
offset | 1011 | drivers/char/console.c | p = screenpos(currcons, offset, 1); |
offset | 1018 | drivers/char/console.c | unsigned short screen_word(int currcons, int offset, int viewed) |
offset | 1020 | drivers/char/console.c | return scr_readw(screenpos(currcons, offset, viewed)); |
offset | 2157 | drivers/char/console.c | long offset; |
offset | 2178 | drivers/char/console.c | offset = 0; |
offset | 2184 | drivers/char/console.c | offset = (blank_origin - video_mem_base) |
offset | 2189 | drivers/char/console.c | set_scrmem(fg_console, offset); |
offset | 106 | drivers/char/ftape/ftape-bsm.c | size_t offset; |
offset | 111 | drivers/char/ftape/ftape-bsm.c | offset = 256; |
offset | 114 | drivers/char/ftape/ftape-bsm.c | offset = 2 * SECTOR_SIZE; /* skip failed sector log */ |
offset | 115 | drivers/char/ftape/ftape-bsm.c | count = sizeof(bad_sector_map) - (offset - 256); |
offset | 117 | drivers/char/ftape/ftape-bsm.c | memcpy(buffer + offset, bad_sector_map, count); |
offset | 182 | drivers/char/ftape/ftape-rw.c | unsigned offset = 0; |
offset | 198 | drivers/char/ftape/ftape-rw.c | offset = buff->skip; |
offset | 199 | drivers/char/ftape/ftape-rw.c | count -= offset; |
offset | 200 | drivers/char/ftape/ftape-rw.c | TRACEx1(5, "skipping %d sectors", offset); |
offset | 207 | drivers/char/ftape/ftape-rw.c | result = setup_segment(buff, segment_id, offset, count, retry); |
offset | 37 | drivers/char/ftape/ftape-rw.h | #define GET2( address, offset) *(short*)(address + offset) |
offset | 38 | drivers/char/ftape/ftape-rw.h | #define GET4( address, offset) *(long*)(address + offset) |
offset | 39 | drivers/char/ftape/ftape-rw.h | #define PUT2( address, offset, value) *(short*)(address + offset) = value |
offset | 40 | drivers/char/ftape/ftape-rw.h | #define PUT4( address, offset, value) *(long*)(address + offset) = value |
offset | 116 | drivers/char/ftape/ftape-rw.h | int offset; |
offset | 160 | drivers/char/ftape/ftape-rw.h | int offset); |
offset | 167 | drivers/char/ftape/ftape-rw.h | extern int ftape_start_tape(int segment_id, int offset); |
offset | 320 | drivers/char/istallion.c | char *(*getmemptr)(struct stlbrd *brdp, unsigned long offset, int line); |
offset | 583 | drivers/char/istallion.c | #define EBRDGETMEMPTR(brdp,offset) \ |
offset | 584 | drivers/char/istallion.c | (* brdp->getmemptr)(brdp, offset, __LINE__) |
offset | 683 | drivers/char/istallion.c | static char *stli_ecpgetmemptr(stlibrd_t *brdp, unsigned long offset, int line); |
offset | 689 | drivers/char/istallion.c | static char *stli_ecpeigetmemptr(stlibrd_t *brdp, unsigned long offset, int line); |
offset | 693 | drivers/char/istallion.c | static char *stli_ecpmcgetmemptr(stlibrd_t *brdp, unsigned long offset, int line); |
offset | 699 | drivers/char/istallion.c | static char *stli_onbgetmemptr(stlibrd_t *brdp, unsigned long offset, int line); |
offset | 704 | drivers/char/istallion.c | static char *stli_onbegetmemptr(stlibrd_t *brdp, unsigned long offset, int line); |
offset | 707 | drivers/char/istallion.c | static char *stli_bbygetmemptr(stlibrd_t *brdp, unsigned long offset, int line); |
offset | 710 | drivers/char/istallion.c | static char *stli_stalgetmemptr(stlibrd_t *brdp, unsigned long offset, int line); |
offset | 2946 | drivers/char/istallion.c | static char *stli_ecpgetmemptr(stlibrd_t *brdp, unsigned long offset, int line) |
offset | 2952 | drivers/char/istallion.c | printk("stli_ecpgetmemptr(brdp=%x,offset=%x)\n", (int) brdp, (int) offset); |
offset | 2955 | drivers/char/istallion.c | if (offset > brdp->memsize) { |
offset | 2956 | 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 | 2960 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ECP_ATPAGESIZE); |
offset | 2961 | drivers/char/istallion.c | val = (unsigned char) (offset / ECP_ATPAGESIZE); |
offset | 3033 | drivers/char/istallion.c | static char *stli_ecpeigetmemptr(stlibrd_t *brdp, unsigned long offset, int line) |
offset | 3039 | drivers/char/istallion.c | printk("stli_ecpeigetmemptr(brdp=%x,offset=%x,line=%d)\n", (int) brdp, (int) offset, line); |
offset | 3042 | drivers/char/istallion.c | if (offset > brdp->memsize) { |
offset | 3043 | 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 | 3047 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ECP_EIPAGESIZE); |
offset | 3048 | drivers/char/istallion.c | if (offset < ECP_EIPAGESIZE) |
offset | 3087 | drivers/char/istallion.c | static char *stli_ecpmcgetmemptr(stlibrd_t *brdp, unsigned long offset, int line) |
offset | 3092 | drivers/char/istallion.c | if (offset > brdp->memsize) { |
offset | 3093 | 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 | 3097 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ECP_MCPAGESIZE); |
offset | 3098 | drivers/char/istallion.c | val = ((unsigned char) (offset / ECP_MCPAGESIZE)) | ECP_MCENABLE; |
offset | 3163 | drivers/char/istallion.c | static char *stli_onbgetmemptr(stlibrd_t *brdp, unsigned long offset, int line) |
offset | 3168 | drivers/char/istallion.c | printk("stli_onbgetmemptr(brdp=%x,offset=%x)\n", (int) brdp, (int) offset); |
offset | 3171 | drivers/char/istallion.c | if (offset > brdp->memsize) { |
offset | 3172 | 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 | 3175 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ONB_ATPAGESIZE); |
offset | 3249 | drivers/char/istallion.c | static char *stli_onbegetmemptr(stlibrd_t *brdp, unsigned long offset, int line) |
offset | 3255 | drivers/char/istallion.c | printk("stli_onbegetmemptr(brdp=%x,offset=%x,line=%d)\n", (int) brdp, (int) offset, line); |
offset | 3258 | drivers/char/istallion.c | if (offset > brdp->memsize) { |
offset | 3259 | 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 | 3263 | drivers/char/istallion.c | ptr = brdp->membase + (offset % ONB_EIPAGESIZE); |
offset | 3264 | drivers/char/istallion.c | if (offset < ONB_EIPAGESIZE) |
offset | 3315 | drivers/char/istallion.c | static char *stli_bbygetmemptr(stlibrd_t *brdp, unsigned long offset, int line) |
offset | 3321 | drivers/char/istallion.c | printk("stli_bbygetmemptr(brdp=%x,offset=%x)\n", (int) brdp, (int) offset); |
offset | 3324 | drivers/char/istallion.c | if (offset > brdp->memsize) { |
offset | 3325 | 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 | 3329 | drivers/char/istallion.c | ptr = brdp->membase + (offset % BBY_PAGESIZE); |
offset | 3330 | drivers/char/istallion.c | val = (unsigned char) (offset / BBY_PAGESIZE); |
offset | 3374 | drivers/char/istallion.c | static char *stli_stalgetmemptr(stlibrd_t *brdp, unsigned long offset, int line) |
offset | 3379 | drivers/char/istallion.c | printk("stli_stalgetmemptr(brdp=%x,offset=%x)\n", (int) brdp, (int) offset); |
offset | 3382 | drivers/char/istallion.c | if (offset > brdp->memsize) { |
offset | 3383 | 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 | 3386 | drivers/char/istallion.c | ptr = brdp->membase + (offset % STAL_PAGESIZE); |
offset | 3796 | drivers/char/istallion.c | portp->addr = memp->offset; |
offset | 3817 | drivers/char/istallion.c | portp->rxoffset = ap->rxq.offset; |
offset | 3818 | drivers/char/istallion.c | portp->txoffset = ap->txq.offset; |
offset | 313 | drivers/char/lp.c | off_t offset, int origin) |
offset | 536 | drivers/char/lp.c | static int lp_probe(int offset) |
offset | 541 | drivers/char/lp.c | base = LP_B(offset); |
offset | 544 | drivers/char/lp.c | if (LP_IRQ(offset) > 15) |
offset | 554 | drivers/char/lp.c | LP_F(offset) |= LP_EXIST; |
offset | 555 | drivers/char/lp.c | lp_reset(offset); |
offset | 556 | drivers/char/lp.c | printk("lp%d at 0x%04x, ", offset, base); |
offset | 558 | drivers/char/lp.c | if (LP_IRQ(offset)) |
offset | 559 | drivers/char/lp.c | printk("(irq = %d)\n", LP_IRQ(offset)); |
offset | 603 | drivers/char/lp.c | int offset = 0; |
offset | 613 | drivers/char/lp.c | for (offset=0; offset < LP_NO; offset++) { |
offset | 616 | drivers/char/lp.c | if (io[offset] != 0) { |
offset | 617 | drivers/char/lp.c | LP_B(offset) = io[offset]; |
offset | 620 | drivers/char/lp.c | if (irq[offset] != 0) { |
offset | 621 | drivers/char/lp.c | LP_IRQ(offset) = irq[offset]; |
offset | 625 | drivers/char/lp.c | if (lp_probe(offset) <= 0) { |
offset | 626 | drivers/char/lp.c | printk(KERN_INFO "lp%d: Not found\n", offset); |
offset | 648 | drivers/char/lp.c | for (offset = 0; offset < LP_NO; offset++) { |
offset | 649 | drivers/char/lp.c | int ret = lp_probe(offset); |
offset | 663 | drivers/char/lp.c | int offset; |
offset | 666 | drivers/char/lp.c | for (offset = 0; offset < LP_NO; offset++) { |
offset | 668 | drivers/char/lp.c | base = LP_B(offset); |
offset | 670 | drivers/char/lp.c | if (LP_F(offset) & LP_EXIST) |
offset | 671 | drivers/char/lp.c | release_region(LP_B(offset),size); |
offset | 207 | drivers/char/mem.c | static int null_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 219 | drivers/char/mem.c | static int memory_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 223 | drivers/char/mem.c | file->f_pos = offset; |
offset | 226 | 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 | 238 | drivers/char/serial.c | static inline unsigned int serial_in(struct async_struct *info, int offset) |
offset | 242 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 246 | drivers/char/serial.c | return inb(info->port + offset); |
offset | 249 | drivers/char/serial.c | static inline unsigned int serial_inp(struct async_struct *info, int offset) |
offset | 253 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 258 | drivers/char/serial.c | return inb(info->port + offset); |
offset | 260 | drivers/char/serial.c | return inb_p(info->port + offset); |
offset | 264 | drivers/char/serial.c | static inline void serial_out(struct async_struct *info, int offset, int value) |
offset | 268 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 272 | drivers/char/serial.c | outb(value, info->port+offset); |
offset | 275 | drivers/char/serial.c | static inline void serial_outp(struct async_struct *info, int offset, |
offset | 280 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 285 | drivers/char/serial.c | outb(value, info->port+offset); |
offset | 287 | 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 | 1881 | drivers/char/tpqic02.c | static int qic02_tape_lseek(struct inode * inode, struct file * file, off_t offset, int origin) |
offset | 336 | 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 | 239 | drivers/char/vga.c | set_scrmem(int currcons, long offset) |
offset | 272 | drivers/char/vga.c | if (video_mem_term - video_mem_base < offset + video_screen_size) |
offset | 273 | drivers/char/vga.c | offset = 0; /* strange ... */ |
offset | 274 | drivers/char/vga.c | memcpyw((unsigned short *)(video_mem_base + offset), |
offset | 278 | drivers/char/vga.c | origin = video_mem_base + offset; |
offset | 108 | drivers/char/wdt.c | static int wdt_lseek(struct inode *inode, struct file *file, off_t offset, |
offset | 784 | drivers/isdn/isdn_common.c | static int isdn_lseek(struct inode *inode, struct file *file, off_t offset, int orig) |
offset | 32 | drivers/isdn/teles/card.c | readisac_0(byte * cardm, byte offset) |
offset | 34 | drivers/isdn/teles/card.c | return *(byte *) (cardm + 0x100 + ((offset & 1) ? 0x1ff : 0) + offset); |
offset | 38 | drivers/isdn/teles/card.c | readisac_3(int iobase, byte offset) |
offset | 40 | drivers/isdn/teles/card.c | return (bytein(iobase - 0x420 + offset)); |
offset | 47 | drivers/isdn/teles/card.c | writeisac_0(byte * cardm, byte offset, byte value) |
offset | 49 | drivers/isdn/teles/card.c | *(byte *) (cardm + 0x100 + ((offset & 1) ? 0x1ff : 0) + offset) = value; |
offset | 53 | drivers/isdn/teles/card.c | writeisac_3(int iobase, byte offset, byte value) |
offset | 55 | drivers/isdn/teles/card.c | byteout(iobase - 0x420 + offset, value); |
offset | 62 | drivers/isdn/teles/card.c | readisac_s(int iobase, byte offset, byte * dest, int count) |
offset | 64 | drivers/isdn/teles/card.c | insb(iobase - 0x420 + offset, dest, count); |
offset | 68 | drivers/isdn/teles/card.c | writeisac_s(int iobase, byte offset, byte * src, int count) |
offset | 70 | drivers/isdn/teles/card.c | outsb(iobase - 0x420 + offset, src, count); |
offset | 74 | drivers/isdn/teles/card.c | readhscx_0(byte * base, byte hscx, byte offset) |
offset | 76 | drivers/isdn/teles/card.c | return *(byte *) (base + 0x180 + ((offset & 1) ? 0x1FF : 0) + |
offset | 77 | drivers/isdn/teles/card.c | ((hscx & 1) ? 0x40 : 0) + offset); |
offset | 81 | drivers/isdn/teles/card.c | readhscx_3(int iobase, byte hscx, byte offset) |
offset | 83 | drivers/isdn/teles/card.c | return (bytein(iobase - (hscx ? 0x820 : 0xc20) + offset)); |
offset | 90 | drivers/isdn/teles/card.c | writehscx_0(byte * base, byte hscx, byte offset, byte data) |
offset | 92 | drivers/isdn/teles/card.c | *(byte *) (base + 0x180 + ((offset & 1) ? 0x1FF : 0) + |
offset | 93 | drivers/isdn/teles/card.c | ((hscx & 1) ? 0x40 : 0) + offset) = data; |
offset | 97 | drivers/isdn/teles/card.c | writehscx_3(int iobase, byte hscx, byte offset, byte data) |
offset | 99 | drivers/isdn/teles/card.c | byteout(iobase - (hscx ? 0x820 : 0xc20) + offset, data); |
offset | 103 | drivers/isdn/teles/card.c | readhscx_s(int iobase, byte hscx, byte offset, byte * dest, int count) |
offset | 105 | drivers/isdn/teles/card.c | insb(iobase - (hscx ? 0x820 : 0xc20) + offset, dest, count); |
offset | 109 | drivers/isdn/teles/card.c | writehscx_s(int iobase, byte hscx, byte offset, byte * src, int count) |
offset | 111 | drivers/isdn/teles/card.c | outsb(iobase - (hscx ? 0x820 : 0xc20) + offset, src, count); |
offset | 1738 | drivers/net/arcnet.c | int offset; |
offset | 1762 | drivers/net/arcnet.c | arcpacket->hardheader.offset1=offset=256-length; |
offset | 1764 | drivers/net/arcnet.c | (&arcpacket->raw[offset]); |
offset | 1769 | drivers/net/arcnet.c | arcpacket->hardheader.offset2=offset=512-length; |
offset | 1772 | drivers/net/arcnet.c | (&arcpacket->raw[offset]); |
offset | 1777 | drivers/net/arcnet.c | arcpacket->hardheader.offset2=offset=512-length-4; |
offset | 1779 | drivers/net/arcnet.c | (&arcpacket->raw[offset+4]); |
offset | 1785 | drivers/net/arcnet.c | arcpacket->raw[offset+0]=hdr[0]; |
offset | 1786 | drivers/net/arcnet.c | arcpacket->raw[offset+1]=0xFF; /* FF flag */ |
offset | 1787 | drivers/net/arcnet.c | arcpacket->raw[offset+2]=0xFF; /* FF padding */ |
offset | 1788 | drivers/net/arcnet.c | arcpacket->raw[offset+3]=0xFF; /* FF padding */ |
offset | 1797 | drivers/net/arcnet.c | arcpacket->hardheader.offset2=offset=512-MinTU; |
offset | 1798 | drivers/net/arcnet.c | arcsoft=(struct ClientData *)(&arcpacket->raw[offset]); |
offset | 2171 | drivers/net/arcnet.c | short length,offset; |
offset | 2191 | drivers/net/arcnet.c | offset=arcpacket->hardheader.offset1; |
offset | 2192 | drivers/net/arcnet.c | arcsoft=&arcpacket->raw[offset]; |
offset | 2193 | drivers/net/arcnet.c | length=256-offset; |
offset | 2197 | drivers/net/arcnet.c | offset=arcpacket->hardheader.offset2; |
offset | 2198 | drivers/net/arcnet.c | arcsoft=&arcpacket->raw[offset]; |
offset | 2200 | drivers/net/arcnet.c | length=512-offset; |
offset | 2770 | drivers/net/arcnet.c | short offset,length=skb->len+1; |
offset | 2812 | drivers/net/arcnet.c | offset=512-length; |
offset | 2815 | drivers/net/arcnet.c | if (length<MinTU) offset-=3; |
offset | 2817 | drivers/net/arcnet.c | arcpacket->hardheader.offset2=offset; |
offset | 2821 | drivers/net/arcnet.c | arcpacket->hardheader.offset1=(offset-=256); |
offset | 2825 | drivers/net/arcnet.c | length,offset,arcpacket->hardheader.offset1, |
offset | 2828 | drivers/net/arcnet.c | arcsoft=&arcpacket->raw[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 | 583 | drivers/net/de4x5.c | static short srom_rd(u_long address, u_char offset); |
offset | 586 | drivers/net/de4x5.c | static void srom_address(u_int command, u_long address, u_char offset); |
offset | 2932 | drivers/net/de4x5.c | static short srom_rd(u_long addr, u_char offset) |
offset | 2938 | drivers/net/de4x5.c | srom_address(SROM_RD | SROM_SR | DT_CS, addr, offset); |
offset | 2961 | drivers/net/de4x5.c | static void srom_address(u_int command, u_long addr, u_char offset) |
offset | 2966 | 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 | 255 | drivers/net/ne.c | struct {unsigned char value, offset; } program_seq[] = { |
offset | 271 | 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 | 1627 | drivers/scsi/53c7,8xx.c | hostdata->script[EXTERNAL_PATCHES[i].offset] += |
offset | 4613 | drivers/scsi/53c7,8xx.c | int sstat, phase, offset; |
offset | 4636 | drivers/scsi/53c7,8xx.c | offset = OFFSET (sstat & SSTAT2_FF_MASK) >> SSTAT2_FF_SHIFT; |
offset | 4649 | drivers/scsi/53c7,8xx.c | (!offset ? 1 : offset) /* One transfer per outstanding byte */ + |
offset | 5678 | drivers/scsi/53c7,8xx.c | int offset = 0, buffers; |
offset | 5698 | drivers/scsi/53c7,8xx.c | for (offset = 0, |
offset | 5702 | drivers/scsi/53c7,8xx.c | --buffers, offset += segment->length, ++segment) |
offset | 5709 | drivers/scsi/53c7,8xx.c | offset += ptr - segment->address; |
offset | 5712 | drivers/scsi/53c7,8xx.c | offset = ptr - (char *) (cmd->request_buffer); |
offset | 5719 | drivers/scsi/53c7,8xx.c | offset = 0; |
offset | 5721 | drivers/scsi/53c7,8xx.c | return found ? offset : -1; |
offset | 5740 | drivers/scsi/53c7,8xx.c | int offset, i; |
offset | 5757 | drivers/scsi/53c7,8xx.c | offset = insn_to_offset (cmd, ptr); |
offset | 5759 | drivers/scsi/53c7,8xx.c | if (offset != -1) |
offset | 5761 | drivers/scsi/53c7,8xx.c | cmd->host->host_no, where, offset); |
offset | 1538 | drivers/scsi/53c7,8xx.h | #define patch_abs_32(script, offset, symbol, value) \ |
offset | 1541 | drivers/scsi/53c7,8xx.h | (script)[A_##symbol##_used[i] - (offset)] += (value); \ |
offset | 1545 | drivers/scsi/53c7,8xx.h | (int)(offset), #script, (script)[A_##symbol##_used[i] - \ |
offset | 1546 | drivers/scsi/53c7,8xx.h | (offset)]); \ |
offset | 1550 | drivers/scsi/53c7,8xx.h | #define patch_abs_rwri_data(script, offset, symbol, value) \ |
offset | 1553 | drivers/scsi/53c7,8xx.h | (script)[A_##symbol##_used[i] - (offset)] = \ |
offset | 1554 | drivers/scsi/53c7,8xx.h | ((script)[A_##symbol##_used[i] - (offset)] & \ |
offset | 1560 | drivers/scsi/53c7,8xx.h | #define patch_abs_tci_data(script, offset, symbol, value) \ |
offset | 1563 | drivers/scsi/53c7,8xx.h | (script)[A_##symbol##_used[i] - (offset)] = \ |
offset | 1564 | drivers/scsi/53c7,8xx.h | ((script)[A_##symbol##_used[i] - (offset)] & \ |
offset | 2670 | drivers/scsi/53c8xx_d.h | u32 offset; |
offset | 1294 | drivers/scsi/AM53C974.c | int period, offset, i, rate, rate_rem; |
offset | 1307 | drivers/scsi/AM53C974.c | offset = msg[4]; |
offset | 1308 | drivers/scsi/AM53C974.c | if (offset > MAX_OFFSET) offset = MAX_OFFSET; |
offset | 1309 | drivers/scsi/AM53C974.c | hostdata->msgout[4] = offset; |
offset | 1311 | drivers/scsi/AM53C974.c | hostdata->sync_off[target] = offset; |
offset | 1313 | drivers/scsi/AM53C974.c | if ((hostdata->msgout[3] != msg[3]) || (msg[4] != offset)) return(1); |
offset | 1318 | drivers/scsi/AM53C974.c | if (offset) |
offset | 1320 | drivers/scsi/AM53C974.c | target, rate, rate_rem, offset); |
offset | 2422 | drivers/scsi/advansys.c | uchar offset; |
offset | 2608 | drivers/scsi/advansys.c | advansys_proc_info(char *buffer, char **start, off_t offset, int length, |
offset | 2661 | drivers/scsi/advansys.c | cnt = asc_proc_copy(advoffset, offset, curbuf, leftlen, cp, cplen); |
offset | 2677 | drivers/scsi/advansys.c | cnt = asc_proc_copy(advoffset, offset, curbuf, leftlen, cp, cplen); |
offset | 2691 | drivers/scsi/advansys.c | cnt = asc_proc_copy(advoffset, offset, curbuf, leftlen, cp, cplen); |
offset | 2712 | drivers/scsi/advansys.c | cnt = asc_proc_copy(advoffset, offset, curbuf, leftlen, cp, cplen); |
offset | 3550 | drivers/scsi/advansys.c | asc_proc_copy(off_t advoffset, off_t offset, char *curbuf, int leftlen, |
offset | 3556 | drivers/scsi/advansys.c | (unsigned) offset, (unsigned) advoffset, cplen); |
offset | 3557 | drivers/scsi/advansys.c | if (offset <= advoffset) { |
offset | 3563 | drivers/scsi/advansys.c | } else if (offset < advoffset + cplen) { |
offset | 3565 | drivers/scsi/advansys.c | cnt = (advoffset + cplen) - offset; |
offset | 4171 | drivers/scsi/advansys.c | pciData.offset = VENDORID_OFFSET; |
offset | 4175 | drivers/scsi/advansys.c | pciData.offset = DEVICEID_OFFSET; |
offset | 4185 | drivers/scsi/advansys.c | pciData.offset = SUBCLASS_OFFSET; |
offset | 4187 | drivers/scsi/advansys.c | pciData.offset = CLASSCODE_OFFSET; |
offset | 4221 | drivers/scsi/advansys.c | pciData.offset = counter; |
offset | 4269 | drivers/scsi/advansys.c | tmp = (ushort) inpw(0xC000 | ((pciData->slot << 8) + pciData->offset)); |
offset | 4286 | drivers/scsi/advansys.c | (lfunc << 8) | (pciData->offset & 0xFC) | 0x80000000L); |
offset | 4297 | drivers/scsi/advansys.c | ((pciData->offset & 2) * 8)) & 0xFFFF); |
offset | 4340 | drivers/scsi/advansys.c | tmp = inp(0xC000 | ((pciData->slot << 8) + pciData->offset)); |
offset | 4363 | drivers/scsi/advansys.c | (lfunc << 8) | (pciData->offset & 0xFC) | 0x80000000L); |
offset | 4373 | drivers/scsi/advansys.c | tmp = (uchar) ((inl(0xCFC) >> ((pciData->offset & 3) * 8)) & 0xFF); |
offset | 2815 | drivers/scsi/aha152x.c | off_t offset, |
offset | 2961 | drivers/scsi/aha152x.c | *start=buffer+offset; |
offset | 2962 | drivers/scsi/aha152x.c | if (pos - buffer < offset) |
offset | 2964 | drivers/scsi/aha152x.c | else if (pos - buffer - offset < length) |
offset | 2965 | drivers/scsi/aha152x.c | return pos - buffer - 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 | 1066 | drivers/scsi/aic7xxx.c | short period, unsigned char offset, |
offset | 1105 | drivers/scsi/aic7xxx.c | *scsirate = (aic7xxx_syncrates[i].rate) | (offset & 0x0F); |
offset | 1108 | drivers/scsi/aic7xxx.c | target, channel, aic7xxx_syncrates[i].english, offset); |
offset | 1576 | drivers/scsi/aic7xxx.c | unsigned long offset, offset_max; |
offset | 1594 | drivers/scsi/aic7xxx.c | offset = TARG_SCRATCH + base + 8; |
offset | 1607 | drivers/scsi/aic7xxx.c | offset = TARG_SCRATCH + base; |
offset | 1615 | drivers/scsi/aic7xxx.c | offset = TARG_SCRATCH + base; |
offset | 1619 | drivers/scsi/aic7xxx.c | while (offset < offset_max) |
offset | 1626 | drivers/scsi/aic7xxx.c | targ_scratch = inb(offset); |
offset | 1628 | drivers/scsi/aic7xxx.c | outb(targ_scratch, offset); |
offset | 1629 | drivers/scsi/aic7xxx.c | offset++; |
offset | 1691 | drivers/scsi/aic7xxx.c | unsigned char offset, rate, scratch, scratch_offset; |
offset | 1846 | drivers/scsi/aic7xxx.c | offset = inb(ACCUM + base); |
offset | 1860 | drivers/scsi/aic7xxx.c | aic7xxx_scsirate(p, &rate, transfer, MIN(offset, max_offset), |
offset | 2822 | drivers/scsi/aic7xxx.c | read_seeprom(int base, int offset, struct seeprom_config *sc) |
offset | 2892 | 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 | 1104 | drivers/scsi/fdomain.c | int fdomain_16x0_proc_info( char *buffer, char **start, off_t offset, |
offset | 1120 | drivers/scsi/fdomain.c | if(pos < offset) { |
offset | 1125 | drivers/scsi/fdomain.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
offset | 1126 | 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 | 580 | drivers/scsi/g_NCR5380.c | int generic_NCR5380_proc_info(char* buffer, char** start, off_t offset, int length, int hostno, int inout) |
offset | 687 | drivers/scsi/g_NCR5380.c | *start = buffer + offset; |
offset | 688 | drivers/scsi/g_NCR5380.c | len -= offset; |
offset | 55 | drivers/scsi/g_NCR5380.h | int generic_NCR5380_proc_info(char* buffer, char** start, off_t offset, int length, int hostno, int inout); |
offset | 139 | drivers/scsi/scsi.c | off_t offset, int length, int inout); |
offset | 141 | drivers/scsi/scsi.c | off_t offset, int length, int inout); |
offset | 2461 | drivers/scsi/scsi.c | int scsi_proc_info(char *buffer, char **start, off_t offset, int length, |
offset | 2493 | drivers/scsi/scsi.c | if (pos < offset) { |
offset | 2497 | drivers/scsi/scsi.c | if (pos > offset + length) |
offset | 2506 | drivers/scsi/scsi.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 2507 | drivers/scsi/scsi.c | len-=(offset-begin); /* Start slop */ |
offset | 630 | drivers/scsi/scsi_debug.c | int scsi_debug_proc_info(char *buffer, char **start, off_t offset, |
offset | 672 | drivers/scsi/scsi_debug.c | if(pos < offset) |
offset | 678 | drivers/scsi/scsi_debug.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
offset | 679 | 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 | 152 | drivers/scsi/t128.c | int offset; |
offset | 220 | drivers/scsi/t128.c | (bases[current_base].address + signatures[sig].offset, |
offset | 34 | drivers/sound/sound_calls.h | int audio_lseek (int dev, struct fileinfo *file, off_t offset, int orig); |
offset | 49 | drivers/sound/sound_calls.h | int sequencer_lseek (int dev, struct fileinfo *file, off_t offset, int orig); |
offset | 69 | drivers/sound/sound_calls.h | int MIDIbuf_lseek (int dev, struct fileinfo *file, off_t offset, int orig); |
offset | 250 | drivers/sound/sound_calls.h | int pss_lseek (int dev, struct fileinfo *file, off_t offset, int orig); |
offset | 93 | drivers/sound/soundcard.c | sound_lseek (inode_handle * inode, file_handle * file, off_t offset, int orig) |
offset | 62 | fs/binfmt_aout.c | #define DUMP_SEEK(offset) \ |
offset | 64 | fs/binfmt_aout.c | if (file.f_op->lseek(inode,&file,(offset),0) != (offset)) \ |
offset | 66 | fs/binfmt_aout.c | } else file.f_pos = (offset) |
offset | 947 | fs/binfmt_elf.c | off_t offset = 0, dataoff; |
offset | 1035 | fs/binfmt_elf.c | offset += sizeof(elf); /* Elf header */ |
offset | 1036 | fs/binfmt_elf.c | offset += (segs+1) * sizeof(struct elf_phdr); /* Program headers */ |
offset | 1134 | fs/binfmt_elf.c | phdr.p_offset = offset; |
offset | 1142 | fs/binfmt_elf.c | offset += phdr.p_filesz; |
offset | 1147 | fs/binfmt_elf.c | dataoff = offset = roundup(offset, PAGE_SIZE); |
offset | 1162 | fs/binfmt_elf.c | phdr.p_offset = offset; |
offset | 1167 | fs/binfmt_elf.c | offset += sz; |
offset | 1199 | fs/binfmt_elf.c | if ((off_t) file.f_pos != offset) { |
offset | 1202 | fs/binfmt_elf.c | (off_t) file.f_pos, offset); |
offset | 17 | fs/binfmt_script.c | int retval, offset; |
offset | 64 | fs/binfmt_script.c | offset = bprm->p % PAGE_SIZE; |
offset | 66 | fs/binfmt_script.c | while(bprm->p++,*(page+offset++)) |
offset | 67 | fs/binfmt_script.c | if(offset==PAGE_SIZE){ |
offset | 68 | fs/binfmt_script.c | offset=0; |
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 | 1061 | fs/buffer.c | unsigned long offset; |
offset | 1064 | fs/buffer.c | offset = PAGE_SIZE; |
offset | 1065 | fs/buffer.c | while ((offset -= size) < PAGE_SIZE) { |
offset | 1071 | fs/buffer.c | bh->b_data = (char *) (page+offset); |
offset | 1266 | fs/buffer.c | block = page->offset >> inode->i_sb->s_blocksize_bits; |
offset | 1694 | fs/buffer.c | unsigned long offset; |
offset | 1707 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
offset | 1746 | fs/buffer.c | int i, offset; |
offset | 1748 | fs/buffer.c | for (i = 0, offset = 0 ; offset < PAGE_SIZE ; i++, offset += size) { |
offset | 228 | fs/exec.c | int len, offset = 0; |
offset | 252 | fs/exec.c | if (--offset < 0) { |
offset | 253 | fs/exec.c | offset = p % PAGE_SIZE; |
offset | 264 | fs/exec.c | if (len == 0 || offset == 0) |
offset | 265 | fs/exec.c | *(pag + offset) = get_user(tmp); |
offset | 267 | fs/exec.c | int bytes_to_copy = (len > offset) ? offset : len; |
offset | 270 | fs/exec.c | offset -= bytes_to_copy; |
offset | 272 | fs/exec.c | memcpy_fromfs(pag + offset, tmp, bytes_to_copy + 1); |
offset | 324 | fs/exec.c | int read_exec(struct inode *inode, unsigned long offset, |
offset | 345 | fs/exec.c | if (file.f_op->lseek(inode,&file,offset,0) != offset) |
offset | 348 | fs/exec.c | file.f_pos = offset; |
offset | 485 | fs/exec.c | unsigned long offset; |
offset | 487 | fs/exec.c | offset = bprm->p % PAGE_SIZE; |
offset | 489 | fs/exec.c | while(bprm->p++,*(page+offset++)) |
offset | 490 | fs/exec.c | if(offset==PAGE_SIZE){ |
offset | 491 | fs/exec.c | offset=0; |
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 | 78 | fs/ext/file.c | int block, blocks, offset; |
offset | 93 | fs/ext/file.c | offset = filp->f_pos; |
offset | 95 | fs/ext/file.c | if (offset > size) |
offset | 98 | fs/ext/file.c | left = size - offset; |
offset | 104 | fs/ext/file.c | block = offset >> BLOCK_SIZE_BITS; |
offset | 105 | fs/ext/file.c | offset &= BLOCK_SIZE-1; |
offset | 107 | fs/ext/file.c | blocks = (left + offset + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; |
offset | 163 | fs/ext/file.c | if (left < BLOCK_SIZE - offset) |
offset | 166 | fs/ext/file.c | chars = BLOCK_SIZE - offset; |
offset | 171 | fs/ext/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 178 | 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 | 416 | fs/ext2/super.c | unsigned long offset; |
offset | 421 | fs/ext2/super.c | offset = (sb_block*BLOCK_SIZE) % sb->s_blocksize; |
offset | 427 | 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 | 245 | fs/fat/cache.c | int cluster,offset; |
offset | 254 | fs/fat/cache.c | offset = sector % sb->cluster_size; |
offset | 256 | fs/fat/cache.c | return (cluster-2)*sb->cluster_size+sb->data_start+offset; |
offset | 147 | fs/fat/dir.c | int offset; |
offset | 159 | fs/fat/dir.c | offset = 0; |
offset | 187 | fs/fat/dir.c | offset = slot * 26; |
offset | 189 | fs/fat/dir.c | memcpy(&unicode[offset], ds->name0_4, 10); |
offset | 190 | fs/fat/dir.c | offset += 10; |
offset | 191 | fs/fat/dir.c | memcpy(&unicode[offset], ds->name5_10, 12); |
offset | 192 | fs/fat/dir.c | offset += 12; |
offset | 193 | fs/fat/dir.c | memcpy(&unicode[offset], ds->name11_12, 4); |
offset | 194 | fs/fat/dir.c | offset += 4; |
offset | 197 | fs/fat/dir.c | unicode[offset] = 0; |
offset | 198 | fs/fat/dir.c | unicode[offset+1] = 0; |
offset | 311 | fs/fat/dir.c | off_t offset, |
offset | 316 | fs/fat/dir.c | return filldir(buf, name, name_len, offset, ino); |
offset | 335 | fs/fat/dir.c | off_t offset, |
offset | 362 | fs/fat/dir.c | put_user(offset, &d2->d_off); |
offset | 217 | fs/fat/file.c | int size,offset; |
offset | 235 | fs/fat/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
offset | 236 | fs/fat/file.c | data = bh->b_data + offset; |
offset | 237 | fs/fat/file.c | size = MIN(SECTOR_SIZE-offset,left_in_file); |
offset | 275 | fs/fat/file.c | int sector,offset,size,left,written; |
offset | 307 | fs/fat/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
offset | 308 | fs/fat/file.c | size = MIN(SECTOR_SIZE-offset,MAX(carry,count)); |
offset | 310 | fs/fat/file.c | && offset == 0 |
offset | 325 | fs/fat/file.c | memcpy_fromfs(bh->b_data+offset,buf,written = size); |
offset | 329 | fs/fat/file.c | written = left = SECTOR_SIZE-offset; |
offset | 339 | fs/fat/inode.c | int cluster,offset; |
offset | 346 | fs/fat/inode.c | offset = block % sb->cluster_size; |
offset | 348 | fs/fat/inode.c | return (cluster-2)*sb->cluster_size+sb->data_start+offset; |
offset | 287 | fs/fat/misc.c | int sector,offset; |
offset | 290 | fs/fat/misc.c | offset = *pos; |
offset | 291 | fs/fat/misc.c | PRINTK (("get_entry offset %d\n",offset)); |
offset | 292 | fs/fat/misc.c | if ((sector = fat_smap(dir,offset >> SECTOR_BITS)) == -1) |
offset | 306 | fs/fat/misc.c | *de = (struct msdos_dir_entry *) ((*bh)->b_data+(offset & |
offset | 308 | fs/fat/misc.c | return (sector << MSDOS_DPS_BITS)+((offset & (SECTOR_SIZE-1)) >> |
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 | 109 | fs/ncpfs/ncplib_kernel.c | ncp_reply_data(struct ncp_server *server, int offset) |
offset | 111 | fs/ncpfs/ncplib_kernel.c | return &(server->packet[sizeof(struct ncp_reply_header) + offset]); |
offset | 115 | fs/ncpfs/ncplib_kernel.c | ncp_reply_byte(struct ncp_server *server, int offset) |
offset | 117 | fs/ncpfs/ncplib_kernel.c | return *(byte *)(ncp_reply_data(server, offset)); |
offset | 121 | fs/ncpfs/ncplib_kernel.c | ncp_reply_word(struct ncp_server *server, int offset) |
offset | 123 | fs/ncpfs/ncplib_kernel.c | return *(word *)(ncp_reply_data(server, offset)); |
offset | 127 | fs/ncpfs/ncplib_kernel.c | ncp_reply_dword(struct ncp_server *server, int offset) |
offset | 129 | fs/ncpfs/ncplib_kernel.c | return *(dword *)(ncp_reply_data(server, offset)); |
offset | 576 | fs/ncpfs/ncplib_kernel.c | __u32 offset, __u16 to_read, |
offset | 584 | fs/ncpfs/ncplib_kernel.c | ncp_add_dword(server, htonl(offset)); |
offset | 595 | fs/ncpfs/ncplib_kernel.c | memcpy_tofs(target, ncp_reply_data(server, 2+(offset&1)), *bytes_read); |
offset | 603 | fs/ncpfs/ncplib_kernel.c | __u32 offset, __u16 to_write, |
offset | 611 | fs/ncpfs/ncplib_kernel.c | ncp_add_dword(server, htonl(offset)); |
offset | 115 | fs/ncpfs/ncplib_kernel.h | __u32 offset, __u16 to_read, |
offset | 120 | fs/ncpfs/ncplib_kernel.h | __u32 offset, __u16 to_write, |
offset | 148 | fs/nfs/file.c | error = do_read_nfs(inode, page, (char *) address, page->offset); |
offset | 374 | fs/nfs/proc.c | int offset, int count, char *data, struct nfs_fattr *fattr) |
offset | 381 | fs/nfs/proc.c | PRINTK("NFS call read %d @ %d\n", count, offset); |
offset | 387 | fs/nfs/proc.c | *p++ = htonl(offset); |
offset | 419 | fs/nfs/proc.c | int nfs_proc_write(struct inode * inode, int offset, |
offset | 429 | fs/nfs/proc.c | PRINTK("NFS call write %d @ %d\n", count, offset); |
offset | 435 | fs/nfs/proc.c | *p++ = htonl(offset); /* traditional, could be any value */ |
offset | 436 | fs/nfs/proc.c | *p++ = htonl(offset); |
offset | 447 | fs/nfs/proc.c | update_vm_cache(inode, offset, kdata, count); |
offset | 119 | fs/pipe.c | static int pipe_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 969 | fs/proc/array.c | static int get_root_array(char * page, int type, char **start, off_t offset, int length) |
offset | 1002 | fs/proc/array.c | return get_ksyms_list(page, start, offset, length); |
offset | 1061 | fs/proc/array.c | static inline int fill_array(char * page, int pid, int type, char **start, off_t offset, int length) |
offset | 1065 | 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 | 11 | fs/proc/procfs_syms.c | off_t offset, int length, int inout); |
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 | 80 | fs/sysv/file.c | int blocks, offset; |
offset | 95 | fs/sysv/file.c | offset = filp->f_pos; |
offset | 97 | fs/sysv/file.c | if (offset > size) |
offset | 100 | fs/sysv/file.c | left = size - offset; |
offset | 106 | fs/sysv/file.c | block = offset >> sb->sv_block_size_bits; |
offset | 107 | fs/sysv/file.c | offset &= sb->sv_block_size_1; |
offset | 109 | fs/sysv/file.c | blocks = (left + offset + sb->sv_block_size_1) >> sb->sv_block_size_bits; |
offset | 165 | fs/sysv/file.c | if (left < sb->sv_block_size - offset) |
offset | 168 | fs/sysv/file.c | chars = sb->sv_block_size - offset; |
offset | 173 | fs/sysv/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 180 | 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 | 52 | fs/vfat/namei.c | off_t offset; |
offset | 545 | fs/vfat/namei.c | loff_t offset, curr; |
offset | 556 | fs/vfat/namei.c | offset = curr = 0; |
offset | 578 | fs/vfat/namei.c | return offset; |
offset | 582 | fs/vfat/namei.c | offset = curr; |
offset | 656 | fs/vfat/namei.c | loff_t offset; |
offset | 684 | fs/vfat/namei.c | offset = (slot - 1) * 26; |
offset | 685 | fs/vfat/namei.c | ip = &uniname[offset]; |
offset | 686 | fs/vfat/namei.c | j = offset; |
offset | 764 | fs/vfat/namei.c | off_t offset, |
offset | 795 | fs/vfat/namei.c | vf->offset = (offset == 2) ? 0 : offset; |
offset | 811 | fs/vfat/namei.c | loff_t offset; |
offset | 831 | fs/vfat/namei.c | sinfo_out->longname_offset = vf.offset; |
offset | 855 | fs/vfat/namei.c | offset = vfat_find_free_slots(dir, slots); |
offset | 856 | fs/vfat/namei.c | if (offset < 0) { |
offset | 857 | fs/vfat/namei.c | return offset; |
offset | 865 | fs/vfat/namei.c | sinfo_out->ino = fat_get_entry(dir,&offset,&bh,&de); |
offset | 901 | fs/vfat/namei.c | sinfo_out->shortname_offset = offset - sizeof(struct msdos_dir_slot); |
offset | 902 | fs/vfat/namei.c | sinfo_out->longname_offset = offset - sizeof(struct msdos_dir_slot) * slots; |
offset | 984 | fs/vfat/namei.c | loff_t offset; |
offset | 995 | fs/vfat/namei.c | offset = sinfo.shortname_offset; |
offset | 999 | fs/vfat/namei.c | ino = fat_get_entry(dir, &offset, &bh, &de); |
offset | 1089 | fs/vfat/namei.c | loff_t offset; |
offset | 1095 | fs/vfat/namei.c | offset = 0; |
offset | 1097 | fs/vfat/namei.c | if ((res = fat_get_entry(dir,&offset,&bh,&de)) < 0) return res; |
offset | 1108 | fs/vfat/namei.c | if ((res = fat_get_entry(dir,&offset,&bh,&de)) < 0) { |
offset | 1213 | fs/vfat/namei.c | loff_t offset; |
offset | 1217 | fs/vfat/namei.c | offset = sinfo->shortname_offset; |
offset | 1218 | fs/vfat/namei.c | res = fat_get_entry(dir, &offset, bh, de); |
offset | 1228 | fs/vfat/namei.c | offset = sinfo->longname_offset; |
offset | 1230 | fs/vfat/namei.c | res = fat_get_entry(dir, &offset, bh, de); |
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 | 76 | fs/xiafs/file.c | int zone_nr, zones, f_zones, offset; |
offset | 90 | fs/xiafs/file.c | offset = filp->f_pos; |
offset | 91 | fs/xiafs/file.c | left = inode->i_size - offset; |
offset | 97 | fs/xiafs/file.c | zone_nr = offset >> XIAFS_ZSIZE_BITS(inode->i_sb); |
offset | 98 | fs/xiafs/file.c | offset &= XIAFS_ZSIZE(inode->i_sb) -1 ; |
offset | 100 | fs/xiafs/file.c | zones = (left+offset+XIAFS_ZSIZE(inode->i_sb)-1) >> XIAFS_ZSIZE_BITS(inode->i_sb); |
offset | 155 | fs/xiafs/file.c | if (left < XIAFS_ZSIZE(inode->i_sb) - offset) |
offset | 158 | fs/xiafs/file.c | chars = XIAFS_ZSIZE(inode->i_sb) - offset; |
offset | 163 | fs/xiafs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 170 | 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 | 457 | include/asm-alpha/pgtable.h | extern inline pte_t mk_swap_pte(unsigned long type, unsigned long offset) |
offset | 458 | include/asm-alpha/pgtable.h | { pte_t pte; pte_val(pte) = (type << 32) | (offset << 40); return pte; } |
offset | 462 | include/asm-alpha/pgtable.h | #define SWP_ENTRY(type,offset) pte_val(mk_swap_pte((type),(offset))) |
offset | 99 | include/asm-i386/bitops.h | extern __inline__ int find_next_zero_bit (void * addr, int size, int offset) |
offset | 101 | include/asm-i386/bitops.h | unsigned long * p = ((unsigned long *) addr) + (offset >> 5); |
offset | 102 | include/asm-i386/bitops.h | int set = 0, bit = offset & 31, res; |
offset | 116 | include/asm-i386/bitops.h | return set + offset; |
offset | 124 | include/asm-i386/bitops.h | return (offset + set + res); |
offset | 475 | 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 | 275 | include/asm-sparc/pgtable.h | #define SWP_ENTRY(type,offset) (((type) << 2) | ((offset) << 9)) |
offset | 27 | include/asm-sparc/sbus.h | extern inline unsigned long sbus_devaddr(int slotnum, unsigned long offset) |
offset | 29 | include/asm-sparc/sbus.h | return (unsigned long) (SUN_SBUS_BVADDR+((slotnum)<<25)+(offset)); |
offset | 62 | include/asm-sparc/sbus.h | unsigned long offset; /* Offset given by PROM */ |
offset | 35 | include/linux/apm_bios.h | unsigned long offset; |
offset | 44 | include/linux/binfmts.h | extern int read_exec(struct inode *inode, unsigned long offset, |
offset | 156 | include/linux/cdk.h | unsigned long offset; |
offset | 437 | include/linux/cdk.h | unsigned long offset; |
offset | 94 | include/linux/md.h | int offset; /* Real device offset (in blocks) in md dev |
offset | 133 | include/linux/mm.h | unsigned long offset; |
offset | 182 | include/linux/mm.h | extern void vmtruncate(struct inode * inode, unsigned long offset); |
offset | 196 | 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 | 70 | include/linux/nfs_fs.h | int offset, int count, char *data, |
offset | 72 | include/linux/nfs_fs.h | extern int nfs_proc_write(struct inode * inode, int offset, |
offset | 34 | include/linux/pagemap.h | static inline unsigned long _page_hashfn(struct inode * inode, unsigned long offset) |
offset | 37 | include/linux/pagemap.h | #define o (offset >> PAGE_SHIFT) |
offset | 45 | include/linux/pagemap.h | #define page_hash(inode,offset) page_hash_table[_page_hashfn(inode,offset)] |
offset | 47 | include/linux/pagemap.h | static inline struct page * find_page(struct inode * inode, unsigned long offset) |
offset | 52 | include/linux/pagemap.h | for (page = page_hash(inode, offset); page ; page = page->next_hash) { |
offset | 55 | include/linux/pagemap.h | if (page->offset != offset) |
offset | 70 | include/linux/pagemap.h | struct page **p = &page_hash(page->inode,page->offset); |
offset | 84 | include/linux/pagemap.h | struct page **p = &page_hash(inode,page->offset); |
offset | 177 | include/linux/proc_fs.h | off_t offset, int length, int inout); |
offset | 453 | include/linux/skbuff.h | extern void skb_copy_datagram(struct sk_buff *from, int offset, char *to,int size); |
offset | 454 | include/linux/skbuff.h | extern void skb_copy_datagram_iovec(struct sk_buff *from, int offset, struct iovec *to,int size); |
offset | 129 | include/linux/smb_fs.h | off_t offset, long count, char *data, int fs); |
offset | 131 | include/linux/smb_fs.h | off_t offset, long count, char *data); |
offset | 133 | include/linux/smb_fs.h | off_t offset, int count, const char *data); |
offset | 135 | 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 | 55 | include/net/ip.h | int offset; /* offset of fragment in IP datagram */ |
offset | 8 | include/net/rarp.h | off_t offset, |
offset | 191 | include/net/route.h | extern int rt_get_info(char * buffer, char **start, off_t offset, int length, int dummy); |
offset | 192 | include/net/route.h | extern int rt_cache_get_info(char *buffer, char **start, off_t offset, int length, int dummy); |
offset | 605 | ipc/shm.c | static pte_t shm_swap_in(struct vm_area_struct * shmd, unsigned long offset, unsigned long code) |
offset | 627 | ipc/shm.c | if (idx != (offset >> PAGE_SHIFT)) { |
offset | 629 | ipc/shm.c | idx, offset >> PAGE_SHIFT); |
offset | 559 | kernel/module.c | int get_ksyms_list(char *buf, char **start, off_t offset, int length) |
offset | 588 | kernel/module.c | if (pos < offset) { |
offset | 593 | kernel/module.c | if (pos > offset+length) |
offset | 599 | kernel/module.c | *start = buf + (offset - begin); |
offset | 600 | kernel/module.c | len -= (offset - begin); |
offset | 222 | kernel/time.c | if (txc.offset <= - MAXPHASE || txc.offset >= MAXPHASE ) |
offset | 260 | kernel/time.c | time_adjust = txc.offset; |
offset | 266 | kernel/time.c | pps_offset : txc.offset; |
offset | 325 | kernel/time.c | txc.offset = save_adjust; |
offset | 85 | mm/filemap.c | unsigned long offset = page->offset; |
offset | 88 | mm/filemap.c | if (offset >= start) { |
offset | 105 | mm/filemap.c | offset = start - offset; |
offset | 107 | mm/filemap.c | if (offset < PAGE_SIZE) |
offset | 108 | mm/filemap.c | memset((void *) (offset + page_address(page)), 0, PAGE_SIZE - offset); |
offset | 199 | mm/filemap.c | unsigned long offset, len; |
offset | 201 | mm/filemap.c | offset = (pos & ~PAGE_MASK); |
offset | 203 | mm/filemap.c | len = PAGE_SIZE - offset; |
offset | 215 | mm/filemap.c | memcpy((void *) (offset + addr), buf, len); |
offset | 221 | mm/filemap.c | offset = 0; |
offset | 231 | mm/filemap.c | static unsigned long try_to_read_ahead(struct inode * inode, unsigned long offset, unsigned long page_cache) |
offset | 235 | mm/filemap.c | offset &= PAGE_MASK; |
offset | 241 | mm/filemap.c | if (offset >= inode->i_size) |
offset | 244 | mm/filemap.c | page = find_page(inode, offset); |
offset | 256 | mm/filemap.c | page->offset = offset; |
offset | 313 | mm/filemap.c | unsigned long offset, addr, nr; |
offset | 317 | mm/filemap.c | offset = pos & ~PAGE_MASK; |
offset | 318 | mm/filemap.c | nr = PAGE_SIZE - offset; |
offset | 377 | mm/filemap.c | memcpy_tofs(buf, (void *) (addr + offset), nr); |
offset | 398 | mm/filemap.c | page->offset = pos & PAGE_MASK; |
offset | 435 | mm/filemap.c | static inline unsigned long fill_page(struct inode * inode, unsigned long offset) |
offset | 440 | mm/filemap.c | page = find_page(inode, offset); |
offset | 444 | mm/filemap.c | page = find_page(inode, offset); |
offset | 457 | mm/filemap.c | page->offset = offset; |
offset | 473 | mm/filemap.c | unsigned long offset; |
offset | 477 | mm/filemap.c | offset = (address & PAGE_MASK) - area->vm_start + area->vm_offset; |
offset | 478 | mm/filemap.c | if (offset >= inode->i_size && (area->vm_flags & VM_SHARED) && area->vm_mm == current->mm) |
offset | 481 | mm/filemap.c | page = fill_page(inode, offset); |
offset | 497 | mm/filemap.c | const char * page, unsigned long offset) |
offset | 502 | mm/filemap.c | size = offset + PAGE_SIZE; |
offset | 508 | mm/filemap.c | if (size < offset) |
offset | 511 | mm/filemap.c | size -= offset; |
offset | 522 | mm/filemap.c | unsigned long offset, |
offset | 549 | mm/filemap.c | file.f_pos = offset; |
offset | 553 | mm/filemap.c | result = do_write_page(inode, &file, (const char *) page, offset); |
offset | 570 | mm/filemap.c | unsigned long offset, |
offset | 579 | mm/filemap.c | invalidate_page(vma, (offset + vma->vm_start - vma->vm_offset)); |
offset | 580 | mm/filemap.c | error = filemap_write_page(vma, offset, page); |
offset | 593 | mm/filemap.c | unsigned long offset, |
offset | 642 | mm/filemap.c | struct vm_area_struct *vma, unsigned long offset, unsigned int flags) |
offset | 656 | mm/filemap.c | offset += address & PMD_MASK; |
offset | 663 | mm/filemap.c | error |= filemap_sync_pte(pte, vma, address + offset, flags); |
offset | 675 | mm/filemap.c | unsigned long offset, end; |
offset | 686 | mm/filemap.c | offset = address & PMD_MASK; |
offset | 693 | mm/filemap.c | error |= filemap_sync_pte_range(pmd, address, end - address, vma, offset, flags); |
offset | 452 | mm/memory.c | unsigned long offset, pgprot_t prot) |
offset | 463 | mm/memory.c | if (offset >= high_memory || mem_map[MAP_NR(offset)].reserved) |
offset | 464 | mm/memory.c | set_pte(pte, mk_pte(offset, prot)); |
offset | 467 | mm/memory.c | offset += PAGE_SIZE; |
offset | 473 | mm/memory.c | unsigned long offset, pgprot_t prot) |
offset | 481 | mm/memory.c | offset -= address; |
offset | 486 | mm/memory.c | remap_pte_range(pte, address, end - address, address + offset, prot); |
offset | 493 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long offset, unsigned long size, pgprot_t prot) |
offset | 500 | mm/memory.c | offset -= from; |
offset | 507 | mm/memory.c | error = remap_pmd_range(pmd, from, end - from, offset + from, prot); |
offset | 793 | mm/memory.c | void vmtruncate(struct inode * inode, unsigned long offset) |
offset | 797 | mm/memory.c | truncate_inode_pages(inode, offset); |
offset | 807 | mm/memory.c | if (mpnt->vm_offset >= offset) { |
offset | 812 | mm/memory.c | diff = offset - mpnt->vm_offset; |
offset | 33 | mm/page_io.c | unsigned long type, offset; |
offset | 43 | mm/page_io.c | offset = SWP_OFFSET(entry); |
offset | 44 | mm/page_io.c | if (offset >= p->max) { |
offset | 48 | mm/page_io.c | if (p->swap_map && !p->swap_map[offset]) { |
offset | 56 | mm/page_io.c | while (set_bit(offset,p->swap_lockmap)) |
offset | 70 | mm/page_io.c | ll_rw_page(rw,p->swap_device,offset,buf); |
offset | 92 | mm/page_io.c | unsigned int block = offset << 3; |
offset | 102 | mm/page_io.c | unsigned int block = offset |
offset | 113 | mm/page_io.c | if (offset && !clear_bit(offset,p->swap_lockmap)) |
offset | 87 | mm/swap_state.c | unsigned long offset, type; |
offset | 91 | mm/swap_state.c | offset = SWP_OFFSET(entry); |
offset | 100 | mm/swap_state.c | if (offset >= p->max) { |
offset | 104 | mm/swap_state.c | if (!p->swap_map[offset]) { |
offset | 108 | mm/swap_state.c | p->swap_map[offset]++; |
offset | 37 | mm/swapfile.c | int offset; |
offset | 48 | mm/swapfile.c | offset = si->cluster_next++; |
offset | 49 | mm/swapfile.c | if (si->swap_map[offset]) |
offset | 51 | mm/swapfile.c | if (test_bit(offset, si->swap_lockmap)) |
offset | 58 | mm/swapfile.c | for (offset = si->lowest_bit; offset <= si->highest_bit ; offset++) { |
offset | 59 | mm/swapfile.c | if (si->swap_map[offset]) |
offset | 61 | mm/swapfile.c | if (test_bit(offset, si->swap_lockmap)) |
offset | 63 | mm/swapfile.c | si->lowest_bit = offset; |
offset | 65 | mm/swapfile.c | si->swap_map[offset] = 1; |
offset | 67 | mm/swapfile.c | if (offset == si->highest_bit) |
offset | 69 | mm/swapfile.c | si->cluster_next = offset; |
offset | 70 | mm/swapfile.c | return offset; |
offset | 78 | mm/swapfile.c | unsigned long offset, entry; |
offset | 88 | mm/swapfile.c | offset = scan_swap_map(p); |
offset | 89 | mm/swapfile.c | if (offset) { |
offset | 90 | mm/swapfile.c | entry = SWP_ENTRY(type,offset); |
offset | 119 | mm/swapfile.c | unsigned long offset, type; |
offset | 131 | mm/swapfile.c | offset = SWP_OFFSET(entry); |
offset | 132 | mm/swapfile.c | if (offset >= p->max) { |
offset | 140 | mm/swapfile.c | if (offset < p->lowest_bit) |
offset | 141 | mm/swapfile.c | p->lowest_bit = offset; |
offset | 142 | mm/swapfile.c | if (offset > p->highest_bit) |
offset | 143 | mm/swapfile.c | p->highest_bit = offset; |
offset | 144 | mm/swapfile.c | if (!p->swap_map[offset]) |
offset | 147 | mm/swapfile.c | if (!--p->swap_map[offset]) |
offset | 196 | mm/swapfile.c | unsigned long address, unsigned long size, unsigned long offset, |
offset | 210 | mm/swapfile.c | offset += address & PMD_MASK; |
offset | 216 | mm/swapfile.c | if (unuse_pte(vma, offset+address-vma->vm_start, pte, type, page)) |
offset | 229 | mm/swapfile.c | unsigned long offset, end; |
offset | 239 | mm/swapfile.c | offset = address & PGDIR_MASK; |
offset | 245 | mm/swapfile.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 | 236 | net/appletalk/ddp.c | int atalk_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 265 | net/appletalk/ddp.c | if(pos<offset) |
offset | 270 | net/appletalk/ddp.c | if(pos>offset+length) /* We have dumped enough */ |
offset | 275 | net/appletalk/ddp.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 276 | net/appletalk/ddp.c | len-=(offset-begin); /* Remove unwanted header data from length */ |
offset | 884 | net/appletalk/ddp.c | int atalk_if_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 900 | net/appletalk/ddp.c | if(pos<offset) |
offset | 905 | net/appletalk/ddp.c | if(pos>offset+length) |
offset | 908 | net/appletalk/ddp.c | *start=buffer+(offset-begin); |
offset | 909 | net/appletalk/ddp.c | len-=(offset-begin); |
offset | 917 | net/appletalk/ddp.c | int atalk_rt_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 939 | net/appletalk/ddp.c | if(pos<offset) |
offset | 944 | net/appletalk/ddp.c | if(pos>offset+length) |
offset | 947 | net/appletalk/ddp.c | *start=buffer+(offset-begin); |
offset | 948 | net/appletalk/ddp.c | len-=(offset-begin); |
offset | 2268 | net/ax25/af_ax25.c | static int ax25_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 2322 | net/ax25/af_ax25.c | if (pos < offset) { |
offset | 2327 | net/ax25/af_ax25.c | if (pos > offset + length) |
offset | 2333 | net/ax25/af_ax25.c | *start = buffer + (offset - begin); |
offset | 2334 | net/ax25/af_ax25.c | len -= (offset - begin); |
offset | 365 | net/ax25/ax25_route.c | int ax25_rt_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 425 | net/ax25/ax25_route.c | if (pos < offset) { |
offset | 430 | net/ax25/ax25_route.c | if (pos > offset + length) |
offset | 436 | net/ax25/ax25_route.c | *start = buffer + (offset - begin); |
offset | 437 | net/ax25/ax25_route.c | len -= (offset - begin); |
offset | 444 | net/ax25/ax25_route.c | int ax25_cs_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 460 | net/ax25/ax25_route.c | if (pos < offset) { |
offset | 465 | net/ax25/ax25_route.c | if (pos > offset + length) |
offset | 471 | net/ax25/ax25_route.c | *start = buffer + (offset - begin); |
offset | 472 | net/ax25/ax25_route.c | len -= offset - begin; |
offset | 828 | net/ax25/ax25_route.c | int ax25_bpq_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 846 | net/ax25/ax25_route.c | if (pos < offset) { |
offset | 851 | net/ax25/ax25_route.c | if (pos > offset + length) |
offset | 857 | net/ax25/ax25_route.c | *start = buffer + (offset - begin); |
offset | 858 | net/ax25/ax25_route.c | len -= (offset - begin); |
offset | 159 | net/core/datagram.c | void skb_copy_datagram(struct sk_buff *skb, int offset, char *to, int size) |
offset | 161 | net/core/datagram.c | memcpy_tofs(to,skb->h.raw+offset,size); |
offset | 169 | net/core/datagram.c | void skb_copy_datagram_iovec(struct sk_buff *skb, int offset, struct iovec *to, int size) |
offset | 171 | net/core/datagram.c | memcpy_toiovec(to,skb->h.raw+offset,size); |
offset | 853 | net/core/dev.c | int dev_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 876 | net/core/dev.c | if(pos<offset) |
offset | 881 | net/core/dev.c | if(pos>offset+length) |
offset | 885 | net/core/dev.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 886 | net/core/dev.c | len-=(offset-begin); /* Start slop */ |
offset | 886 | net/core/net_alias.c | int net_alias_types_getinfo(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 899 | net/core/net_alias.c | if(pos<offset) |
offset | 904 | net/core/net_alias.c | if(pos>offset+length) |
offset | 907 | net/core/net_alias.c | *start=buffer+(offset-begin); |
offset | 908 | net/core/net_alias.c | len-=(offset-begin); |
offset | 923 | net/core/net_alias.c | int net_alias_getinfo(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 962 | net/core/net_alias.c | if(pos<offset) |
offset | 967 | net/core/net_alias.c | if(pos>offset+length) |
offset | 970 | net/core/net_alias.c | *start=buffer+(offset-begin); |
offset | 971 | net/core/net_alias.c | len-=(offset-begin); |
offset | 791 | net/core/skbuff.c | unsigned long offset; |
offset | 807 | net/core/skbuff.c | offset=n->head-skb->head; |
offset | 820 | net/core/skbuff.c | n->h.raw=skb->h.raw+offset; |
offset | 821 | net/core/skbuff.c | n->mac.raw=skb->mac.raw+offset; |
offset | 822 | net/core/skbuff.c | n->ip_hdr=(struct iphdr *)(((char *)skb->ip_hdr)+offset); |
offset | 1338 | net/ipv4/arp.c | int arp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 1408 | net/ipv4/arp.c | if (pos <= offset) |
offset | 1410 | net/ipv4/arp.c | if (pos >= offset+length) |
offset | 1417 | net/ipv4/arp.c | *start = buffer+len-(pos-offset); /* Start of wanted data */ |
offset | 1418 | net/ipv4/arp.c | len = pos-offset; /* Start slop */ |
offset | 201 | net/ipv4/icmp.c | static void icmp_glue_bits(const void *p, __u32 saddr, char *to, unsigned int offset, unsigned int fraglen) |
offset | 207 | net/ipv4/icmp.c | if (offset) { |
offset | 208 | net/ipv4/icmp.c | icmp_param->csum=csum_partial_copy(icmp_param->data_ptr+offset-sizeof(struct icmphdr), |
offset | 79 | net/ipv4/ip_fragment.c | static struct ipfrag *ip_frag_create(int offset, int end, struct sk_buff *skb, unsigned char *ptr) |
offset | 93 | net/ipv4/ip_fragment.c | fp->offset = offset; |
offset | 95 | net/ipv4/ip_fragment.c | fp->len = end - offset; |
offset | 299 | net/ipv4/ip_fragment.c | int offset; |
offset | 307 | net/ipv4/ip_fragment.c | offset = 0; |
offset | 310 | net/ipv4/ip_fragment.c | if (fp->offset > offset) |
offset | 312 | net/ipv4/ip_fragment.c | offset = fp->end; |
offset | 374 | net/ipv4/ip_fragment.c | memcpy((ptr + fp->offset), fp->ptr, fp->len); |
offset | 404 | net/ipv4/ip_fragment.c | int flags, offset; |
offset | 422 | net/ipv4/ip_fragment.c | offset = ntohs(iph->frag_off); |
offset | 423 | net/ipv4/ip_fragment.c | flags = offset & ~IP_OFFSET; |
offset | 424 | net/ipv4/ip_fragment.c | offset &= IP_OFFSET; |
offset | 425 | net/ipv4/ip_fragment.c | if (((flags & IP_MF) == 0) && (offset == 0)) |
offset | 432 | net/ipv4/ip_fragment.c | offset <<= 3; /* offset is in 8-byte chunks */ |
offset | 446 | net/ipv4/ip_fragment.c | if (offset == 0) |
offset | 475 | net/ipv4/ip_fragment.c | end = offset + ntohs(iph->tot_len) - ihl; |
offset | 499 | net/ipv4/ip_fragment.c | if (next->offset > offset) |
offset | 509 | net/ipv4/ip_fragment.c | if (prev != NULL && offset < prev->end) |
offset | 511 | net/ipv4/ip_fragment.c | i = prev->end - offset; |
offset | 512 | net/ipv4/ip_fragment.c | offset += i; /* ptr into datagram */ |
offset | 524 | net/ipv4/ip_fragment.c | if (tmp->offset >= end) |
offset | 527 | net/ipv4/ip_fragment.c | i = end - next->offset; /* overlap is 'i' bytes */ |
offset | 529 | net/ipv4/ip_fragment.c | tmp->offset += i; /* next fragment */ |
offset | 557 | net/ipv4/ip_fragment.c | tfp = ip_frag_create(offset, end, skb, ptr); |
offset | 613 | net/ipv4/ip_fragment.c | int offset; |
offset | 672 | net/ipv4/ip_fragment.c | offset = (ntohs(iph->frag_off) & IP_OFFSET) << 3; |
offset | 674 | net/ipv4/ip_fragment.c | offset = 0; |
offset | 745 | net/ipv4/ip_fragment.c | iph->frag_off = htons((offset >> 3)); |
offset | 754 | net/ipv4/ip_fragment.c | if (offset == 0) |
offset | 764 | net/ipv4/ip_fragment.c | offset += len; |
offset | 213 | net/ipv4/ip_fw.c | unsigned short offset; |
offset | 240 | net/ipv4/ip_fw.c | offset = ntohs(ip->frag_off) & IP_OFFSET; |
offset | 249 | net/ipv4/ip_fw.c | if (offset == 1 && ip->protocol == IPPROTO_TCP) |
offset | 252 | net/ipv4/ip_fw.c | if (offset!=0 && (opt != 1) && (ip->protocol == IPPROTO_TCP || |
offset | 287 | net/ipv4/ip_fw.c | if (!offset) { |
offset | 302 | net/ipv4/ip_fw.c | if (!offset) { |
offset | 310 | net/ipv4/ip_fw.c | if (!offset) |
offset | 1453 | net/ipv4/ip_fw.c | off_t offset, int length, int reset) |
offset | 1511 | net/ipv4/ip_fw.c | if(pos<offset) |
offset | 1522 | net/ipv4/ip_fw.c | if(pos>offset+length) |
offset | 1527 | net/ipv4/ip_fw.c | *start=buffer+(offset-begin); |
offset | 1528 | net/ipv4/ip_fw.c | len-=(offset-begin); |
offset | 1537 | net/ipv4/ip_fw.c | static int ip_acct_procinfo(char *buffer, char **start, off_t offset, |
offset | 1540 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_FW_ACCT, buffer,start, offset,length, |
offset | 1548 | net/ipv4/ip_fw.c | static int ip_fw_in_procinfo(char *buffer, char **start, off_t offset, |
offset | 1551 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_FW_IN, buffer,start,offset,length, |
offset | 1555 | net/ipv4/ip_fw.c | static int ip_fw_out_procinfo(char *buffer, char **start, off_t offset, |
offset | 1558 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_FW_OUT, buffer,start,offset,length, |
offset | 1562 | net/ipv4/ip_fw.c | static int ip_fw_fwd_procinfo(char *buffer, char **start, off_t offset, |
offset | 1565 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_FW_FWD, buffer,start,offset,length, |
offset | 1572 | net/ipv4/ip_fw.c | static int ip_msqhst_procinfo(char *buffer, char **start, off_t offset, |
offset | 1600 | net/ipv4/ip_fw.c | if(pos<offset) |
offset | 1605 | net/ipv4/ip_fw.c | if(pos>offset+length) |
offset | 1610 | net/ipv4/ip_fw.c | *start=buffer+(offset-begin); |
offset | 1611 | 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 | 796 | net/ipv4/ipmr.c | int ipmr_vif_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 821 | net/ipv4/ipmr.c | if(pos<offset) |
offset | 826 | net/ipv4/ipmr.c | if(pos>offset+length) |
offset | 830 | net/ipv4/ipmr.c | *start=buffer+(offset-begin); |
offset | 831 | net/ipv4/ipmr.c | len-=(offset-begin); |
offset | 837 | net/ipv4/ipmr.c | int ipmr_mfc_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 883 | net/ipv4/ipmr.c | if(pos<offset) |
offset | 888 | net/ipv4/ipmr.c | if(pos>offset+length) |
offset | 898 | net/ipv4/ipmr.c | *start=buffer+(offset-begin); |
offset | 899 | net/ipv4/ipmr.c | len-=(offset-begin); |
offset | 58 | net/ipv4/proc.c | get__netinfo(struct proto *pro, char *buffer, int format, char **start, off_t offset, int length) |
offset | 127 | net/ipv4/proc.c | if(pos<offset) |
offset | 132 | net/ipv4/proc.c | if(pos>offset+length) |
offset | 139 | net/ipv4/proc.c | if(pos>offset+length) |
offset | 142 | net/ipv4/proc.c | *start=buffer+(offset-begin); |
offset | 143 | net/ipv4/proc.c | len-=(offset-begin); |
offset | 150 | net/ipv4/proc.c | int tcp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 152 | net/ipv4/proc.c | return get__netinfo(&tcp_prot, buffer,0, start, offset, length); |
offset | 156 | net/ipv4/proc.c | int udp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 158 | net/ipv4/proc.c | return get__netinfo(&udp_prot, buffer,1, start, offset, length); |
offset | 162 | net/ipv4/proc.c | int raw_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 164 | net/ipv4/proc.c | return get__netinfo(&raw_prot, buffer,1, start, offset, length); |
offset | 171 | net/ipv4/proc.c | int afinet_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 177 | net/ipv4/proc.c | int len = socket_get_info(buffer,start,offset,length); |
offset | 188 | net/ipv4/proc.c | *start = buffer + offset; |
offset | 189 | net/ipv4/proc.c | len -= offset; |
offset | 200 | net/ipv4/proc.c | int snmp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 260 | net/ipv4/proc.c | if (offset >= len) |
offset | 265 | net/ipv4/proc.c | *start = buffer + offset; |
offset | 266 | net/ipv4/proc.c | len -= offset; |
offset | 484 | net/ipv4/rarp.c | int rarp_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 530 | net/ipv4/rarp.c | if(pos<offset) |
offset | 535 | net/ipv4/rarp.c | if(pos>offset+length) |
offset | 541 | net/ipv4/rarp.c | *start = buffer+(offset-begin); /* Start of wanted data */ |
offset | 542 | net/ipv4/rarp.c | len -= (offset-begin); /* Start slop */ |
offset | 162 | net/ipv4/raw.c | static void raw_getfrag(const void *p, __u32 saddr, char *to, unsigned int offset, unsigned int fraglen) |
offset | 164 | net/ipv4/raw.c | memcpy_fromfs(to, (const unsigned char *)p+offset, fraglen); |
offset | 171 | net/ipv4/raw.c | static void raw_getrawfrag(const void *p, __u32 saddr, char *to, unsigned int offset, unsigned int fraglen) |
offset | 173 | net/ipv4/raw.c | memcpy_fromfs(to, (const unsigned char *)p+offset, fraglen); |
offset | 174 | net/ipv4/raw.c | if(offset==0) |
offset | 805 | net/ipv4/route.c | int rt_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 816 | net/ipv4/route.c | if (offset<128) |
offset | 834 | net/ipv4/route.c | if (pos + 128*fz->fz_nent <= offset) |
offset | 863 | net/ipv4/route.c | if (pos <= offset) |
offset | 877 | net/ipv4/route.c | if (pos >= offset+length) |
offset | 887 | net/ipv4/route.c | *start = buffer+len-(pos-offset); |
offset | 888 | net/ipv4/route.c | len = pos - offset; |
offset | 894 | net/ipv4/route.c | int rt_cache_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 904 | net/ipv4/route.c | if (offset<128) |
offset | 924 | net/ipv4/route.c | if (pos <= offset) |
offset | 936 | net/ipv4/route.c | if (pos >= offset+length) |
offset | 945 | net/ipv4/route.c | *start = buffer+len-(pos-offset); |
offset | 946 | net/ipv4/route.c | len = pos-offset; |
offset | 1432 | net/ipv4/tcp.c | u32 offset; |
offset | 1454 | net/ipv4/tcp.c | offset = *seq - skb->seq; |
offset | 1456 | net/ipv4/tcp.c | offset--; |
offset | 1457 | net/ipv4/tcp.c | if (offset < skb->len) |
offset | 1527 | net/ipv4/tcp.c | used = skb->len - offset; |
offset | 1544 | net/ipv4/tcp.c | offset++; |
offset | 1567 | net/ipv4/tcp.c | skb->h.th->doff*4 + offset, used); |
offset | 1581 | 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 | 1322 | net/ipx/af_ipx.c | static int ipx_interface_get_info(char *buffer, char **start, off_t offset, |
offset | 1348 | net/ipx/af_ipx.c | if(pos<offset) { |
offset | 1352 | net/ipx/af_ipx.c | if(pos>offset+length) /* We have dumped enough */ |
offset | 1357 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 1358 | net/ipx/af_ipx.c | len-=(offset-begin); /* Remove unwanted header data from length */ |
offset | 1365 | net/ipx/af_ipx.c | static int ipx_get_info(char *buffer, char **start, off_t offset, |
offset | 1423 | net/ipx/af_ipx.c | if(pos<offset) |
offset | 1428 | net/ipx/af_ipx.c | if(pos>offset+length) /* We have dumped enough */ |
offset | 1434 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 1435 | net/ipx/af_ipx.c | len-=(offset-begin); /* Remove unwanted header data from length */ |
offset | 1442 | net/ipx/af_ipx.c | static int ipx_rt_get_info(char *buffer, char **start, off_t offset, |
offset | 1466 | net/ipx/af_ipx.c | if(pos<offset) |
offset | 1471 | net/ipx/af_ipx.c | if(pos>offset+length) |
offset | 1474 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); |
offset | 1475 | net/ipx/af_ipx.c | len-=(offset-begin); |
offset | 113 | net/netlink.c | off_t offset, int origin) |
offset | 1254 | net/netrom/af_netrom.c | static int nr_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 1294 | net/netrom/af_netrom.c | if (pos < offset) { |
offset | 1299 | net/netrom/af_netrom.c | if (pos > offset + length) |
offset | 1305 | net/netrom/af_netrom.c | *start = buffer + (offset - begin); |
offset | 1306 | net/netrom/af_netrom.c | len -= (offset - begin); |
offset | 710 | net/netrom/nr_route.c | int nr_nodes_get_info(char *buffer, char **start, off_t offset, |
offset | 741 | net/netrom/nr_route.c | if (pos < offset) { |
offset | 746 | net/netrom/nr_route.c | if (pos > offset + length) |
offset | 752 | net/netrom/nr_route.c | *start = buffer + (offset - begin); |
offset | 753 | net/netrom/nr_route.c | len -= (offset - begin); |
offset | 760 | net/netrom/nr_route.c | int nr_neigh_get_info(char *buffer, char **start, off_t offset, |
offset | 783 | net/netrom/nr_route.c | if (pos < offset) { |
offset | 788 | net/netrom/nr_route.c | if (pos > offset + length) |
offset | 794 | net/netrom/nr_route.c | *start = buffer + (offset - begin); |
offset | 795 | 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 | 1388 | net/socket.c | int socket_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 1391 | net/socket.c | if (offset >= len) |
offset | 1396 | net/socket.c | *start = buffer + offset; |
offset | 1397 | net/socket.c | len -= offset; |
offset | 1261 | net/unix/af_unix.c | static int unix_get_info(char *buffer, char **start, off_t offset, int length, int dummy) |
offset | 1285 | net/unix/af_unix.c | if(pos<offset) |
offset | 1290 | net/unix/af_unix.c | if(pos>offset+length) |
offset | 1294 | net/unix/af_unix.c | *start=buffer+(offset-begin); |
offset | 1295 | 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 | 59 | scripts/lxdialog/lxdialog.c | int offset = 0, clear_screen = 0, end_common_opts = 0, retval; |
offset | 71 | scripts/lxdialog/lxdialog.c | while (offset < argc - 1 && !end_common_opts) { /* Common options */ |
offset | 72 | scripts/lxdialog/lxdialog.c | if (!strcmp (argv[offset + 1], "--title")) { |
offset | 73 | scripts/lxdialog/lxdialog.c | if (argc - offset < 3 || title != NULL) { |
offset | 77 | scripts/lxdialog/lxdialog.c | title = argv[offset + 2]; |
offset | 78 | scripts/lxdialog/lxdialog.c | offset += 2; |
offset | 80 | scripts/lxdialog/lxdialog.c | } else if (!strcmp (argv[offset + 1], "--backtitle")) { |
offset | 85 | scripts/lxdialog/lxdialog.c | backtitle = argv[offset + 2]; |
offset | 86 | scripts/lxdialog/lxdialog.c | offset += 2; |
offset | 88 | scripts/lxdialog/lxdialog.c | } else if (!strcmp (argv[offset + 1], "--clear")) { |
offset | 99 | scripts/lxdialog/lxdialog.c | offset++; |
offset | 105 | scripts/lxdialog/lxdialog.c | if (argc - 1 == offset) { /* no more options */ |
offset | 112 | scripts/lxdialog/lxdialog.c | if (!strcmp (argv[offset + 1], modePtr->name)) |
offset | 117 | scripts/lxdialog/lxdialog.c | if (argc - offset < modePtr->argmin) |
offset | 119 | scripts/lxdialog/lxdialog.c | if (modePtr->argmax && argc - offset > modePtr->argmax) |
offset | 125 | scripts/lxdialog/lxdialog.c | retval = (*(modePtr->jumper)) (title, argc - offset, argv + offset); |
offset | 580 | scripts/tkparse.c | int offset; |
offset | 611 | scripts/tkparse.c | offset = 0; |
offset | 614 | scripts/tkparse.c | fgets(&buffer[offset], sizeof(buffer) - offset, infile); |
offset | 625 | scripts/tkparse.c | offset = pnt - buffer; |
offset | 630 | scripts/tkparse.c | offset = 0; |