Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/core/
H A 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, pbundl in ib_uverbs_run_method()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A 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()
425 size_t uattrs_size = array_size(sizeof(*pbundle->uattrs), num_attrs); in ib_uverbs_run_method()
437 pbundle->uattrs = uverbs_alloc(&pbundle->bundle, uattrs_size); in ib_uverbs_run_method()
438 if (IS_ERR(pbundle->uattrs)) in ib_uverbs_run_method()
439 return PTR_ERR(pbundle->uattrs); in ib_uverbs_run_method()
440 if (copy_from_user(pbundle->uattrs, pbundl in ib_uverbs_run_method()
[all...]

Completed in 5 milliseconds