Searched refs:segidx (Results 1 – 1 of 1) sorted by relevance
1716 unsigned int segidx = 0; in vm_swap_put() local1739 segidx = swf->swp_free_hint; in vm_swap_put()1744 while (segidx < swf->swp_nsegs) { in vm_swap_put()1745 byte_for_segidx = segidx >> 3; in vm_swap_put()1746 offset_within_byte = segidx % 8; in vm_swap_put()1749 segidx++; in vm_swap_put()1755 file_offset = segidx * compressed_swap_chunk_size; in vm_swap_put()1758 swf->swp_csegs[segidx] = c_seg; in vm_swap_put()1888 unsigned int segidx = 0; in vm_swap_free_now() local1896 segidx = (unsigned int) (file_offset / compressed_swap_chunk_size); in vm_swap_free_now()[all …]