Searched refs:pgfrom_base (Results 1 – 1 of 1) sorted by relevance
267 size_t pgfrom_base, size_t len) in _shift_data_left_pages() argument273 BUG_ON(pgfrom_base <= pgto_base); in _shift_data_left_pages()279 pgfrom = pages + (pgfrom_base >> PAGE_SHIFT); in _shift_data_left_pages()282 pgfrom_base &= ~PAGE_MASK; in _shift_data_left_pages()289 if (pgfrom_base >= PAGE_SIZE){ in _shift_data_left_pages()290 pgfrom_base = 0; in _shift_data_left_pages()297 if (copy > (PAGE_SIZE - pgfrom_base)) in _shift_data_left_pages()298 copy = PAGE_SIZE - pgfrom_base; in _shift_data_left_pages()303 memcpy(vto + pgto_base, vfrom + pgfrom_base, copy); in _shift_data_left_pages()306 memmove(vto + pgto_base, vto + pgfrom_base, copy); in _shift_data_left_pages()[all …]