taglinefilesource code
offset47drivers/FPU-emu/get_address.clong offset;
offset58drivers/FPU-emu/get_address.coffset = 0;              /* No base register */
offset60drivers/FPU-emu/get_address.coffset = REG_(base);
offset71drivers/FPU-emu/get_address.coffset += (REG_(index)) << ss;
offset78drivers/FPU-emu/get_address.coffset += (signed char) get_fs_byte((char *) FPU_EIP);
offset86drivers/FPU-emu/get_address.coffset += (signed) get_fs_long((unsigned long *) FPU_EIP);
offset91drivers/FPU-emu/get_address.creturn (void *) offset;
offset116drivers/FPU-emu/get_address.cint offset = 0;     /* Initialized just to stop compiler warnings. */
offset139drivers/FPU-emu/get_address.coffset = get_fs_long((unsigned long *) FPU_EIP);
offset142drivers/FPU-emu/get_address.cFPU_data_address = (void *) offset;
offset154drivers/FPU-emu/get_address.coffset = (signed char) get_fs_byte((char *) FPU_EIP);
offset161drivers/FPU-emu/get_address.coffset = (signed) get_fs_long((unsigned long *) FPU_EIP);
offset170drivers/FPU-emu/get_address.cFPU_data_address = offset + (char *)*cpu_reg_ptr;
offset133drivers/block/xd.cif (!memcmp(xd_bases[i] + xd_sigs[j].offset,xd_sigs[j].string,strlen(xd_sigs[j].string))) {
offset312drivers/char/console.cstatic inline void __set_origin(unsigned short offset)
offset319drivers/char/console.c__origin = offset;
offset321drivers/char/console.coutb_p(offset >> 8, video_port_val);
offset323drivers/char/console.coutb_p(offset, video_port_val);
offset274drivers/char/lp.coff_t offset, int origin)
offset432drivers/char/lp.cint offset = 0;
offset441drivers/char/lp.cfor (offset = 0; offset < LP_NO; offset++) {
offset443drivers/char/lp.coutb_p( LP_DUMMY, LP_B(offset));
offset446drivers/char/lp.ctestvalue = inb_p(LP_B(offset));
offset448drivers/char/lp.cLP_F(offset) |= LP_EXIST;
offset449drivers/char/lp.clp_reset(offset);
offset450drivers/char/lp.cprintk("lp_init: lp%d exists (%d), ", offset, testvalue);
offset451drivers/char/lp.cif (LP_IRQ(offset))
offset452drivers/char/lp.cprintk("using IRQ%d\n", LP_IRQ(offset));
offset222drivers/char/mem.cstatic int null_lseek(struct inode * inode, struct file * file, off_t offset, int orig)
offset234drivers/char/mem.cstatic int memory_lseek(struct inode * inode, struct file * file, off_t offset, int orig)
offset238drivers/char/mem.cfile->f_pos = offset;
offset241drivers/char/mem.cfile->f_pos += offset;
offset213drivers/char/serial.cstatic inline unsigned int serial_in(struct async_struct *info, int offset)
offset216drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
offset219drivers/char/serial.creturn inb(info->port + offset);
offset222drivers/char/serial.cstatic inline unsigned int serial_inp(struct async_struct *info, int offset)
offset225drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
offset228drivers/char/serial.creturn inb_p(info->port + offset);
offset231drivers/char/serial.cstatic inline void serial_out(struct async_struct *info, int offset, int value)
offset234drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
offset237drivers/char/serial.coutb(value, info->port+offset);
offset240drivers/char/serial.cstatic inline void serial_outp(struct async_struct *info, int offset,
offset244drivers/char/serial.coutb(info->hub6 - 1 + offset, info->port);
offset247drivers/char/serial.coutb_p(value, info->port+offset);
offset1772drivers/char/tpqic02.cstatic int tape_qic02_lseek(struct inode * inode, struct file * file, off_t offset, int origin)
offset206drivers/char/tty_io.cstatic int tty_lseek(struct inode * inode, struct file * file, off_t offset, int orig)
offset93drivers/net/atp.hextern inline unsigned char read_nibble(short port, unsigned char offset)
offset96drivers/net/atp.houtb(EOC+offset, port + PAR_DATA);
offset97drivers/net/atp.houtb(RdAddr+offset, port + PAR_DATA);
offset100drivers/net/atp.houtb(EOC+offset, port + PAR_DATA);
offset261drivers/net/atp.h#define EE_WRITE_CMD(offset)  (((5 << 6) + (offset)) << 17)
offset262drivers/net/atp.h#define EE_READ(offset)   (((6 << 6) + (offset)) << 17)
offset263drivers/net/atp.h#define EE_ERASE(offset)  (((7 << 6) + (offset)) << 17)
offset132drivers/net/ne.cstruct {unsigned char value, offset; } program_seq[] = {
offset148drivers/net/ne.coutb_p(program_seq[i].value, ioaddr + program_seq[i].offset);
offset1521drivers/scsi/scsi.cint offset;
offset1528drivers/scsi/scsi.coffset = ((int) obj) - ((int) dma_malloc_buffer);
offset1530drivers/scsi/scsi.cif (offset < 0) panic("Bad offset");
offset1531drivers/scsi/scsi.cpage = offset >> 13;
offset1532drivers/scsi/scsi.csector = offset >> 9;
offset1535drivers/scsi/scsi.csector = (offset >> 9) & 15;
offset151drivers/scsi/seagate.cunsigned offset;
offset331drivers/scsi/seagate.csignatures[j].offset), (void *) signatures[j].signature,
offset131drivers/scsi/sr.cint offset;
offset132drivers/scsi/sr.coffset = (SCpnt->request.sector % 4) << 9;
offset134drivers/scsi/sr.c(char *)SCpnt->buffer + offset, 
offset140drivers/scsi/sr.cif((offset == 0) && this_count == 2 &&
offset236drivers/scsi/st.cint offset, transfer, blks;
offset261drivers/scsi/st.coffset = (STp->buffer)->buffer_bytes;
offset262drivers/scsi/st.ctransfer = ((offset + STp->block_size - 1) /
offset267drivers/scsi/st.cmemset((STp->buffer)->b_data + offset, 0, transfer - offset);
offset146drivers/scsi/t128.cint offset;
offset214drivers/scsi/t128.c(bases[current_base].address + signatures[sig].offset, 
offset514drivers/scsi/wd7000.cunsigned offset;
offset534drivers/scsi/wd7000.cif(!memcmp((void *)(wd_bases[i] + signatures[j].offset),
offset340drivers/sound/audio.caudio_lseek (int dev, struct fileinfo *file, off_t offset, int orig)
offset1133drivers/sound/sequencer.csequencer_lseek (int dev, struct fileinfo *file, off_t offset, int orig)
offset31drivers/sound/sound_calls.hint audio_lseek (int dev, struct fileinfo *file, off_t offset, int orig);
offset44drivers/sound/sound_calls.hint sequencer_lseek (int dev, struct fileinfo *file, off_t offset, int orig);
offset64drivers/sound/sound_calls.hint MIDIbuf_lseek (int dev, struct fileinfo *file, off_t offset, int orig);
offset82drivers/sound/soundcard.csound_lseek (struct inode *inode, struct file *file, off_t offset, int orig)
offset21fs/block_dev.cint offset;
offset42fs/block_dev.coffset = filp->f_pos & (blocksize-1);
offset51fs/block_dev.cchars = blocksize - offset;
offset61fs/block_dev.cp = offset + bh->b_data;
offset62fs/block_dev.coffset = 0;
offset81fs/block_dev.cunsigned int offset;
offset106fs/block_dev.coffset = filp->f_pos;
offset112fs/block_dev.cif (offset > size)
offset115fs/block_dev.cleft = size - offset;
offset121fs/block_dev.cblock = offset >> blocksize_bits;
offset122fs/block_dev.coffset &= blocksize-1;
offset124fs/block_dev.cblocks = (left + offset + blocksize - 1) >> blocksize_bits;
offset179fs/block_dev.cif (left < blocksize - offset)
offset182fs/block_dev.cchars = blocksize - offset;
offset187fs/block_dev.cmemcpy_tofs(buf,offset+(*bhe)->b_data,chars);
offset194fs/block_dev.coffset = 0;
offset655fs/buffer.cunsigned long offset;
offset658fs/buffer.coffset = PAGE_SIZE;
offset659fs/buffer.cwhile ((offset -= size) < PAGE_SIZE) {
offset665fs/buffer.cbh->b_data = (char *) (page+offset);
offset706fs/buffer.cunsigned long offset;
offset718fs/buffer.cfor (offset = size ; offset < PAGE_SIZE ; offset += size) {
offset726fs/buffer.cif (page+offset != (unsigned long) first->b_data)
offset746fs/buffer.cunsigned long offset;
offset754fs/buffer.cfor (offset = 0 ; offset < PAGE_SIZE ; offset += size) {
offset101fs/exec.c#define DUMP_SEEK(offset) \
offset103fs/exec.cif (file.f_op->lseek(inode,&file,(offset),0) != (offset)) \
offset105fs/exec.c} else file.f_pos = (offset)    
offset345fs/exec.cint len, offset = 0;
offset371fs/exec.cif (--offset < 0) {
offset372fs/exec.coffset = p % PAGE_SIZE;
offset383fs/exec.c*(pag + offset) = get_fs_byte(tmp);
offset416fs/exec.cint read_exec(struct inode *inode, unsigned long offset,
offset437fs/exec.cif (file.f_op->lseek(inode,&file,offset,0) != offset)
offset440fs/exec.cfile.f_pos = offset;
offset67fs/ext/dir.cunsigned int offset,i;
offset77fs/ext/dir.coffset = filp->f_pos & 1023;
offset80fs/ext/dir.cfilp->f_pos += 1024-offset;
offset83fs/ext/dir.cde = (struct ext_dir_entry *) (offset + bh->b_data);
offset84fs/ext/dir.cwhile (offset < 1024 && filp->f_pos < inode->i_size) {
offset90fs/ext/dir.cinode->i_dev, inode->i_ino, offset, de->rec_len, de->name_len);
offset91fs/ext/dir.cfilp->f_pos += 1024-offset;
offset96fs/ext/dir.coffset += de->rec_len;
offset75fs/ext/file.cint block, blocks, offset;
offset90fs/ext/file.coffset = filp->f_pos;
offset92fs/ext/file.cif (offset > size)
offset95fs/ext/file.cleft = size - offset;
offset101fs/ext/file.cblock = offset >> BLOCK_SIZE_BITS;
offset102fs/ext/file.coffset &= BLOCK_SIZE-1;
offset104fs/ext/file.cblocks = (left + offset + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS;
offset159fs/ext/file.cif (left < BLOCK_SIZE - offset)
offset162fs/ext/file.cchars = BLOCK_SIZE - offset;
offset167fs/ext/file.cmemcpy_tofs(buf,offset+(*bhe)->b_data,chars);
offset174fs/ext/file.coffset = 0;
offset91fs/ext/namei.clong offset;
offset112fs/ext/namei.coffset = 0;
offset114fs/ext/namei.cwhile (offset < dir->i_size) {
offset118fs/ext/namei.cbh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,0);
offset130fs/ext/namei.cdir->i_dev, dir->i_ino, offset, de->rec_len, de->name_len);
offset132fs/ext/namei.coffset = ((offset / BLOCK_SIZE) + 1) * BLOCK_SIZE;
offset140fs/ext/namei.cif (offset + de->rec_len < dir->i_size &&
offset148fs/ext/namei.coffset += de->rec_len;
offset199fs/ext/namei.clong offset;
offset220fs/ext/namei.coffset = 0;
offset223fs/ext/namei.cif ((char *)de >= BLOCK_SIZE+bh->b_data && offset < dir->i_size) {
offset229fs/ext/namei.cbh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,0);
offset234fs/ext/namei.cif (offset >= dir->i_size) {
offset236fs/ext/namei.cif (offset % BLOCK_SIZE == 0  ||
offset237fs/ext/namei.c(BLOCK_SIZE - (offset % BLOCK_SIZE)) < rec_len) {
offset238fs/ext/namei.cif ((offset % BLOCK_SIZE) != 0) {
offset244fs/ext/namei.c- (offset & (BLOCK_SIZE - 1));
offset246fs/ext/namei.coffset += de->rec_len;
offset259fs/ext/namei.cbh = ext_bread(dir,offset>>BLOCK_SIZE_BITS,1);
offset278fs/ext/namei.cdir->i_dev, dir->i_ino, offset, de->rec_len, de->name_len);
offset303fs/ext/namei.coffset += de->rec_len;
offset476fs/ext/namei.cunsigned long offset;
offset491fs/ext/namei.coffset = de->rec_len + de1->rec_len;
offset493fs/ext/namei.cwhile (offset < inode->i_size ) {
offset496fs/ext/namei.cbh = ext_bread(inode, offset >> BLOCK_SIZE_BITS,1);
offset498fs/ext/namei.coffset += BLOCK_SIZE;
offset507fs/ext/namei.cinode->i_dev, inode->i_ino, offset, de->rec_len, de->name_len);
offset515fs/ext/namei.coffset += de->rec_len;
offset63fs/ext/truncate.cstatic int trunc_indirect(struct inode * inode, int offset, unsigned long * p)
offset70fs/ext/truncate.c#define INDIRECT_BLOCK (DIRECT_BLOCK-offset)
offset126fs/ext/truncate.cstatic int trunc_dindirect(struct inode * inode, int offset, unsigned long * p)
offset132fs/ext/truncate.c#define DINDIRECT_BLOCK ((DIRECT_BLOCK-offset)>>8)
offset156fs/ext/truncate.cretry |= trunc_indirect(inode,offset+(i<<8),dind);
offset72fs/ext2/balloc.cint offset)
offset74fs/ext2/balloc.cunsigned long * p = ((unsigned long *) addr) + (offset >> 5);
offset75fs/ext2/balloc.cint set = 0, bit = offset & 31, res;
offset89fs/ext2/balloc.creturn set + offset;
offset97fs/ext2/balloc.creturn (offset + set + res);
offset78fs/ext2/dir.cunsigned long offset)
offset95fs/ext2/dir.cerror_msg, offset, de->inode, de->rec_len,
offset103fs/ext2/dir.cunsigned long offset, blk;
offset114fs/ext2/dir.coffset = filp->f_pos & (sb->s_blocksize - 1);
offset118fs/ext2/dir.cfilp->f_pos += sb->s_blocksize - offset;
offset125fs/ext2/dir.cif (!offset) {
offset141fs/ext2/dir.cde = (struct ext2_dir_entry *) (offset + bh->b_data);
offset142fs/ext2/dir.cwhile (offset < sb->s_blocksize && filp->f_pos < inode->i_size) {
offset144fs/ext2/dir.cbh, offset)) {
offset148fs/ext2/dir.coffset += de->rec_len;
offset86fs/ext2/file.cint block, blocks, offset;
offset105fs/ext2/file.coffset = filp->f_pos;
offset107fs/ext2/file.cif (offset > size)
offset110fs/ext2/file.cleft = size - offset;
offset116fs/ext2/file.cblock = offset >> EXT2_BLOCK_SIZE_BITS(sb);
offset117fs/ext2/file.coffset &= (sb->s_blocksize - 1);
offset119fs/ext2/file.cblocks = (left + offset + sb->s_blocksize - 1) >> EXT2_BLOCK_SIZE_BITS(sb);
offset185fs/ext2/file.cif (left < sb->s_blocksize - offset)
offset188fs/ext2/file.cchars = sb->s_blocksize - offset;
offset193fs/ext2/file.cmemcpy_tofs (buf, offset + (*bhe)->b_data,
offset201fs/ext2/file.coffset = 0;
offset82fs/ext2/namei.cunsigned long offset;
offset112fs/ext2/namei.coffset = 0;
offset113fs/ext2/namei.cwhile (offset < dir->i_size) {
offset138fs/ext2/namei.cde, bh, offset))
offset148fs/ext2/namei.coffset += de->rec_len;
offset223fs/ext2/namei.cunsigned long offset;
offset255fs/ext2/namei.coffset = 0;
offset262fs/ext2/namei.cbh = ext2_bread (dir, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, err);
offset265fs/ext2/namei.cif (dir->i_size <= offset) {
offset276fs/ext2/namei.cdir->i_size = offset + sb->s_blocksize;
offset289fs/ext2/namei.coffset)) {
offset301fs/ext2/namei.coffset += de->rec_len;
offset331fs/ext2/namei.coffset += de->rec_len;
offset571fs/ext2/namei.cunsigned long offset;
offset592fs/ext2/namei.coffset = de->rec_len + de1->rec_len;
offset594fs/ext2/namei.cwhile (offset < inode->i_size ) {
offset597fs/ext2/namei.cbh = ext2_bread (inode, offset >> EXT2_BLOCK_SIZE_BITS(sb), 1, &err);
offset599fs/ext2/namei.coffset += sb->s_blocksize;
offset605fs/ext2/namei.coffset)) {
offset613fs/ext2/namei.coffset += de->rec_len;
offset405fs/ext2/super.cunsigned long offset;
offset410fs/ext2/super.coffset = sb_block % sb->s_blocksize;
offset414fs/ext2/super.ces = (struct ext2_super_block *) (((char *)bh->b_data) + offset);
offset104fs/ext2/truncate.cstatic int trunc_indirect (struct inode * inode, int offset, unsigned long * p)
offset115fs/ext2/truncate.c#define INDIRECT_BLOCK ((int)DIRECT_BLOCK - offset)
offset201fs/ext2/truncate.cstatic int trunc_dindirect (struct inode * inode, int offset,
offset210fs/ext2/truncate.c#define DINDIRECT_BLOCK (((int)DIRECT_BLOCK - offset) / addr_per_block)
offset235fs/ext2/truncate.cretry |= trunc_indirect (inode, offset + (i * addr_per_block),
offset69fs/isofs/dir.cunsigned int block,offset,i, j;
offset82fs/isofs/dir.coffset = filp->f_pos & (bufsize - 1);
offset90fs/isofs/dir.cblock, offset, filp->f_pos);
offset92fs/isofs/dir.cde = (struct iso_directory_record *) (bh->b_data + offset);
offset93fs/isofs/dir.cinode_number = (block << bufbits) + (offset & (bufsize - 1));
offset101fs/isofs/dir.coffset = 0;
offset116fs/isofs/dir.cold_offset = offset;
offset117fs/isofs/dir.coffset += *((unsigned char *) de);
offset120fs/isofs/dir.cif (offset >=  bufsize) {
offset126fs/isofs/dir.coffset = filp->f_pos & (bufsize - 1);
offset117fs/isofs/file.cint block, blocks, offset;
offset144fs/isofs/file.coffset = filp->f_pos & (ISOFS_BUFFER_SIZE(inode)-1);
offset145fs/isofs/file.cblocks = (left + offset + ISOFS_BUFFER_SIZE(inode) - 1) / ISOFS_BUFFER_SIZE(inode);
offset227fs/isofs/file.cif (left < ISOFS_BUFFER_SIZE(inode) - offset)
offset230fs/isofs/file.cchars = ISOFS_BUFFER_SIZE(inode) - offset;
offset237fs/isofs/file.cunixify_text_buffer(offset+(*bhe)->b_data,
offset239fs/isofs/file.cmemcpy_tofs(buf,offset+(*bhe)->b_data,chars);
offset246fs/isofs/file.coffset = 0;
offset525fs/isofs/inode.cunsigned int block,offset;
offset533fs/isofs/inode.coffset = 0;
offset538fs/isofs/inode.cde = (struct iso_directory_record *) (bh->b_data + offset);
offset545fs/isofs/inode.coffset += *((unsigned char *) de);
offset547fs/isofs/inode.cif (offset >= bufsize) 
offset571fs/isofs/inode.coffset = 0;
offset578fs/isofs/inode.cde = (struct iso_directory_record *) (bh->b_data + offset);
offset579fs/isofs/inode.cinode_number = (block << bufbits)+(offset & (bufsize - 1));
offset588fs/isofs/inode.coffset = 0;
offset601fs/isofs/inode.cold_offset = offset;
offset602fs/isofs/inode.coffset += *((unsigned char *) de);
offset604fs/isofs/inode.cif (offset >= bufsize)
offset612fs/isofs/inode.coffset -= bufsize;
offset70fs/isofs/namei.cunsigned int block, i, f_pos, offset, inode_number;
offset87fs/isofs/namei.coffset = f_pos & (bufsize - 1);
offset93fs/isofs/namei.cde = (struct iso_directory_record *) (bh->b_data + offset);
offset95fs/isofs/namei.cinode_number = (block << bufbits) + (offset & (bufsize - 1));
offset102fs/isofs/namei.coffset = 0;
offset111fs/isofs/namei.cold_offset = offset;
offset112fs/isofs/namei.coffset += *((unsigned char *) de);
offset117fs/isofs/namei.cif (offset >= bufsize) {
offset123fs/isofs/namei.coffset = f_pos & (bufsize - 1);
offset44fs/isofs/rock.ccont_offset = isonum_733(rr->u.CE.offset); \
offset56fs/isofs/rock.cint block, offset; \
offset60fs/isofs/rock.coffset = cont_offset; \
offset63fs/isofs/rock.cif (offset >= 1024) block++; \
offset64fs/isofs/rock.coffset &= 1023; \
offset13fs/isofs/rock.hchar offset[8];
offset60fs/minix/dir.cunsigned int offset,i;
offset72fs/minix/dir.coffset = filp->f_pos & 1023;
offset75fs/minix/dir.cfilp->f_pos += 1024-offset;
offset78fs/minix/dir.cwhile (offset < 1024 && filp->f_pos < inode->i_size) {
offset79fs/minix/dir.cde = (struct minix_dir_entry *) (offset + bh->b_data);
offset80fs/minix/dir.coffset += info->s_dirsize;
offset69fs/minix/file.cint block, blocks, offset;
offset84fs/minix/file.coffset = filp->f_pos;
offset86fs/minix/file.cif (offset > size)
offset89fs/minix/file.cleft = size - offset;
offset95fs/minix/file.cblock = offset >> BLOCK_SIZE_BITS;
offset96fs/minix/file.coffset &= BLOCK_SIZE-1;
offset98fs/minix/file.cblocks = (left + offset + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS;
offset153fs/minix/file.cif (left < BLOCK_SIZE - offset)
offset156fs/minix/file.cchars = BLOCK_SIZE - offset;
offset161fs/minix/file.cmemcpy_tofs(buf,offset+(*bhe)->b_data,chars);
offset168fs/minix/file.coffset = 0;
offset45fs/minix/namei.cstruct buffer_head * bh, unsigned long * offset,
offset50fs/minix/namei.cde = (struct minix_dir_entry *) (bh->b_data + *offset);
offset51fs/minix/namei.c*offset += info->s_dirsize;
offset71fs/minix/namei.cunsigned long block, offset;
offset87fs/minix/namei.cblock = offset = 0;
offset88fs/minix/namei.cwhile (block*BLOCK_SIZE+offset < dir->i_size) {
offset96fs/minix/namei.c*res_dir = (struct minix_dir_entry *) (bh->b_data + offset);
offset97fs/minix/namei.cif (minix_match(namelen,name,bh,&offset,info))
offset99fs/minix/namei.cif (offset < bh->b_size)
offset103fs/minix/namei.coffset = 0;
offset155fs/minix/namei.cunsigned long block, offset;
offset175fs/minix/namei.cblock = offset = 0;
offset182fs/minix/namei.cde = (struct minix_dir_entry *) (bh->b_data + offset);
offset183fs/minix/namei.coffset += info->s_dirsize;
offset184fs/minix/namei.cif (block*bh->b_size + offset > dir->i_size) {
offset186fs/minix/namei.cdir->i_size = block*bh->b_size + offset;
offset202fs/minix/namei.cif (offset < bh->b_size)
offset206fs/minix/namei.coffset = 0;
offset378fs/minix/namei.cunsigned int block, offset;
offset388fs/minix/namei.coffset = 2*info->s_dirsize;
offset391fs/minix/namei.cif (inode->i_size < offset)
offset402fs/minix/namei.cwhile (block*BLOCK_SIZE+offset < inode->i_size) {
offset410fs/minix/namei.cde = (struct minix_dir_entry *) (bh->b_data + offset);
offset411fs/minix/namei.coffset += info->s_dirsize;
offset416fs/minix/namei.cif (offset < bh->b_size)
offset420fs/minix/namei.coffset = 0;
offset57fs/minix/truncate.cstatic int trunc_indirect(struct inode * inode, int offset, unsigned short * p)
offset64fs/minix/truncate.c#define INDIRECT_BLOCK (DIRECT_BLOCK-offset)
offset241fs/msdos/fat.cint cluster,offset;
offset250fs/msdos/fat.coffset = sector % sb->cluster_size;
offset252fs/msdos/fat.creturn (cluster-2)*sb->cluster_size+sb->data_start+offset;
offset84fs/msdos/file.cint left,offset,size,sector,cnt;
offset103fs/msdos/file.coffset = filp->f_pos & (SECTOR_SIZE-1);
offset105fs/msdos/file.cfilp->f_pos += (size = MIN(SECTOR_SIZE-offset,left));
offset107fs/msdos/file.cmemcpy_tofs(buf,data+offset,size);
offset111fs/msdos/file.cif ((ch = *((char *) data+offset++)) == '\r')
offset138fs/msdos/file.cint sector,offset,size,left,written;
offset166fs/msdos/file.coffset = filp->f_pos & (SECTOR_SIZE-1);
offset167fs/msdos/file.csize = MIN(SECTOR_SIZE-offset,MAX(carry,count));
offset178fs/msdos/file.cwritten = left = SECTOR_SIZE-offset;
offset290fs/msdos/inode.cint cluster,offset;
offset299fs/msdos/inode.coffset = (block*2) % sb->cluster_size;
offset301fs/msdos/inode.creturn ((cluster-2)*sb->cluster_size+sb->data_start+offset) >> 1;
offset270fs/msdos/misc.cint sector,offset;
offset274fs/msdos/misc.coffset = *pos;
offset275fs/msdos/misc.cif ((sector = msdos_smap(dir,offset >> SECTOR_BITS)) == -1)
offset286fs/msdos/misc.c*de = (struct msdos_dir_entry *) (data+(offset &
offset288fs/msdos/misc.creturn (sector << MSDOS_DPS_BITS)+((offset & (SECTOR_SIZE-1)) >>
offset310fs/nfs/proc.cint offset, int count, char *data, struct nfs_fattr *fattr)
offset316fs/nfs/proc.cPRINTK("NFS call  read %d @ %d\n", count, offset);
offset321fs/nfs/proc.c*p++ = htonl(offset);
offset346fs/nfs/proc.cint offset, int count, char *data, struct nfs_fattr *fattr)
offset351fs/nfs/proc.cPRINTK("NFS call  write %d @ %d\n", count, offset);
offset356fs/nfs/proc.c*p++ = htonl(offset); /* traditional, could be any value */
offset357fs/nfs/proc.c*p++ = htonl(offset);
offset118fs/pipe.cstatic int pipe_lseek(struct inode * inode, struct file * file, off_t offset, int orig)
offset127fs/proc/mem.cstatic int mem_lseek(struct inode * inode, struct file * file, off_t offset, int orig)
offset131fs/proc/mem.cfile->f_pos = offset;
offset134fs/proc/mem.cfile->f_pos += offset;
offset37fs/read_write.casmlinkage int sys_lseek(unsigned int fd, off_t offset, unsigned int origin)
offset47fs/read_write.creturn file->f_op->lseek(file->f_inode,file,offset,origin);
offset52fs/read_write.ctmp = offset;
offset55fs/read_write.ctmp = file->f_pos + offset;
offset60fs/read_write.ctmp = file->f_inode->i_size + offset;
offset68fs/sysv/dir.cunsigned int offset,i;
offset79fs/sysv/dir.coffset = filp->f_pos & sb->sv_block_size_1;
offset82fs/sysv/dir.cfilp->f_pos += sb->sv_block_size - offset;
offset85fs/sysv/dir.cwhile (offset < sb->sv_block_size && filp->f_pos < inode->i_size) {
offset86fs/sysv/dir.cde = (struct sysv_dir_entry *) (offset + bh_data);
offset87fs/sysv/dir.coffset += SYSV_DIRSIZE;
offset114fs/sysv/file.cint blocks, offset;
offset129fs/sysv/file.coffset = filp->f_pos;
offset131fs/sysv/file.cif (offset > size)
offset134fs/sysv/file.cleft = size - offset;
offset140fs/sysv/file.cblock = offset >> sb->sv_block_size_bits;
offset141fs/sysv/file.coffset &= sb->sv_block_size_1;
offset143fs/sysv/file.cblocks = (left + offset + sb->sv_block_size_1) >> sb->sv_block_size_bits;
offset207fs/sysv/file.cif (left < sb->sv_block_size - offset)
offset210fs/sysv/file.cchars = sb->sv_block_size - offset;
offset215fs/sysv/file.cmemcpy_tofs(buf,offset+bhe->bh_data,chars);
offset222fs/sysv/file.coffset = 0;
offset69fs/sysv/namei.cunsigned long pos, block, offset; /* pos = block * block_size + offset */
offset83fs/sysv/namei.cpos = block = offset = 0;
offset94fs/sysv/namei.c*res_dir = (struct sysv_dir_entry *) (bh_data + offset) ))
offset97fs/sysv/namei.coffset += SYSV_DIRSIZE;
offset98fs/sysv/namei.cif (offset < sb->sv_block_size)
offset102fs/sysv/namei.coffset = 0; block++;
offset154fs/sysv/namei.cunsigned long pos, block, offset; /* pos = block * block_size + offset */
offset172fs/sysv/namei.cpos = block = offset = 0;
offset179fs/sysv/namei.cde = (struct sysv_dir_entry *) (bh_data + offset);
offset181fs/sysv/namei.coffset += SYSV_DIRSIZE;
offset200fs/sysv/namei.cif (offset < sb->sv_block_size)
offset204fs/sysv/namei.coffset = 0; block++;
offset381fs/sysv/namei.cunsigned long pos, block, offset; /* pos = block * block_size + offset */
offset390fs/sysv/namei.cpos = offset = 2*SYSV_DIRSIZE;
offset414fs/sysv/namei.cde = (struct sysv_dir_entry *) (bh_data + offset);
offset416fs/sysv/namei.coffset += SYSV_DIRSIZE;
offset421fs/sysv/namei.cif (offset < sb->sv_block_size)
offset425fs/sysv/namei.coffset = 0; block++;
offset291fs/sysv/truncate.cstatic int trunc_indirect(struct inode * inode, unsigned long offset, unsigned long * p, int convert, unsigned char * dirt)
offset319fs/sysv/truncate.cif (inode->i_size < offset)
offset322fs/sysv/truncate.ci = (inode->i_size - offset + BLOCK_SIZE-1) / BLOCK_SIZE;
offset331fs/sysv/truncate.cif (i*BLOCK_SIZE + offset < inode->i_size) {
offset360fs/sysv/truncate.cstatic int trunc_dindirect(struct inode * inode, unsigned long offset, unsigned long * p, int convert, unsigned char * dirt)
offset386fs/sysv/truncate.cif (inode->i_size < offset)
offset389fs/sysv/truncate.ci = (inode->i_size - offset + IND_PER_BLOCK*BLOCK_SIZE-1) / (IND_PER_BLOCK*BLOCK_SIZE);
offset397fs/sysv/truncate.cretry |= trunc_indirect(inode,offset+i*IND_PER_BLOCK,ind,sb->sv_convert,&indbh->b_dirt);
offset414fs/sysv/truncate.cstatic int trunc_tindirect(struct inode * inode, unsigned long offset, unsigned long * p, int convert, unsigned char * dirt)
offset440fs/sysv/truncate.cif (inode->i_size < offset)
offset443fs/sysv/truncate.ci = (inode->i_size - offset + IND_PER_BLOCK*IND_PER_BLOCK*BLOCK_SIZE-1) / (IND_PER_BLOCK*IND_PER_BLOCK*BLOCK_SIZE);
offset451fs/sysv/truncate.cretry |= trunc_dindirect(inode,offset+i*IND_PER_BLOCK*IND_PER_BLOCK,ind,sb->sv_convert,&indbh->b_dirt);
offset224fs/xiafs/bitmap.cunsigned int bit, offset;
offset243fs/xiafs/bitmap.coffset = bit & (XIAFS_BITS_PER_Z(sb) -1);
offset244fs/xiafs/bitmap.cif (clear_bit(offset, bh->b_data))
offset68fs/xiafs/dir.cu_int offset, i;
offset77fs/xiafs/dir.coffset = filp->f_pos & (XIAFS_ZSIZE(inode->i_sb) - 1);
offset80fs/xiafs/dir.cfilp->f_pos += XIAFS_ZSIZE(inode->i_sb)-offset;
offset83fs/xiafs/dir.cde = (struct xiafs_direct *) (offset + bh->b_data);
offset84fs/xiafs/dir.cwhile (offset < XIAFS_ZSIZE(inode->i_sb) && filp->f_pos < inode->i_size) {
offset95fs/xiafs/dir.coffset += de->d_rec_len;
offset110fs/xiafs/dir.cde = (struct xiafs_direct *) (offset + bh->b_data);
offset113fs/xiafs/dir.cif (offset > XIAFS_ZSIZE(inode->i_sb)) {
offset73fs/xiafs/file.cint zone_nr, zones, f_zones, offset;
offset87fs/xiafs/file.coffset = filp->f_pos;
offset88fs/xiafs/file.cleft = inode->i_size - offset;
offset94fs/xiafs/file.czone_nr = offset >> XIAFS_ZSIZE_BITS(inode->i_sb);
offset95fs/xiafs/file.coffset &= XIAFS_ZSIZE(inode->i_sb) -1 ;
offset97fs/xiafs/file.czones = (left+offset+XIAFS_ZSIZE(inode->i_sb)-1) >> XIAFS_ZSIZE_BITS(inode->i_sb);
offset151fs/xiafs/file.cif (left < XIAFS_ZSIZE(inode->i_sb) - offset)
offset154fs/xiafs/file.cchars = XIAFS_ZSIZE(inode->i_sb) - offset;
offset159fs/xiafs/file.cmemcpy_tofs(buf,offset+(*bhe)->b_data,chars);
offset166fs/xiafs/file.coffset = 0;
offset157fs/xiafs/namei.cint i, pos, offset;
offset182fs/xiafs/namei.coffset = 12;
offset185fs/xiafs/namei.coffset = 0;
offset186fs/xiafs/namei.cwhile (offset < XIAFS_ZSIZE(dir->i_sb)) {
offset230fs/xiafs/namei.coffset+=de->d_rec_len;
offset232fs/xiafs/namei.cde=(struct xiafs_direct *)(bh->b_data+offset);
offset235fs/xiafs/namei.cif (offset > XIAFS_ZSIZE(dir->i_sb)) {
offset406fs/xiafs/namei.cint i, zones, offset;
offset436fs/xiafs/namei.coffset=de->d_rec_len+12;
offset439fs/xiafs/namei.coffset = 0;
offset442fs/xiafs/namei.cwhile (offset < XIAFS_ZSIZE(inode->i_sb)) {
offset443fs/xiafs/namei.cde=(struct xiafs_direct *)(bh->b_data+offset);
offset457fs/xiafs/namei.coffset+=de->d_rec_len;
offset37include/linux/binfmts.hextern int read_exec(struct inode *inode, unsigned long offset,
offset104include/linux/elf.hunsigned int * offset;
offset109include/linux/elf.hunsigned int * offset;
offset68include/linux/nfs_fs.hint offset, int count, char *data,
offset71include/linux/nfs_fs.hint offset, int count, char *data,
offset81include/linux/timex.hlong offset;    /* time offset (usec) */
offset100include/linux/xd.hu_long offset;
offset53kernel/ptrace.cstatic inline int get_stack_long(struct task_struct *task, int offset)
offset58kernel/ptrace.cstack += offset;
offset68kernel/ptrace.cstatic inline int put_stack_long(struct task_struct *task, int offset,
offset74kernel/ptrace.cstack += offset;
offset146kernel/time.cunsigned long offset = 0;
offset157kernel/time.coffset = TICK_SIZE;
offset161kernel/time.creturn offset + count;
offset315kernel/time.cif (txc.offset <= -(1 << (31 - SHIFT_UPDATE))
offset316kernel/time.c|| txc.offset >= (1 << (31 - SHIFT_UPDATE)))
offset353kernel/time.ctime_adjust = txc.offset;
offset357kernel/time.ctime_offset = txc.offset << SHIFT_UPDATE;
offset363kernel/time.cif (txc.offset < 0)
offset364kernel/time.ctime_freq -= (-txc.offset * mtemp) >>
offset367kernel/time.ctime_freq += (txc.offset * mtemp) >>
offset378kernel/time.ctxc.offset     = save_adjust;
offset30mm/swap.c#define SWP_ENTRY(type,offset) (((type) << 1) | ((offset) << PAGE_SHIFT))
offset59mm/swap.cunsigned long type, offset;
offset68mm/swap.coffset = SWP_OFFSET(entry);
offset69mm/swap.cif (offset >= p->max) {
offset77mm/swap.cwhile (set_bit(offset,p->swap_lockmap))
offset80mm/swap.cll_rw_page(rw,p->swap_device,offset,buf);
offset86mm/swap.cblock = offset << (12 - p->swap_file->i_sb->s_blocksize_bits);
offset96mm/swap.cif (offset && !clear_bit(offset,p->swap_lockmap))
offset104mm/swap.cunsigned int offset, type;
offset110mm/swap.cfor (offset = p->lowest_bit; offset <= p->highest_bit ; offset++) {
offset111mm/swap.cif (p->swap_map[offset])
offset113mm/swap.cp->swap_map[offset] = 1;
offset115mm/swap.cif (offset == p->highest_bit)
offset117mm/swap.cp->lowest_bit = offset;
offset118mm/swap.creturn SWP_ENTRY(type,offset);
offset127mm/swap.cunsigned long offset, type;
offset131mm/swap.coffset = SWP_OFFSET(entry);
offset140mm/swap.cif (offset >= p->max) {
offset144mm/swap.cif (!p->swap_map[offset]) {
offset148mm/swap.cp->swap_map[offset]++;
offset155mm/swap.cunsigned long offset, type;
offset167mm/swap.coffset = SWP_OFFSET(entry);
offset168mm/swap.cif (offset >= p->max) {
offset176mm/swap.cwhile (set_bit(offset,p->swap_lockmap))
offset178mm/swap.cif (offset < p->lowest_bit)
offset179mm/swap.cp->lowest_bit = offset;
offset180mm/swap.cif (offset > p->highest_bit)
offset181mm/swap.cp->highest_bit = offset;
offset182mm/swap.cif (!p->swap_map[offset])
offset185mm/swap.cif (!--p->swap_map[offset])
offset187mm/swap.cif (!clear_bit(offset,p->swap_lockmap))
offset95net/inet/icmp.cint offset;
offset122net/inet/icmp.coffset = ip_build_header(skb, dev->pa_addr, iph->saddr,
offset124net/inet/icmp.cif (offset < 0) 
offset132net/inet/icmp.cskb->len = offset + sizeof(struct icmphdr) + sizeof(struct iphdr) + 8;
offset133net/inet/icmp.cicmph = (struct icmphdr *) ((unsigned char *) (skb + 1) + offset);
offset263net/inet/icmp.cint size, offset;
offset277net/inet/icmp.coffset = ip_build_header(skb2, daddr, saddr, &dev,
offset279net/inet/icmp.cif (offset < 0) 
offset289net/inet/icmp.cskb2->len = offset + len;
offset292net/inet/icmp.cicmphr = (struct icmphdr *) ((char *) (skb2 + 1) + offset);
offset331net/inet/icmp.cint size, offset;
offset345net/inet/icmp.coffset = ip_build_header(skb2, daddr, saddr, &dev,
offset347net/inet/icmp.cif (offset < 0) 
offset357net/inet/icmp.cskb2->len = offset + len;
offset360net/inet/icmp.cicmphr = (struct icmphdr *) ((char *) (skb2 + 1) + offset);
offset640net/inet/ip.cstatic struct ipfrag *ip_frag_create(int offset, int end, struct sk_buff *skb, unsigned char *ptr)
offset653net/inet/ip.cfp->offset = offset;
offset655net/inet/ip.cfp->len = end - offset;
offset849net/inet/ip.cint offset;
offset857net/inet/ip.coffset = 0;
offset860net/inet/ip.cif (fp->offset > offset) 
offset862net/inet/ip.coffset = fp->end;
offset923net/inet/ip.cmemcpy((ptr + fp->offset), fp->ptr, fp->len);
offset950net/inet/ip.cint flags, offset;
offset957net/inet/ip.coffset = ntohs(iph->frag_off);
offset958net/inet/ip.cflags = offset & ~IP_OFFSET;
offset959net/inet/ip.coffset &= IP_OFFSET;
offset960net/inet/ip.cif (((flags & IP_MF) == 0) && (offset == 0)) 
offset966net/inet/ip.coffset <<= 3;    /* offset is in 8-byte chunks */
offset989net/inet/ip.cend = offset + ntohs(iph->tot_len) - ihl;
offset1006net/inet/ip.cif (next->offset > offset) 
offset1016net/inet/ip.cif (prev != NULL && offset < prev->end) 
offset1018net/inet/ip.ci = prev->end - offset;
offset1019net/inet/ip.coffset += i;  /* ptr into datagram */
offset1032net/inet/ip.cif (next->offset >= end) 
offset1035net/inet/ip.ci = end - next->offset;      /* overlap is 'i' bytes */
offset1037net/inet/ip.cnext->offset += i;      /* next fragment  */
offset1060net/inet/ip.ctfp = ip_frag_create(offset, end, skb, ptr);
offset1102net/inet/ip.cint offset;
offset1149net/inet/ip.coffset = (ntohs(iph->frag_off) & 0x1fff) << 3;
offset1151net/inet/ip.coffset = 0;
offset1189net/inet/ip.ciph->frag_off = htons((offset >> 3));
offset1195net/inet/ip.coffset += len;
offset38net/inet/ip.hint    offset;    /* offset of fragment in IP datagram  */
offset1455net/inet/tcp.cunsigned long offset;
offset1649net/inet/tcp.coffset = sk->copied_seq+1 - skb->h.th->seq;
offset1652net/inet/tcp.coffset--;
offset1654net/inet/tcp.cif (offset < skb->len) /* Some of the packet is useful */
offset1665net/inet/tcp.coffset += ntohs(skb->h.th->urg_ptr);
offset1666net/inet/tcp.cif (offset >= skb->len) 
offset1692net/inet/tcp.cused = min(skb->len - offset, len);
offset1697net/inet/tcp.cskb->h.th->doff*4 + offset, used);
offset1715net/inet/tcp.cif (!(flags & MSG_PEEK) && (!skb->h.th->urg || skb->urg_used) && (used + offset >= skb->len)) 
offset47net/socket.cstatic int sock_lseek(struct inode *inode, struct file *file, off_t offset,
offset265net/socket.csock_lseek(struct inode *inode, struct file *file, off_t offset, int whence)
offset166net/socket/datagram.cvoid skb_copy_datagram(struct sk_buff *skb, int offset, char *to, int size)
offset170net/socket/datagram.cmemcpy_tofs(to,skb->h.raw+offset,size);
offset109net/socket/skbuff.hextern void      skb_copy_datagram(struct sk_buff *from, int offset, char *to,int size);