Home
last modified time | relevance | path

Searched refs:chunk (Results 1 – 19 of 19) sorted by relevance

/xnu-11215/osfmk/vm/
H A Dvm_compressor_pager.c382 if (chunk != NULL) { in compressor_memory_object_deallocate()
385 chunk, in compressor_memory_object_deallocate()
400 chunk, in compressor_memory_object_deallocate()
412 chunk, in compressor_memory_object_deallocate()
599 if (chunk[i] != 0) { in compressor_pager_slots_chunk_free()
680 if (chunk == NULL) { in compressor_pager_slot_lookup()
994 chunk, in vm_compressor_pager_reap_pages()
1008 chunk, in vm_compressor_pager_reap_pages()
1016 chunk, in vm_compressor_pager_reap_pages()
1103 chunk = NULL; in vm_compressor_pager_next_compressed()
[all …]
/xnu-11215/osfmk/kdp/output_stages/
H A Dout_disk.c81 uint64_t chunk = gIOPolledCoreFileVars->bufferLimit - gIOPolledCoreFileVars->bufferOffset; in disk_stage_write() local
82 if (chunk > length) { in disk_stage_write()
83 chunk = length; in disk_stage_write()
88 if (offset + chunk < stage_data->furthest_written_offset) { in disk_stage_write()
118 err = IOPolledFileWrite(gIOPolledCoreFileVars, data, (IOByteCount) chunk, NULL); in disk_stage_write()
121 data, chunk, err); in disk_stage_write()
137 data = (const void *) (((uintptr_t) data) + chunk); in disk_stage_write()
138 length -= chunk; in disk_stage_write()
139 offset += chunk; in disk_stage_write()
140 stage_data->current_offset += chunk; in disk_stage_write()
H A Dout_zlib.c195 unsigned int chunk; in zlib_stage_outproc() local
208 chunk = (typeof(chunk))length; in zlib_stage_outproc()
210 chunk = MAX_ZLIB_CHUNK; in zlib_stage_outproc()
213 err = zlib_stream_output_chunk(stage, chunk, panic_data); in zlib_stage_outproc()
215 length -= chunk; in zlib_stage_outproc()
218 panic_data = (void *) (((uintptr_t) panic_data) + chunk); in zlib_stage_outproc()
H A Dout_aea.c121 size_t chunk = 0; in aea_stage_outproc() local
173 chunk = (size_t) length; in aea_stage_outproc()
175 chunk = UINT32_MAX; in aea_stage_outproc()
177 …= apple_encrypted_archive->aea_write(stage_data->state, stage_data->state_size, panic_data, chunk); in aea_stage_outproc()
178 if (write_result != chunk) { in aea_stage_outproc()
183 length -= chunk; in aea_stage_outproc()
186 panic_data = (void *) (((uintptr_t) panic_data) + chunk); in aea_stage_outproc()
/xnu-11215/iokit/Kernel/
H A DIOMultiMemoryDescriptor.cpp281 mach_vm_size_t bytesRemaining, chunk; in doMap() local
331 chunk = _descriptors[index]->getLength(); in doMap()
332 if (mapOffset >= chunk) { in doMap()
333 mapOffset -= chunk; in doMap()
336 chunk -= mapOffset; in doMap()
337 if (chunk > bytesRemaining) { in doMap()
338 chunk = bytesRemaining; in doMap()
341 …ors[index]->createMappingInTask(mapping->fAddressTask, nextAddress, subOptions, mapOffset, chunk ); in doMap()
347 bytesRemaining -= chunk; in doMap()
348 nextAddress += chunk; in doMap()
H A DIOMemoryDescriptor.cpp1148 if (chunk) { in memoryReferenceMap()
1157 chunk = remain; in memoryReferenceMap()
1195 remain -= chunk; in memoryReferenceMap()
1199 mapAddr += chunk; in memoryReferenceMap()
1311 if (chunk) { in memoryReferenceMapNew()
1313 chunk = remain; in memoryReferenceMapNew()
1320 remain -= chunk; in memoryReferenceMapNew()
1458 if (chunk) { in memoryReferenceMapNew()
1468 chunk = remain; in memoryReferenceMapNew()
1513 remain -= chunk; in memoryReferenceMapNew()
[all …]
H A DIODMACommand.cpp580 uint64_t chunk; in segmentOp() local
591 chunk = PAGE_SIZE - (address & PAGE_MASK); in segmentOp()
592 if (chunk > length) { in segmentOp()
593 chunk = length; in segmentOp()
595 if (chunk > (UINT_MAX - PAGE_SIZE + 1)) { in segmentOp()
596 chunk = (UINT_MAX - PAGE_SIZE + 1); in segmentOp()
601 address, chunk, op); in segmentOp()
604 copypv(remapAddr, cpuAddr, (unsigned int) chunk, in segmentOp()
607 copypv(cpuAddr, remapAddr, (unsigned int) chunk, in segmentOp()
610 address += chunk; in segmentOp()
[all …]
H A DIOLib.cpp1407 uintptr_t chunk; in iopa_free() local
1416 chunk = (addr & page_mask); in iopa_free()
1417 assert(0 == (chunk & (gIOPageAllocChunkBytes - 1))); in iopa_free()
1423 chunk /= gIOPageAllocChunkBytes; in iopa_free()
1430 pa->avail |= ((-1ULL << (64 - count)) >> chunk); in iopa_free()
/xnu-11215/bsd/vfs/
H A Dvfs_xattr.c3992 chunk = 4096; in shift_data_down()
3993 if (len < chunk) { in shift_data_down()
3994 chunk = len; in shift_data_down()
3996 orig_chunk = chunk; in shift_data_down()
4003 for (pos = start + len - chunk; pos >= start; pos -= chunk) { in shift_data_down()
4019 chunk = pos - start; in shift_data_down()
4047 chunk = 4096; in shift_data_up()
4048 if (len < chunk) { in shift_data_up()
4049 chunk = len; in shift_data_up()
4051 orig_chunk = chunk; in shift_data_up()
[all …]
/xnu-11215/libkdd/
H A DREADME.md22 | type | size | # chunk header
28 | type | size | # chunk header
36 | type = END | size=0 | # chunk header
/xnu-11215/tools/tests/perf_index/
H A DREADME44 fault - performs n page faults by mmaping a large chunk of memory, toggling the
46 zfod - performs n zero fill on demands, by mmaping a large chunk of memory and
/xnu-11215/doc/observability/
H A Dmt_stackshot.md91 have any extra room at the end of the current chunk once we finish with a task,
94 a good chunk size. The amount of memory added to the freelist is reported by
115 we memcpy the contents of each kcdata chunk into a single buffer, stripping off
/xnu-11215/bsd/kern/
H A Dkdebug.c259 bool chunk);
2254 vfs_context_t ctx, bool chunk) in _read_merged_trace_events() argument
2267 number, vp, ctx, chunk); in _read_merged_trace_events()
2305 bool chunk) in kernel_debug_trace_write_to_file() argument
2309 if (chunk) { in kernel_debug_trace_write_to_file()
/xnu-11215/osfmk/kdp/
H A Dkdp_udp.c1646 uint64_t chunk = MIN(kdp_crashdump_pkt_size, length); in kdp_send_crashdump_data() local
1648 panic_error = kdp_send_crashdump_pkt(request, corename, chunk, in kdp_send_crashdump_data()
1657 txstart = (void *)(((uintptr_t) txstart) + chunk); in kdp_send_crashdump_data()
1658 length -= chunk; in kdp_send_crashdump_data()
/xnu-11215/tools/lldbmacros/
H A Dmemory.py798 chunk = zone.chunk_pages
810 pgs = chunk
816 if pgs == chunk and meta_sbv.xGetIntegerByName('zm_guarded'):
820 avail_count = chunk * zone.kmem.page_size // zone.elem_outer_size
824 queue=queue, kind=kind, pgs=pgs, chunk=chunk)
4255 chunk = pager.cpgr_slots.cpgr_islots[page_idx // 128]
4256 slot = chunk[page_idx % 128]
4747 chunk = pager.cpgr_slots.cpgr_islots[chunk_idx]
4749 slot = GetObjectAtIndexFromArray(chunk, slot_idx)
/xnu-11215/doc/debugging/
H A Ddebugging.md39 a hurry and just want to read one specific chunk once, then it might be easier to use `LazyTarget.G…
82 provides you with buffering (aka caching) in case your random small chunk accesses are repeated:
/xnu-11215/config/
H A DMASTER110 options CONFIG_IMAGEBOOT_CHUNKLIST # authenticate image with a chunk list # <config_imageboot_chun…
/xnu-11215/osfmk/kern/
H A Dzalloc.c1933 uint32_t chunk; in zba_grow() local
1942 chunk = meta->zbam_right - 1; in zba_grow()
1944 chunk = meta->zbam_left; in zba_grow()
1947 kr = zba_populate(chunk, with_extra); in zba_grow()
1955 zba_init_chunk(chunk, with_extra); in zba_grow()
/xnu-11215/makedefs/
H A DMakeInc.def844 # may have a significant chunk of memory (up to an L2 entry in size)