Lines Matching refs:block_size
93 uint32_t block_size;
122 uint32_t block_size;
195 s->block_size = be32_to_cpu(dyndisk_header->block_size);
196 s->bitmap_size = ((s->block_size / (8 * 512)) + 511) & ~511;
213 s->bitmap_size + s->block_size;
250 pagetable_index = offset / s->block_size;
251 pageentry_index = (offset % s->block_size) / 512;
346 index = (sector_num * 512) / s->block_size;
357 s->free_data_block_offset += s->block_size + s->bitmap_size;
372 s->free_data_block_offset -= (s->block_size + s->bitmap_size);
490 size_t block_size, num_bat_entries;
542 block_size = 0x200000;
543 num_bat_entries = (total_sectors + block_size / 512) / (block_size / 512);
571 dyndisk_header->block_size = be32_to_cpu(block_size);