Searched refs:segidx (Results 1 – 1 of 1) sorted by relevance
1704 unsigned int segidx = 0; in vm_swap_put() local1728 segidx = swf->swp_free_hint; in vm_swap_put()1733 while (segidx < swf->swp_nsegs) { in vm_swap_put()1734 byte_for_segidx = segidx >> 3; in vm_swap_put()1735 offset_within_byte = segidx % 8; in vm_swap_put()1738 segidx++; in vm_swap_put()1744 file_offset = segidx * compressed_swap_chunk_size; in vm_swap_put()1747 swf->swp_csegs[segidx] = c_seg; in vm_swap_put()1877 unsigned int segidx = 0; in vm_swap_free_now() local1885 segidx = (unsigned int) (file_offset / compressed_swap_chunk_size); in vm_swap_free_now()[all …]