Home
last modified time | relevance | path

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

/xnu-11215.1.10/osfmk/vm/
H A Dvm_compressor_backing_store.c102 unsigned int swp_nsegs; /* #segments we can use */ member
1572 swf->swp_nsegs = (unsigned int) (size / compressed_swap_chunk_size); in vm_swap_create_file()
1576 num_bytes_for_bitmap = MAX((swf->swp_nsegs >> 3), 1); in vm_swap_create_file()
1584 swf->swp_csegs = kalloc_type(c_segment_t, swf->swp_nsegs, in vm_swap_create_file()
1606 vm_swapfile_total_segs_alloced += swf->swp_nsegs; in vm_swap_create_file()
1741 swf_eligible = (swf->swp_flags & SWAP_READY) && (swf->swp_nseginuse < swf->swp_nsegs); in vm_swap_put()
1744 while (segidx < swf->swp_nsegs) { in vm_swap_put()
2176 while (segidx < swf->swp_nsegs) { in vm_swap_reclaim()
2344 vm_swapfile_total_segs_alloced -= swf->swp_nsegs; in vm_swap_reclaim()
2350 kfree_type(c_segment_t, swf->swp_nsegs, swf->swp_csegs); in vm_swap_reclaim()
[all …]