taglinefilesource code
blocks905drivers/block/ide-tape.cint idetape_add_chrdev_read_request (ide_drive_t *drive,int blocks,char *buffer);
blocks912drivers/block/ide-tape.cint idetape_add_chrdev_write_request (ide_drive_t *drive,int blocks,char *buffer);
blocks920drivers/block/ide-tape.cint idetape_queue_rw_tail (ide_drive_t *drive,int cmd,int blocks,char *buffer);
blocks3159drivers/block/ide-tape.cint idetape_queue_rw_tail (ide_drive_t *drive,int cmd,int blocks,char *buffer)
blocks3179drivers/block/ide-tape.crq.nr_sectors = rq.current_nr_sectors = blocks;
blocks3182drivers/block/ide-tape.creturn (tape->tape_block_size*(blocks-rq.current_nr_sectors));
blocks3190drivers/block/ide-tape.cint idetape_add_chrdev_read_request (ide_drive_t *drive,int blocks,char *buffer)
blocks3206drivers/block/ide-tape.crq.nr_sectors = rq.current_nr_sectors = blocks;
blocks3228drivers/block/ide-tape.creturn (idetape_queue_rw_tail (drive,IDETAPE_READ_REQUEST,blocks,buffer));
blocks3243drivers/block/ide-tape.cif (bytes_read > blocks*tape->tape_block_size) {
blocks3245drivers/block/ide-tape.cbytes_read=blocks*tape->tape_block_size;
blocks3263drivers/block/ide-tape.cint idetape_add_chrdev_write_request (ide_drive_t *drive,int blocks,char *buffer)
blocks3299drivers/block/ide-tape.creturn (idetape_queue_rw_tail (drive,IDETAPE_WRITE_REQUEST,blocks,buffer));
blocks3308drivers/block/ide-tape.crq->nr_sectors = blocks;
blocks3309drivers/block/ide-tape.crq->current_nr_sectors = blocks;
blocks3334drivers/block/ide-tape.creturn (blocks);
blocks3402drivers/block/ide-tape.cint blocks;
blocks3416drivers/block/ide-tape.cblocks=tape->merge_buffer_size/tape->tape_block_size;
blocks3418drivers/block/ide-tape.cblocks++;
blocks3421drivers/block/ide-tape.c(void) idetape_add_chrdev_write_request (drive,blocks,tape->merge_buffer);
blocks761drivers/char/ftape/ecc.cparity_bytes = &mseg->data[(mseg->blocks - 3) * SECTOR_SIZE];
blocks763drivers/char/ftape/ecc.cset_parity((unsigned long *) &mseg->data[i], mseg->blocks - 3,
blocks767drivers/char/ftape/ecc.cif (!sanity_check((unsigned long *) &mseg->data[i], mseg->blocks)) {
blocks796drivers/char/ftape/ecc.cmseg->blocks, ss)) {
blocks808drivers/char/ftape/ecc.cfor (i = 0; i < mseg->blocks; i++) {
blocks850drivers/char/ftape/ecc.cmseg->blocks,
blocks854drivers/char/ftape/ecc.cresult = correct_block(&mseg->data[col + i], mseg->blocks,
blocks870drivers/char/ftape/ecc.cif (!sanity_check((unsigned long *) &mseg->data[col], mseg->blocks)) {
blocks879drivers/char/ftape/ecc.cmseg->blocks, ss)) {
blocks67drivers/char/ftape/ecc.hint blocks;
blocks118drivers/char/ftape/ftape-read.cmseg.blocks = buffer[tail].bytes / SECTOR_SIZE;
blocks122drivers/char/ftape/ftape-read.cif (mseg.blocks <= 3) {
blocks139drivers/char/ftape/ftape-read.cmemcpy(destination, mseg.data, (mseg.blocks - 3) * SECTOR_SIZE);
blocks145drivers/char/ftape/ftape-read.creturn (mseg.blocks - 3) * SECTOR_SIZE;
blocks85drivers/char/ftape/ftape-write.cmseg.blocks = 0;  /* skip entire segment */
blocks88drivers/char/ftape/ftape-write.cmseg.blocks = SECTORS_PER_SEGMENT - bads;
blocks90drivers/char/ftape/ftape-write.cmemcpy(mseg.data, source, (mseg.blocks - 3) * SECTOR_SIZE);
blocks95drivers/char/ftape/ftape-write.cresult = (mseg.blocks - 3) * SECTOR_SIZE;
blocks1047drivers/scsi/fdomain.cunsigned long blocks, size, capacity;
blocks1049drivers/scsi/fdomain.cblocks = (buf[0] << 24) | (buf[1] << 16)
blocks1052drivers/scsi/fdomain.ccapacity = +( +(blocks / 1024L) * +(size * 10L)) / 1024L;
blocks325drivers/scsi/g_NCR5380.cint blocks = len / 128;
blocks334drivers/scsi/g_NCR5380.cprintk("53C400r: About to read %d blocks for %d bytes\n", blocks, len);
blocks338drivers/scsi/g_NCR5380.cNCR5380_write(C400_BLOCK_COUNTER_REG, blocks);
blocks342drivers/scsi/g_NCR5380.cprintk("53C400r: %d blocks left\n", blocks);
blocks347drivers/scsi/g_NCR5380.cif (blocks)
blocks348drivers/scsi/g_NCR5380.cprintk("53C400r: blocks still == %d\n", blocks);
blocks357drivers/scsi/g_NCR5380.cprintk("53C400r: Got 53C80_IRQ start=%d, blocks=%d\n", start, blocks);
blocks380drivers/scsi/g_NCR5380.cblocks--;
blocks400drivers/scsi/g_NCR5380.cblocks--;
blocks403drivers/scsi/g_NCR5380.cprintk("53C400r: Final values: blocks=%d   start=%d\n", blocks, start);
blocks433drivers/scsi/g_NCR5380.cint blocks = len / 128;
blocks442drivers/scsi/g_NCR5380.cprintk("53C400w: About to write %d blocks for %d bytes\n", blocks, len);
blocks446drivers/scsi/g_NCR5380.cNCR5380_write(C400_BLOCK_COUNTER_REG, blocks);
blocks449drivers/scsi/g_NCR5380.cprintk("53C400w: Got 53C80_IRQ start=%d, blocks=%d\n", start, blocks);
blocks455drivers/scsi/g_NCR5380.cif (blocks)
blocks456drivers/scsi/g_NCR5380.cprintk("53C400w: exiting loop, blocks still == %d\n", blocks);
blocks464drivers/scsi/g_NCR5380.cprintk("53C400w: %d blocks left\n", blocks);
blocks482drivers/scsi/g_NCR5380.cblocks--;
blocks484drivers/scsi/g_NCR5380.cif (blocks) {
blocks502drivers/scsi/g_NCR5380.cblocks--;
blocks510drivers/scsi/g_NCR5380.cprintk("53C400w: Final values: blocks=%d   start=%d\n", blocks, start);
blocks925drivers/sound/dmabuf.cinfo.blocks = audio_devs[dev]->dmap_in->qlen;
blocks945drivers/sound/dmabuf.cinfo.blocks = audio_devs[dev]->dmap_out->qlen;
blocks26fs/block_dev.cint block, blocks;
blocks90fs/block_dev.cblocks = read_ahead[MAJOR(dev)] / (blocksize >> 9) / 2;
blocks91fs/block_dev.cif (block + blocks > size) blocks = size - block;
blocks92fs/block_dev.cif (blocks > NBUF) blocks=NBUF;
blocks93fs/block_dev.cexcess = (block + blocks) % blocks_per_cluster;
blocks94fs/block_dev.cif ( blocks > excess )
blocks95fs/block_dev.cblocks -= excess;
blocks97fs/block_dev.cfor(i=1; i<blocks; i++){
blocks108fs/block_dev.cll_rw_block(READ, blocks, bhlist);
blocks109fs/block_dev.cfor(i=1; i<blocks; i++) brelse(bhlist[i]);
blocks166fs/block_dev.cunsigned int blocks, rblocks, left;
blocks213fs/block_dev.crblocks = blocks = (left + offset + blocksize - 1) >> blocksize_bits;
blocks216fs/block_dev.cif (blocks < read_ahead[MAJOR(dev)] / (blocksize >> 9))
blocks217fs/block_dev.cblocks = read_ahead[MAJOR(dev)] / (blocksize >> 9);
blocks218fs/block_dev.cexcess = (block + blocks) % blocks_per_cluster;
blocks219fs/block_dev.cif ( blocks > excess )
blocks220fs/block_dev.cblocks -= excess;    
blocks221fs/block_dev.cif (rblocks > blocks)
blocks222fs/block_dev.cblocks = rblocks;
blocks225fs/block_dev.cif (block + blocks > size)
blocks226fs/block_dev.cblocks = size - block;
blocks241fs/block_dev.cwhile (blocks) {
blocks242fs/block_dev.c--blocks;
blocks909fs/buffer.cunsigned int blocks;
blocks925fs/buffer.cblocks = ((filesize & (bufsize - 1)) - (pos & (bufsize - 1))) >> (9+index);
blocks927fs/buffer.cif (blocks > (read_ahead[MAJOR(dev)] >> index))
blocks928fs/buffer.cblocks = read_ahead[MAJOR(dev)] >> index;
blocks929fs/buffer.cif (blocks > NBUF)
blocks930fs/buffer.cblocks = NBUF;
blocks934fs/buffer.cfor(i=1; i<blocks; i++) {
blocks412fs/dquot.cstatic int check_bdq(struct dquot *dquot, short type, u_long blocks)
blocks414fs/dquot.cif (blocks <= 0 || dquot->dq_flags & DQ_FAKE)
blocks417fs/dquot.c(dquot->dq_curblocks + blocks) > dquot->dq_bhardlimit && !fsuser()) {
blocks428fs/dquot.c(dquot->dq_curblocks + blocks) > dquot->dq_bsoftlimit &&
blocks438fs/dquot.c(dquot->dq_curblocks + blocks) > dquot->dq_bsoftlimit &&
blocks741fs/dquot.cu_long blocks;
blocks746fs/dquot.cblocks = (isize / blksize) + ((isize % blksize) ? 1 : 0);
blocks747fs/dquot.cif (blocks > 10) {
blocks748fs/dquot.cindirect = ((blocks - 11) >> 8) + 1; /* single indirect blocks */
blocks749fs/dquot.cif (blocks > (10 + 256)) {
blocks750fs/dquot.cindirect += ((blocks - 267) >> 16) + 1; /* double indirect blocks */
blocks751fs/dquot.cif (blocks > (10 + 256 + (256 << 8)))
blocks754fs/dquot.cblocks += indirect;
blocks756fs/dquot.creturn(blocks);
blocks825fs/dquot.cunsigned long blocks;
blocks834fs/dquot.cblocks = isize_to_blocks(inode->i_size, BLOCK_SIZE);
blocks836fs/dquot.cblocks = (inode->i_blocks / 2);
blocks865fs/dquot.ccheck_bdq(transfer_to[cnt], cnt, blocks) == NO_QUOTA) {
blocks887fs/dquot.cdquot_decr_blocks(transfer_from[cnt], blocks);
blocks891fs/dquot.cdquot_incr_blocks(transfer_to[cnt], blocks);
blocks78fs/ext/file.cint block, blocks, offset;
blocks107fs/ext/file.cblocks = (left + offset + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS;
blocks110fs/ext/file.cif(blocks < read_ahead[MAJOR(inode->i_dev)] / (BLOCK_SIZE >> 9))
blocks111fs/ext/file.cblocks = read_ahead[MAJOR(inode->i_dev)] / (BLOCK_SIZE >> 9);
blocks112fs/ext/file.cif (block + blocks > size)
blocks113fs/ext/file.cblocks = size - block;
blocks129fs/ext/file.cwhile (blocks) {
blocks130fs/ext/file.c--blocks;
blocks189fs/ext2/inode.cint blocks = inode->i_sb->s_blocksize / 512;
blocks240fs/ext2/inode.cinode->i_blocks += blocks;
blocks256fs/ext2/inode.cint blocks = inode->i_sb->s_blocksize / 512;
blocks317fs/ext2/inode.cinode->i_blocks += blocks;
blocks67fs/ext2/truncate.cint blocks = inode->i_sb->s_blocksize / 512;
blocks90fs/ext2/truncate.cinode->i_blocks -= blocks;
blocks120fs/ext2/truncate.cint blocks = inode->i_sb->s_blocksize / 512;
blocks171fs/ext2/truncate.cinode->i_blocks -= blocks;
blocks186fs/ext2/truncate.cinode->i_blocks -= blocks;
blocks206fs/ext2/truncate.cint blocks = inode->i_sb->s_blocksize / 512;
blocks246fs/ext2/truncate.cinode->i_blocks -= blocks;
blocks265fs/ext2/truncate.cint blocks = inode->i_sb->s_blocksize / 512;
blocks305fs/ext2/truncate.cinode->i_blocks -= blocks;
blocks630fs/nfs/dir.cinode->i_blocks = fattr->blocks;
blocks204fs/nfs/inode.cres.bsize = res.blocks = res.bfree = res.bavail = 0;
blocks208fs/nfs/inode.ctmp.f_blocks = res.blocks;
blocks174fs/nfs/proc.cfattr->blocks = ntohl(*p++);
blocks213fs/nfs/proc.cres->blocks = ntohl(*p++);
blocks50fs/stat.cunsigned int blocks, indirect;
blocks85fs/stat.cblocks = (tmp.st_size + BLOCK_SIZE - 1) / BLOCK_SIZE;
blocks86fs/stat.cif (blocks > D_B) {
blocks87fs/stat.cindirect = (blocks - D_B + I_B - 1) / I_B;
blocks88fs/stat.cblocks += indirect;
blocks91fs/stat.cblocks += indirect;
blocks93fs/stat.cblocks++;
blocks96fs/stat.ctmp.st_blocks = (BLOCK_SIZE / 512) * blocks;
blocks80fs/sysv/file.cint blocks, offset;
blocks109fs/sysv/file.cblocks = (left + offset + sb->sv_block_size_1) >> sb->sv_block_size_bits;
blocks112fs/sysv/file.cblocks += read_ahead[MAJOR(inode->i_dev)] >> (sb->sv_block_size_bits - 9);
blocks113fs/sysv/file.cif (block + blocks > size)
blocks114fs/sysv/file.cblocks = size - block;
blocks131fs/sysv/file.cwhile (blocks) {
blocks132fs/sysv/file.c--blocks;
blocks23fs/xiafs/xiafs_mac.h#define XIAFS_GET_BLOCKS(row_ip, blocks)  \
blocks24fs/xiafs/xiafs_mac.hblocks=((((row_ip)->i_zone[0] >> 24) & 0xff )|\
blocks29fs/xiafs/xiafs_mac.h#define XIAFS_PUT_BLOCKS(row_ip, blocks)  \
blocks30fs/xiafs/xiafs_mac.h(row_ip)->i_zone[2]=((blocks)<< 8) & 0xff000000;\
blocks31fs/xiafs/xiafs_mac.h(row_ip)->i_zone[1]=((blocks)<<16) & 0xff000000;\
blocks32fs/xiafs/xiafs_mac.h(row_ip)->i_zone[0]=((blocks)<<24) & 0xff000000
blocks138include/linux/nfs.hu_int blocks;
blocks165include/linux/nfs.hu_int blocks;
blocks610include/linux/soundcard.hint blocks;  /* # of fragment transitions since last time */