Searched refs:iov_wrapper_ptr (Results 1 – 1 of 1) sorted by relevance
172 struct hwaes_iov* iov_wrapper_ptr) { in hwaes_set_iov_helper() argument173 size_t iov_num = iov_wrapper_ptr->num_iov; in hwaes_set_iov_helper()178 iov_wrapper_ptr->iov[iov_num].iov_base = (void*)data_ptr; in hwaes_set_iov_helper()179 iov_wrapper_ptr->iov[iov_num].iov_len = len; in hwaes_set_iov_helper()180 iov_wrapper_ptr->total_len += len; in hwaes_set_iov_helper()182 iov_wrapper_ptr->num_iov = iov_num; in hwaes_set_iov_helper()200 struct hwaes_iov* iov_wrapper_ptr) { in hwaes_pad_iov_helper() argument201 size_t pad_size = ROUND_UP(iov_wrapper_ptr->total_len, alignment) - in hwaes_pad_iov_helper()202 iov_wrapper_ptr->total_len; in hwaes_pad_iov_helper()204 hwaes_set_iov_helper(pad_ptr, pad_size, iov_wrapper_ptr); in hwaes_pad_iov_helper()[all …]