Home
last modified time | relevance | path

Searched refs:block_count (Results 1 – 3 of 3) sorted by relevance

/xnu-8796.141.3/tests/
H A Ddecompression_failure.c26 static uint64_t block_count; variable
78 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()
/xnu-8796.141.3/tools/lldbmacros/
H A Dlog.py115 def block_count(self): member in LogBlocks
119 def block_size(self, block_count=1): argument
121 return self.BLOCK_SIZE * block_count
127 blk_id = cursor % self.block_count if self.block_count > 0 else 0
134 blocks = self._blocks_range(head_block, self.block_count)
196 if read + self.block_count < logged:
198 if commited >= self.block_count:
199 read -= self.block_count
200 return read % self.block_count
395 lsc.block_size(lsc.block_count), lsc.block_count)
[all …]
/xnu-8796.141.3/bsd/vm/
H A Dvm_compressor_backing_file.c429 uint64_t block_count = 0; in vm_swap_vol_get_capacity() local
443 if ((error = VNOP_IOCTL(devvp, DKIOCGETBLOCKCOUNT, (caddr_t)&block_count, 0, ctx))) { in vm_swap_vol_get_capacity()
448 *capacity = block_count * block_size; in vm_swap_vol_get_capacity()