Searched refs:swp_nsegs (Results 1 – 1 of 1) sorted by relevance
97 unsigned int swp_nsegs; /* #segments we can use */ member1557 swf->swp_nsegs = (unsigned int) (size / compressed_swap_chunk_size); in vm_swap_create_file()1561 num_bytes_for_bitmap = MAX((swf->swp_nsegs >> 3), 1); in vm_swap_create_file()1569 swf->swp_csegs = kalloc_type(c_segment_t, swf->swp_nsegs, in vm_swap_create_file()1591 vm_swapfile_total_segs_alloced += swf->swp_nsegs; in vm_swap_create_file()1727 swf_eligible = (swf->swp_flags & SWAP_READY) && (swf->swp_nseginuse < swf->swp_nsegs); in vm_swap_put()1730 while (segidx < swf->swp_nsegs) { in vm_swap_put()2162 while (segidx < swf->swp_nsegs) { in vm_swap_reclaim()2330 vm_swapfile_total_segs_alloced -= swf->swp_nsegs; in vm_swap_reclaim()2336 kfree_type(c_segment_t, swf->swp_nsegs, swf->swp_csegs); in vm_swap_reclaim()[all …]