Lines Matching refs:nblocks
66 int nblocks = -1; in identify_ramdisk_image() local
96 nblocks = 0; in identify_ramdisk_image()
106 nblocks = (ntohl(romfsb->size)+BLOCK_SIZE-1)>>BLOCK_SIZE_BITS; in identify_ramdisk_image()
114 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; in identify_ramdisk_image()
123 nblocks = (le64_to_cpu(squashfsb->bytes_used) + BLOCK_SIZE - 1) in identify_ramdisk_image()
138 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; in identify_ramdisk_image()
154 nblocks = minixsb->s_nzones << minixsb->s_log_zone_size; in identify_ramdisk_image()
164 nblocks = n; in identify_ramdisk_image()
174 return nblocks; in identify_ramdisk_image()
190 int nblocks, i; in rd_load_image() local
207 nblocks = identify_ramdisk_image(in_file, in_pos, &decompressor); in rd_load_image()
208 if (nblocks < 0) in rd_load_image()
211 if (nblocks == 0) { in rd_load_image()
222 if (nblocks > rd_blocks) { in rd_load_image()
224 nblocks, rd_blocks); in rd_load_image()
232 devblocks = nblocks; in rd_load_image()
248 nblocks, ((nblocks-1)/devblocks)+1, nblocks>devblocks ? "s" : ""); in rd_load_image()
249 for (i = 0; i < nblocks; i++) { in rd_load_image()