Searched refs:segidx (Results 1 – 1 of 1) sorted by relevance
1738 unsigned int segidx = 0; in vm_swap_put() local1761 segidx = swf->swp_free_hint; in vm_swap_put()1766 while (segidx < swf->swp_nsegs) { in vm_swap_put()1767 byte_for_segidx = segidx >> 3; in vm_swap_put()1768 offset_within_byte = segidx % 8; in vm_swap_put()1771 segidx++; in vm_swap_put()1777 file_offset = segidx * compressed_swap_chunk_size; in vm_swap_put()1780 swf->swp_csegs[segidx] = c_seg; in vm_swap_put()1910 unsigned int segidx = 0; in vm_swap_free_now() local1918 segidx = (unsigned int) (file_offset / compressed_swap_chunk_size); in vm_swap_free_now()[all …]