Lines Matching refs:BLOCK_SIZE
92 sys_lseek(fd, start_block * BLOCK_SIZE, 0); in identify_ramdisk_image()
113 nblocks = (ntohl(romfsb->size)+BLOCK_SIZE-1)>>BLOCK_SIZE_BITS; in identify_ramdisk_image()
121 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; in identify_ramdisk_image()
130 nblocks = (le64_to_cpu(squashfsb->bytes_used) + BLOCK_SIZE - 1) in identify_ramdisk_image()
138 sys_lseek(fd, start_block * BLOCK_SIZE + 0x200, 0); in identify_ramdisk_image()
145 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; in identify_ramdisk_image()
152 sys_lseek(fd, (start_block+1) * BLOCK_SIZE, 0); in identify_ramdisk_image()
180 sys_lseek(fd, start_block * BLOCK_SIZE, 0); in identify_ramdisk_image()
254 buf = kmalloc(BLOCK_SIZE, GFP_KERNEL); in rd_load_image()
278 sys_read(in_fd, buf, BLOCK_SIZE); in rd_load_image()
279 sys_write(out_fd, buf, BLOCK_SIZE); in rd_load_image()