Searched refs:uobjects (Results 1 - 6 of 6) sorted by relevance

/linux-master/drivers/infiniband/core/
H A Duverbs_ioctl.c191 attr->uobjects =
193 array_size(array_len, sizeof(*attr->uobjects)));
194 if (IS_ERR(attr->uobjects))
195 return PTR_ERR(attr->uobjects);
198 * Since idr is 4B and *uobjects is >= 4B, we can use attr->uobjects
200 * idrs array is offset to the end of the uobjects array so we will be
203 idr_vals = (u32 *)(attr->uobjects + array_len) - array_len;
215 attr->uobjects[i] = uverbs_get_uobject_from_file(
218 if (IS_ERR(attr->uobjects[
[all...]
H A Drdma_core.c651 list_add(&uobj->list, &ufile->uobjects);
896 list_for_each_entry_safe(obj, next_obj, &ufile->uobjects, list) {
912 WARN_ON(!list_empty(&ufile->uobjects));
930 * If a ucontext was never created then we can't have any uobjects to
936 while (!list_empty(&ufile->uobjects) &&
940 if (WARN_ON(!list_empty(&ufile->uobjects)))
H A Duverbs.h149 * To access the uobjects list hw_destroy_rwsem must be held for write
156 struct list_head uobjects; member in struct:ib_uverbs_file
H A Duverbs_std_types_device.c83 list_for_each_entry(obj, &ufile->uobjects, list) {
H A Duverbs_main.c947 INIT_LIST_HEAD(&file->uobjects);
/linux-master/include/rdma/
H A Duverbs_ioctl.h619 struct ib_uobject **uobjects; member in struct:uverbs_objs_arr_attr
754 * @arr: Returned pointer to array of pointers for uobjects or NULL if
771 *arr = attr->objs_arr_attr.uobjects;

Completed in 147 milliseconds