Lines Matching refs:diff_offs
108 size_t diff_offs; \
113 diff_offs = vmw_find_first_diff_u8(dst, src, spill); \
114 if (diff_offs < spill) \
115 return round_down(offset + diff_offs, granularity); \
126 diff_offs = vmw_find_first_diff_ ## _type \
128 if (diff_offs >= size || granularity == sizeof(_type)) \
129 return (offset + diff_offs); \
131 dst += diff_offs; \
132 src += diff_offs; \
133 size -= diff_offs; \
134 offset += diff_offs; \
182 ssize_t diff_offs; \
185 diff_offs = vmw_find_last_diff_u8(dst, src, spill); \
186 if (diff_offs) { \
187 location = size - spill + diff_offs - 1; \
199 diff_offs = vmw_find_last_diff_ ## _type \
201 location = size - to_copy + diff_offs - sizeof(_type); \
205 dst -= to_copy - diff_offs; \
206 src -= to_copy - diff_offs; \
207 size -= to_copy - diff_offs; \
261 static void vmw_adjust_rect(struct vmw_diff_cpy *diff, size_t diff_offs) in vmw_adjust_rect() argument
263 size_t offs = (diff_offs + diff->line_offset) / diff->cpp; in vmw_adjust_rect()