Home
last modified time | relevance | path

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

/xnu-11417.140.69/osfmk/vm/
H A Dvm_compressor_backing_store.c102 unsigned int swp_nsegs; /* #segments we can use */ member
1590 swf->swp_nsegs = (unsigned int) (size / compressed_swap_chunk_size); in vm_swap_create_file()
1594 num_bytes_for_bitmap = MAX((swf->swp_nsegs >> 3), 1); in vm_swap_create_file()
1602 swf->swp_csegs = kalloc_type(c_segment_t, swf->swp_nsegs, in vm_swap_create_file()
1624 vm_swapfile_total_segs_alloced += swf->swp_nsegs; in vm_swap_create_file()
1759 swf_eligible = (swf->swp_flags & SWAP_READY) && (swf->swp_nseginuse < swf->swp_nsegs); in vm_swap_put()
1762 while (segidx < swf->swp_nsegs) { in vm_swap_put()
2194 while (segidx < swf->swp_nsegs) { in vm_swap_reclaim()
2362 vm_swapfile_total_segs_alloced -= swf->swp_nsegs; in vm_swap_reclaim()
2368 kfree_type(c_segment_t, swf->swp_nsegs, swf->swp_csegs); in vm_swap_reclaim()
[all …]