Searched refs:block_count (Results 1 – 3 of 3) sorted by relevance
26 static uint64_t block_count; variable78 block_count = total_pages / pages_per_block; in create_corrupted_regions()80 blocks = (vm_address_t *)malloc(sizeof(*blocks) * block_count); in create_corrupted_regions()81 for (uint64_t i = 0; i < block_count; i++) { in create_corrupted_regions()86 for (uint32_t i = 0; i < block_count; i++) { in create_corrupted_regions()101 for (uint32_t i = 0; i < block_count; i++) { in create_corrupted_regions()136 for (uint32_t i = 0; i < block_count; i++) { in read_blocks()
112 def block_count(self): member in LogBlocks116 def block_size(self, block_count=1): argument118 return self.BLOCK_SIZE * block_count124 blk_id = cursor % self.block_count if self.block_count > 0 else 0131 blocks = self._blocks_range(head_block, self.block_count)193 if read + self.block_count < logged:195 if commited >= self.block_count:196 read -= self.block_count197 return read % self.block_count393 lsc.block_size(lsc.block_count), lsc.block_count)[all …]
417 uint64_t block_count = 0; in vm_swap_vol_get_capacity() local431 if ((error = VNOP_IOCTL(devvp, DKIOCGETBLOCKCOUNT, (caddr_t)&block_count, 0, ctx))) { in vm_swap_vol_get_capacity()436 *capacity = block_count * block_size; in vm_swap_vol_get_capacity()