• Home
  • Raw
  • Download

Lines Matching refs:dst

38 	(const _type * dst, const _type * src, size_t size)\
43 if (*dst++ != *src++) \
59 const _type * dst, const _type * src, size_t size) \
62 if (*--dst != *--src) \
105 unsigned int spill = SPILL(dst, _type); \
111 diff_offs = vmw_find_first_diff_u8(dst, src, spill); \
115 dst += spill; \
125 ((_type *) dst, (_type *) src, to_copy); \
129 dst += diff_offs; \
148 static size_t vmw_find_first_diff(const u8 *dst, const u8 *src, size_t size, in vmw_find_first_diff() argument
164 return round_down(offset + vmw_find_first_diff_u8(dst, src, size), in vmw_find_first_diff()
178 unsigned int spill = SPILL(dst, _type); \
183 diff_offs = vmw_find_last_diff_u8(dst, src, spill); \
189 dst -= spill; \
198 ((_type *) dst, (_type *) src, to_copy); \
203 dst -= to_copy - diff_offs; \
220 static ssize_t vmw_find_last_diff(const u8 *dst, const u8 *src, size_t size, in vmw_find_last_diff() argument
223 dst += size; in vmw_find_last_diff()
232 return round_down(vmw_find_last_diff_u8(dst, src, size) - 1, in vmw_find_last_diff()
447 int vmw_bo_cpu_blit(struct ttm_buffer_object *dst, in vmw_bo_cpu_blit() argument
463 if (!(dst->pin_count)) in vmw_bo_cpu_blit()
464 dma_resv_assert_held(dst->base.resv); in vmw_bo_cpu_blit()
468 if (!ttm_tt_is_populated(dst->ttm)) { in vmw_bo_cpu_blit()
469 ret = dst->bdev->funcs->ttm_tt_populate(dst->bdev, dst->ttm, &ctx); in vmw_bo_cpu_blit()
484 d.dst_pages = dst->ttm->pages; in vmw_bo_cpu_blit()
486 d.dst_num_pages = dst->resource->num_pages; in vmw_bo_cpu_blit()
488 d.dst_prot = ttm_io_prot(dst, dst->resource, PAGE_KERNEL); in vmw_bo_cpu_blit()