Lines Matching refs:BLOCK_SIZE
85 pos = start_block * BLOCK_SIZE; 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()
131 pos = start_block * BLOCK_SIZE + 0x200; in identify_ramdisk_image()
138 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; in identify_ramdisk_image()
145 pos = (start_block + 1) * BLOCK_SIZE; in identify_ramdisk_image()
206 in_pos = rd_image_start * BLOCK_SIZE; in rd_load_image()
241 buf = kmalloc(BLOCK_SIZE, GFP_KERNEL); in rd_load_image()
256 kernel_read(in_file, buf, BLOCK_SIZE, &in_pos); in rd_load_image()
257 kernel_write(out_file, buf, BLOCK_SIZE, &out_pos); in rd_load_image()