Lines Matching refs:diff_offs
106 size_t diff_offs; \
111 diff_offs = vmw_find_first_diff_u8(dst, src, spill); \
112 if (diff_offs < spill) \
113 return round_down(offset + diff_offs, granularity); \
124 diff_offs = vmw_find_first_diff_ ## _type \
126 if (diff_offs >= size || granularity == sizeof(_type)) \
127 return (offset + diff_offs); \
129 dst += diff_offs; \
130 src += diff_offs; \
131 size -= diff_offs; \
132 offset += diff_offs; \
180 ssize_t diff_offs; \
183 diff_offs = vmw_find_last_diff_u8(dst, src, spill); \
184 if (diff_offs) { \
185 location = size - spill + diff_offs - 1; \
197 diff_offs = vmw_find_last_diff_ ## _type \
199 location = size - to_copy + diff_offs - sizeof(_type); \
203 dst -= to_copy - diff_offs; \
204 src -= to_copy - diff_offs; \
205 size -= to_copy - diff_offs; \
259 static void vmw_adjust_rect(struct vmw_diff_cpy *diff, size_t diff_offs) in vmw_adjust_rect() argument
261 size_t offs = (diff_offs + diff->line_offset) / diff->cpp; in vmw_adjust_rect()