• Home
  • Raw
  • Download

Lines Matching refs:start

65 	unsigned long start;  member
93 &dirty->start, &dirty->end); in vmw_bo_dirty_scan_pagetable()
107 &dirty->start, &dirty->end); in vmw_bo_dirty_scan_pagetable()
127 if (dirty->end <= dirty->start) in vmw_bo_dirty_scan_mkwrite()
131 dirty->start + offset, in vmw_bo_dirty_scan_mkwrite()
132 dirty->end - dirty->start); in vmw_bo_dirty_scan_mkwrite()
141 pgoff_t start = 0; in vmw_bo_dirty_scan_mkwrite() local
147 &start, &end); in vmw_bo_dirty_scan_mkwrite()
149 if (dirty->start < dirty->end) in vmw_bo_dirty_scan_mkwrite()
150 bitmap_set(&dirty->bitmap[0], dirty->start, in vmw_bo_dirty_scan_mkwrite()
151 dirty->end - dirty->start); in vmw_bo_dirty_scan_mkwrite()
185 pgoff_t start, pgoff_t end) in vmw_bo_dirty_pre_unmap() argument
191 if (dirty->method != VMW_BO_DIRTY_PAGETABLE || start >= end) in vmw_bo_dirty_pre_unmap()
194 wp_shared_mapping_range(mapping, start + offset, end - start); in vmw_bo_dirty_pre_unmap()
195 clean_record_shared_mapping_range(mapping, start + offset, in vmw_bo_dirty_pre_unmap()
196 end - start, offset, in vmw_bo_dirty_pre_unmap()
197 &dirty->bitmap[0], &dirty->start, in vmw_bo_dirty_pre_unmap()
210 pgoff_t start, pgoff_t end) in vmw_bo_dirty_unmap() argument
215 vmw_bo_dirty_pre_unmap(vbo, start, end); in vmw_bo_dirty_unmap()
216 unmap_shared_mapping_range(mapping, (offset + start) << PAGE_SHIFT, in vmw_bo_dirty_unmap()
217 (loff_t) (end - start) << PAGE_SHIFT); in vmw_bo_dirty_unmap()
250 dirty->start = dirty->bitmap_size; in vmw_bo_dirty_add()
266 &dirty->start, &dirty->end); in vmw_bo_dirty_add()
311 pgoff_t start, cur, end; in vmw_bo_dirty_transfer_to_res() local
319 if (res_start >= dirty->end || res_end <= dirty->start) in vmw_bo_dirty_transfer_to_res()
322 cur = max(res_start, dirty->start); in vmw_bo_dirty_transfer_to_res()
327 start = find_next_bit(&dirty->bitmap[0], res_end, cur); in vmw_bo_dirty_transfer_to_res()
328 if (start >= res_end) in vmw_bo_dirty_transfer_to_res()
331 end = find_next_zero_bit(&dirty->bitmap[0], res_end, start + 1); in vmw_bo_dirty_transfer_to_res()
333 num = end - start; in vmw_bo_dirty_transfer_to_res()
334 bitmap_clear(&dirty->bitmap[0], start, num); in vmw_bo_dirty_transfer_to_res()
335 vmw_resource_dirty_update(res, start, end); in vmw_bo_dirty_transfer_to_res()
338 if (res_start <= dirty->start && res_end > dirty->start) in vmw_bo_dirty_transfer_to_res()
339 dirty->start = res_end; in vmw_bo_dirty_transfer_to_res()
362 if (res_start >= dirty->end || res_end <= dirty->start) in vmw_bo_dirty_clear_res()
365 res_start = max(res_start, dirty->start); in vmw_bo_dirty_clear_res()
369 if (res_start <= dirty->start && res_end > dirty->start) in vmw_bo_dirty_clear_res()
370 dirty->start = res_end; in vmw_bo_dirty_clear_res()
407 dirty->start = min(dirty->start, page_offset); in vmw_bo_vm_mkwrite()