Searched refs:swp_nsegs (Results 1 – 1 of 1) sorted by relevance
97 unsigned int swp_nsegs; /* #segments we can use */ member1560 swf->swp_nsegs = (unsigned int) (size / compressed_swap_chunk_size); in vm_swap_create_file()1564 num_bytes_for_bitmap = MAX((swf->swp_nsegs >> 3), 1); in vm_swap_create_file()1572 swf->swp_csegs = kalloc_type(c_segment_t, swf->swp_nsegs, in vm_swap_create_file()1594 vm_swapfile_total_segs_alloced += swf->swp_nsegs; in vm_swap_create_file()1730 swf_eligible = (swf->swp_flags & SWAP_READY) && (swf->swp_nseginuse < swf->swp_nsegs); in vm_swap_put()1733 while (segidx < swf->swp_nsegs) { in vm_swap_put()2166 while (segidx < swf->swp_nsegs) { in vm_swap_reclaim()2334 vm_swapfile_total_segs_alloced -= swf->swp_nsegs; in vm_swap_reclaim()2340 kfree_type(c_segment_t, swf->swp_nsegs, swf->swp_csegs); in vm_swap_reclaim()[all …]