Searched refs:pbundle (Results 1 – 1 of 1) sorted by relevance
46 struct bundle_priv *pbundle; in uapi_compute_bundle_size() local51 sizeof(*pbundle->uattrs) * num_attrs; in uapi_compute_bundle_size()53 method_elm->use_stack = bundle_size <= sizeof(*pbundle); in uapi_compute_bundle_size()55 ALIGN(bundle_size + 256, sizeof(*pbundle->internal_buffer)); in uapi_compute_bundle_size()77 struct bundle_priv *pbundle = in _uverbs_alloc() local82 if (check_add_overflow(size, pbundle->internal_used, &new_used)) in _uverbs_alloc()85 if (new_used > pbundle->internal_avail) { in _uverbs_alloc()91 buf->next = pbundle->allocated_mem; in _uverbs_alloc()92 pbundle->allocated_mem = buf; in _uverbs_alloc()96 res = (void *)pbundle->internal_buffer + pbundle->internal_used; in _uverbs_alloc()[all …]