Searched refs:swp_nsegs (Results 1 – 1 of 1) sorted by relevance
102 unsigned int swp_nsegs; /* #segments we can use */ member1594 swf->swp_nsegs = (unsigned int) (size / compressed_swap_chunk_size); in vm_swap_create_file()1598 num_bytes_for_bitmap = MAX((swf->swp_nsegs >> 3), 1); in vm_swap_create_file()1606 swf->swp_csegs = kalloc_type(c_segment_t, swf->swp_nsegs, in vm_swap_create_file()1628 vm_swapfile_total_segs_alloced += swf->swp_nsegs; in vm_swap_create_file()1763 swf_eligible = (swf->swp_flags & SWAP_READY) && (swf->swp_nseginuse < swf->swp_nsegs); in vm_swap_put()1766 while (segidx < swf->swp_nsegs) { in vm_swap_put()2198 while (segidx < swf->swp_nsegs) { in vm_swap_reclaim()2366 vm_swapfile_total_segs_alloced -= swf->swp_nsegs; in vm_swap_reclaim()2372 kfree_type(c_segment_t, swf->swp_nsegs, swf->swp_csegs); in vm_swap_reclaim()[all …]