Home
last modified time | relevance | path

Searched refs:uattrs (Results 1 – 1 of 1) sorted by relevance

/drivers/infiniband/core/
Duverbs_ioctl.c57 struct ib_uverbs_attr *uattrs; member
83 sizeof(*pbundle->uattrs) * num_attrs; in uapi_compute_bundle_size()
155 flags = pbundle->uattrs[attr->ptr_attr.uattr_idx].flags | in uverbs_set_output()
285 e->ptr_attr.uattr_idx = uattr - pbundle->uattrs; in uverbs_process_attr()
330 unsigned int uattr_idx = uattr - pbundle->uattrs; in uverbs_process_attr()
417 size_t uattrs_size = array_size(sizeof(*pbundle->uattrs), num_attrs); in ib_uverbs_run_method()
429 pbundle->uattrs = uverbs_alloc(&pbundle->bundle, uattrs_size); in ib_uverbs_run_method()
430 if (IS_ERR(pbundle->uattrs)) in ib_uverbs_run_method()
431 return PTR_ERR(pbundle->uattrs); in ib_uverbs_run_method()
432 if (copy_from_user(pbundle->uattrs, pbundle->user_attrs, uattrs_size)) in ib_uverbs_run_method()
[all …]