Home
last modified time | relevance | path

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

/xnu-11417.101.15/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-11417.101.15/tools/lldbmacros/
H A Dlog.py112 def block_count(self): member in LogBlocks
116 def block_size(self, block_count=1): argument
118 return self.BLOCK_SIZE * block_count
124 blk_id = cursor % self.block_count if self.block_count > 0 else 0
131 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_count
197 return read % self.block_count
393 lsc.block_size(lsc.block_count), lsc.block_count)
[all …]
/xnu-11417.101.15/bsd/vm/
H A Dvm_compressor_backing_file.c417 uint64_t block_count = 0; in vm_swap_vol_get_capacity() local
431 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()