tag | line | file | source code |
pos | 381 | arch/i386/math-emu/reg_ld_str.c | int pos; |
pos | 388 | arch/i386/math-emu/reg_ld_str.c | for ( pos = 8; pos >= 0; pos--) |
pos | 392 | arch/i386/math-emu/reg_ld_str.c | bcd = (unsigned char)get_fs_byte((unsigned char *) s+pos); |
pos | 1129 | drivers/block/sbpcd.c | static int xx_Seek(u_int pos, char f_blk_msf) |
pos | 1138 | drivers/block/sbpcd.c | if (f_blk_msf==1) pos=msf2blk(pos); |
pos | 1139 | drivers/block/sbpcd.c | drvcmd[2]=(pos>>16)&0x00FF; |
pos | 1140 | drivers/block/sbpcd.c | drvcmd[3]=(pos>>8)&0x00FF; |
pos | 1141 | drivers/block/sbpcd.c | drvcmd[4]=pos&0x00FF; |
pos | 1148 | drivers/block/sbpcd.c | if (f_blk_msf==0) pos=blk2msf(pos); |
pos | 1149 | drivers/block/sbpcd.c | drvcmd[1]=(pos>>16)&0x00FF; |
pos | 1150 | drivers/block/sbpcd.c | drvcmd[2]=(pos>>8)&0x00FF; |
pos | 1151 | drivers/block/sbpcd.c | drvcmd[3]=pos&0x00FF; |
pos | 579 | drivers/char/console.c | pos = origin + y*video_size_row + (x<<1); |
pos | 661 | drivers/char/console.c | outb_p(0xff&((pos-video_mem_base)>>9), video_port_val); |
pos | 663 | drivers/char/console.c | outb_p(0xff&((pos-video_mem_base)>>1), video_port_val); |
pos | 681 | drivers/char/console.c | pos += video_size_row; |
pos | 697 | drivers/char/console.c | pos -= origin-video_mem_start; |
pos | 757 | drivers/char/console.c | pos += video_size_row; |
pos | 771 | drivers/char/console.c | pos -= video_size_row; |
pos | 778 | drivers/char/console.c | pos -= x<<1; |
pos | 785 | drivers/char/console.c | pos -= 2; |
pos | 803 | drivers/char/console.c | count = (scr_end-pos)>>1; |
pos | 804 | drivers/char/console.c | start = pos; |
pos | 807 | drivers/char/console.c | count = ((pos-origin)>>1)+1; |
pos | 835 | drivers/char/console.c | start = pos; |
pos | 838 | drivers/char/console.c | start = pos - (x<<1); |
pos | 842 | drivers/char/console.c | start = pos - (x<<1); |
pos | 866 | drivers/char/console.c | start=pos; |
pos | 1156 | drivers/char/console.c | unsigned short * p = (unsigned short *) pos; |
pos | 1176 | drivers/char/console.c | unsigned short * p = (unsigned short *) pos; |
pos | 1425 | drivers/char/console.c | *(unsigned short *) pos = (attr << 8) + tc; |
pos | 1430 | drivers/char/console.c | pos+=2; |
pos | 1447 | drivers/char/console.c | pos -= (x << 1); |
pos | 1453 | drivers/char/console.c | pos += (x << 1); |
pos | 1799 | drivers/char/console.c | *(unsigned short *) pos = (attr << 8) + c; |
pos | 1805 | drivers/char/console.c | pos+=2; |
pos | 1837 | drivers/char/console.c | pos = origin = video_mem_start = base; |
pos | 1987 | drivers/char/console.c | pos = origin + y*video_size_row + (x<<1); |
pos | 2030 | drivers/char/console.c | pos = origin + y*video_size_row + (x<<1); |
pos | 287 | drivers/sound/sb16_dsp.c | int pos, chan = audio_devs[dev]->dmachan; |
pos | 292 | drivers/sound/sb16_dsp.c | pos = get_dma_residue (chan); |
pos | 295 | drivers/sound/sb16_dsp.c | printk ("dmapos=%d %x\n", pos, pos); |
pos | 344 | drivers/sound/sb16_dsp.c | int pos, chan = audio_devs[dev]->dmachan; |
pos | 349 | drivers/sound/sb16_dsp.c | pos = get_dma_residue (chan); |
pos | 352 | drivers/sound/sb16_dsp.c | printk ("dmapos=%d %x\n", pos, pos); |
pos | 826 | fs/buffer.c | unsigned int pos, unsigned int filesize) |
pos | 834 | fs/buffer.c | if (pos >= filesize) |
pos | 845 | fs/buffer.c | blocks = ((filesize & (bufsize - 1)) - (pos & (bufsize - 1))) >> (9+index); |
pos | 199 | fs/ext/file.c | off_t pos; |
pos | 217 | fs/ext/file.c | pos = inode->i_size; |
pos | 219 | fs/ext/file.c | pos = filp->f_pos; |
pos | 222 | fs/ext/file.c | bh = ext_getblk(inode,pos/BLOCK_SIZE,1); |
pos | 228 | fs/ext/file.c | c = BLOCK_SIZE - (pos % BLOCK_SIZE); |
pos | 241 | fs/ext/file.c | p = (pos % BLOCK_SIZE) + bh->b_data; |
pos | 242 | fs/ext/file.c | pos += c; |
pos | 243 | fs/ext/file.c | if (pos > inode->i_size) { |
pos | 244 | fs/ext/file.c | inode->i_size = pos; |
pos | 255 | fs/ext/file.c | filp->f_pos = pos; |
pos | 234 | fs/ext2/file.c | loff_t pos; |
pos | 262 | fs/ext2/file.c | pos = inode->i_size; |
pos | 264 | fs/ext2/file.c | pos = filp->f_pos; |
pos | 265 | fs/ext2/file.c | pos2 = (off_t) pos; |
pos | 276 | fs/ext2/file.c | if (pos > two_gb) { |
pos | 302 | fs/ext2/file.c | pos += c; |
pos | 334 | fs/ext2/file.c | if (pos > inode->i_size) |
pos | 335 | fs/ext2/file.c | inode->i_size = pos; |
pos | 340 | fs/ext2/file.c | filp->f_pos = pos; |
pos | 252 | fs/hpfs/hpfs_fs.c | static dnode_secno dir_subdno(struct inode *inode, unsigned pos); |
pos | 1418 | fs/hpfs/hpfs_fs.c | unsigned pos, q, r; |
pos | 1426 | fs/hpfs/hpfs_fs.c | pos = *posp; |
pos | 1427 | fs/hpfs/hpfs_fs.c | q = pos >> 6; |
pos | 1428 | fs/hpfs/hpfs_fs.c | r = pos & 077; |
pos | 1461 | fs/hpfs/hpfs_fs.c | *posp = pos << 6 | 1; |
pos | 1463 | fs/hpfs/hpfs_fs.c | *posp = pos + 1; |
pos | 1481 | fs/hpfs/hpfs_fs.c | static dnode_secno dir_subdno(struct inode *inode, unsigned pos) |
pos | 1490 | fs/hpfs/hpfs_fs.c | if (pos == 0) |
pos | 1497 | fs/hpfs/hpfs_fs.c | else if (pos == inode->i_hpfs_dpos) |
pos | 1505 | fs/hpfs/hpfs_fs.c | unsigned q = pos >> 6; |
pos | 1506 | fs/hpfs/hpfs_fs.c | unsigned r = pos & 077; |
pos | 1532 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_dpos = pos; |
pos | 38 | fs/locks.c | static struct file_lock *alloc_lock(struct file_lock **pos, struct file_lock *fl, |
pos | 450 | fs/locks.c | static struct file_lock *alloc_lock(struct file_lock **pos, |
pos | 476 | fs/locks.c | tmp->fl_next = *pos; /* insert into file's list */ |
pos | 477 | fs/locks.c | *pos = tmp; |
pos | 191 | fs/minix/file.c | off_t pos; |
pos | 206 | fs/minix/file.c | pos = inode->i_size; |
pos | 208 | fs/minix/file.c | pos = filp->f_pos; |
pos | 211 | fs/minix/file.c | bh = minix_getblk(inode,pos/BLOCK_SIZE,1); |
pos | 217 | fs/minix/file.c | c = BLOCK_SIZE - (pos % BLOCK_SIZE); |
pos | 230 | fs/minix/file.c | p = (pos % BLOCK_SIZE) + bh->b_data; |
pos | 231 | fs/minix/file.c | pos += c; |
pos | 239 | fs/minix/file.c | if (pos > inode->i_size) |
pos | 240 | fs/minix/file.c | inode->i_size = pos; |
pos | 243 | fs/minix/file.c | filp->f_pos = pos; |
pos | 257 | fs/msdos/misc.c | int msdos_get_entry(struct inode *dir, loff_t *pos,struct buffer_head **bh, |
pos | 264 | fs/msdos/misc.c | offset = *pos; |
pos | 271 | fs/msdos/misc.c | *pos += sizeof(struct msdos_dir_entry); |
pos | 33 | fs/msdos/mmap.c | int pos; |
pos | 37 | fs/msdos/mmap.c | pos = address - area->vm_start + area->vm_offset; |
pos | 40 | fs/msdos/mmap.c | gap = inode->i_size - pos; |
pos | 52 | fs/msdos/mmap.c | filp.f_pos = pos; |
pos | 323 | fs/msdos/namei.c | loff_t pos; |
pos | 330 | fs/msdos/namei.c | pos = 0; |
pos | 332 | fs/msdos/namei.c | while (msdos_get_entry(dir,&pos,&bh,&de) > -1) |
pos | 100 | fs/nfs/file.c | off_t pos; |
pos | 111 | fs/nfs/file.c | pos = file->f_pos; |
pos | 112 | fs/nfs/file.c | if (pos + count > inode->i_size) |
pos | 113 | fs/nfs/file.c | count = inode->i_size - pos; |
pos | 120 | fs/nfs/file.c | && (cache[i].file_pos <= pos) |
pos | 121 | fs/nfs/file.c | && (cache[i].file_pos + cache[i].len >= pos + count) |
pos | 128 | fs/nfs/file.c | memcpy_tofs(buf, cache[i].buf + pos - cache[i].file_pos, count); |
pos | 137 | fs/nfs/file.c | pos, n, buf, &fattr, 1); |
pos | 140 | fs/nfs/file.c | pos += result; |
pos | 143 | fs/nfs/file.c | file->f_pos = pos; |
pos | 154 | fs/nfs/file.c | pos, n, data, &fattr, fs); |
pos | 164 | fs/nfs/file.c | file->f_pos = pos + hunk; |
pos | 169 | fs/nfs/file.c | file->f_pos = pos + hunk; |
pos | 178 | fs/nfs/file.c | cache[tail].file_pos = pos; |
pos | 192 | fs/nfs/file.c | int result, hunk, i, n, pos; |
pos | 214 | fs/nfs/file.c | pos = file->f_pos; |
pos | 216 | fs/nfs/file.c | pos = inode->i_size; |
pos | 223 | fs/nfs/file.c | pos, hunk, buf, &fattr); |
pos | 226 | fs/nfs/file.c | pos += hunk; |
pos | 233 | fs/nfs/file.c | file->f_pos = pos; |
pos | 37 | fs/nfs/mmap.c | int pos; |
pos | 41 | fs/nfs/mmap.c | pos = address - area->vm_start + area->vm_offset; |
pos | 57 | fs/nfs/mmap.c | pos, hunk, (char *) (page + i), &fattr, 0); |
pos | 60 | fs/nfs/mmap.c | pos += result; |
pos | 200 | fs/sysv/file.c | off_t pos; |
pos | 221 | fs/sysv/file.c | pos = inode->i_size; |
pos | 223 | fs/sysv/file.c | pos = filp->f_pos; |
pos | 226 | fs/sysv/file.c | bh = sysv_getblk (inode, pos >> sb->sv_block_size_bits, 1); |
pos | 232 | fs/sysv/file.c | c = sb->sv_block_size - (pos & sb->sv_block_size_1); |
pos | 246 | fs/sysv/file.c | p = (pos & sb->sv_block_size_1) + bh->b_data; |
pos | 247 | fs/sysv/file.c | pos += c; |
pos | 248 | fs/sysv/file.c | if (pos > inode->i_size) { |
pos | 249 | fs/sysv/file.c | inode->i_size = pos; |
pos | 260 | fs/sysv/file.c | filp->f_pos = pos; |
pos | 64 | fs/sysv/namei.c | unsigned long pos, block, offset; /* pos = block * block_size + offset */ |
pos | 77 | fs/sysv/namei.c | pos = block = offset = 0; |
pos | 78 | fs/sysv/namei.c | while (pos < dir->i_size) { |
pos | 83 | fs/sysv/namei.c | pos += sb->sv_block_size; |
pos | 90 | fs/sysv/namei.c | pos += SYSV_DIRSIZE; |
pos | 148 | fs/sysv/namei.c | unsigned long pos, block, offset; /* pos = block * block_size + offset */ |
pos | 165 | fs/sysv/namei.c | pos = block = offset = 0; |
pos | 173 | fs/sysv/namei.c | pos += SYSV_DIRSIZE; |
pos | 175 | fs/sysv/namei.c | if (pos > dir->i_size) { |
pos | 177 | fs/sysv/namei.c | dir->i_size = pos; |
pos | 367 | fs/sysv/namei.c | unsigned long pos, block, offset; /* pos = block * block_size + offset */ |
pos | 375 | fs/sysv/namei.c | pos = offset = 2*SYSV_DIRSIZE; |
pos | 378 | fs/sysv/namei.c | if (inode->i_size < pos) |
pos | 390 | fs/sysv/namei.c | while (pos < inode->i_size) { |
pos | 395 | fs/sysv/namei.c | pos += sb->sv_block_size; |
pos | 400 | fs/sysv/namei.c | pos += SYSV_DIRSIZE; |
pos | 217 | fs/umsdos/emd.c | int pos; /* read offset in buffer */ |
pos | 233 | fs/umsdos/emd.c | int mustmove = buf->size - buf->pos; |
pos | 237 | fs/umsdos/emd.c | memcpy (buf->buffer,buf->buffer+buf->pos,mustmove); |
pos | 239 | fs/umsdos/emd.c | buf->pos = 0; |
pos | 300 | fs/umsdos/emd.c | buf.pos = 0; |
pos | 309 | fs/umsdos/emd.c | (buf.buffer + buf.pos); |
pos | 310 | fs/umsdos/emd.c | int file_pos = buf.filp.f_pos - buf.size + buf.pos; |
pos | 311 | fs/umsdos/emd.c | if (buf.pos == buf.size){ |
pos | 338 | fs/umsdos/emd.c | buf.pos += UMSDOS_REC_SIZE; |
pos | 341 | fs/umsdos/emd.c | if (buf.pos+entry_size > buf.size){ |
pos | 358 | fs/umsdos/emd.c | buf.pos += entry_size; |
pos | 46 | fs/umsdos/inode.c | ,inode->u.umsdos_i.i_emd_owner,inode->u.umsdos_i.pos |
pos | 115 | fs/umsdos/inode.c | inode->u.umsdos_i.pos = f_pos; |
pos | 322 | fs/umsdos/inode.c | filp.f_pos = inode->u.umsdos_i.pos; |
pos | 344 | fs/umsdos/inode.c | filp.f_pos = inode->u.umsdos_i.pos; |
pos | 349 | fs/umsdos/inode.c | ,inode->u.umsdos_i.pos |
pos | 75 | fs/xiafs/bitmap.c | static void que(struct buffer_head * bmap[], int bznr[], int pos) |
pos | 81 | fs/xiafs/bitmap.c | tbh=bmap[pos]; |
pos | 82 | fs/xiafs/bitmap.c | tmp=bznr[pos]; |
pos | 83 | fs/xiafs/bitmap.c | for (i=pos; i > 0; i--) { |
pos | 174 | fs/xiafs/bitmap.c | u_long pos, start_bit, end_bit, total_bits; |
pos | 180 | fs/xiafs/bitmap.c | pos=prev_bit+1; |
pos | 184 | fs/xiafs/bitmap.c | if (pos >= total_bits) |
pos | 185 | fs/xiafs/bitmap.c | pos=0; |
pos | 188 | fs/xiafs/bitmap.c | start_bit= pos & (end_bit-1); |
pos | 191 | fs/xiafs/bitmap.c | if ( pos < prev_bit && pos+end_bit >= prev_bit) { /* last time */ |
pos | 196 | fs/xiafs/bitmap.c | bmap_zones, slots, pos, &z_nr); |
pos | 203 | fs/xiafs/bitmap.c | pos=(pos & ~(end_bit-1))+end_bit; |
pos | 211 | fs/xiafs/bitmap.c | return (pos & ~(XIAFS_BITS_PER_Z(sb)-1))+tmp; |
pos | 192 | fs/xiafs/file.c | off_t pos; |
pos | 210 | fs/xiafs/file.c | pos = inode->i_size; |
pos | 212 | fs/xiafs/file.c | pos = filp->f_pos; |
pos | 215 | fs/xiafs/file.c | bh = xiafs_getblk(inode, pos >> XIAFS_ZSIZE_BITS(inode->i_sb), 1); |
pos | 221 | fs/xiafs/file.c | c = XIAFS_ZSIZE(inode->i_sb) - (pos & (XIAFS_ZSIZE(inode->i_sb) - 1)); |
pos | 234 | fs/xiafs/file.c | cp = (pos & (XIAFS_ZSIZE(inode->i_sb)-1)) + bh->b_data; |
pos | 235 | fs/xiafs/file.c | pos += c; |
pos | 236 | fs/xiafs/file.c | if (pos > inode->i_size) { |
pos | 237 | fs/xiafs/file.c | inode->i_size = pos; |
pos | 248 | fs/xiafs/file.c | filp->f_pos = pos; |
pos | 60 | fs/xiafs/namei.c | int i, zones, pos; |
pos | 86 | fs/xiafs/namei.c | pos = 0; |
pos | 87 | fs/xiafs/namei.c | while ( pos < XIAFS_ZSIZE(inode->i_sb) ) { |
pos | 102 | fs/xiafs/namei.c | pos += dep->d_rec_len; |
pos | 104 | fs/xiafs/namei.c | dep=(struct xiafs_direct *)(bh->b_data + pos); |
pos | 107 | fs/xiafs/namei.c | if (pos > XIAFS_ZSIZE(inode->i_sb)) { |
pos | 157 | fs/xiafs/namei.c | int i, pos, offset; |
pos | 169 | fs/xiafs/namei.c | pos=0; |
pos | 171 | fs/xiafs/namei.c | bh = xiafs_bread(dir, pos >> XIAFS_ZSIZE_BITS(dir->i_sb), pos ? 1:0); |
pos | 175 | fs/xiafs/namei.c | if (!pos) { |
pos | 187 | fs/xiafs/namei.c | if (pos >= dir->i_size) { |
pos | 239 | fs/xiafs/namei.c | pos+=XIAFS_ZSIZE(dir->i_sb); |
pos | 494 | include/linux/fs.h | unsigned int pos, unsigned int filesize); |
pos | 125 | include/linux/msdos_fs.h | extern int msdos_get_entry(struct inode *dir,loff_t *pos,struct buffer_head **bh, |
pos | 910 | include/linux/soundcard.h | #define SEQ_PANNING(dev, voice, pos) SEQ_CONTROL(dev, voice, CTL_PAN, (pos+128) / 2) |
pos | 912 | include/linux/soundcard.h | #define SEQ_PANNING(dev, voice, pos) {_SEQ_NEEDBUF(8);\ |
pos | 917 | include/linux/soundcard.h | (char)_seqbuf[_seqbufptr+4] = (pos);\ |
pos | 943 | include/linux/soundcard.h | #define SEQ_SONGPOS(pos) _TIMER_EVENT(TMR_SPP, pos) |
pos | 65 | include/linux/umsdos_fs_i.h | off_t pos; /* Entry offset in the emd_owner file */ |
pos | 135 | include/linux/umsdos_fs_i.h | off_t pos; /* Entry offset in the emd_owner file */ |
pos | 932 | net/inet/arp.c | off_t pos=0; |
pos | 941 | net/inet/arp.c | pos+=size; |
pos | 982 | net/inet/arp.c | pos=begin+len; |
pos | 984 | net/inet/arp.c | if(pos<offset) |
pos | 987 | net/inet/arp.c | begin=pos; |
pos | 989 | net/inet/arp.c | if(pos>offset+length) |
pos | 812 | net/inet/dev.c | char *pos; |
pos | 825 | net/inet/dev.c | pos = ifc.ifc_buf; |
pos | 832 | net/inet/dev.c | err=verify_area(VERIFY_WRITE,pos,len); |
pos | 853 | net/inet/dev.c | memcpy_tofs(pos, &ifr, sizeof(struct ifreq)); |
pos | 854 | net/inet/dev.c | pos += sizeof(struct ifreq); |
pos | 869 | net/inet/dev.c | ifc.ifc_len = (pos - ifc.ifc_buf); |
pos | 877 | net/inet/dev.c | return(pos - arg); |
pos | 918 | net/inet/dev.c | off_t pos=0; |
pos | 927 | net/inet/dev.c | pos+=size; |
pos | 935 | net/inet/dev.c | pos=begin+len; |
pos | 937 | net/inet/dev.c | if(pos<offset) |
pos | 940 | net/inet/dev.c | begin=pos; |
pos | 942 | net/inet/dev.c | if(pos>offset+length) |
pos | 2019 | net/inet/ip.c | off_t pos=0, begin=0; |
pos | 2034 | net/inet/ip.c | pos=begin+len; |
pos | 2035 | net/inet/ip.c | if(pos<offset) |
pos | 2038 | net/inet/ip.c | begin=pos; |
pos | 2040 | net/inet/ip.c | if(pos>offset+length) |
pos | 911 | net/inet/ip_fw.c | off_t pos=0, begin=0; |
pos | 935 | net/inet/ip_fw.c | pos=begin+len; |
pos | 936 | net/inet/ip_fw.c | if(pos<offset) |
pos | 939 | net/inet/ip_fw.c | begin=pos; |
pos | 941 | net/inet/ip_fw.c | if(pos>offset+length) |
pos | 150 | net/inet/ipx.c | off_t pos=0; |
pos | 171 | net/inet/ipx.c | pos=begin+len; |
pos | 173 | net/inet/ipx.c | if(pos<offset) |
pos | 176 | net/inet/ipx.c | begin=pos; |
pos | 178 | net/inet/ipx.c | if(pos>offset+length) /* We have dumped enough */ |
pos | 440 | net/inet/ipx.c | off_t pos=0; |
pos | 449 | net/inet/ipx.c | pos=begin+len; |
pos | 450 | net/inet/ipx.c | if(pos<offset) |
pos | 453 | net/inet/ipx.c | begin=pos; |
pos | 455 | net/inet/ipx.c | if(pos>offset+length) |
pos | 66 | net/inet/proc.c | off_t pos=0; |
pos | 108 | net/inet/proc.c | pos=begin+len; |
pos | 109 | net/inet/proc.c | if(pos<offset) |
pos | 112 | net/inet/proc.c | begin=pos; |
pos | 114 | net/inet/proc.c | if(pos>offset+length) |
pos | 119 | net/inet/proc.c | if(pos>offset+length) |
pos | 430 | net/inet/rarp.c | off_t pos=0; |
pos | 438 | net/inet/rarp.c | pos+=size; |
pos | 445 | net/inet/rarp.c | pos+=size; |
pos | 470 | net/inet/rarp.c | pos=begin+len; |
pos | 472 | net/inet/rarp.c | if(pos<offset) |
pos | 475 | net/inet/rarp.c | begin=pos; |
pos | 477 | net/inet/rarp.c | if(pos>offset+length) |
pos | 498 | net/inet/route.c | off_t pos=0; |
pos | 504 | net/inet/route.c | pos=len; |
pos | 517 | net/inet/route.c | pos+=size; |
pos | 518 | net/inet/route.c | if(pos<offset) |
pos | 521 | net/inet/route.c | begin=pos; |
pos | 523 | net/inet/route.c | if(pos>offset+length) |
pos | 41 | net/unix/proc.c | off_t pos=0; |
pos | 82 | net/unix/proc.c | pos=begin+len; |
pos | 83 | net/unix/proc.c | if(pos<offset) |
pos | 86 | net/unix/proc.c | begin=pos; |
pos | 88 | net/unix/proc.c | if(pos>offset+length) |