Lines Matching refs:BLOCK_SIZE
83 ksys_lseek(fd, start_block * BLOCK_SIZE, 0); in identify_ramdisk_image()
104 nblocks = (ntohl(romfsb->size)+BLOCK_SIZE-1)>>BLOCK_SIZE_BITS; in identify_ramdisk_image()
112 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; in identify_ramdisk_image()
121 nblocks = (le64_to_cpu(squashfsb->bytes_used) + BLOCK_SIZE - 1) in identify_ramdisk_image()
129 ksys_lseek(fd, start_block * BLOCK_SIZE + 0x200, 0); in identify_ramdisk_image()
136 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; in identify_ramdisk_image()
143 ksys_lseek(fd, (start_block+1) * BLOCK_SIZE, 0); in identify_ramdisk_image()
171 ksys_lseek(fd, start_block * BLOCK_SIZE, 0); in identify_ramdisk_image()
238 buf = kmalloc(BLOCK_SIZE, GFP_KERNEL); in rd_load_image()
262 ksys_read(in_fd, buf, BLOCK_SIZE); in rd_load_image()
263 ksys_write(out_fd, buf, BLOCK_SIZE); in rd_load_image()