tag | line | file | source code |
offset | 122 | arch/alpha/boot/tools/build.c | unsigned long size, offset; |
offset | 130 | arch/alpha/boot/tools/build.c | offset = shdr[i].s_scnptr; |
offset | 131 | arch/alpha/boot/tools/build.c | if (lseek(fd, offset, SEEK_SET) != offset) |
offset | 137 | arch/alpha/boot/tools/build.c | if (offset) |
offset | 71 | arch/alpha/kernel/osf_sys.c | static int osf_filldir(void * __buf, const char * name, int namlen, off_t offset, ino_t ino) |
offset | 81 | arch/alpha/kernel/osf_sys.c | put_user(offset, buf->basep); |
offset | 94 | arch/alpha/kernel/ptrace.c | static inline long get_stack_long(struct task_struct *task, unsigned long offset) |
offset | 99 | arch/alpha/kernel/ptrace.c | stack += offset+MAGICNUM; |
offset | 109 | arch/alpha/kernel/ptrace.c | static inline int put_stack_long(struct task_struct *task, unsigned long offset, |
offset | 115 | arch/alpha/kernel/ptrace.c | stack += offset+MAGICNUM; |
offset | 54 | arch/i386/kernel/ptrace.c | static inline int get_stack_long(struct task_struct *task, int offset) |
offset | 59 | arch/i386/kernel/ptrace.c | stack += offset; |
offset | 69 | arch/i386/kernel/ptrace.c | static inline int put_stack_long(struct task_struct *task, int offset, |
offset | 75 | arch/i386/kernel/ptrace.c | stack += offset; |
offset | 45 | arch/i386/math-emu/fpu_aux.c | operand_address.offset = 0; |
offset | 47 | arch/i386/math-emu/fpu_aux.c | instruction_address.offset = 0; |
offset | 97 | arch/i386/math-emu/fpu_emu.h | unsigned int offset; |
offset | 314 | arch/i386/math-emu/fpu_entry.c | entry_sel_off.offset = FPU_ORIG_EIP; |
offset | 515 | arch/i386/math-emu/fpu_entry.c | operand_address.offset = 0; |
offset | 77 | arch/i386/math-emu/get_address.c | long offset; |
offset | 89 | arch/i386/math-emu/get_address.c | offset = 0; /* No base register */ |
offset | 91 | arch/i386/math-emu/get_address.c | offset = REG_(base); |
offset | 102 | arch/i386/math-emu/get_address.c | offset += (REG_(index)) << ss; |
offset | 110 | arch/i386/math-emu/get_address.c | offset += (signed char) get_fs_byte((char *) (*fpu_eip)); |
offset | 119 | arch/i386/math-emu/get_address.c | offset += (signed) get_fs_long((unsigned long *) (*fpu_eip)); |
offset | 124 | arch/i386/math-emu/get_address.c | return offset; |
offset | 146 | arch/i386/math-emu/get_address.c | unsigned short *selector, long offset) |
offset | 164 | arch/i386/math-emu/get_address.c | address = base_address + offset; |
offset | 254 | arch/i386/math-emu/get_address.c | addr->offset = address; |
offset | 261 | arch/i386/math-emu/get_address.c | addr->offset = address; |
offset | 287 | arch/i386/math-emu/get_address.c | addr->offset = address; |
offset | 403 | arch/i386/math-emu/get_address.c | addr->offset = address; |
offset | 1164 | arch/i386/math-emu/reg_ld_str.c | instruction_address.offset = get_fs_word((unsigned short *) (s+6)); |
offset | 1166 | arch/i386/math-emu/reg_ld_str.c | operand_address.offset = get_fs_word((unsigned short *) (s+0x0a)); |
offset | 1172 | arch/i386/math-emu/reg_ld_str.c | instruction_address.offset |
offset | 1174 | arch/i386/math-emu/reg_ld_str.c | operand_address.offset += (operand_address.selector & 0xf000) << 4; |
offset | 1184 | arch/i386/math-emu/reg_ld_str.c | instruction_address.offset = get_fs_long((unsigned long *) (s+0x0c)); |
offset | 1187 | arch/i386/math-emu/reg_ld_str.c | operand_address.offset = get_fs_long((unsigned long *) (s+0x14)); |
offset | 1305 | arch/i386/math-emu/reg_ld_str.c | put_fs_word(instruction_address.offset, (unsigned short *) (d+6)); |
offset | 1306 | arch/i386/math-emu/reg_ld_str.c | put_fs_word(operand_address.offset, (unsigned short *) (d+0x0a)); |
offset | 1309 | arch/i386/math-emu/reg_ld_str.c | put_fs_word((instruction_address.offset & 0xf0000) >> 4, |
offset | 1311 | arch/i386/math-emu/reg_ld_str.c | put_fs_word((operand_address.offset & 0xf0000) >> 4, |
offset | 1336 | arch/i386/math-emu/reg_ld_str.c | put_fs_long(instruction_address.offset, (unsigned long *) (d+0x0c)); |
offset | 1339 | arch/i386/math-emu/reg_ld_str.c | put_fs_long(operand_address.offset, (unsigned long *) (d+0x14)); |
offset | 53 | arch/mips/kernel/ptrace.c | static inline int get_stack_long(struct task_struct *task, int offset) |
offset | 58 | arch/mips/kernel/ptrace.c | stack += offset; |
offset | 68 | arch/mips/kernel/ptrace.c | static inline int put_stack_long(struct task_struct *task, int offset, |
offset | 74 | arch/mips/kernel/ptrace.c | stack += offset; |
offset | 55 | arch/sparc/mm/srmmu.c | unsigned long offset = PAGE_OFFSET; |
offset | 62 | arch/sparc/mm/srmmu.c | return (paddr - sp_banks[i].base_addr) + offset; |
offset | 64 | arch/sparc/mm/srmmu.c | offset += sp_banks[i].num_bytes; |
offset | 60 | arch/sparc/mm/sun4c.c | unsigned long offset = PAGE_OFFSET; |
offset | 67 | arch/sparc/mm/sun4c.c | return (paddr - sp_banks[i].base_addr) + offset; |
offset | 69 | arch/sparc/mm/sun4c.c | offset += sp_banks[i].num_bytes; |
offset | 19 | arch/sparc/mm/vac-flush.c | register int entries_left, offset; |
offset | 35 | arch/sparc/mm/vac-flush.c | offset = vac_linesize; |
offset | 39 | arch/sparc/mm/vac-flush.c | address += offset; |
offset | 47 | arch/sparc/mm/vac-flush.c | register int entries_left, offset; |
offset | 65 | arch/sparc/mm/vac-flush.c | offset = vac_linesize; |
offset | 69 | arch/sparc/mm/vac-flush.c | address += offset; |
offset | 77 | arch/sparc/mm/vac-flush.c | register int entries_left, offset; |
offset | 86 | arch/sparc/mm/vac-flush.c | offset = vac_linesize; |
offset | 90 | arch/sparc/mm/vac-flush.c | addr += offset; |
offset | 1087 | drivers/block/cdu31a.c | unsigned int offset, |
offset | 1121 | drivers/block/cdu31a.c | insb(sony_cd_read_reg, &buffer[offset], bytesleft); |
offset | 1154 | drivers/block/cdu31a.c | unsigned int offset; |
offset | 1162 | drivers/block/cdu31a.c | offset = 0; |
offset | 1190 | drivers/block/cdu31a.c | offset += readahead_dataleft; |
offset | 1264 | drivers/block/cdu31a.c | input_data(buffer, bytesleft, nblocks, offset, skip); |
offset | 146 | drivers/block/xd.c | if (!memcmp(xd_bases[i] + xd_sigs[j].offset,xd_sigs[j].string,strlen(xd_sigs[j].string))) { |
offset | 142 | drivers/char/console.c | static void set_scrmem(int currcons, long offset); |
offset | 557 | drivers/char/console.c | static inline void __set_origin(unsigned short offset) |
offset | 564 | drivers/char/console.c | __origin = offset; |
offset | 566 | drivers/char/console.c | outb_p(offset >> 8, video_port_val); |
offset | 568 | drivers/char/console.c | outb_p(offset, video_port_val); |
offset | 1053 | drivers/char/console.c | static inline unsigned short *screenpos(int currcons, int offset, int viewed) |
offset | 1055 | drivers/char/console.c | unsigned short *p = (unsigned short *)(origin + offset); |
offset | 1062 | drivers/char/console.c | void invert_screen(int currcons, int offset, int count, int viewed) |
offset | 1067 | drivers/char/console.c | p = screenpos(currcons, offset, viewed); |
offset | 1084 | drivers/char/console.c | void complement_pos(int currcons, int offset) |
offset | 1091 | drivers/char/console.c | if (offset == -1) |
offset | 1094 | drivers/char/console.c | p = screenpos(currcons, offset, 1); |
offset | 1101 | drivers/char/console.c | unsigned short screen_word(int currcons, int offset, int viewed) |
offset | 1103 | drivers/char/console.c | return scr_readw(screenpos(currcons, offset, viewed)); |
offset | 2190 | drivers/char/console.c | static void set_scrmem(int currcons, long offset) |
offset | 2223 | drivers/char/console.c | if (video_mem_term - video_mem_base < offset + video_screen_size) |
offset | 2224 | drivers/char/console.c | offset = 0; /* strange ... */ |
offset | 2225 | drivers/char/console.c | memcpyw((unsigned short *)(video_mem_base + offset), |
offset | 2229 | drivers/char/console.c | origin = video_mem_base + offset; |
offset | 2265 | drivers/char/console.c | long offset; |
offset | 2281 | drivers/char/console.c | offset = 0; |
offset | 2287 | drivers/char/console.c | offset = (blank_origin - video_mem_base) |
offset | 2292 | drivers/char/console.c | set_scrmem(fg_console, offset); |
offset | 317 | drivers/char/lp.c | off_t offset, int origin) |
offset | 538 | drivers/char/lp.c | int offset = 0; |
offset | 551 | drivers/char/lp.c | for (offset = 0; offset < LP_NO; offset++) { |
offset | 552 | drivers/char/lp.c | if (check_region(LP_B(offset), 3)) |
offset | 555 | drivers/char/lp.c | outb_p( LP_DUMMY, LP_B(offset)); |
offset | 558 | drivers/char/lp.c | testvalue = inb_p(LP_B(offset)); |
offset | 560 | drivers/char/lp.c | LP_F(offset) |= LP_EXIST; |
offset | 561 | drivers/char/lp.c | lp_reset(offset); |
offset | 562 | drivers/char/lp.c | printk("lp%d at 0x%04x, ", offset,LP_B(offset)); |
offset | 563 | drivers/char/lp.c | request_region(LP_B(offset), 3, "lp"); |
offset | 564 | drivers/char/lp.c | if (LP_IRQ(offset)) |
offset | 565 | drivers/char/lp.c | printk("(irq = %d)\n", LP_IRQ(offset)); |
offset | 585 | drivers/char/lp.c | int offset; |
offset | 590 | drivers/char/lp.c | for (offset = 0; offset < LP_NO; offset++) |
offset | 591 | drivers/char/lp.c | if (LP_F(offset) & LP_EXIST) |
offset | 592 | drivers/char/lp.c | release_region(LP_B(offset),3); |
offset | 196 | drivers/char/mem.c | static int null_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 208 | drivers/char/mem.c | static int memory_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 212 | drivers/char/mem.c | file->f_pos = offset; |
offset | 215 | drivers/char/mem.c | file->f_pos += offset; |
offset | 21 | drivers/char/selection.h | extern unsigned short screen_word(int currcons, int offset, int viewed); |
offset | 22 | drivers/char/selection.h | extern void complement_pos(int currcons, int offset); |
offset | 23 | drivers/char/selection.h | extern void invert_screen(int currcons, int offset, int count, int shift); |
offset | 235 | drivers/char/serial.c | static inline unsigned int serial_in(struct async_struct *info, int offset) |
offset | 239 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 243 | drivers/char/serial.c | return inb(info->port + offset); |
offset | 246 | drivers/char/serial.c | static inline unsigned int serial_inp(struct async_struct *info, int offset) |
offset | 250 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 255 | drivers/char/serial.c | return inb(info->port + offset); |
offset | 257 | drivers/char/serial.c | return inb_p(info->port + offset); |
offset | 261 | drivers/char/serial.c | static inline void serial_out(struct async_struct *info, int offset, int value) |
offset | 265 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 269 | drivers/char/serial.c | outb(value, info->port+offset); |
offset | 272 | drivers/char/serial.c | static inline void serial_outp(struct async_struct *info, int offset, |
offset | 277 | drivers/char/serial.c | outb(info->hub6 - 1 + offset, info->port); |
offset | 282 | drivers/char/serial.c | outb(value, info->port+offset); |
offset | 284 | drivers/char/serial.c | outb_p(value, info->port+offset); |
offset | 1880 | drivers/char/tpqic02.c | static int qic02_tape_lseek(struct inode * inode, struct file * file, off_t offset, int origin) |
offset | 311 | 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 | 1208 | drivers/net/arcnet.c | int offset; |
offset | 1230 | drivers/net/arcnet.c | arcpacket->hardheader.offset1=offset=256-length |
offset | 1233 | drivers/net/arcnet.c | (&arcpacket->raw[offset-EXTRA_CLIENTDATA]); |
offset | 1240 | drivers/net/arcnet.c | arcpacket->hardheader.offset2=offset=512-length |
offset | 1243 | drivers/net/arcnet.c | (&arcpacket->raw[offset-EXTRA_CLIENTDATA]); |
offset | 1250 | drivers/net/arcnet.c | arcpacket->hardheader.offset2=offset=512-length-4 |
offset | 1253 | drivers/net/arcnet.c | (&arcpacket->raw[offset+4-EXTRA_CLIENTDATA]); |
offset | 1259 | drivers/net/arcnet.c | arcpacket->raw[offset+0]=hdr->protocol_id; |
offset | 1260 | drivers/net/arcnet.c | arcpacket->raw[offset+1]=0xFF; /* FF flag */ |
offset | 1261 | drivers/net/arcnet.c | arcpacket->raw[offset+2]=0xFF; /* FF padding */ |
offset | 1262 | drivers/net/arcnet.c | arcpacket->raw[offset+3]=0xFF; /* FF padding */ |
offset | 1536 | drivers/net/arcnet.c | short length,offset; |
offset | 1555 | drivers/net/arcnet.c | offset=arcpacket->hardheader.offset1; |
offset | 1557 | drivers/net/arcnet.c | (&arcpacket->raw[offset-EXTRA_CLIENTDATA]); |
offset | 1558 | drivers/net/arcnet.c | length=256-offset+EXTRA_CLIENTDATA; |
offset | 1563 | drivers/net/arcnet.c | offset=arcpacket->hardheader.offset2; |
offset | 1565 | drivers/net/arcnet.c | (&arcpacket->raw[offset-EXTRA_CLIENTDATA]); |
offset | 1569 | drivers/net/arcnet.c | length=512-offset+EXTRA_CLIENTDATA; |
offset | 1577 | drivers/net/arcnet.c | length=512-offset+EXTRA_CLIENTDATA-4; |
offset | 93 | drivers/net/atp.h | extern inline unsigned char read_nibble(short port, unsigned char offset) |
offset | 96 | drivers/net/atp.h | outb(EOC+offset, port + PAR_DATA); |
offset | 97 | drivers/net/atp.h | outb(RdAddr+offset, port + PAR_DATA); |
offset | 100 | drivers/net/atp.h | outb(EOC+offset, port + PAR_DATA); |
offset | 261 | drivers/net/atp.h | #define EE_WRITE_CMD(offset) (((5 << 6) + (offset)) << 17) |
offset | 262 | drivers/net/atp.h | #define EE_READ(offset) (((6 << 6) + (offset)) << 17) |
offset | 263 | drivers/net/atp.h | #define EE_ERASE(offset) (((7 << 6) + (offset)) << 17) |
offset | 437 | drivers/net/de4x5.c | static short srom_rd(u_long address, u_char offset); |
offset | 440 | drivers/net/de4x5.c | static void srom_address(u_int command, u_long address, u_char offset); |
offset | 2312 | drivers/net/de4x5.c | static short srom_rd(u_long addr, u_char offset) |
offset | 2318 | drivers/net/de4x5.c | srom_address(SROM_RD | SROM_SR | DT_CS, addr, offset); |
offset | 2341 | drivers/net/de4x5.c | static void srom_address(u_int command, u_long addr, u_char offset) |
offset | 2346 | drivers/net/de4x5.c | a = (char)(offset << 2); |
offset | 453 | drivers/net/depca.c | int i, j, offset, netRAM, mem_len, status=0; |
offset | 491 | drivers/net/depca.c | offset = 0x0000; |
offset | 495 | drivers/net/depca.c | offset = 0x8000; /* 32kbyte RAM offset*/ |
offset | 499 | drivers/net/depca.c | mem_start += offset; /* (E)ISA start address */ |
offset | 197 | drivers/net/ne.c | struct {unsigned char value, offset; } program_seq[] = { |
offset | 213 | drivers/net/ne.c | outb_p(program_seq[i].value, ioaddr + program_seq[i].offset); |
offset | 2112 | drivers/net/wavelan.c | wavelan_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 2143 | drivers/net/wavelan.c | if (pos < offset) |
offset | 2149 | drivers/net/wavelan.c | if (pos > offset + length) |
offset | 2157 | drivers/net/wavelan.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
offset | 2158 | drivers/net/wavelan.c | len -= (offset - begin); /* Start slop */ |
offset | 1074 | drivers/scsi/53c7,8xx.c | hostdata->script[EXTERNAL_PATCHES[i].offset] += |
offset | 1358 | drivers/scsi/53c7,8xx.h | #define patch_abs_32(script, offset, symbol, value) \ |
offset | 1361 | drivers/scsi/53c7,8xx.h | (script)[A_##symbol##_used[i] - (offset)] += (value); \ |
offset | 1365 | drivers/scsi/53c7,8xx.h | (int)(offset), #script, (script)[A_##symbol##_used[i] - \ |
offset | 1366 | drivers/scsi/53c7,8xx.h | (offset)]); \ |
offset | 1369 | drivers/scsi/53c7,8xx.h | #define patch_abs_rwri_data(script, offset, symbol, value) \ |
offset | 1372 | drivers/scsi/53c7,8xx.h | (script)[A_##symbol##_used[i] - (offset)] = \ |
offset | 1373 | drivers/scsi/53c7,8xx.h | ((script)[A_##symbol##_used[i] - (offset)] & \ |
offset | 2253 | drivers/scsi/53c8xx_d.h | u32 offset; |
offset | 1357 | drivers/scsi/aic7xxx.c | unsigned char offset, int target) |
offset | 1365 | drivers/scsi/aic7xxx.c | *scsirate = (aic7xxx_syncrates[i].rate << 4) | (offset & 0x0F); |
offset | 1367 | drivers/scsi/aic7xxx.c | target, aic7xxx_syncrates[i].english, offset); |
offset | 1397 | drivers/scsi/aic7xxx.c | unsigned char offset, rate, scratch; |
offset | 1537 | drivers/scsi/aic7xxx.c | offset = inb(ACCUM(base)); |
offset | 1557 | drivers/scsi/aic7xxx.c | aic7xxx_scsirate(&rate, transfer, MIN(offset, max_offset), scsi_id); |
offset | 65 | drivers/scsi/eata_dma_proc.c | int eata_proc_info(char *buffer, char **start, off_t offset, int length, |
offset | 101 | drivers/scsi/eata_dma_proc.c | if (offset == 0) |
offset | 273 | drivers/scsi/eata_dma_proc.c | if (pos < offset) { |
offset | 277 | drivers/scsi/eata_dma_proc.c | if (pos > offset + length) |
offset | 337 | drivers/scsi/eata_dma_proc.c | if (pos < offset) { |
offset | 341 | drivers/scsi/eata_dma_proc.c | if (pos > offset + length) |
offset | 389 | drivers/scsi/eata_dma_proc.c | if (pos < offset) { |
offset | 393 | drivers/scsi/eata_dma_proc.c | if (pos > offset + length) |
offset | 400 | drivers/scsi/eata_dma_proc.c | DBG(DBG_PROC, printk("2pos: %ld offset: %ld len: %d\n", pos, offset, len)); |
offset | 401 | drivers/scsi/eata_dma_proc.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 402 | drivers/scsi/eata_dma_proc.c | len-=(offset-begin); /* Start slop */ |
offset | 405 | 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 | 37 | drivers/scsi/eata_pio_proc.c | int eata_pio_proc_info(char *buffer, char **start, off_t offset, int length, int hostno, int inout) |
offset | 58 | drivers/scsi/eata_pio_proc.c | if (offset == 0) |
offset | 89 | drivers/scsi/eata_pio_proc.c | if (pos < offset) { |
offset | 93 | drivers/scsi/eata_pio_proc.c | if (pos > offset + length) |
offset | 141 | drivers/scsi/eata_pio_proc.c | if (pos < offset) { |
offset | 145 | drivers/scsi/eata_pio_proc.c | if (pos > offset + length) |
offset | 152 | drivers/scsi/eata_pio_proc.c | DBG(DBG_PROC, printk("2pos: %ld offset: %ld len: %d\n", pos, offset, len)); |
offset | 153 | drivers/scsi/eata_pio_proc.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 154 | drivers/scsi/eata_pio_proc.c | len-=(offset-begin); /* Start slop */ |
offset | 157 | drivers/scsi/eata_pio_proc.c | DBG(DBG_PROC, printk("3pos: %ld offset: %ld len: %d\n", pos, offset, len)); |
offset | 109 | drivers/scsi/scsi.c | extern int (* dispatch_scsi_info_ptr)(int ino, char *buffer, char **start, off_t offset, int length, int inout); |
offset | 110 | drivers/scsi/scsi.c | extern int dispatch_scsi_info(int ino, char *buffer, char **start, off_t offset, int length, int inout); |
offset | 2111 | drivers/scsi/scsi.c | long offset; |
offset | 2118 | drivers/scsi/scsi.c | offset = -1; |
offset | 2124 | drivers/scsi/scsi.c | offset = ((unsigned long) obj) - ((unsigned long)dma_malloc_pages[page]); |
offset | 2129 | drivers/scsi/scsi.c | sector = offset >> 9; |
offset | 2132 | drivers/scsi/scsi.c | sector = (offset >> 9) & (sizeof(*dma_malloc_freelist) * 8 - 1); |
offset | 2423 | drivers/scsi/scsi.c | int scsi_proc_info(char *buffer, char **start, off_t offset, int length, |
offset | 619 | drivers/scsi/scsi_debug.c | int scsi_debug_proc_info(char *buffer, char **start, off_t offset, |
offset | 660 | drivers/scsi/scsi_debug.c | if(pos < offset) |
offset | 666 | drivers/scsi/scsi_debug.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
offset | 667 | drivers/scsi/scsi_debug.c | len -= (offset - begin); |
offset | 78 | drivers/scsi/scsi_proc.c | int generic_proc_info(char *buffer, char **start, off_t offset, |
offset | 89 | drivers/scsi/scsi_proc.c | if(pos < offset) { |
offset | 94 | drivers/scsi/scsi_proc.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
offset | 95 | drivers/scsi/scsi_proc.c | len -= (offset - begin); |
offset | 106 | drivers/scsi/scsi_proc.c | off_t offset, int length, int func) |
offset | 117 | drivers/scsi/scsi_proc.c | return(scsi_proc_info(buffer, start, offset, length, 0, func)); |
offset | 123 | drivers/scsi/scsi_proc.c | return generic_proc_info(buffer, start, offset, length, |
offset | 126 | drivers/scsi/scsi_proc.c | return(hpnt->hostt->proc_info(buffer, start, offset, |
offset | 157 | drivers/scsi/seagate.c | unsigned offset; |
offset | 331 | drivers/scsi/seagate.c | signatures[j].offset), (void *) signatures[j].signature, |
offset | 166 | drivers/scsi/sr.c | int offset; |
offset | 167 | drivers/scsi/sr.c | offset = (SCpnt->request.sector % 4) << 9; |
offset | 169 | drivers/scsi/sr.c | (char *)SCpnt->buffer + offset, |
offset | 175 | drivers/scsi/sr.c | if((offset == 0) && this_count == 2 && |
offset | 295 | drivers/scsi/st.c | int offset, transfer, blks; |
offset | 320 | drivers/scsi/st.c | offset = (STp->buffer)->buffer_bytes; |
offset | 321 | drivers/scsi/st.c | transfer = ((offset + STp->block_size - 1) / |
offset | 327 | drivers/scsi/st.c | memset((STp->buffer)->b_data + offset, 0, transfer - offset); |
offset | 146 | drivers/scsi/t128.c | int offset; |
offset | 212 | drivers/scsi/t128.c | (bases[current_base].address + signatures[sig].offset, |
offset | 534 | drivers/sound/audio.c | audio_lseek (int dev, struct fileinfo *file, off_t offset, int orig) |
offset | 1940 | drivers/sound/sequencer.c | sequencer_lseek (int dev, struct fileinfo *file, off_t offset, int orig) |
offset | 33 | drivers/sound/sound_calls.h | int audio_lseek (int dev, struct fileinfo *file, off_t offset, int orig); |
offset | 50 | drivers/sound/sound_calls.h | int sequencer_lseek (int dev, struct fileinfo *file, off_t offset, int orig); |
offset | 72 | drivers/sound/sound_calls.h | int MIDIbuf_lseek (int dev, struct fileinfo *file, off_t offset, int orig); |
offset | 252 | drivers/sound/sound_calls.h | int pss_lseek (int dev, struct fileinfo *file, off_t offset, int orig); |
offset | 84 | drivers/sound/soundcard.c | sound_lseek (struct inode *inode, struct file *file, off_t offset, int orig) |
offset | 908 | fs/binfmt_elf.c | off_t offset = 0, dataoff; |
offset | 995 | fs/binfmt_elf.c | offset += sizeof(elf); /* Elf header */ |
offset | 996 | fs/binfmt_elf.c | offset += (segs+1) * sizeof(struct elf_phdr); /* Program headers */ |
offset | 1094 | fs/binfmt_elf.c | phdr.p_offset = offset; |
offset | 1102 | fs/binfmt_elf.c | offset += phdr.p_filesz; |
offset | 1107 | fs/binfmt_elf.c | dataoff = offset = roundup(offset, PAGE_SIZE); |
offset | 1122 | fs/binfmt_elf.c | phdr.p_offset = offset; |
offset | 1127 | fs/binfmt_elf.c | offset += sz; |
offset | 1159 | fs/binfmt_elf.c | if ((off_t) file.f_pos != offset) { |
offset | 1162 | fs/binfmt_elf.c | (off_t) file.f_pos, offset); |
offset | 27 | fs/block_dev.c | loff_t offset; |
offset | 57 | fs/block_dev.c | offset = filp->f_pos & (blocksize-1); |
offset | 66 | fs/block_dev.c | chars = blocksize - offset; |
offset | 118 | fs/block_dev.c | p = offset + bh->b_data; |
offset | 119 | fs/block_dev.c | offset = 0; |
offset | 163 | fs/block_dev.c | loff_t offset; |
offset | 190 | fs/block_dev.c | offset = filp->f_pos; |
offset | 198 | fs/block_dev.c | if (offset > size) |
offset | 201 | fs/block_dev.c | left = size - offset; |
offset | 207 | fs/block_dev.c | block = offset >> blocksize_bits; |
offset | 208 | fs/block_dev.c | offset &= blocksize-1; |
offset | 210 | fs/block_dev.c | rblocks = blocks = (left + offset + blocksize - 1) >> blocksize_bits; |
offset | 280 | fs/block_dev.c | if (left < blocksize - offset) |
offset | 283 | fs/block_dev.c | chars = blocksize - offset; |
offset | 288 | fs/block_dev.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 295 | fs/block_dev.c | offset = 0; |
offset | 936 | fs/buffer.c | unsigned long offset; |
offset | 939 | fs/buffer.c | offset = PAGE_SIZE; |
offset | 940 | fs/buffer.c | while ((offset -= size) < PAGE_SIZE) { |
offset | 946 | fs/buffer.c | bh->b_data = (char *) (page+offset); |
offset | 1004 | fs/buffer.c | unsigned long offset; |
offset | 1014 | fs/buffer.c | for (offset = size ; offset < PAGE_SIZE ; offset += size) { |
offset | 1022 | fs/buffer.c | if (page+offset != (unsigned long) first->b_data) |
offset | 1044 | fs/buffer.c | unsigned long offset; |
offset | 1054 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
offset | 1556 | fs/buffer.c | unsigned long offset; |
offset | 1569 | fs/buffer.c | for (offset = 0 ; offset < PAGE_SIZE ; offset += size) { |
offset | 1611 | fs/buffer.c | int i, offset; |
offset | 1613 | fs/buffer.c | for (i = 0, offset = 0 ; offset < PAGE_SIZE ; i++, offset += size) { |
offset | 150 | fs/exec.c | #define DUMP_SEEK(offset) \ |
offset | 152 | fs/exec.c | if (file.f_op->lseek(inode,&file,(offset),0) != (offset)) \ |
offset | 154 | fs/exec.c | } else file.f_pos = (offset) |
offset | 391 | fs/exec.c | int len, offset = 0; |
offset | 417 | fs/exec.c | if (--offset < 0) { |
offset | 418 | fs/exec.c | offset = p % PAGE_SIZE; |
offset | 429 | fs/exec.c | *(pag + offset) = get_user(tmp); |
offset | 462 | fs/exec.c | int read_exec(struct inode *inode, unsigned long offset, |
offset | 483 | fs/exec.c | if (file.f_op->lseek(inode,&file,offset,0) != offset) |
offset | 486 | fs/exec.c | file.f_pos = offset; |
offset | 69 | fs/ext/dir.c | off_t offset; |
offset | 79 | fs/ext/dir.c | offset = filp->f_pos & 1023; |
offset | 82 | fs/ext/dir.c | filp->f_pos += 1024-offset; |
offset | 85 | fs/ext/dir.c | for (i = 0; i < 1024 && i < offset; ) { |
offset | 91 | fs/ext/dir.c | offset = i; |
offset | 92 | fs/ext/dir.c | de = (struct ext_dir_entry *) (offset + bh->b_data); |
offset | 93 | fs/ext/dir.c | while (offset < 1024 && filp->f_pos < inode->i_size) { |
offset | 99 | fs/ext/dir.c | inode->i_dev, inode->i_ino, offset, de->rec_len, de->name_len); |
offset | 100 | fs/ext/dir.c | filp->f_pos += 1024-offset; |
offset | 110 | fs/ext/dir.c | offset += de->rec_len; |
offset | 75 | fs/ext/file.c | int block, blocks, offset; |
offset | 90 | fs/ext/file.c | offset = filp->f_pos; |
offset | 92 | fs/ext/file.c | if (offset > size) |
offset | 95 | fs/ext/file.c | left = size - offset; |
offset | 101 | fs/ext/file.c | block = offset >> BLOCK_SIZE_BITS; |
offset | 102 | fs/ext/file.c | offset &= BLOCK_SIZE-1; |
offset | 104 | fs/ext/file.c | blocks = (left + offset + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; |
offset | 160 | fs/ext/file.c | if (left < BLOCK_SIZE - offset) |
offset | 163 | fs/ext/file.c | chars = BLOCK_SIZE - offset; |
offset | 168 | fs/ext/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 175 | fs/ext/file.c | offset = 0; |
offset | 83 | fs/ext/namei.c | long offset; |
offset | 104 | fs/ext/namei.c | offset = 0; |
offset | 106 | fs/ext/namei.c | while (offset < dir->i_size) { |
offset | 110 | fs/ext/namei.c | bh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,0); |
offset | 122 | fs/ext/namei.c | dir->i_dev, dir->i_ino, offset, de->rec_len, de->name_len); |
offset | 124 | fs/ext/namei.c | offset = ((offset / BLOCK_SIZE) + 1) * BLOCK_SIZE; |
offset | 132 | fs/ext/namei.c | if (offset + de->rec_len < dir->i_size && |
offset | 140 | fs/ext/namei.c | offset += de->rec_len; |
offset | 191 | fs/ext/namei.c | long offset; |
offset | 212 | fs/ext/namei.c | offset = 0; |
offset | 215 | fs/ext/namei.c | if ((char *)de >= BLOCK_SIZE+bh->b_data && offset < dir->i_size) { |
offset | 221 | fs/ext/namei.c | bh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,0); |
offset | 226 | fs/ext/namei.c | if (offset >= dir->i_size) { |
offset | 228 | fs/ext/namei.c | if (offset % BLOCK_SIZE == 0 || |
offset | 229 | fs/ext/namei.c | (BLOCK_SIZE - (offset % BLOCK_SIZE)) < rec_len) { |
offset | 230 | fs/ext/namei.c | if ((offset % BLOCK_SIZE) != 0) { |
offset | 236 | fs/ext/namei.c | - (offset & (BLOCK_SIZE - 1)); |
offset | 238 | fs/ext/namei.c | offset += de->rec_len; |
offset | 251 | fs/ext/namei.c | bh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,1); |
offset | 270 | fs/ext/namei.c | dir->i_dev, dir->i_ino, offset, de->rec_len, de->name_len); |
offset | 296 | fs/ext/namei.c | offset += de->rec_len; |
offset | 469 | fs/ext/namei.c | unsigned long offset; |
offset | 484 | fs/ext/namei.c | offset = de->rec_len + de1->rec_len; |
offset | 486 | fs/ext/namei.c | while (offset < inode->i_size ) { |
offset | 489 | fs/ext/namei.c | bh = ext_bread(inode, offset >> BLOCK_SIZE_BITS,1); |
offset | 491 | fs/ext/namei.c | offset += BLOCK_SIZE; |
offset | 500 | fs/ext/namei.c | inode->i_dev, inode->i_ino, offset, de->rec_len, de->name_len); |
offset | 508 | fs/ext/namei.c | offset += de->rec_len; |
offset | 63 | fs/ext/truncate.c | static int trunc_indirect(struct inode * inode, int offset, unsigned long * p) |
offset | 70 | fs/ext/truncate.c | #define INDIRECT_BLOCK (DIRECT_BLOCK-offset) |
offset | 126 | fs/ext/truncate.c | static int trunc_dindirect(struct inode * inode, int offset, unsigned long * p) |
offset | 132 | fs/ext/truncate.c | #define DINDIRECT_BLOCK ((DIRECT_BLOCK-offset)>>8) |
offset | 156 | fs/ext/truncate.c | retry |= trunc_indirect(inode,offset+(i<<8),dind); |
offset | 74 | fs/ext2/dir.c | unsigned long offset) |
offset | 93 | fs/ext2/dir.c | dir->i_ino, error_msg, offset, (unsigned long) de->inode, |
offset | 102 | fs/ext2/dir.c | unsigned long offset, blk; |
offset | 115 | fs/ext2/dir.c | offset = filp->f_pos & (sb->s_blocksize - 1); |
offset | 124 | fs/ext2/dir.c | filp->f_pos += sb->s_blocksize - offset; |
offset | 131 | fs/ext2/dir.c | if (!offset) { |
offset | 153 | fs/ext2/dir.c | for (i = 0; i < sb->s_blocksize && i < offset; ) { |
offset | 166 | fs/ext2/dir.c | offset = i; |
offset | 168 | fs/ext2/dir.c | | offset; |
offset | 173 | fs/ext2/dir.c | && offset < sb->s_blocksize) { |
offset | 174 | fs/ext2/dir.c | de = (struct ext2_dir_entry *) (bh->b_data + offset); |
offset | 176 | fs/ext2/dir.c | bh, offset)) { |
offset | 184 | fs/ext2/dir.c | offset += de->rec_len; |
offset | 202 | fs/ext2/dir.c | offset = 0; |
offset | 84 | fs/ext2/file.c | int block, blocks, offset; |
offset | 104 | fs/ext2/file.c | offset = filp->f_pos; |
offset | 106 | fs/ext2/file.c | if (offset > size) |
offset | 109 | fs/ext2/file.c | left = size - offset; |
offset | 115 | fs/ext2/file.c | block = offset >> EXT2_BLOCK_SIZE_BITS(sb); |
offset | 116 | fs/ext2/file.c | offset &= (sb->s_blocksize - 1); |
offset | 117 | fs/ext2/file.c | chars = sb->s_blocksize - offset; |
offset | 119 | fs/ext2/file.c | blocks = (left + offset + sb->s_blocksize - 1) >> EXT2_BLOCK_SIZE_BITS(sb); |
offset | 198 | fs/ext2/file.c | memcpy_tofs (buf, offset + (*bhe)->b_data, |
offset | 206 | fs/ext2/file.c | offset = 0; |
offset | 238 | fs/ext2/file.c | int offset; |
offset | 277 | fs/ext2/file.c | offset = pos2 & (sb->s_blocksize - 1); |
offset | 278 | fs/ext2/file.c | c = sb->s_blocksize - offset; |
offset | 308 | fs/ext2/file.c | memcpy_fromfs (bh->b_data + offset, buf, c); |
offset | 329 | fs/ext2/file.c | offset = 0; |
offset | 75 | fs/ext2/namei.c | unsigned long offset; |
offset | 104 | fs/ext2/namei.c | for (block = 0, offset = 0; offset < dir->i_size; block++) { |
offset | 117 | fs/ext2/namei.c | dir->i_ino, offset); |
offset | 118 | fs/ext2/namei.c | offset += sb->s_blocksize; |
offset | 133 | fs/ext2/namei.c | de, bh, offset)) |
offset | 143 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 224 | fs/ext2/namei.c | unsigned long offset; |
offset | 256 | fs/ext2/namei.c | offset = 0; |
offset | 263 | fs/ext2/namei.c | bh = ext2_bread (dir, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, err); |
offset | 266 | fs/ext2/namei.c | if (dir->i_size <= offset) { |
offset | 277 | fs/ext2/namei.c | dir->i_size = offset + sb->s_blocksize; |
offset | 287 | fs/ext2/namei.c | offset)) { |
offset | 299 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 330 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 553 | fs/ext2/namei.c | unsigned long offset; |
offset | 576 | fs/ext2/namei.c | offset = de->rec_len + de1->rec_len; |
offset | 578 | fs/ext2/namei.c | while (offset < inode->i_size ) { |
offset | 581 | fs/ext2/namei.c | bh = ext2_bread (inode, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, &err); |
offset | 585 | fs/ext2/namei.c | inode->i_ino, offset); |
offset | 586 | fs/ext2/namei.c | offset += sb->s_blocksize; |
offset | 592 | fs/ext2/namei.c | offset)) { |
offset | 600 | fs/ext2/namei.c | offset += de->rec_len; |
offset | 450 | fs/ext2/super.c | unsigned long offset; |
offset | 455 | fs/ext2/super.c | offset = (sb_block*BLOCK_SIZE) % sb->s_blocksize; |
offset | 459 | fs/ext2/super.c | es = (struct ext2_super_block *) (((char *)bh->b_data) + offset); |
offset | 106 | fs/ext2/truncate.c | static int trunc_indirect (struct inode * inode, int offset, u32 * p) |
offset | 117 | fs/ext2/truncate.c | #define INDIRECT_BLOCK ((int)DIRECT_BLOCK - offset) |
offset | 202 | fs/ext2/truncate.c | static int trunc_dindirect (struct inode * inode, int offset, |
offset | 211 | fs/ext2/truncate.c | #define DINDIRECT_BLOCK (((int)DIRECT_BLOCK - offset) / addr_per_block) |
offset | 236 | fs/ext2/truncate.c | retry |= trunc_indirect (inode, offset + (i * addr_per_block), |
offset | 326 | fs/ext2/truncate.c | int offset; |
offset | 357 | fs/ext2/truncate.c | offset = inode->i_size & (inode->i_sb->s_blocksize - 1); |
offset | 358 | fs/ext2/truncate.c | if (offset) { |
offset | 363 | fs/ext2/truncate.c | memset (bh->b_data + offset, 0, |
offset | 364 | fs/ext2/truncate.c | inode->i_sb->s_blocksize - offset); |
offset | 117 | fs/isofs/dir.c | unsigned int block, offset; |
offset | 125 | fs/isofs/dir.c | offset = filp->f_pos & (bufsize - 1); |
offset | 138 | fs/isofs/dir.c | block, offset, filp->f_pos); |
offset | 141 | fs/isofs/dir.c | if (offset >= bufsize) { |
offset | 143 | fs/isofs/dir.c | offset = 0; |
offset | 153 | fs/isofs/dir.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 154 | fs/isofs/dir.c | inode_number = (block << bufbits) + (offset & (bufsize - 1)); |
offset | 166 | fs/isofs/dir.c | offset = 0; |
offset | 179 | fs/isofs/dir.c | next_offset = offset + de_len; |
offset | 182 | fs/isofs/dir.c | memcpy(tmpde, de, bufsize - offset); |
offset | 190 | fs/isofs/dir.c | memcpy(bufsize - offset + (char *) tmpde, bh->b_data, next_offset); |
offset | 193 | fs/isofs/dir.c | offset = next_offset; |
offset | 126 | fs/isofs/file.c | int block, blocks, offset, total_blocks; |
offset | 153 | fs/isofs/file.c | offset = (inode->u.isofs_i.i_first_extent + filp->f_pos) |
offset | 155 | fs/isofs/file.c | blocks = (left + offset + ISOFS_BUFFER_SIZE(inode) - 1) / ISOFS_BUFFER_SIZE(inode); |
offset | 225 | fs/isofs/file.c | if (left < ISOFS_BUFFER_SIZE(inode) - offset) |
offset | 228 | fs/isofs/file.c | chars = ISOFS_BUFFER_SIZE(inode) - offset; |
offset | 235 | fs/isofs/file.c | unixify_to_fs(buf, offset+(*bhe)->b_data, chars, |
offset | 238 | fs/isofs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 245 | fs/isofs/file.c | offset = 0; |
offset | 444 | fs/isofs/inode.c | int frag1, offset; |
offset | 446 | fs/isofs/inode.c | offset = (inode->i_ino & (bufsize - 1)); |
offset | 447 | fs/isofs/inode.c | frag1 = bufsize - offset; |
offset | 454 | fs/isofs/inode.c | memcpy(cpnt, bh->b_data + offset, frag1); |
offset | 461 | fs/isofs/inode.c | offset += *pnt - bufsize; |
offset | 462 | fs/isofs/inode.c | memcpy((char *)cpnt+frag1, bh->b_data, offset); |
offset | 641 | fs/isofs/inode.c | unsigned int block,offset; |
offset | 650 | fs/isofs/inode.c | offset = 0; |
offset | 655 | fs/isofs/inode.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 662 | fs/isofs/inode.c | offset += *((unsigned char *) de); |
offset | 664 | fs/isofs/inode.c | if (offset >= bufsize) |
offset | 687 | fs/isofs/inode.c | offset = 0; |
offset | 694 | fs/isofs/inode.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 695 | fs/isofs/inode.c | inode_number = (block << bufbits)+(offset & (bufsize - 1)); |
offset | 704 | fs/isofs/inode.c | offset = 0; |
offset | 720 | fs/isofs/inode.c | old_offset = offset; |
offset | 721 | fs/isofs/inode.c | offset += *((unsigned char *) de); |
offset | 723 | fs/isofs/inode.c | if (offset >= bufsize) |
offset | 732 | fs/isofs/inode.c | offset -= bufsize; |
offset | 740 | fs/isofs/inode.c | memcpy((char *)cpnt+frag1, bh->b_data, offset); |
offset | 70 | fs/isofs/namei.c | unsigned int block, i, f_pos, offset, inode_number; |
offset | 87 | fs/isofs/namei.c | offset = f_pos & (bufsize - 1); |
offset | 93 | fs/isofs/namei.c | de = (struct iso_directory_record *) (bh->b_data + offset); |
offset | 95 | fs/isofs/namei.c | inode_number = (block << bufbits) + (offset & (bufsize - 1)); |
offset | 102 | fs/isofs/namei.c | offset = 0; |
offset | 111 | fs/isofs/namei.c | old_offset = offset; |
offset | 112 | fs/isofs/namei.c | offset += *((unsigned char *) de); |
offset | 117 | fs/isofs/namei.c | if (offset >= bufsize) { |
offset | 126 | fs/isofs/namei.c | offset = f_pos & (bufsize - 1); |
offset | 132 | fs/isofs/namei.c | memcpy((char *)cpnt+frag1, bh->b_data, offset); |
offset | 47 | fs/isofs/rock.c | cont_offset = isonum_733(rr->u.CE.offset); \ |
offset | 59 | fs/isofs/rock.c | int block, offset, offset1; \ |
offset | 64 | fs/isofs/rock.c | offset = cont_offset; \ |
offset | 68 | fs/isofs/rock.c | if (offset >= 1024) block++; \ |
offset | 69 | fs/isofs/rock.c | offset &= 1023; \ |
offset | 70 | fs/isofs/rock.c | if(offset + cont_size >= 1024) { \ |
offset | 75 | fs/isofs/rock.c | memcpy(buffer, bh->b_data + offset, 1024 - offset); \ |
offset | 77 | fs/isofs/rock.c | offset1 = 1024 - offset; \ |
offset | 78 | fs/isofs/rock.c | offset = 0;} \ |
offset | 84 | fs/isofs/rock.c | memcpy(buffer + offset1, bh->b_data + offset, cont_size - offset1); \ |
offset | 438 | fs/isofs/rock.c | int frag1, offset; |
offset | 440 | fs/isofs/rock.c | offset = (inode->i_ino & (bufsize - 1)); |
offset | 441 | fs/isofs/rock.c | frag1 = bufsize - offset; |
offset | 444 | fs/isofs/rock.c | memcpy(cpnt, bh->b_data + offset, frag1); |
offset | 451 | fs/isofs/rock.c | offset += *pnt - bufsize; |
offset | 452 | fs/isofs/rock.c | memcpy((char *)cpnt+frag1, bh->b_data, offset); |
offset | 13 | fs/isofs/rock.h | char offset[8]; |
offset | 65 | fs/minix/dir.c | unsigned int offset; |
offset | 76 | fs/minix/dir.c | offset = filp->f_pos & 1023; |
offset | 79 | fs/minix/dir.c | filp->f_pos += 1024-offset; |
offset | 83 | fs/minix/dir.c | de = (struct minix_dir_entry *) (offset + bh->b_data); |
offset | 91 | fs/minix/dir.c | offset += info->s_dirsize; |
offset | 93 | fs/minix/dir.c | } while (offset < 1024 && filp->f_pos < inode->i_size); |
offset | 73 | fs/minix/file.c | int block, blocks, offset; |
offset | 88 | fs/minix/file.c | offset = filp->f_pos; |
offset | 90 | fs/minix/file.c | if (offset > size) |
offset | 93 | fs/minix/file.c | left = size - offset; |
offset | 99 | fs/minix/file.c | block = offset >> BLOCK_SIZE_BITS; |
offset | 100 | fs/minix/file.c | offset &= BLOCK_SIZE-1; |
offset | 102 | fs/minix/file.c | blocks = (left + offset + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; |
offset | 158 | fs/minix/file.c | if (left < BLOCK_SIZE - offset) |
offset | 161 | fs/minix/file.c | chars = BLOCK_SIZE - offset; |
offset | 166 | fs/minix/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 173 | fs/minix/file.c | offset = 0; |
offset | 45 | fs/minix/namei.c | struct buffer_head * bh, unsigned long * offset, |
offset | 50 | fs/minix/namei.c | de = (struct minix_dir_entry *) (bh->b_data + *offset); |
offset | 51 | fs/minix/namei.c | *offset += info->s_dirsize; |
offset | 71 | fs/minix/namei.c | unsigned long block, offset; |
offset | 87 | fs/minix/namei.c | block = offset = 0; |
offset | 88 | fs/minix/namei.c | while (block*BLOCK_SIZE+offset < dir->i_size) { |
offset | 96 | fs/minix/namei.c | *res_dir = (struct minix_dir_entry *) (bh->b_data + offset); |
offset | 97 | fs/minix/namei.c | if (minix_match(namelen,name,bh,&offset,info)) |
offset | 99 | fs/minix/namei.c | if (offset < bh->b_size) |
offset | 103 | fs/minix/namei.c | offset = 0; |
offset | 155 | fs/minix/namei.c | unsigned long block, offset; |
offset | 175 | fs/minix/namei.c | block = offset = 0; |
offset | 182 | fs/minix/namei.c | de = (struct minix_dir_entry *) (bh->b_data + offset); |
offset | 183 | fs/minix/namei.c | offset += info->s_dirsize; |
offset | 184 | fs/minix/namei.c | if (block*bh->b_size + offset > dir->i_size) { |
offset | 186 | fs/minix/namei.c | dir->i_size = block*bh->b_size + offset; |
offset | 204 | fs/minix/namei.c | if (offset < bh->b_size) |
offset | 208 | fs/minix/namei.c | offset = 0; |
offset | 380 | fs/minix/namei.c | unsigned int block, offset; |
offset | 390 | fs/minix/namei.c | offset = 2*info->s_dirsize; |
offset | 393 | fs/minix/namei.c | if (inode->i_size < offset) |
offset | 404 | fs/minix/namei.c | while (block*BLOCK_SIZE+offset < inode->i_size) { |
offset | 412 | fs/minix/namei.c | de = (struct minix_dir_entry *) (bh->b_data + offset); |
offset | 413 | fs/minix/namei.c | offset += info->s_dirsize; |
offset | 418 | fs/minix/namei.c | if (offset < bh->b_size) |
offset | 422 | fs/minix/namei.c | offset = 0; |
offset | 61 | fs/minix/truncate.c | static int trunc_indirect(struct inode * inode, int offset, unsigned short * p) |
offset | 68 | fs/minix/truncate.c | #define INDIRECT_BLOCK (DIRECT_BLOCK-offset) |
offset | 244 | fs/msdos/fat.c | int cluster,offset; |
offset | 253 | fs/msdos/fat.c | offset = sector % sb->cluster_size; |
offset | 255 | fs/msdos/fat.c | return (cluster-2)*sb->cluster_size+sb->data_start+offset; |
offset | 216 | fs/msdos/file.c | int size,offset; |
offset | 234 | fs/msdos/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
offset | 235 | fs/msdos/file.c | data = bh->b_data + offset; |
offset | 236 | fs/msdos/file.c | size = MIN(SECTOR_SIZE-offset,left_in_file); |
offset | 274 | fs/msdos/file.c | int sector,offset,size,left,written; |
offset | 303 | fs/msdos/file.c | offset = filp->f_pos & (SECTOR_SIZE-1); |
offset | 304 | fs/msdos/file.c | size = MIN(SECTOR_SIZE-offset,MAX(carry,count)); |
offset | 306 | fs/msdos/file.c | && offset == 0 |
offset | 321 | fs/msdos/file.c | memcpy_fromfs(bh->b_data+offset,buf,written = size); |
offset | 325 | fs/msdos/file.c | written = left = SECTOR_SIZE-offset; |
offset | 342 | fs/msdos/inode.c | int cluster,offset; |
offset | 349 | fs/msdos/inode.c | offset = block % sb->cluster_size; |
offset | 351 | fs/msdos/inode.c | return (cluster-2)*sb->cluster_size+sb->data_start+offset; |
offset | 289 | fs/msdos/misc.c | int sector,offset; |
offset | 292 | fs/msdos/misc.c | offset = *pos; |
offset | 293 | fs/msdos/misc.c | PRINTK (("get_entry offset %d\n",offset)); |
offset | 294 | fs/msdos/misc.c | if ((sector = msdos_smap(dir,offset >> SECTOR_BITS)) == -1) |
offset | 308 | fs/msdos/misc.c | *de = (struct msdos_dir_entry *) ((*bh)->b_data+(offset & |
offset | 310 | fs/msdos/misc.c | return (sector << MSDOS_DPS_BITS)+((offset & (SECTOR_SIZE-1)) >> |
offset | 380 | fs/nfs/proc.c | int offset, int count, char *data, struct nfs_fattr *fattr, int fs) |
offset | 387 | fs/nfs/proc.c | PRINTK("NFS call read %d @ %d\n", count, offset); |
offset | 393 | fs/nfs/proc.c | *p++ = htonl(offset); |
offset | 426 | fs/nfs/proc.c | int offset, int count, char *data, struct nfs_fattr *fattr) |
offset | 432 | fs/nfs/proc.c | PRINTK("NFS call write %d @ %d\n", count, offset); |
offset | 438 | fs/nfs/proc.c | *p++ = htonl(offset); /* traditional, could be any value */ |
offset | 439 | fs/nfs/proc.c | *p++ = htonl(offset); |
offset | 119 | fs/pipe.c | static int pipe_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 156 | fs/proc/mem.c | static int mem_lseek(struct inode * inode, struct file * file, off_t offset, int orig) |
offset | 160 | fs/proc/mem.c | file->f_pos = offset; |
offset | 163 | fs/proc/mem.c | file->f_pos += offset; |
offset | 201 | fs/proc/scsi.c | int get_not_present_info(char *buffer, char **start, off_t offset, int length) |
offset | 208 | fs/proc/scsi.c | if(pos < offset) { |
offset | 213 | fs/proc/scsi.c | *start = buffer + (offset - begin); /* Start of wanted data */ |
offset | 214 | fs/proc/scsi.c | len -= (offset - begin); |
offset | 311 | fs/proc/scsi.c | off_t offset, int orig) |
offset | 315 | fs/proc/scsi.c | file->f_pos = offset; |
offset | 318 | fs/proc/scsi.c | file->f_pos += offset; |
offset | 321 | fs/proc/scsi.c | if (offset) /* to determine the length of the */ |
offset | 16 | fs/read_write.c | asmlinkage int sys_lseek(unsigned int fd, off_t offset, unsigned int origin) |
offset | 26 | fs/read_write.c | return file->f_op->lseek(file->f_inode,file,offset,origin); |
offset | 31 | fs/read_write.c | tmp = offset; |
offset | 34 | fs/read_write.c | tmp = file->f_pos + offset; |
offset | 39 | fs/read_write.c | tmp = file->f_inode->i_size + offset; |
offset | 58 | fs/read_write.c | loff_t offset; |
offset | 67 | fs/read_write.c | offset = (loff_t) (((unsigned long long) offset_high << 32) | offset_low); |
offset | 72 | fs/read_write.c | if (offset != (long) offset) |
offset | 74 | fs/read_write.c | return file->f_op->lseek(file->f_inode,file,offset,origin); |
offset | 79 | fs/read_write.c | tmp = offset; |
offset | 82 | fs/read_write.c | tmp = file->f_pos + offset; |
offset | 87 | 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 | 626 | fs/smbfs/proc.c | off_t offset, long count, char *data, int fs) |
offset | 636 | fs/smbfs/proc.c | DSET(buf, smb_vwv2, offset); |
offset | 661 | fs/smbfs/proc.c | off_t offset, int count, char *data) |
offset | 670 | fs/smbfs/proc.c | DSET(buf, smb_vwv2, offset); |
offset | 72 | fs/sysv/dir.c | unsigned int offset,i; |
offset | 82 | fs/sysv/dir.c | offset = filp->f_pos & sb->sv_block_size_1; |
offset | 85 | fs/sysv/dir.c | filp->f_pos += sb->sv_block_size - offset; |
offset | 89 | fs/sysv/dir.c | while (offset < sb->sv_block_size && filp->f_pos < inode->i_size) { |
offset | 90 | fs/sysv/dir.c | de = (struct sysv_dir_entry *) (offset + bh_data); |
offset | 107 | fs/sysv/dir.c | offset += SYSV_DIRSIZE; |
offset | 81 | fs/sysv/file.c | int blocks, offset; |
offset | 96 | fs/sysv/file.c | offset = filp->f_pos; |
offset | 98 | fs/sysv/file.c | if (offset > size) |
offset | 101 | fs/sysv/file.c | left = size - offset; |
offset | 107 | fs/sysv/file.c | block = offset >> sb->sv_block_size_bits; |
offset | 108 | fs/sysv/file.c | offset &= sb->sv_block_size_1; |
offset | 110 | fs/sysv/file.c | blocks = (left + offset + sb->sv_block_size_1) >> sb->sv_block_size_bits; |
offset | 166 | fs/sysv/file.c | if (left < sb->sv_block_size - offset) |
offset | 169 | fs/sysv/file.c | chars = sb->sv_block_size - offset; |
offset | 174 | fs/sysv/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 181 | fs/sysv/file.c | offset = 0; |
offset | 48 | fs/sysv/ialloc.c | unsigned int offset = offsetof(struct xenix_super_block, s_inode[i]); |
offset | 49 | fs/sysv/ialloc.c | if (offset < 512) |
offset | 50 | fs/sysv/ialloc.c | return (sysv_ino_t*)(sb->sv_sbd1 + offset); |
offset | 52 | fs/sysv/ialloc.c | return (sysv_ino_t*)(sb->sv_sbd2 + offset); |
offset | 68 | fs/sysv/namei.c | unsigned long pos, block, offset; /* pos = block * block_size + offset */ |
offset | 81 | fs/sysv/namei.c | pos = block = offset = 0; |
offset | 92 | fs/sysv/namei.c | *res_dir = (struct sysv_dir_entry *) (bh->b_data + offset) )) |
offset | 95 | fs/sysv/namei.c | offset += SYSV_DIRSIZE; |
offset | 96 | fs/sysv/namei.c | if (offset < sb->sv_block_size) |
offset | 100 | fs/sysv/namei.c | offset = 0; block++; |
offset | 152 | fs/sysv/namei.c | unsigned long pos, block, offset; /* pos = block * block_size + offset */ |
offset | 169 | fs/sysv/namei.c | pos = block = offset = 0; |
offset | 176 | fs/sysv/namei.c | de = (struct sysv_dir_entry *) (bh->b_data + offset); |
offset | 178 | fs/sysv/namei.c | offset += SYSV_DIRSIZE; |
offset | 198 | fs/sysv/namei.c | if (offset < sb->sv_block_size) |
offset | 202 | fs/sysv/namei.c | offset = 0; block++; |
offset | 372 | fs/sysv/namei.c | unsigned long pos, block, offset; /* pos = block * block_size + offset */ |
offset | 380 | fs/sysv/namei.c | pos = offset = 2*SYSV_DIRSIZE; |
offset | 404 | fs/sysv/namei.c | de = (struct sysv_dir_entry *) (bh->b_data + offset); |
offset | 406 | fs/sysv/namei.c | offset += SYSV_DIRSIZE; |
offset | 411 | fs/sysv/namei.c | if (offset < sb->sv_block_size) |
offset | 415 | fs/sysv/namei.c | offset = 0; block++; |
offset | 78 | fs/sysv/truncate.c | static int trunc_indirect(struct inode * inode, unsigned long offset, unsigned long * p, int convert, unsigned char * dirt) |
offset | 106 | fs/sysv/truncate.c | if (inode->i_size < offset) |
offset | 109 | fs/sysv/truncate.c | i = (inode->i_size - offset + sb->sv_block_size_1) >> sb->sv_block_size_bits; |
offset | 118 | fs/sysv/truncate.c | if ((i << sb->sv_block_size_bits) + offset < inode->i_size) { |
offset | 147 | fs/sysv/truncate.c | static int trunc_dindirect(struct inode * inode, unsigned long offset, unsigned long * p, int convert, unsigned char * dirt) |
offset | 173 | fs/sysv/truncate.c | if (inode->i_size < offset) |
offset | 176 | fs/sysv/truncate.c | i = (inode->i_size - offset + sb->sv_ind_per_block_block_size_1) >> sb->sv_ind_per_block_block_size_bits; |
offset | 184 | fs/sysv/truncate.c | retry |= trunc_indirect(inode,offset+(i<<sb->sv_ind_per_block_bits),ind,sb->sv_convert,&indbh->b_dirt); |
offset | 201 | fs/sysv/truncate.c | static int trunc_tindirect(struct inode * inode, unsigned long offset, unsigned long * p, int convert, unsigned char * dirt) |
offset | 227 | fs/sysv/truncate.c | if (inode->i_size < offset) |
offset | 230 | fs/sysv/truncate.c | i = (inode->i_size - offset + sb->sv_ind_per_block_2_block_size_1) >> sb->sv_ind_per_block_2_block_size_bits; |
offset | 238 | fs/sysv/truncate.c | retry |= trunc_dindirect(inode,offset+(i<<sb->sv_ind_per_block_2_bits),ind,sb->sv_convert,&indbh->b_dirt); |
offset | 55 | fs/umsdos/dir.c | off_t offset, |
offset | 65 | fs/umsdos/dir.c | Printk (("dir_once :%s: offset %Ld\n",zname,offset)); |
offset | 67 | fs/umsdos/dir.c | ret = d->filldir (d->dirbuf,name,name_len,offset,ino); |
offset | 424 | fs/umsdos/dir.c | off_t offset, |
offset | 428 | fs/umsdos/dir.c | d->f_pos = offset; |
offset | 443 | fs/umsdos/dir.c | off_t offset, |
offset | 37 | fs/umsdos/ioctl.c | off_t offset, |
offset | 47 | fs/umsdos/ioctl.c | put_user (offset,&d->ent->d_off); |
offset | 41 | fs/umsdos/rdir.c | off_t offset, |
offset | 57 | fs/umsdos/rdir.c | ret = d->filldir (d->dirbuf,name,name_len,offset,ino); |
offset | 61 | fs/umsdos/rdir.c | ret = d->filldir (d->dirbuf,name,name_len,offset,ino); |
offset | 221 | fs/xiafs/bitmap.c | unsigned int bit, offset; |
offset | 240 | fs/xiafs/bitmap.c | offset = bit & (XIAFS_BITS_PER_Z(sb) -1); |
offset | 241 | fs/xiafs/bitmap.c | if (!clear_bit(offset, bh->b_data)) |
offset | 72 | fs/xiafs/dir.c | u_int offset, i; |
offset | 81 | fs/xiafs/dir.c | offset = filp->f_pos & (XIAFS_ZSIZE(inode->i_sb) - 1); |
offset | 84 | fs/xiafs/dir.c | filp->f_pos += XIAFS_ZSIZE(inode->i_sb)-offset; |
offset | 87 | fs/xiafs/dir.c | for (i = 0; i < XIAFS_ZSIZE(inode->i_sb) && i < offset; ) { |
offset | 93 | fs/xiafs/dir.c | offset = i; |
offset | 94 | fs/xiafs/dir.c | de = (struct xiafs_direct *) (offset + bh->b_data); |
offset | 96 | fs/xiafs/dir.c | while (offset < XIAFS_ZSIZE(inode->i_sb) && filp->f_pos < inode->i_size) { |
offset | 117 | fs/xiafs/dir.c | offset += de->d_rec_len; |
offset | 119 | fs/xiafs/dir.c | de = (struct xiafs_direct *) (offset + bh->b_data); |
offset | 122 | fs/xiafs/dir.c | if (offset > XIAFS_ZSIZE(inode->i_sb)) { |
offset | 77 | fs/xiafs/file.c | int zone_nr, zones, f_zones, offset; |
offset | 91 | fs/xiafs/file.c | offset = filp->f_pos; |
offset | 92 | fs/xiafs/file.c | left = inode->i_size - offset; |
offset | 98 | fs/xiafs/file.c | zone_nr = offset >> XIAFS_ZSIZE_BITS(inode->i_sb); |
offset | 99 | fs/xiafs/file.c | offset &= XIAFS_ZSIZE(inode->i_sb) -1 ; |
offset | 101 | fs/xiafs/file.c | zones = (left+offset+XIAFS_ZSIZE(inode->i_sb)-1) >> XIAFS_ZSIZE_BITS(inode->i_sb); |
offset | 156 | fs/xiafs/file.c | if (left < XIAFS_ZSIZE(inode->i_sb) - offset) |
offset | 159 | fs/xiafs/file.c | chars = XIAFS_ZSIZE(inode->i_sb) - offset; |
offset | 164 | fs/xiafs/file.c | memcpy_tofs(buf,offset+(*bhe)->b_data,chars); |
offset | 171 | fs/xiafs/file.c | offset = 0; |
offset | 161 | fs/xiafs/namei.c | int i, pos, offset; |
offset | 186 | fs/xiafs/namei.c | offset = 12; |
offset | 189 | fs/xiafs/namei.c | offset = 0; |
offset | 190 | fs/xiafs/namei.c | while (offset < XIAFS_ZSIZE(dir->i_sb)) { |
offset | 234 | fs/xiafs/namei.c | offset+=de->d_rec_len; |
offset | 236 | fs/xiafs/namei.c | de=(struct xiafs_direct *)(bh->b_data+offset); |
offset | 239 | fs/xiafs/namei.c | if (offset > XIAFS_ZSIZE(dir->i_sb)) { |
offset | 411 | fs/xiafs/namei.c | int i, zones, offset; |
offset | 441 | fs/xiafs/namei.c | offset=de->d_rec_len+12; |
offset | 444 | fs/xiafs/namei.c | offset = 0; |
offset | 447 | fs/xiafs/namei.c | while (offset < XIAFS_ZSIZE(inode->i_sb)) { |
offset | 448 | fs/xiafs/namei.c | de=(struct xiafs_direct *)(bh->b_data+offset); |
offset | 462 | fs/xiafs/namei.c | offset+=de->d_rec_len; |
offset | 117 | include/asm-alpha/bitops.h | extern inline unsigned long find_next_zero_bit(void * addr, unsigned long size, unsigned long offset) |
offset | 119 | include/asm-alpha/bitops.h | unsigned long * p = ((unsigned long *) addr) + (offset >> 6); |
offset | 120 | include/asm-alpha/bitops.h | unsigned long result = offset & ~63UL; |
offset | 123 | include/asm-alpha/bitops.h | if (offset >= size) |
offset | 126 | include/asm-alpha/bitops.h | offset &= 63UL; |
offset | 127 | include/asm-alpha/bitops.h | if (offset) { |
offset | 129 | include/asm-alpha/bitops.h | tmp |= ~0UL >> (64-offset); |
offset | 416 | include/asm-alpha/pgtable.h | extern inline pte_t mk_swap_pte(unsigned long type, unsigned long offset) |
offset | 417 | include/asm-alpha/pgtable.h | { pte_t pte; pte_val(pte) = (type << 32) | (offset << 40); return pte; } |
offset | 421 | include/asm-alpha/pgtable.h | #define SWP_ENTRY(type,offset) pte_val(mk_swap_pte((type),(offset))) |
offset | 93 | include/asm-i386/bitops.h | extern inline int find_next_zero_bit (void * addr, int size, int offset) |
offset | 95 | include/asm-i386/bitops.h | unsigned long * p = ((unsigned long *) addr) + (offset >> 5); |
offset | 96 | include/asm-i386/bitops.h | int set = 0, bit = offset & 31, res; |
offset | 110 | include/asm-i386/bitops.h | return set + offset; |
offset | 118 | include/asm-i386/bitops.h | return (offset + set + res); |
offset | 335 | include/asm-i386/pgtable.h | #define SWP_ENTRY(type,offset) (((type) << 1) | ((offset) << 8)) |
offset | 87 | include/asm-m68k/bitops.h | int offset) |
offset | 90 | include/asm-m68k/bitops.h | unsigned long *p = addr + (offset >> 5); |
offset | 91 | include/asm-m68k/bitops.h | int set = 0, bit = offset & 31, res; |
offset | 99 | include/asm-m68k/bitops.h | return set + offset; |
offset | 105 | include/asm-m68k/bitops.h | return (offset + set + res); |
offset | 183 | include/asm-mips/bitops.h | extern __inline__ int find_next_zero_bit (void * addr, int size, int offset) |
offset | 185 | include/asm-mips/bitops.h | unsigned long * p = ((unsigned long *) addr) + (offset >> 5); |
offset | 186 | include/asm-mips/bitops.h | int set = 0, bit = offset & 31, res; |
offset | 207 | include/asm-mips/bitops.h | return set + offset; |
offset | 215 | include/asm-mips/bitops.h | return (offset + set + res); |
offset | 199 | include/asm-mips/processor.h | asmlinkage void resume(struct task_struct *tsk, int offset); |
offset | 284 | include/asm-sparc/bitops.h | find_next_zero_bit(void *addr, unsigned long size, unsigned long offset) |
offset | 291 | include/asm-sparc/bitops.h | unsigned long *p = ((unsigned long *) addr) + (offset >> 6); |
offset | 292 | include/asm-sparc/bitops.h | unsigned long result = offset & ~31UL; |
offset | 295 | include/asm-sparc/bitops.h | if (offset >= size) |
offset | 298 | include/asm-sparc/bitops.h | offset &= 31UL; |
offset | 299 | include/asm-sparc/bitops.h | if (offset) |
offset | 302 | include/asm-sparc/bitops.h | tmp |= ~0UL >> (32-offset); |
offset | 66 | include/asm-sparc/mostek.h | char offset[6*1024]; /* Magic things may be here, who knows? */ |
offset | 25 | include/asm-sparc/sbus.h | extern inline unsigned long sbus_devaddr(int slotnum, unsigned long offset) |
offset | 27 | include/asm-sparc/sbus.h | return (unsigned long) (SUN_SBUS_BVADDR+((slotnum)<<25)+(offset)); |
offset | 61 | include/asm-sparc/sbus.h | unsigned long offset; /* Offset given by PROM */ |
offset | 43 | include/linux/binfmts.h | extern int read_exec(struct inode *inode, unsigned long offset, |
offset | 120 | include/linux/mm.h | unsigned long offset; |
offset | 209 | include/linux/netdevice.h | extern int dev_get_info(char *buffer, char **start, off_t offset, int length); |
offset | 63 | include/linux/nfs_fs.h | int offset, int count, char *data, |
offset | 66 | include/linux/nfs_fs.h | int offset, int count, char *data, |
offset | 360 | include/linux/skbuff.h | extern void skb_copy_datagram(struct sk_buff *from, int offset, char *to,int size); |
offset | 131 | include/linux/smb_fs.h | off_t offset, long count, char *data, int fs); |
offset | 133 | include/linux/smb_fs.h | off_t offset, int count, char *data); |
offset | 79 | include/linux/timex.h | long offset; /* time offset (usec) */ |
offset | 100 | include/linux/xd.h | u_long offset; |
offset | 53 | include/net/ip.h | int offset; /* offset of fragment in IP datagram */ |
offset | 11 | include/net/rarp.h | off_t offset, |
offset | 51 | include/net/route.h | extern int rt_get_info(char * buffer, char **start, off_t offset, int length); |
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 | 86 | kernel/ksyms.c | off_t offset, int length, |
offset | 196 | kernel/time.c | unsigned long offset = 0; |
offset | 207 | kernel/time.c | offset = TICK_SIZE; |
offset | 211 | kernel/time.c | return offset + count; |
offset | 370 | kernel/time.c | if (txc.offset <= -(1 << (31 - SHIFT_UPDATE)) |
offset | 371 | kernel/time.c | || txc.offset >= (1 << (31 - SHIFT_UPDATE))) |
offset | 413 | kernel/time.c | time_adjust = txc.offset; |
offset | 417 | kernel/time.c | time_offset = txc.offset << SHIFT_UPDATE; |
offset | 423 | kernel/time.c | if (txc.offset < 0) |
offset | 424 | kernel/time.c | time_freq -= (-txc.offset * mtemp) >> |
offset | 427 | kernel/time.c | time_freq += (txc.offset * mtemp) >> |
offset | 441 | kernel/time.c | txc.offset = save_adjust; |
offset | 66 | mm/filemap.c | unsigned long offset, |
offset | 84 | mm/filemap.c | multi_bmap(inode, offset, nr, inode->i_sb->s_blocksize_bits); |
offset | 99 | mm/filemap.c | unsigned long offset, |
offset | 107 | mm/filemap.c | filemap_sync_page(vma, offset, page); |
offset | 119 | mm/filemap.c | unsigned long offset, |
offset | 150 | mm/filemap.c | struct vm_area_struct *vma, unsigned long offset, unsigned int flags) |
offset | 163 | mm/filemap.c | offset += address & PMD_MASK; |
offset | 169 | mm/filemap.c | filemap_sync_pte(pte, vma, address + offset, flags); |
offset | 180 | mm/filemap.c | unsigned long offset, end; |
offset | 190 | mm/filemap.c | offset = address & PMD_MASK; |
offset | 196 | mm/filemap.c | filemap_sync_pte_range(pmd, address, end - address, vma, offset, flags); |
offset | 494 | mm/memory.c | unsigned long offset, pgprot_t prot) |
offset | 505 | mm/memory.c | if (offset >= high_memory || (mem_map[MAP_NR(offset)] & MAP_PAGE_RESERVED)) |
offset | 506 | mm/memory.c | *pte = mk_pte(offset, prot); |
offset | 509 | mm/memory.c | offset += PAGE_SIZE; |
offset | 515 | mm/memory.c | unsigned long offset, pgprot_t prot) |
offset | 523 | mm/memory.c | offset -= address; |
offset | 528 | mm/memory.c | remap_pte_range(pte, address, end - address, address + offset, prot); |
offset | 535 | mm/memory.c | int remap_page_range(unsigned long from, unsigned long offset, unsigned long size, pgprot_t prot) |
offset | 541 | mm/memory.c | offset -= from; |
offset | 548 | mm/memory.c | error = remap_pmd_range(pmd, from, end - from, offset + from, prot); |
offset | 912 | mm/memory.c | unsigned long offset; |
offset | 926 | mm/memory.c | offset = address - area->vm_start + area->vm_offset; |
offset | 939 | mm/memory.c | from_address = offset + mpnt->vm_start - mpnt->vm_offset; |
offset | 111 | mm/swap.c | unsigned long type, offset; |
offset | 120 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 121 | mm/swap.c | if (offset >= p->max) { |
offset | 125 | mm/swap.c | if (p->swap_map && !p->swap_map[offset]) { |
offset | 133 | mm/swap.c | while (set_bit(offset,p->swap_lockmap)) |
offset | 140 | mm/swap.c | ll_rw_page(rw,p->swap_device,offset,buf); |
offset | 160 | mm/swap.c | unsigned int block = offset << 3; |
offset | 170 | mm/swap.c | unsigned int block = offset |
offset | 182 | mm/swap.c | if (offset && !clear_bit(offset,p->swap_lockmap)) |
offset | 190 | mm/swap.c | unsigned long offset, entry; |
offset | 200 | mm/swap.c | for (offset = p->lowest_bit; offset <= p->highest_bit ; offset++) { |
offset | 201 | mm/swap.c | if (p->swap_map[offset]) |
offset | 203 | mm/swap.c | if (test_bit(offset, p->swap_lockmap)) |
offset | 205 | mm/swap.c | p->swap_map[offset] = 1; |
offset | 207 | mm/swap.c | if (offset == p->highest_bit) |
offset | 209 | mm/swap.c | p->lowest_bit = offset; |
offset | 210 | mm/swap.c | entry = SWP_ENTRY(type,offset); |
offset | 236 | mm/swap.c | unsigned long offset, type; |
offset | 240 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 249 | mm/swap.c | if (offset >= p->max) { |
offset | 253 | mm/swap.c | if (!p->swap_map[offset]) { |
offset | 257 | mm/swap.c | p->swap_map[offset]++; |
offset | 264 | mm/swap.c | unsigned long offset, type; |
offset | 276 | mm/swap.c | offset = SWP_OFFSET(entry); |
offset | 277 | mm/swap.c | if (offset >= p->max) { |
offset | 285 | mm/swap.c | if (offset < p->lowest_bit) |
offset | 286 | mm/swap.c | p->lowest_bit = offset; |
offset | 287 | mm/swap.c | if (offset > p->highest_bit) |
offset | 288 | mm/swap.c | p->highest_bit = offset; |
offset | 289 | mm/swap.c | if (!p->swap_map[offset]) |
offset | 292 | mm/swap.c | if (!--p->swap_map[offset]) |
offset | 871 | mm/swap.c | unsigned long address, unsigned long size, unsigned long offset, |
offset | 885 | mm/swap.c | offset += address & PMD_MASK; |
offset | 891 | mm/swap.c | if (unuse_pte(vma, offset+address-vma->vm_start, pte, type, page)) |
offset | 904 | mm/swap.c | unsigned long offset, end; |
offset | 914 | mm/swap.c | offset = address & PGDIR_MASK; |
offset | 920 | mm/swap.c | if (unuse_pmd(vma, pmd, address, end - address, offset, type, page)) |
offset | 241 | net/802/tr.c | int rif_get_info(char *buffer,char **start, off_t offset, int length) { |
offset | 264 | net/802/tr.c | if(pos<offset) { |
offset | 268 | net/802/tr.c | if(pos>offset+length) |
offset | 271 | net/802/tr.c | if(pos>offset+length) |
offset | 275 | net/802/tr.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 276 | net/802/tr.c | len-=(offset-begin); /* Start slop */ |
offset | 211 | net/appletalk/ddp.c | int atalk_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 238 | net/appletalk/ddp.c | if(pos<offset) |
offset | 243 | net/appletalk/ddp.c | if(pos>offset+length) /* We have dumped enough */ |
offset | 248 | net/appletalk/ddp.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 249 | net/appletalk/ddp.c | len-=(offset-begin); /* Remove unwanted header data from length */ |
offset | 810 | net/appletalk/ddp.c | int atalk_if_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 826 | net/appletalk/ddp.c | if(pos<offset) |
offset | 831 | net/appletalk/ddp.c | if(pos>offset+length) |
offset | 834 | net/appletalk/ddp.c | *start=buffer+(offset-begin); |
offset | 835 | net/appletalk/ddp.c | len-=(offset-begin); |
offset | 843 | net/appletalk/ddp.c | int atalk_rt_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 865 | net/appletalk/ddp.c | if(pos<offset) |
offset | 870 | net/appletalk/ddp.c | if(pos>offset+length) |
offset | 873 | net/appletalk/ddp.c | *start=buffer+(offset-begin); |
offset | 874 | net/appletalk/ddp.c | len-=(offset-begin); |
offset | 1866 | net/ax25/af_ax25.c | int ax25_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 1911 | net/ax25/af_ax25.c | if (pos < offset) { |
offset | 1916 | net/ax25/af_ax25.c | if (pos > offset + length) |
offset | 1922 | net/ax25/af_ax25.c | *start = buffer + (offset - begin); |
offset | 1923 | net/ax25/af_ax25.c | len -= (offset - begin); |
offset | 139 | net/ax25/ax25_route.c | int ax25_rt_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 173 | net/ax25/ax25_route.c | if (pos < offset) { |
offset | 178 | net/ax25/ax25_route.c | if (pos > offset + length) |
offset | 184 | net/ax25/ax25_route.c | *start = buffer + (offset - begin); |
offset | 185 | net/ax25/ax25_route.c | len -= (offset - begin); |
offset | 192 | net/ax25/ax25_route.c | int ax25_cs_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 208 | net/ax25/ax25_route.c | if (pos < offset) { |
offset | 213 | net/ax25/ax25_route.c | if (pos > offset + length) |
offset | 219 | net/ax25/ax25_route.c | *start = buffer + (offset - begin); |
offset | 220 | net/ax25/ax25_route.c | len -= offset - begin; |
offset | 164 | net/core/datagram.c | void skb_copy_datagram(struct sk_buff *skb, int offset, char *to, int size) |
offset | 168 | net/core/datagram.c | memcpy_tofs(to,skb->h.raw+offset,size); |
offset | 904 | net/core/dev.c | int dev_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 927 | net/core/dev.c | if(pos<offset) |
offset | 932 | net/core/dev.c | if(pos>offset+length) |
offset | 936 | net/core/dev.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 937 | net/core/dev.c | len-=(offset-begin); /* Start slop */ |
offset | 587 | net/core/skbuff.c | unsigned long offset; |
offset | 603 | net/core/skbuff.c | offset=n->head-skb->head; |
offset | 615 | net/core/skbuff.c | n->h.raw=skb->h.raw+offset; |
offset | 616 | net/core/skbuff.c | n->mac.raw=skb->mac.raw+offset; |
offset | 617 | net/core/skbuff.c | n->ip_hdr=(struct iphdr *)(((char *)skb->ip_hdr)+offset); |
offset | 1000 | net/ipv4/arp.c | int arp_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 1061 | net/ipv4/arp.c | if(pos<offset) |
offset | 1066 | net/ipv4/arp.c | if(pos>offset+length) |
offset | 1072 | net/ipv4/arp.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 1073 | net/ipv4/arp.c | len-=(offset-begin); /* Start slop */ |
offset | 105 | net/ipv4/icmp.c | int offset; |
offset | 232 | net/ipv4/icmp.c | offset = ip_build_header(skb, our_addr, iph->saddr, |
offset | 235 | net/ipv4/icmp.c | if (offset < 0) |
offset | 253 | net/ipv4/icmp.c | icmph = (struct icmphdr *) (skb->data + offset); |
offset | 433 | net/ipv4/icmp.c | int size, offset; |
offset | 450 | net/ipv4/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, |
offset | 452 | net/ipv4/icmp.c | if (offset < 0) |
offset | 470 | net/ipv4/icmp.c | icmphr = (struct icmphdr *) (skb2->data + offset); |
offset | 499 | net/ipv4/icmp.c | int size, offset; |
offset | 527 | net/ipv4/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, IPPROTO_ICMP, opt, len, |
offset | 529 | net/ipv4/icmp.c | if (offset < 0) |
offset | 547 | net/ipv4/icmp.c | icmphr = (struct icmphdr *) ((char *) (skb2 + 1) + offset); |
offset | 597 | net/ipv4/icmp.c | int size, offset; |
offset | 617 | net/ipv4/icmp.c | offset = ip_build_header(skb2, daddr, saddr, &ndev, |
offset | 619 | net/ipv4/icmp.c | if (offset < 0) |
offset | 638 | net/ipv4/icmp.c | icmphr = (struct icmphdr *) (skb2->data + offset); |
offset | 350 | net/ipv4/ip.c | static struct ipfrag *ip_frag_create(int offset, int end, struct sk_buff *skb, unsigned char *ptr) |
offset | 363 | net/ipv4/ip.c | fp->offset = offset; |
offset | 365 | net/ipv4/ip.c | fp->len = end - offset; |
offset | 546 | net/ipv4/ip.c | int offset; |
offset | 554 | net/ipv4/ip.c | offset = 0; |
offset | 557 | net/ipv4/ip.c | if (fp->offset > offset) |
offset | 559 | net/ipv4/ip.c | offset = fp->end; |
offset | 621 | net/ipv4/ip.c | memcpy((ptr + fp->offset), fp->ptr, fp->len); |
offset | 651 | net/ipv4/ip.c | int flags, offset; |
offset | 660 | net/ipv4/ip.c | offset = ntohs(iph->frag_off); |
offset | 661 | net/ipv4/ip.c | flags = offset & ~IP_OFFSET; |
offset | 662 | net/ipv4/ip.c | offset &= IP_OFFSET; |
offset | 663 | net/ipv4/ip.c | if (((flags & IP_MF) == 0) && (offset == 0)) |
offset | 670 | net/ipv4/ip.c | offset <<= 3; /* offset is in 8-byte chunks */ |
offset | 705 | net/ipv4/ip.c | end = offset + ntohs(iph->tot_len) - ihl; |
offset | 729 | net/ipv4/ip.c | if (next->offset > offset) |
offset | 739 | net/ipv4/ip.c | if (prev != NULL && offset < prev->end) |
offset | 741 | net/ipv4/ip.c | i = prev->end - offset; |
offset | 742 | net/ipv4/ip.c | offset += i; /* ptr into datagram */ |
offset | 754 | net/ipv4/ip.c | if (tmp->offset >= end) |
offset | 757 | net/ipv4/ip.c | i = end - next->offset; /* overlap is 'i' bytes */ |
offset | 759 | net/ipv4/ip.c | tmp->offset += i; /* next fragment */ |
offset | 787 | net/ipv4/ip.c | tfp = ip_frag_create(offset, end, skb, ptr); |
offset | 845 | net/ipv4/ip.c | int offset; |
offset | 905 | net/ipv4/ip.c | offset = (ntohs(iph->frag_off) & IP_OFFSET) << 3; |
offset | 907 | net/ipv4/ip.c | offset = 0; |
offset | 981 | net/ipv4/ip.c | iph->frag_off = htons((offset >> 3)); |
offset | 989 | net/ipv4/ip.c | offset += len; |
offset | 1933 | net/ipv4/ip.c | int ip_mc_procinfo(char *buffer, char **start, off_t offset, int length) |
offset | 1958 | net/ipv4/ip.c | if(pos<offset) |
offset | 1963 | net/ipv4/ip.c | if(pos>offset+length) |
offset | 1969 | net/ipv4/ip.c | *start=buffer+(offset-begin); |
offset | 1970 | net/ipv4/ip.c | len-=(offset-begin); |
offset | 2340 | net/ipv4/ip.c | int offset, mf; |
offset | 2439 | net/ipv4/ip.c | offset = length - (length % (maxfraglen - fragheaderlen)); |
offset | 2445 | net/ipv4/ip.c | fraglen = length - offset + fragheaderlen; |
offset | 2450 | net/ipv4/ip.c | offset -= maxfraglen-fragheaderlen; |
offset | 2464 | net/ipv4/ip.c | if (type == IPPROTO_RAW && offset > 0) |
offset | 2543 | net/ipv4/ip.c | iph->frag_off = htons(offset>>3); |
offset | 2569 | net/ipv4/ip.c | getfrag(frag, saddr, data, offset, fraglen-fragheaderlen); |
offset | 2576 | net/ipv4/ip.c | if(!offset) |
offset | 2579 | net/ipv4/ip.c | offset -= (maxfraglen-fragheaderlen); |
offset | 2646 | net/ipv4/ip.c | while (offset >= 0); |
offset | 1370 | net/ipv4/ip_fw.c | off_t offset, int length, int reset) |
offset | 1421 | net/ipv4/ip_fw.c | if(pos<offset) |
offset | 1432 | net/ipv4/ip_fw.c | if(pos>offset+length) |
offset | 1437 | net/ipv4/ip_fw.c | *start=buffer+(offset-begin); |
offset | 1438 | net/ipv4/ip_fw.c | len-=(offset-begin); |
offset | 1447 | net/ipv4/ip_fw.c | int ip_acct_procinfo(char *buffer, char **start, off_t offset, int length, int reset) |
offset | 1449 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_INFO_ACCT, buffer,start,offset,length,reset); |
offset | 1456 | net/ipv4/ip_fw.c | int ip_fw_blk_procinfo(char *buffer, char **start, off_t offset, int length, int reset) |
offset | 1458 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_INFO_BLK, buffer,start,offset,length,reset); |
offset | 1461 | net/ipv4/ip_fw.c | int ip_fw_fwd_procinfo(char *buffer, char **start, off_t offset, int length, int reset) |
offset | 1463 | net/ipv4/ip_fw.c | return ip_chain_procinfo(IP_INFO_FWD, buffer,start,offset,length,reset); |
offset | 1469 | net/ipv4/ip_fw.c | int ip_msqhst_procinfo(char *buffer, char **start, off_t offset, int length) |
offset | 1496 | net/ipv4/ip_fw.c | if(pos<offset) |
offset | 1501 | net/ipv4/ip_fw.c | if(pos>offset+length) |
offset | 1506 | net/ipv4/ip_fw.c | *start=buffer+(offset-begin); |
offset | 1507 | net/ipv4/ip_fw.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 | 126 | net/ipv4/proc.c | if(pos<offset) |
offset | 131 | net/ipv4/proc.c | if(pos>offset+length) |
offset | 136 | net/ipv4/proc.c | if(pos>offset+length) |
offset | 139 | net/ipv4/proc.c | *start=buffer+(offset-begin); |
offset | 140 | net/ipv4/proc.c | len-=(offset-begin); |
offset | 147 | net/ipv4/proc.c | int tcp_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 149 | net/ipv4/proc.c | return get__netinfo(&tcp_prot, buffer,0, start, offset, length); |
offset | 153 | net/ipv4/proc.c | int udp_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 155 | net/ipv4/proc.c | return get__netinfo(&udp_prot, buffer,1, start, offset, length); |
offset | 159 | net/ipv4/proc.c | int raw_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 161 | net/ipv4/proc.c | return get__netinfo(&raw_prot, buffer,1, start, offset, length); |
offset | 168 | net/ipv4/proc.c | int afinet_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 174 | net/ipv4/proc.c | int len = socket_get_info(buffer,start,offset,length); |
offset | 185 | net/ipv4/proc.c | *start = buffer + offset; |
offset | 186 | net/ipv4/proc.c | len -= offset; |
offset | 197 | net/ipv4/proc.c | int snmp_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 257 | net/ipv4/proc.c | if (offset >= len) |
offset | 262 | net/ipv4/proc.c | *start = buffer + offset; |
offset | 263 | net/ipv4/proc.c | len -= offset; |
offset | 427 | net/ipv4/rarp.c | int rarp_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 473 | net/ipv4/rarp.c | if(pos<offset) |
offset | 478 | net/ipv4/rarp.c | if(pos>offset+length) |
offset | 484 | net/ipv4/rarp.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 485 | net/ipv4/rarp.c | len-=(offset-begin); /* Start slop */ |
offset | 130 | net/ipv4/raw.c | static void raw_getfrag(void *p, int saddr, char *to, unsigned int offset, unsigned int fraglen) |
offset | 132 | net/ipv4/raw.c | memcpy_fromfs(to, (unsigned char *)p+offset, fraglen); |
offset | 139 | net/ipv4/raw.c | static void raw_getrawfrag(void *p, int saddr, char *to, unsigned int offset, unsigned int fraglen) |
offset | 141 | net/ipv4/raw.c | memcpy_fromfs(to, (unsigned char *)p+offset, fraglen); |
offset | 142 | net/ipv4/raw.c | if(offset==0) |
offset | 511 | net/ipv4/route.c | int rt_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 535 | net/ipv4/route.c | if(pos<offset) |
offset | 540 | net/ipv4/route.c | if(pos>offset+length) |
offset | 544 | net/ipv4/route.c | *start=buffer+(offset-begin); |
offset | 545 | net/ipv4/route.c | len-=(offset-begin); |
offset | 2023 | net/ipv4/tcp.c | u32 offset; |
offset | 2045 | net/ipv4/tcp.c | offset = *seq - skb->h.th->seq; |
offset | 2047 | net/ipv4/tcp.c | offset--; |
offset | 2048 | net/ipv4/tcp.c | if (offset < skb->len) |
offset | 2119 | net/ipv4/tcp.c | used = skb->len - offset; |
offset | 2136 | net/ipv4/tcp.c | offset++; |
offset | 2159 | net/ipv4/tcp.c | skb->h.th->doff*4 + offset, used); |
offset | 2174 | net/ipv4/tcp.c | if (used + offset < skb->len) |
offset | 188 | net/ipv4/udp.c | static void udp_getfrag(void *p, int saddr, char * to, unsigned int offset, unsigned int fraglen) |
offset | 194 | net/ipv4/udp.c | if (offset) |
offset | 197 | net/ipv4/udp.c | src = ufh->from+(offset-sizeof(struct udphdr)); |
offset | 207 | net/ipv4/udp.c | if (offset == 0) |
offset | 227 | net/ipv4/udp.c | static void udp_getfrag_nosum(void *p, int saddr, char * to, unsigned int offset, unsigned int fraglen) |
offset | 233 | net/ipv4/udp.c | if (offset) |
offset | 236 | net/ipv4/udp.c | src = ufh->from+(offset-sizeof(struct udphdr)); |
offset | 246 | net/ipv4/udp.c | if (offset == 0) |
offset | 1121 | net/ipx/af_ipx.c | ipx_get_interface_info(char *buffer, char **start, off_t offset, int length) |
offset | 1146 | net/ipx/af_ipx.c | if(pos<offset) { |
offset | 1150 | net/ipx/af_ipx.c | if(pos>offset+length) /* We have dumped enough */ |
offset | 1155 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 1156 | net/ipx/af_ipx.c | len-=(offset-begin); /* Remove unwanted header data from length */ |
offset | 1164 | net/ipx/af_ipx.c | ipx_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 1201 | net/ipx/af_ipx.c | if(pos<offset) |
offset | 1206 | net/ipx/af_ipx.c | if(pos>offset+length) /* We have dumped enough */ |
offset | 1212 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); /* Start of wanted data */ |
offset | 1213 | net/ipx/af_ipx.c | len-=(offset-begin); /* Remove unwanted header data from length */ |
offset | 1220 | net/ipx/af_ipx.c | int ipx_rt_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 1243 | net/ipx/af_ipx.c | if(pos<offset) |
offset | 1248 | net/ipx/af_ipx.c | if(pos>offset+length) |
offset | 1251 | net/ipx/af_ipx.c | *start=buffer+(offset-begin); |
offset | 1252 | net/ipx/af_ipx.c | len-=(offset-begin); |
offset | 1254 | net/netrom/af_netrom.c | int nr_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 1287 | net/netrom/af_netrom.c | if (pos < offset) { |
offset | 1292 | net/netrom/af_netrom.c | if (pos > offset + length) |
offset | 1298 | net/netrom/af_netrom.c | *start = buffer + (offset - begin); |
offset | 1299 | net/netrom/af_netrom.c | len -= (offset - begin); |
offset | 684 | net/netrom/nr_route.c | int nr_nodes_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 714 | net/netrom/nr_route.c | if (pos < offset) { |
offset | 719 | net/netrom/nr_route.c | if (pos > offset + length) |
offset | 725 | net/netrom/nr_route.c | *start = buffer + (offset - begin); |
offset | 726 | net/netrom/nr_route.c | len -= (offset - begin); |
offset | 733 | net/netrom/nr_route.c | int nr_neigh_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 755 | net/netrom/nr_route.c | if (pos < offset) { |
offset | 760 | net/netrom/nr_route.c | if (pos > offset + length) |
offset | 766 | net/netrom/nr_route.c | *start = buffer + (offset - begin); |
offset | 767 | net/netrom/nr_route.c | len -= (offset - begin); |
offset | 68 | net/socket.c | static int sock_lseek(struct inode *inode, struct file *file, off_t offset, |
offset | 307 | net/socket.c | static int sock_lseek(struct inode *inode, struct file *file, off_t offset, int whence) |
offset | 1305 | net/socket.c | int socket_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 1308 | net/socket.c | if (offset >= len) |
offset | 1313 | net/socket.c | *start = buffer + offset; |
offset | 1314 | net/socket.c | len -= offset; |
offset | 39 | net/unix/proc.c | int unix_get_info(char *buffer, char **start, off_t offset, int length) |
offset | 83 | net/unix/proc.c | if(pos<offset) |
offset | 88 | net/unix/proc.c | if(pos>offset+length) |
offset | 95 | net/unix/proc.c | *start=buffer+(offset-begin); |
offset | 96 | net/unix/proc.c | len-=(offset-begin); |