Lines Matching refs:BlocksPerUnit
176 u_int32_t BlocksPerUnit; member
379 part->BlocksPerUnit = (1 << header.EraseUnitSize) >> header.BlockSize; in build_maps()
381 part->bam_cache = kmalloc(part->BlocksPerUnit * sizeof(u_int32_t), in build_maps()
395 part->BlocksPerUnit * sizeof(u_int32_t), &retval, in build_maps()
401 for (j = 0; j < part->BlocksPerUnit; j++) { in build_maps()
534 nbam = (part->BlocksPerUnit * sizeof(u_int32_t) + in prepare_xfer()
590 part->BlocksPerUnit * sizeof(u_int32_t), in copy_erase_unit()
620 for (i = 0; i < part->BlocksPerUnit; i++) { in copy_erase_unit()
655 part->BlocksPerUnit * sizeof(int32_t), &retlen, in copy_erase_unit()
853 part->BlocksPerUnit * sizeof(u_int32_t), in find_free()
864 for (blk = 0; blk < part->BlocksPerUnit; blk++) in find_free()
866 if (blk == part->BlocksPerUnit) { in find_free()