tag | line | file | source code |
pos | 133 | arch/i386/boot/compressed/misc.c | int x,y,pos; |
pos | 161 | arch/i386/boot/compressed/misc.c | pos = (x + cols * y) * 2; /* Update cursor position */ |
pos | 163 | arch/i386/boot/compressed/misc.c | outb_p(0xff & (pos >> 9), vidport+1); |
pos | 165 | arch/i386/boot/compressed/misc.c | outb_p(0xff & (pos >> 1), vidport+1); |
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 | 1372 | drivers/cdrom/sbpcd.c | static int cc_Seek(u_int pos, char f_blk_msf) |
pos | 1381 | drivers/cdrom/sbpcd.c | if (f_blk_msf==1) pos=msf2blk(pos); |
pos | 1382 | drivers/cdrom/sbpcd.c | drvcmd[2]=(pos>>16)&0x00FF; |
pos | 1383 | drivers/cdrom/sbpcd.c | drvcmd[3]=(pos>>8)&0x00FF; |
pos | 1384 | drivers/cdrom/sbpcd.c | drvcmd[4]=pos&0x00FF; |
pos | 1391 | drivers/cdrom/sbpcd.c | if (f_blk_msf==0) pos=blk2msf(pos); |
pos | 1392 | drivers/cdrom/sbpcd.c | drvcmd[1]=(pos>>16)&0x00FF; |
pos | 1393 | drivers/cdrom/sbpcd.c | drvcmd[2]=(pos>>8)&0x00FF; |
pos | 1394 | drivers/cdrom/sbpcd.c | drvcmd[3]=pos&0x00FF; |
pos | 1403 | drivers/cdrom/sbpcd.c | if (f_blk_msf==0) pos=blk2msf(pos); |
pos | 1404 | drivers/cdrom/sbpcd.c | drvcmd[2]=(pos>>24)&0x00FF; |
pos | 1405 | drivers/cdrom/sbpcd.c | drvcmd[3]=(pos>>16)&0x00FF; |
pos | 1406 | drivers/cdrom/sbpcd.c | drvcmd[4]=(pos>>8)&0x00FF; |
pos | 1407 | drivers/cdrom/sbpcd.c | drvcmd[5]=pos&0x00FF; |
pos | 1413 | drivers/cdrom/sbpcd.c | if (f_blk_msf==1) pos=msf2blk(pos); |
pos | 1414 | drivers/cdrom/sbpcd.c | drvcmd[2]=(pos>>24)&0x00FF; |
pos | 1415 | drivers/cdrom/sbpcd.c | drvcmd[3]=(pos>>16)&0x00FF; |
pos | 1416 | drivers/cdrom/sbpcd.c | drvcmd[4]=(pos>>8)&0x00FF; |
pos | 1417 | drivers/cdrom/sbpcd.c | drvcmd[5]=pos&0x00FF; |
pos | 497 | drivers/char/console.c | pos = origin + y*video_size_row + (x<<1); |
pos | 587 | drivers/char/console.c | pos += video_size_row; |
pos | 605 | drivers/char/console.c | pos -= origin-video_mem_start; |
pos | 673 | drivers/char/console.c | pos += video_size_row; |
pos | 687 | drivers/char/console.c | pos -= video_size_row; |
pos | 694 | drivers/char/console.c | pos -= x<<1; |
pos | 701 | drivers/char/console.c | pos -= 2; |
pos | 719 | drivers/char/console.c | count = (scr_end-pos)>>1; |
pos | 720 | drivers/char/console.c | start = (unsigned short *) pos; |
pos | 723 | drivers/char/console.c | count = ((pos-origin)>>1)+1; |
pos | 748 | drivers/char/console.c | start = (unsigned short *) pos; |
pos | 751 | drivers/char/console.c | start = (unsigned short *) (pos - (x<<1)); |
pos | 755 | drivers/char/console.c | start = (unsigned short *) (pos - (x<<1)); |
pos | 776 | drivers/char/console.c | start = (unsigned short *) pos; |
pos | 1160 | drivers/char/console.c | unsigned short * p = (unsigned short *) pos; |
pos | 1180 | drivers/char/console.c | unsigned short * p = (unsigned short *) pos; |
pos | 1454 | drivers/char/console.c | (unsigned short *) pos); |
pos | 1459 | drivers/char/console.c | pos+=2; |
pos | 1477 | drivers/char/console.c | pos -= (x << 1); |
pos | 1483 | drivers/char/console.c | pos += (x << 1); |
pos | 1868 | drivers/char/console.c | scr_writew((attr << 8) + c, (unsigned short *) pos); |
pos | 1874 | drivers/char/console.c | pos+=2; |
pos | 1907 | drivers/char/console.c | pos = origin = video_mem_start = base; |
pos | 272 | drivers/char/tga.c | idx = (pos - video_mem_base) >> 1; |
pos | 334 | drivers/char/tga.c | pos = origin + y*video_size_row + (x<<1); |
pos | 348 | drivers/char/tga.c | pos = origin + y*video_size_row + (x<<1); |
pos | 127 | drivers/char/vga.c | outb_p(0xff&((pos-video_mem_base)>>9), video_port_val); |
pos | 129 | drivers/char/vga.c | outb_p(0xff&((pos-video_mem_base)>>1), video_port_val); |
pos | 233 | drivers/char/vga.c | pos = origin + y*video_size_row + (x<<1); |
pos | 278 | drivers/char/vga.c | pos = origin + y*video_size_row + (x<<1); |
pos | 2119 | drivers/net/wavelan.c | off_t pos; |
pos | 2125 | drivers/net/wavelan.c | pos = 0; |
pos | 2129 | drivers/net/wavelan.c | pos += size; |
pos | 2144 | drivers/net/wavelan.c | pos = begin + len; |
pos | 2146 | drivers/net/wavelan.c | if (pos < offset) |
pos | 2149 | drivers/net/wavelan.c | begin = pos; |
pos | 2152 | drivers/net/wavelan.c | if (pos > offset + length) |
pos | 445 | drivers/pci/pci.c | unsigned char pos, int turn_on) |
pos | 452 | drivers/pci/pci.c | pos *= NUM_OPTIMIZATIONS; |
pos | 456 | drivers/pci/pci.c | bmap = &bridge_mapping[pos + i]; |
pos | 84 | drivers/scsi/aic7xxx_proc.c | off_t pos = 0; |
pos | 114 | drivers/scsi/aic7xxx_proc.c | len += size; pos = begin + len; size = 0; |
pos | 134 | drivers/scsi/aic7xxx_proc.c | len += size; pos = begin + len; size = 0; |
pos | 166 | drivers/scsi/aic7xxx_proc.c | len += size; pos = begin + len; size = 0; |
pos | 193 | drivers/scsi/aic7xxx_proc.c | len += size; pos = begin + len; size = 0; |
pos | 241 | drivers/scsi/aic7xxx_proc.c | len += size; pos = begin + len; size = 0; |
pos | 246 | drivers/scsi/aic7xxx_proc.c | proc_debug("2pos: %ld offset: %ld len: %d\n", pos, offset, len); |
pos | 253 | drivers/scsi/aic7xxx_proc.c | proc_debug("3pos: %ld offset: %ld len: %d\n", pos, offset, len); |
pos | 92 | drivers/scsi/eata_dma_proc.c | off_t pos = 0; |
pos | 122 | drivers/scsi/eata_dma_proc.c | len += size; pos = begin + len; |
pos | 125 | drivers/scsi/eata_dma_proc.c | len += size; pos = begin + len; |
pos | 130 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 134 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 137 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 145 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 149 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 153 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 199 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 205 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 209 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 212 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 218 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 225 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 230 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 234 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 242 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 247 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 251 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 255 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 259 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 267 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 273 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 278 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 282 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 286 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 290 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 292 | drivers/scsi/eata_dma_proc.c | if (pos < offset) { |
pos | 294 | drivers/scsi/eata_dma_proc.c | begin = pos; |
pos | 296 | drivers/scsi/eata_dma_proc.c | if (pos > offset + length) |
pos | 337 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 343 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 349 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 354 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 357 | drivers/scsi/eata_dma_proc.c | if (pos < offset) { |
pos | 359 | drivers/scsi/eata_dma_proc.c | begin = pos; |
pos | 361 | drivers/scsi/eata_dma_proc.c | if (pos > offset + length) |
pos | 369 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 381 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 392 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 394 | drivers/scsi/eata_dma_proc.c | if (pos < offset) { |
pos | 396 | drivers/scsi/eata_dma_proc.c | begin = pos; |
pos | 398 | drivers/scsi/eata_dma_proc.c | if (pos > offset + length) |
pos | 404 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 416 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 427 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 429 | drivers/scsi/eata_dma_proc.c | if (pos < offset) { |
pos | 431 | drivers/scsi/eata_dma_proc.c | begin = pos; |
pos | 433 | drivers/scsi/eata_dma_proc.c | if (pos > offset + length) |
pos | 442 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 448 | drivers/scsi/eata_dma_proc.c | pos = begin + len; |
pos | 450 | drivers/scsi/eata_dma_proc.c | if (pos < offset) { |
pos | 452 | drivers/scsi/eata_dma_proc.c | begin = pos; |
pos | 454 | drivers/scsi/eata_dma_proc.c | if (pos > offset + length) |
pos | 462 | drivers/scsi/eata_dma_proc.c | DBG(DBG_PROC, printk("2pos: %ld offset: %ld len: %d\n", pos, offset, len)); |
pos | 467 | drivers/scsi/eata_dma_proc.c | DBG(DBG_PROC, printk("3pos: %ld offset: %ld len: %d\n", pos, offset, len)); |
pos | 50 | drivers/scsi/eata_pio_proc.c | off_t pos = 0; |
pos | 67 | drivers/scsi/eata_pio_proc.c | len += size; pos = begin + len; |
pos | 70 | drivers/scsi/eata_pio_proc.c | len += size; pos = begin + len; |
pos | 75 | drivers/scsi/eata_pio_proc.c | pos = begin + len; |
pos | 79 | drivers/scsi/eata_pio_proc.c | pos = begin + len; |
pos | 82 | drivers/scsi/eata_pio_proc.c | pos = begin + len; |
pos | 85 | drivers/scsi/eata_pio_proc.c | pos = begin + len; |
pos | 91 | drivers/scsi/eata_pio_proc.c | pos = begin + len; |
pos | 93 | drivers/scsi/eata_pio_proc.c | if (pos < offset) { |
pos | 95 | drivers/scsi/eata_pio_proc.c | begin = pos; |
pos | 97 | drivers/scsi/eata_pio_proc.c | if (pos > offset + length) |
pos | 104 | drivers/scsi/eata_pio_proc.c | pos = begin + len; |
pos | 110 | drivers/scsi/eata_pio_proc.c | pos = begin + len; |
pos | 112 | drivers/scsi/eata_pio_proc.c | if (pos < offset) { |
pos | 114 | drivers/scsi/eata_pio_proc.c | begin = pos; |
pos | 116 | drivers/scsi/eata_pio_proc.c | if (pos > offset + length) |
pos | 123 | drivers/scsi/eata_pio_proc.c | DBG(DBG_PROC, printk("2pos: %ld offset: %ld len: %d\n", pos, offset, len)); |
pos | 128 | drivers/scsi/eata_pio_proc.c | DBG(DBG_PROC, printk("3pos: %ld offset: %ld len: %d\n", pos, offset, len)); |
pos | 1099 | drivers/scsi/fdomain.c | int pos; |
pos | 1108 | drivers/scsi/fdomain.c | pos = len = strlen( buffer ); |
pos | 1110 | drivers/scsi/fdomain.c | if(pos < offset) { |
pos | 1112 | drivers/scsi/fdomain.c | begin = pos; |
pos | 2418 | drivers/scsi/scsi.c | off_t pos = 0; |
pos | 2426 | drivers/scsi/scsi.c | pos = begin + len; |
pos | 2432 | drivers/scsi/scsi.c | pos = begin + len; |
pos | 2439 | drivers/scsi/scsi.c | pos = begin + len; |
pos | 2441 | drivers/scsi/scsi.c | if (pos < offset) { |
pos | 2443 | drivers/scsi/scsi.c | begin = pos; |
pos | 2445 | drivers/scsi/scsi.c | if (pos > offset + length) |
pos | 636 | drivers/scsi/scsi_debug.c | int len, pos, begin; |
pos | 671 | drivers/scsi/scsi_debug.c | pos = len = sprintf(buffer, |
pos | 675 | drivers/scsi/scsi_debug.c | if(pos < offset) |
pos | 678 | drivers/scsi/scsi_debug.c | begin = pos; |
pos | 53 | drivers/scsi/scsi_proc.c | int len, pos, begin; |
pos | 59 | drivers/scsi/scsi_proc.c | pos = len = sprintf(buffer, |
pos | 61 | drivers/scsi/scsi_proc.c | if(pos < offset) { |
pos | 63 | drivers/scsi/scsi_proc.c | begin = pos; |
pos | 412 | drivers/scsi/seagate.c | int pos; |
pos | 421 | drivers/scsi/seagate.c | pos = len = strlen(buffer); |
pos | 423 | drivers/scsi/seagate.c | if (pos<offset) { |
pos | 425 | drivers/scsi/seagate.c | begin = pos; |
pos | 643 | drivers/sound/dmabuf.c | int pos; |
pos | 649 | drivers/sound/dmabuf.c | pos = 0; |
pos | 654 | drivers/sound/dmabuf.c | pos = get_dma_residue (chan); |
pos | 661 | drivers/sound/dmabuf.c | return dmap->bytes_in_use - pos; |
pos | 664 | drivers/sound/dmabuf.c | pos = dmap->fragment_size - pos; |
pos | 665 | drivers/sound/dmabuf.c | if (pos < 0) |
pos | 667 | drivers/sound/dmabuf.c | return pos; |
pos | 277 | drivers/sound/sb16_dsp.c | int pos, chan = audio_devs[dev]->dmachan; |
pos | 283 | drivers/sound/sb16_dsp.c | pos = get_dma_residue (chan); |
pos | 286 | drivers/sound/sb16_dsp.c | printk ("dmapos=%d %x\n", pos, pos); |
pos | 336 | drivers/sound/sb16_dsp.c | int pos, chan = audio_devs[dev]->dmachan; |
pos | 342 | drivers/sound/sb16_dsp.c | pos = get_dma_residue (chan); |
pos | 345 | drivers/sound/sb16_dsp.c | printk ("dmapos=%d %x\n", pos, pos); |
pos | 880 | fs/buffer.c | unsigned int pos, unsigned int filesize) |
pos | 888 | fs/buffer.c | if (pos >= filesize) |
pos | 899 | 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 | 235 | fs/ext2/file.c | loff_t pos; |
pos | 264 | fs/ext2/file.c | pos = inode->i_size; |
pos | 266 | fs/ext2/file.c | pos = filp->f_pos; |
pos | 267 | fs/ext2/file.c | pos2 = (off_t) pos; |
pos | 281 | fs/ext2/file.c | if (pos > two_gb) { |
pos | 306 | fs/ext2/file.c | pos += c; |
pos | 341 | fs/ext2/file.c | if (pos > inode->i_size) |
pos | 342 | fs/ext2/file.c | inode->i_size = pos; |
pos | 347 | fs/ext2/file.c | filp->f_pos = pos; |
pos | 250 | fs/hpfs/hpfs_fs.c | static dnode_secno dir_subdno(struct inode *inode, unsigned pos); |
pos | 1427 | fs/hpfs/hpfs_fs.c | unsigned pos, q, r; |
pos | 1435 | fs/hpfs/hpfs_fs.c | pos = *posp; |
pos | 1436 | fs/hpfs/hpfs_fs.c | q = pos >> 6; |
pos | 1437 | fs/hpfs/hpfs_fs.c | r = pos & 077; |
pos | 1470 | fs/hpfs/hpfs_fs.c | *posp = pos << 6 | 1; |
pos | 1472 | fs/hpfs/hpfs_fs.c | *posp = pos + 1; |
pos | 1490 | fs/hpfs/hpfs_fs.c | static dnode_secno dir_subdno(struct inode *inode, unsigned pos) |
pos | 1499 | fs/hpfs/hpfs_fs.c | if (pos == 0) |
pos | 1506 | fs/hpfs/hpfs_fs.c | else if (pos == inode->i_hpfs_dpos) |
pos | 1514 | fs/hpfs/hpfs_fs.c | unsigned q = pos >> 6; |
pos | 1515 | fs/hpfs/hpfs_fs.c | unsigned r = pos & 077; |
pos | 1541 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_dpos = pos; |
pos | 89 | fs/locks.c | static void locks_insert_lock(struct file_lock **pos, struct file_lock *fl); |
pos | 660 | fs/locks.c | static void locks_insert_lock(struct file_lock **pos, struct file_lock *fl) |
pos | 667 | fs/locks.c | fl->fl_next = *pos; /* insert into file's list */ |
pos | 668 | fs/locks.c | *pos = fl; |
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 | 283 | fs/msdos/misc.c | int msdos_get_entry(struct inode *dir, loff_t *pos,struct buffer_head **bh, |
pos | 290 | fs/msdos/misc.c | offset = *pos; |
pos | 297 | fs/msdos/misc.c | *pos += sizeof(struct msdos_dir_entry); |
pos | 35 | fs/msdos/mmap.c | int pos; |
pos | 39 | fs/msdos/mmap.c | pos = address - area->vm_start + area->vm_offset; |
pos | 42 | fs/msdos/mmap.c | gap = inode->i_size - pos; |
pos | 54 | fs/msdos/mmap.c | filp.f_pos = pos; |
pos | 363 | fs/msdos/namei.c | loff_t pos; |
pos | 370 | fs/msdos/namei.c | pos = 0; |
pos | 372 | fs/msdos/namei.c | while (msdos_get_entry(dir,&pos,&bh,&de) > -1) |
pos | 29 | fs/nfs/cache.c | nfs_cache *nfs_cache_find(struct inode *inode, off_t pos) |
pos | 37 | fs/nfs/cache.c | if(nh->inode_num==inode->i_no && !nh->dead&&!nh->free&&nh->file_pos==pos) |
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 | 38 | fs/nfs/mmap.c | int pos; |
pos | 42 | fs/nfs/mmap.c | pos = address - area->vm_start + area->vm_offset; |
pos | 58 | fs/nfs/mmap.c | pos, hunk, (char *) (page + i), &fattr, 0); |
pos | 61 | fs/nfs/mmap.c | pos += result; |
pos | 80 | fs/proc/scsi.c | int len, pos, begin; |
pos | 83 | fs/proc/scsi.c | pos = len = sprintf(buffer, |
pos | 85 | fs/proc/scsi.c | if(pos < offset) { |
pos | 87 | fs/proc/scsi.c | begin = pos; |
pos | 373 | fs/smbfs/dir.c | char *pos = strrchr(parentname, '\\'); |
pos | 375 | fs/smbfs/dir.c | if ( (pos == NULL) |
pos | 387 | fs/smbfs/dir.c | if (pos == NULL) { |
pos | 393 | fs/smbfs/dir.c | len = pos - parentname; |
pos | 66 | fs/smbfs/file.c | off_t pos; |
pos | 85 | fs/smbfs/file.c | pos = file->f_pos; |
pos | 87 | fs/smbfs/file.c | if (pos + count > inode->i_size) |
pos | 88 | fs/smbfs/file.c | count = inode->i_size - pos; |
pos | 107 | fs/smbfs/file.c | pos, to_read, buf); |
pos | 115 | fs/smbfs/file.c | pos, to_read, buf, 1); |
pos | 120 | fs/smbfs/file.c | pos += result; |
pos | 129 | fs/smbfs/file.c | file->f_pos = pos; |
pos | 143 | fs/smbfs/file.c | off_t pos; |
pos | 165 | fs/smbfs/file.c | pos = file->f_pos; |
pos | 168 | fs/smbfs/file.c | pos = inode->i_size; |
pos | 188 | fs/smbfs/file.c | pos, to_write, buf); |
pos | 196 | fs/smbfs/file.c | pos, to_write, buf); |
pos | 202 | fs/smbfs/file.c | pos += result; |
pos | 214 | fs/smbfs/file.c | file->f_pos = pos; |
pos | 216 | fs/smbfs/file.c | if (pos > inode->i_size) { |
pos | 217 | fs/smbfs/file.c | inode->i_size = pos; |
pos | 35 | fs/smbfs/mmap.c | int pos; |
pos | 38 | fs/smbfs/mmap.c | pos = address - area->vm_start + area->vm_offset; |
pos | 62 | fs/smbfs/mmap.c | DDPRINTK("smb_file_mmap_nopage: pos = %d\n", pos); |
pos | 64 | fs/smbfs/mmap.c | SMB_FINFO(inode), pos, hunk, |
pos | 69 | fs/smbfs/mmap.c | pos += result; |
pos | 235 | fs/smbfs/proc.c | int pos = SMB_HEADER_LEN + SMB_WCT(packet) * sizeof(word); |
pos | 237 | fs/smbfs/proc.c | return *((word *)((byte *)packet + pos)); |
pos | 239 | fs/smbfs/proc.c | return packet[pos] | packet[pos+1] << 8; |
pos | 202 | fs/sysv/file.c | off_t pos; |
pos | 223 | fs/sysv/file.c | pos = inode->i_size; |
pos | 225 | fs/sysv/file.c | pos = filp->f_pos; |
pos | 228 | fs/sysv/file.c | bh = sysv_getblk (inode, pos >> sb->sv_block_size_bits, 1); |
pos | 234 | fs/sysv/file.c | c = sb->sv_block_size - (pos & sb->sv_block_size_1); |
pos | 248 | fs/sysv/file.c | p = (pos & sb->sv_block_size_1) + bh->b_data; |
pos | 249 | fs/sysv/file.c | pos += c; |
pos | 250 | fs/sysv/file.c | if (pos > inode->i_size) { |
pos | 251 | fs/sysv/file.c | inode->i_size = pos; |
pos | 262 | 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 | 368 | fs/sysv/namei.c | unsigned long pos, block, offset; /* pos = block * block_size + offset */ |
pos | 376 | fs/sysv/namei.c | pos = offset = 2*SYSV_DIRSIZE; |
pos | 379 | fs/sysv/namei.c | if (inode->i_size < pos) |
pos | 391 | fs/sysv/namei.c | while (pos < inode->i_size) { |
pos | 396 | fs/sysv/namei.c | pos += sb->sv_block_size; |
pos | 401 | fs/sysv/namei.c | pos += SYSV_DIRSIZE; |
pos | 207 | fs/umsdos/emd.c | int pos; /* read offset in buffer */ |
pos | 223 | fs/umsdos/emd.c | int mustmove = buf->size - buf->pos; |
pos | 227 | fs/umsdos/emd.c | memcpy (buf->buffer,buf->buffer+buf->pos,mustmove); |
pos | 229 | fs/umsdos/emd.c | buf->pos = 0; |
pos | 290 | fs/umsdos/emd.c | buf.pos = 0; |
pos | 299 | fs/umsdos/emd.c | (buf.buffer + buf.pos); |
pos | 300 | fs/umsdos/emd.c | int file_pos = buf.filp.f_pos - buf.size + buf.pos; |
pos | 301 | fs/umsdos/emd.c | if (buf.pos == buf.size){ |
pos | 328 | fs/umsdos/emd.c | buf.pos += UMSDOS_REC_SIZE; |
pos | 331 | fs/umsdos/emd.c | if (buf.pos+entry_size > buf.size){ |
pos | 348 | fs/umsdos/emd.c | buf.pos += entry_size; |
pos | 42 | fs/umsdos/inode.c | ,inode->u.umsdos_i.i_emd_owner,inode->u.umsdos_i.pos |
pos | 109 | fs/umsdos/inode.c | inode->u.umsdos_i.pos = f_pos; |
pos | 316 | fs/umsdos/inode.c | filp.f_pos = inode->u.umsdos_i.pos; |
pos | 338 | fs/umsdos/inode.c | filp.f_pos = inode->u.umsdos_i.pos; |
pos | 343 | 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 | 61 | fs/xiafs/namei.c | int i, zones, pos; |
pos | 87 | fs/xiafs/namei.c | pos = 0; |
pos | 88 | fs/xiafs/namei.c | while ( pos < XIAFS_ZSIZE(inode->i_sb) ) { |
pos | 103 | fs/xiafs/namei.c | pos += dep->d_rec_len; |
pos | 105 | fs/xiafs/namei.c | dep=(struct xiafs_direct *)(bh->b_data + pos); |
pos | 108 | fs/xiafs/namei.c | if (pos > XIAFS_ZSIZE(inode->i_sb)) { |
pos | 158 | fs/xiafs/namei.c | int i, pos, offset; |
pos | 170 | fs/xiafs/namei.c | pos=0; |
pos | 172 | fs/xiafs/namei.c | bh = xiafs_bread(dir, pos >> XIAFS_ZSIZE_BITS(dir->i_sb), pos ? 1:0); |
pos | 176 | fs/xiafs/namei.c | if (!pos) { |
pos | 188 | fs/xiafs/namei.c | if (pos >= dir->i_size) { |
pos | 240 | fs/xiafs/namei.c | pos+=XIAFS_ZSIZE(dir->i_sb); |
pos | 516 | include/linux/fs.h | unsigned int pos, unsigned int filesize); |
pos | 129 | include/linux/msdos_fs.h | extern int msdos_get_entry(struct inode *dir,loff_t *pos,struct buffer_head **bh, |
pos | 1073 | include/linux/soundcard.h | #define SEQ_PANNING(dev, voice, pos) SEQ_CONTROL(dev, voice, CTL_PAN, (pos+128) / 2) |
pos | 1094 | 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 | 587 | kernel/module.c | off_t pos = 0; |
pos | 608 | kernel/module.c | pos = begin + len; |
pos | 609 | kernel/module.c | if (pos < offset) { |
pos | 611 | kernel/module.c | begin = pos; |
pos | 613 | kernel/module.c | pos = begin + len; |
pos | 614 | kernel/module.c | if (pos > offset+length) |
pos | 248 | net/802/tr.c | off_t pos=0; |
pos | 255 | net/802/tr.c | pos+=size; |
pos | 265 | net/802/tr.c | pos=begin+len; |
pos | 267 | net/802/tr.c | if(pos<offset) { |
pos | 269 | net/802/tr.c | begin=pos; |
pos | 271 | net/802/tr.c | if(pos>offset+length) |
pos | 274 | net/802/tr.c | if(pos>offset+length) |
pos | 237 | net/appletalk/ddp.c | off_t pos=0; |
pos | 256 | net/appletalk/ddp.c | pos=begin+len; |
pos | 258 | net/appletalk/ddp.c | if(pos<offset) |
pos | 261 | net/appletalk/ddp.c | begin=pos; |
pos | 263 | net/appletalk/ddp.c | if(pos>offset+length) /* We have dumped enough */ |
pos | 844 | net/appletalk/ddp.c | off_t pos=0; |
pos | 855 | net/appletalk/ddp.c | pos=begin+len; |
pos | 856 | net/appletalk/ddp.c | if(pos<offset) |
pos | 859 | net/appletalk/ddp.c | begin=pos; |
pos | 861 | net/appletalk/ddp.c | if(pos>offset+length) |
pos | 877 | net/appletalk/ddp.c | off_t pos=0; |
pos | 894 | net/appletalk/ddp.c | pos=begin+len; |
pos | 895 | net/appletalk/ddp.c | if(pos<offset) |
pos | 898 | net/appletalk/ddp.c | begin=pos; |
pos | 900 | net/appletalk/ddp.c | if(pos>offset+length) |
pos | 2009 | net/ax25/af_ax25.c | off_t pos = 0; |
pos | 2046 | net/ax25/af_ax25.c | pos = begin + len; |
pos | 2048 | net/ax25/af_ax25.c | if (pos < offset) { |
pos | 2050 | net/ax25/af_ax25.c | begin = pos; |
pos | 2053 | net/ax25/af_ax25.c | if (pos > offset + length) |
pos | 270 | net/ax25/ax25_route.c | off_t pos = 0; |
pos | 305 | net/ax25/ax25_route.c | pos = begin + len; |
pos | 307 | net/ax25/ax25_route.c | if (pos < offset) { |
pos | 309 | net/ax25/ax25_route.c | begin = pos; |
pos | 312 | net/ax25/ax25_route.c | if (pos > offset + length) |
pos | 330 | net/ax25/ax25_route.c | off_t pos = 0; |
pos | 340 | net/ax25/ax25_route.c | pos = begin + len; |
pos | 342 | net/ax25/ax25_route.c | if (pos < offset) { |
pos | 344 | net/ax25/ax25_route.c | begin = pos; |
pos | 347 | net/ax25/ax25_route.c | if (pos > offset + length) |
pos | 804 | net/core/dev.c | char *pos; |
pos | 817 | net/core/dev.c | pos = ifc.ifc_buf; |
pos | 824 | net/core/dev.c | err=verify_area(VERIFY_WRITE,pos,len); |
pos | 852 | net/core/dev.c | memcpy_tofs(pos, &ifr, sizeof(struct ifreq)); |
pos | 853 | net/core/dev.c | pos += sizeof(struct ifreq); |
pos | 861 | net/core/dev.c | ifc.ifc_len = (pos - ifc.ifc_buf); |
pos | 869 | net/core/dev.c | return(pos - arg); |
pos | 910 | net/core/dev.c | off_t pos=0; |
pos | 919 | net/core/dev.c | pos+=size; |
pos | 927 | net/core/dev.c | pos=begin+len; |
pos | 929 | net/core/dev.c | if(pos<offset) |
pos | 932 | net/core/dev.c | begin=pos; |
pos | 934 | net/core/dev.c | if(pos>offset+length) |
pos | 1287 | net/ipv4/arp.c | off_t pos=0; |
pos | 1296 | net/ipv4/arp.c | pos+=size; |
pos | 1352 | net/ipv4/arp.c | pos += size; |
pos | 1354 | net/ipv4/arp.c | if (pos <= offset) |
pos | 1356 | net/ipv4/arp.c | if (pos >= offset+length) |
pos | 1362 | net/ipv4/arp.c | *start = buffer+len-(pos-offset); /* Start of wanted data */ |
pos | 1363 | net/ipv4/arp.c | len = pos-offset; /* Start slop */ |
pos | 1540 | net/ipv4/ip_fw.c | off_t pos=0, begin=0; |
pos | 1589 | net/ipv4/ip_fw.c | pos=begin+len; |
pos | 1590 | net/ipv4/ip_fw.c | if(pos<offset) |
pos | 1593 | net/ipv4/ip_fw.c | begin=pos; |
pos | 1601 | net/ipv4/ip_fw.c | if(pos>offset+length) |
pos | 1647 | net/ipv4/ip_fw.c | off_t pos=0, begin=0; |
pos | 1671 | net/ipv4/ip_fw.c | pos=begin+len; |
pos | 1672 | net/ipv4/ip_fw.c | if(pos<offset) |
pos | 1675 | net/ipv4/ip_fw.c | begin=pos; |
pos | 1677 | net/ipv4/ip_fw.c | if(pos>offset+length) |
pos | 45 | net/ipv4/ip_sockglue.c | off_t pos=0, begin=0; |
pos | 67 | net/ipv4/ip_sockglue.c | pos=begin+len; |
pos | 68 | net/ipv4/ip_sockglue.c | if(pos<offset) |
pos | 71 | net/ipv4/ip_sockglue.c | begin=pos; |
pos | 73 | net/ipv4/ip_sockglue.c | if(pos>offset+length) |
pos | 790 | net/ipv4/ipmr.c | off_t pos=0; |
pos | 797 | net/ipv4/ipmr.c | pos=len; |
pos | 810 | net/ipv4/ipmr.c | pos+=size; |
pos | 811 | net/ipv4/ipmr.c | if(pos<offset) |
pos | 814 | net/ipv4/ipmr.c | begin=pos; |
pos | 816 | net/ipv4/ipmr.c | if(pos>offset+length) |
pos | 831 | net/ipv4/ipmr.c | off_t pos=0; |
pos | 838 | net/ipv4/ipmr.c | pos=len; |
pos | 872 | net/ipv4/ipmr.c | pos+=size; |
pos | 873 | net/ipv4/ipmr.c | if(pos<offset) |
pos | 876 | net/ipv4/ipmr.c | begin=pos; |
pos | 878 | net/ipv4/ipmr.c | if(pos>offset+length) |
pos | 71 | net/ipv4/proc.c | off_t pos=0; |
pos | 127 | net/ipv4/proc.c | pos=begin+len; |
pos | 128 | net/ipv4/proc.c | if(pos<offset) |
pos | 131 | net/ipv4/proc.c | begin=pos; |
pos | 133 | net/ipv4/proc.c | if(pos>offset+length) |
pos | 140 | net/ipv4/proc.c | if(pos>offset+length) |
pos | 484 | net/ipv4/rarp.c | off_t pos=0; |
pos | 492 | net/ipv4/rarp.c | pos+=size; |
pos | 499 | net/ipv4/rarp.c | pos+=size; |
pos | 524 | net/ipv4/rarp.c | pos=begin+len; |
pos | 526 | net/ipv4/rarp.c | if(pos<offset) |
pos | 529 | net/ipv4/rarp.c | begin=pos; |
pos | 531 | net/ipv4/rarp.c | if(pos>offset+length) |
pos | 800 | net/ipv4/route.c | off_t pos=0; |
pos | 804 | net/ipv4/route.c | pos = 128; |
pos | 824 | net/ipv4/route.c | if (pos + 128*fz->fz_nent <= offset) |
pos | 826 | net/ipv4/route.c | pos += 128*fz->fz_nent; |
pos | 851 | net/ipv4/route.c | pos += 128; |
pos | 853 | net/ipv4/route.c | if (pos <= offset) |
pos | 867 | net/ipv4/route.c | if (pos >= offset+length) |
pos | 877 | net/ipv4/route.c | *start = buffer+len-(pos-offset); |
pos | 878 | net/ipv4/route.c | len = pos - offset; |
pos | 887 | net/ipv4/route.c | off_t pos=0; |
pos | 892 | net/ipv4/route.c | pos = 128; |
pos | 912 | net/ipv4/route.c | pos += 128; |
pos | 914 | net/ipv4/route.c | if (pos <= offset) |
pos | 926 | net/ipv4/route.c | if (pos >= offset+length) |
pos | 935 | net/ipv4/route.c | *start = buffer+len-(pos-offset); |
pos | 936 | net/ipv4/route.c | len = pos-offset; |
pos | 1177 | net/ipx/af_ipx.c | off_t pos=0; |
pos | 1196 | net/ipx/af_ipx.c | pos=begin+len; |
pos | 1198 | net/ipx/af_ipx.c | if(pos<offset) { |
pos | 1200 | net/ipx/af_ipx.c | begin=pos; |
pos | 1202 | net/ipx/af_ipx.c | if(pos>offset+length) /* We have dumped enough */ |
pos | 1221 | net/ipx/af_ipx.c | off_t pos=0; |
pos | 1251 | net/ipx/af_ipx.c | pos=begin+len; |
pos | 1253 | net/ipx/af_ipx.c | if(pos<offset) |
pos | 1256 | net/ipx/af_ipx.c | begin=pos; |
pos | 1258 | net/ipx/af_ipx.c | if(pos>offset+length) /* We have dumped enough */ |
pos | 1277 | net/ipx/af_ipx.c | off_t pos=0; |
pos | 1295 | net/ipx/af_ipx.c | pos=begin+len; |
pos | 1296 | net/ipx/af_ipx.c | if(pos<offset) |
pos | 1299 | net/ipx/af_ipx.c | begin=pos; |
pos | 1301 | net/ipx/af_ipx.c | if(pos>offset+length) |
pos | 1287 | net/netrom/af_netrom.c | off_t pos = 0; |
pos | 1319 | net/netrom/af_netrom.c | pos = begin + len; |
pos | 1321 | net/netrom/af_netrom.c | if (pos < offset) { |
pos | 1323 | net/netrom/af_netrom.c | begin = pos; |
pos | 1326 | net/netrom/af_netrom.c | if (pos > offset + length) |
pos | 716 | net/netrom/nr_route.c | off_t pos = 0; |
pos | 740 | net/netrom/nr_route.c | pos = begin + len; |
pos | 742 | net/netrom/nr_route.c | if (pos < offset) { |
pos | 744 | net/netrom/nr_route.c | begin = pos; |
pos | 747 | net/netrom/nr_route.c | if (pos > offset + length) |
pos | 766 | net/netrom/nr_route.c | off_t pos = 0; |
pos | 782 | net/netrom/nr_route.c | pos = begin + len; |
pos | 784 | net/netrom/nr_route.c | if (pos < offset) { |
pos | 786 | net/netrom/nr_route.c | begin = pos; |
pos | 789 | net/netrom/nr_route.c | if (pos > offset + length) |
pos | 974 | net/unix/af_unix.c | off_t pos=0; |
pos | 995 | net/unix/af_unix.c | pos=begin+len; |
pos | 996 | net/unix/af_unix.c | if(pos<offset) |
pos | 999 | net/unix/af_unix.c | begin=pos; |
pos | 1001 | net/unix/af_unix.c | if(pos>offset+length) |