Lines Matching refs:offset
181 size_t offset = *offset_ptr; in hwaes_set_arg_out() local
199 if (__builtin_add_overflow(data_desc_ptr->offset, in hwaes_set_arg_out()
209 shms[data_desc_ptr->shm_idx].base + data_desc_ptr->offset; in hwaes_set_arg_out()
211 if (offset != data_desc_ptr->offset) { in hwaes_set_arg_out()
219 if (data_desc_ptr->offset < offset) { in hwaes_set_arg_out()
221 data_desc_ptr->offset, offset); in hwaes_set_arg_out()
224 offset = data_desc_ptr->offset; in hwaes_set_arg_out()
227 if (__builtin_add_overflow(offset, data_desc_ptr->len, &offset)) { in hwaes_set_arg_out()
231 if (offset > max_buf_sz) { in hwaes_set_arg_out()
233 offset); in hwaes_set_arg_out()
236 arg_ptr->data_ptr = buf_start + data_desc_ptr->offset; in hwaes_set_arg_out()
237 *offset_ptr = offset; in hwaes_set_arg_out()