Lines Matching refs:nblocks
499 int nblocks = -1; in identify_ramdisk_image() local
525 nblocks = 0; in identify_ramdisk_image()
535 nblocks = (ntohl(romfsb->size)+BLOCK_SIZE-1)>>BLOCK_SIZE_BITS; in identify_ramdisk_image()
543 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; in identify_ramdisk_image()
559 nblocks = minixsb->s_nzones << minixsb->s_log_zone_size; in identify_ramdisk_image()
568 nblocks = le32_to_cpu(ext2sb->s_blocks_count); in identify_ramdisk_image()
579 return nblocks; in identify_ramdisk_image()
590 int nblocks, i; in rd_load_image() local
605 nblocks = identify_ramdisk_image(in_fd, rd_image_start); in rd_load_image()
606 if (nblocks < 0) in rd_load_image()
609 if (nblocks == 0) { in rd_load_image()
632 if (nblocks > rd_blocks) { in rd_load_image()
634 nblocks, rd_blocks); in rd_load_image()
653 devblocks = nblocks; in rd_load_image()
661 nblocks, ((nblocks-1)/devblocks)+1, nblocks>devblocks ? "s" : ""); in rd_load_image()
662 for (i=0; i < nblocks; i++) { in rd_load_image()