Searched refs:pbundle (Results 1 – 1 of 1) sorted by relevance
79 struct bundle_priv *pbundle; in uapi_compute_bundle_size() local82 sizeof(*pbundle->bundle.attrs) * method_elm->key_bitmap_len + in uapi_compute_bundle_size()83 sizeof(*pbundle->uattrs) * num_attrs; in uapi_compute_bundle_size()85 method_elm->use_stack = bundle_size <= sizeof(*pbundle); in uapi_compute_bundle_size()87 ALIGN(bundle_size + 256, sizeof(*pbundle->internal_buffer)); in uapi_compute_bundle_size()109 struct bundle_priv *pbundle = in _uverbs_alloc() local114 if (check_add_overflow(size, pbundle->internal_used, &new_used)) in _uverbs_alloc()117 if (new_used > pbundle->internal_avail) { in _uverbs_alloc()123 buf->next = pbundle->allocated_mem; in _uverbs_alloc()124 pbundle->allocated_mem = buf; in _uverbs_alloc()[all …]