tag | line | file | source code |
blocks | 798 | drivers/block/ide-tape.c | int idetape_add_chrdev_write_request (ide_drive_t *drive,int cmd,int blocks,char *buffer); |
blocks | 806 | drivers/block/ide-tape.c | int idetape_queue_rw_tail (ide_drive_t *drive,int cmd,int blocks,char *buffer); |
blocks | 2774 | drivers/block/ide-tape.c | int idetape_queue_rw_tail (ide_drive_t *drive,int cmd,int blocks,char *buffer) |
blocks | 2789 | drivers/block/ide-tape.c | rq.nr_sectors = blocks; |
blocks | 2790 | drivers/block/ide-tape.c | rq.current_nr_sectors = blocks; |
blocks | 2810 | drivers/block/ide-tape.c | int idetape_add_chrdev_write_request (ide_drive_t *drive,int cmd,int blocks,char *buffer) |
blocks | 2859 | drivers/block/ide-tape.c | return (idetape_queue_rw_tail (drive,cmd,blocks,buffer)); |
blocks | 2868 | drivers/block/ide-tape.c | rq->nr_sectors = blocks; |
blocks | 2869 | drivers/block/ide-tape.c | rq->current_nr_sectors = blocks; |
blocks | 3136 | drivers/block/ide-tape.c | int blocks,remainder,retval,ctl_bytes; |
blocks | 3154 | drivers/block/ide-tape.c | blocks=count/ctl_bytes; |
blocks | 3157 | drivers/block/ide-tape.c | while (blocks) { |
blocks | 3175 | drivers/block/ide-tape.c | blocks--; |
blocks | 3188 | drivers/block/ide-tape.c | int blocks,remainder,retval; |
blocks | 3203 | drivers/block/ide-tape.c | blocks=count/tape->tape_block_size; |
blocks | 3209 | drivers/block/ide-tape.c | blocks++; |
blocks | 3215 | drivers/block/ide-tape.c | retval=idetape_queue_rw_tail (drive,IDETAPE_READ_REQUEST,blocks,tape->data_buffer); |
blocks | 3237 | drivers/block/ide-tape.c | int blocks,remainder,retval; |
blocks | 3255 | drivers/block/ide-tape.c | blocks=count/tape->data_buffer_size; |
blocks | 3258 | drivers/block/ide-tape.c | while (blocks) { |
blocks | 3275 | drivers/block/ide-tape.c | blocks--; |
blocks | 3288 | drivers/block/ide-tape.c | int blocks,remainder,retval; |
blocks | 3299 | drivers/block/ide-tape.c | blocks=count/tape->tape_block_size; |
blocks | 3302 | drivers/block/ide-tape.c | blocks++; |
blocks | 3312 | drivers/block/ide-tape.c | ptr=tape->temp_data_buffer+(blocks-1)*tape->tape_block_size; |
blocks | 3320 | drivers/block/ide-tape.c | retval=idetape_add_chrdev_write_request (drive,IDETAPE_WRITE_REQUEST,blocks,tape->temp_data_buffer); |
blocks | 1037 | drivers/scsi/fdomain.c | unsigned long blocks, size, capacity; |
blocks | 1039 | drivers/scsi/fdomain.c | blocks = (buf[0] << 24) | (buf[1] << 16) |
blocks | 1042 | drivers/scsi/fdomain.c | capacity = +( +(blocks / 1024L) * +(size * 10L)) / 1024L; |
blocks | 831 | drivers/sound/dmabuf.c | info.blocks = audio_devs[dev]->dmap_in->qlen; |
blocks | 849 | drivers/sound/dmabuf.c | info.blocks = audio_devs[dev]->dmap_out->qlen; |
blocks | 26 | fs/block_dev.c | int block, blocks; |
blocks | 90 | fs/block_dev.c | blocks = read_ahead[MAJOR(dev)] / (blocksize >> 9) / 2; |
blocks | 91 | fs/block_dev.c | if (block + blocks > size) blocks = size - block; |
blocks | 92 | fs/block_dev.c | if (blocks > NBUF) blocks=NBUF; |
blocks | 93 | fs/block_dev.c | excess = (block + blocks) % blocks_per_cluster; |
blocks | 94 | fs/block_dev.c | if ( blocks > excess ) |
blocks | 95 | fs/block_dev.c | blocks -= excess; |
blocks | 97 | fs/block_dev.c | for(i=1; i<blocks; i++){ |
blocks | 108 | fs/block_dev.c | ll_rw_block(READ, blocks, bhlist); |
blocks | 109 | fs/block_dev.c | for(i=1; i<blocks; i++) brelse(bhlist[i]); |
blocks | 166 | fs/block_dev.c | unsigned int blocks, rblocks, left; |
blocks | 213 | fs/block_dev.c | rblocks = blocks = (left + offset + blocksize - 1) >> blocksize_bits; |
blocks | 216 | fs/block_dev.c | if (blocks < read_ahead[MAJOR(dev)] / (blocksize >> 9)) |
blocks | 217 | fs/block_dev.c | blocks = read_ahead[MAJOR(dev)] / (blocksize >> 9); |
blocks | 218 | fs/block_dev.c | excess = (block + blocks) % blocks_per_cluster; |
blocks | 219 | fs/block_dev.c | if ( blocks > excess ) |
blocks | 220 | fs/block_dev.c | blocks -= excess; |
blocks | 221 | fs/block_dev.c | if (rblocks > blocks) |
blocks | 222 | fs/block_dev.c | blocks = rblocks; |
blocks | 225 | fs/block_dev.c | if (block + blocks > size) |
blocks | 226 | fs/block_dev.c | blocks = size - block; |
blocks | 241 | fs/block_dev.c | while (blocks) { |
blocks | 242 | fs/block_dev.c | --blocks; |
blocks | 890 | fs/buffer.c | unsigned int blocks; |
blocks | 906 | fs/buffer.c | blocks = ((filesize & (bufsize - 1)) - (pos & (bufsize - 1))) >> (9+index); |
blocks | 908 | fs/buffer.c | if (blocks > (read_ahead[MAJOR(dev)] >> index)) |
blocks | 909 | fs/buffer.c | blocks = read_ahead[MAJOR(dev)] >> index; |
blocks | 910 | fs/buffer.c | if (blocks > NBUF) |
blocks | 911 | fs/buffer.c | blocks = NBUF; |
blocks | 915 | fs/buffer.c | for(i=1; i<blocks; i++) { |
blocks | 410 | fs/dquot.c | static int check_bdq(struct dquot *dquot, short type, u_long blocks) |
blocks | 412 | fs/dquot.c | if (blocks <= 0 || dquot->dq_flags & DQ_FAKE) |
blocks | 415 | fs/dquot.c | (dquot->dq_curblocks + blocks) > dquot->dq_bhardlimit && !fsuser()) { |
blocks | 426 | fs/dquot.c | (dquot->dq_curblocks + blocks) > dquot->dq_bsoftlimit && |
blocks | 436 | fs/dquot.c | (dquot->dq_curblocks + blocks) > dquot->dq_bsoftlimit && |
blocks | 724 | fs/dquot.c | u_long blocks; |
blocks | 729 | fs/dquot.c | blocks = (isize / blksize) + ((isize % blksize) ? 1 : 0); |
blocks | 730 | fs/dquot.c | if (blocks > 10) { |
blocks | 731 | fs/dquot.c | indirect = ((blocks - 11) >> 8) + 1; /* single indirect blocks */ |
blocks | 732 | fs/dquot.c | if (blocks > (10 + 256)) { |
blocks | 733 | fs/dquot.c | indirect += ((blocks - 267) >> 16) + 1; /* double indirect blocks */ |
blocks | 734 | fs/dquot.c | if (blocks > (10 + 256 + (256 << 8))) |
blocks | 737 | fs/dquot.c | blocks += indirect; |
blocks | 739 | fs/dquot.c | return(blocks); |
blocks | 808 | fs/dquot.c | unsigned long blocks; |
blocks | 817 | fs/dquot.c | blocks = isize_to_blocks(inode->i_size, BLOCK_SIZE); |
blocks | 819 | fs/dquot.c | blocks = (inode->i_blocks / 2); |
blocks | 848 | fs/dquot.c | check_bdq(transfer_to[cnt], cnt, blocks) == NO_QUOTA) { |
blocks | 870 | fs/dquot.c | dquot_decr_blocks(transfer_from[cnt], blocks); |
blocks | 874 | fs/dquot.c | dquot_incr_blocks(transfer_to[cnt], blocks); |
blocks | 75 | fs/ext/file.c | int block, blocks, offset; |
blocks | 104 | fs/ext/file.c | blocks = (left + offset + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; |
blocks | 107 | fs/ext/file.c | if(blocks < read_ahead[MAJOR(inode->i_dev)] / (BLOCK_SIZE >> 9)) |
blocks | 108 | fs/ext/file.c | blocks = read_ahead[MAJOR(inode->i_dev)] / (BLOCK_SIZE >> 9); |
blocks | 109 | fs/ext/file.c | if (block + blocks > size) |
blocks | 110 | fs/ext/file.c | blocks = size - block; |
blocks | 126 | fs/ext/file.c | while (blocks) { |
blocks | 127 | fs/ext/file.c | --blocks; |
blocks | 84 | fs/ext2/file.c | int block, blocks, offset; |
blocks | 119 | fs/ext2/file.c | blocks = (left + offset + sb->s_blocksize - 1) >> EXT2_BLOCK_SIZE_BITS(sb); |
blocks | 122 | fs/ext2/file.c | if (blocks < read_ahead[MAJOR(inode->i_dev)] >> (EXT2_BLOCK_SIZE_BITS(sb) - 9)) |
blocks | 123 | fs/ext2/file.c | blocks = read_ahead[MAJOR(inode->i_dev)] >> (EXT2_BLOCK_SIZE_BITS(sb) - 9); |
blocks | 124 | fs/ext2/file.c | if (block + blocks > size) |
blocks | 125 | fs/ext2/file.c | blocks = size - block; |
blocks | 145 | fs/ext2/file.c | while (blocks) { |
blocks | 146 | fs/ext2/file.c | --blocks; |
blocks | 189 | fs/ext2/inode.c | int blocks = inode->i_sb->s_blocksize / 512; |
blocks | 240 | fs/ext2/inode.c | inode->i_blocks += blocks; |
blocks | 256 | fs/ext2/inode.c | int blocks = inode->i_sb->s_blocksize / 512; |
blocks | 317 | fs/ext2/inode.c | inode->i_blocks += blocks; |
blocks | 67 | fs/ext2/truncate.c | int blocks = inode->i_sb->s_blocksize / 512; |
blocks | 90 | fs/ext2/truncate.c | inode->i_blocks -= blocks; |
blocks | 120 | fs/ext2/truncate.c | int blocks = inode->i_sb->s_blocksize / 512; |
blocks | 171 | fs/ext2/truncate.c | inode->i_blocks -= blocks; |
blocks | 186 | fs/ext2/truncate.c | inode->i_blocks -= blocks; |
blocks | 206 | fs/ext2/truncate.c | int blocks = inode->i_sb->s_blocksize / 512; |
blocks | 246 | fs/ext2/truncate.c | inode->i_blocks -= blocks; |
blocks | 265 | fs/ext2/truncate.c | int blocks = inode->i_sb->s_blocksize / 512; |
blocks | 305 | fs/ext2/truncate.c | inode->i_blocks -= blocks; |
blocks | 120 | fs/isofs/file.c | int block, blocks, offset, total_blocks; |
blocks | 149 | fs/isofs/file.c | blocks = (left + offset + ISOFS_BUFFER_SIZE(inode) - 1) / ISOFS_BUFFER_SIZE(inode); |
blocks | 153 | fs/isofs/file.c | if(ra_blocks > blocks) blocks = ra_blocks; |
blocks | 164 | fs/isofs/file.c | if (block + blocks > total_blocks) |
blocks | 165 | fs/isofs/file.c | blocks = total_blocks - block; |
blocks | 182 | fs/isofs/file.c | while (blocks) { |
blocks | 184 | fs/isofs/file.c | --blocks; |
blocks | 69 | fs/minix/file.c | int block, blocks, offset; |
blocks | 98 | fs/minix/file.c | blocks = (left + offset + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; |
blocks | 101 | fs/minix/file.c | if(blocks < read_ahead[MAJOR(inode->i_dev)] / (BLOCK_SIZE >> 9)) |
blocks | 102 | fs/minix/file.c | blocks = read_ahead[MAJOR(inode->i_dev)] / (BLOCK_SIZE >> 9); |
blocks | 103 | fs/minix/file.c | if (block + blocks > size) |
blocks | 104 | fs/minix/file.c | blocks = size - block; |
blocks | 120 | fs/minix/file.c | while (blocks) { |
blocks | 121 | fs/minix/file.c | --blocks; |
blocks | 624 | fs/nfs/dir.c | inode->i_blocks = fattr->blocks; |
blocks | 188 | fs/nfs/inode.c | res.bsize = res.blocks = res.bfree = res.bavail = 0; |
blocks | 192 | fs/nfs/inode.c | tmp.f_blocks = res.blocks; |
blocks | 176 | fs/nfs/proc.c | fattr->blocks = ntohl(*p++); |
blocks | 215 | fs/nfs/proc.c | res->blocks = ntohl(*p++); |
blocks | 42 | fs/stat.c | unsigned int blocks, indirect; |
blocks | 77 | fs/stat.c | blocks = (tmp.st_size + BLOCK_SIZE - 1) / BLOCK_SIZE; |
blocks | 78 | fs/stat.c | if (blocks > D_B) { |
blocks | 79 | fs/stat.c | indirect = (blocks - D_B + I_B - 1) / I_B; |
blocks | 80 | fs/stat.c | blocks += indirect; |
blocks | 83 | fs/stat.c | blocks += indirect; |
blocks | 85 | fs/stat.c | blocks++; |
blocks | 88 | fs/stat.c | tmp.st_blocks = (BLOCK_SIZE / 512) * blocks; |
blocks | 77 | fs/sysv/file.c | int blocks, offset; |
blocks | 106 | fs/sysv/file.c | blocks = (left + offset + sb->sv_block_size_1) >> sb->sv_block_size_bits; |
blocks | 109 | fs/sysv/file.c | blocks += read_ahead[MAJOR(inode->i_dev)] >> (sb->sv_block_size_bits - 9); |
blocks | 110 | fs/sysv/file.c | if (block + blocks > size) |
blocks | 111 | fs/sysv/file.c | blocks = size - block; |
blocks | 128 | fs/sysv/file.c | while (blocks) { |
blocks | 129 | fs/sysv/file.c | --blocks; |
blocks | 23 | fs/xiafs/xiafs_mac.h | #define XIAFS_GET_BLOCKS(row_ip, blocks) \ |
blocks | 24 | fs/xiafs/xiafs_mac.h | blocks=((((row_ip)->i_zone[0] >> 24) & 0xff )|\ |
blocks | 29 | fs/xiafs/xiafs_mac.h | #define XIAFS_PUT_BLOCKS(row_ip, blocks) \ |
blocks | 30 | fs/xiafs/xiafs_mac.h | (row_ip)->i_zone[2]=((blocks)<< 8) & 0xff000000;\ |
blocks | 31 | fs/xiafs/xiafs_mac.h | (row_ip)->i_zone[1]=((blocks)<<16) & 0xff000000;\ |
blocks | 32 | fs/xiafs/xiafs_mac.h | (row_ip)->i_zone[0]=((blocks)<<24) & 0xff000000 |
blocks | 138 | include/linux/nfs.h | u_int blocks; |
blocks | 165 | include/linux/nfs.h | u_int blocks; |
blocks | 618 | include/linux/soundcard.h | int blocks; /* # of fragment transitions since last time */ |