Searched refs:uobjects (Results 1 - 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | uverbs_ioctl.c | 186 attr->uobjects = in uverbs_process_idrs_array() 188 array_size(array_len, sizeof(*attr->uobjects))); in uverbs_process_idrs_array() 189 if (IS_ERR(attr->uobjects)) in uverbs_process_idrs_array() 190 return PTR_ERR(attr->uobjects); in uverbs_process_idrs_array() 193 * Since idr is 4B and *uobjects is >= 4B, we can use attr->uobjects in uverbs_process_idrs_array() 195 * idrs array is offset to the end of the uobjects array so we will be in uverbs_process_idrs_array() 198 idr_vals = (u32 *)(attr->uobjects + array_len) - array_len; in uverbs_process_idrs_array() 210 attr->uobjects[i] = uverbs_get_uobject_from_file( in uverbs_process_idrs_array() 213 if (IS_ERR(attr->uobjects[ in uverbs_process_idrs_array() [all...] |
H A D | rdma_core.c | 644 list_add(&uobj->list, &ufile->uobjects); in rdma_alloc_commit_uobject() 859 list_for_each_entry_safe(obj, next_obj, &ufile->uobjects, list) { in __uverbs_cleanup_ufile() 886 * If a ucontext was never created then we can't have any uobjects to in uverbs_destroy_ufile_hw() 893 while (!list_empty(&ufile->uobjects)) in uverbs_destroy_ufile_hw() 899 WARN_ON(!list_empty(&ufile->uobjects)); in uverbs_destroy_ufile_hw() 904 if (!list_empty(&ufile->uobjects)) in uverbs_destroy_ufile_hw()
|
H A D | uverbs.h | 149 * To access the uobjects list hw_destroy_rwsem must be held for write 156 struct list_head uobjects; member
|
H A D | uverbs_std_types_device.c | 83 list_for_each_entry(obj, &ufile->uobjects, list) { in gather_objects_handle()
|
H A D | uverbs_main.c | 936 INIT_LIST_HEAD(&file->uobjects); in ib_uverbs_open()
|
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | uverbs_ioctl.c | 186 attr->uobjects = in uverbs_process_idrs_array() 188 array_size(array_len, sizeof(*attr->uobjects))); in uverbs_process_idrs_array() 189 if (IS_ERR(attr->uobjects)) in uverbs_process_idrs_array() 190 return PTR_ERR(attr->uobjects); in uverbs_process_idrs_array() 193 * Since idr is 4B and *uobjects is >= 4B, we can use attr->uobjects in uverbs_process_idrs_array() 195 * idrs array is offset to the end of the uobjects array so we will be in uverbs_process_idrs_array() 198 idr_vals = (u32 *)(attr->uobjects + array_len) - array_len; in uverbs_process_idrs_array() 210 attr->uobjects[i] = uverbs_get_uobject_from_file( in uverbs_process_idrs_array() 213 if (IS_ERR(attr->uobjects[ in uverbs_process_idrs_array() [all...] |
H A D | rdma_core.c | 651 list_add(&uobj->list, &ufile->uobjects); in rdma_alloc_commit_uobject() 896 list_for_each_entry_safe(obj, next_obj, &ufile->uobjects, list) { in __uverbs_cleanup_ufile() 912 WARN_ON(!list_empty(&ufile->uobjects)); in __uverbs_cleanup_ufile() 930 * If a ucontext was never created then we can't have any uobjects to in uverbs_destroy_ufile_hw() 936 while (!list_empty(&ufile->uobjects) && in uverbs_destroy_ufile_hw() 940 if (WARN_ON(!list_empty(&ufile->uobjects))) in uverbs_destroy_ufile_hw()
|
H A D | uverbs.h | 149 * To access the uobjects list hw_destroy_rwsem must be held for write 156 struct list_head uobjects; member
|
H A D | uverbs_std_types_device.c | 83 list_for_each_entry(obj, &ufile->uobjects, list) { in gather_objects_handle()
|
H A D | uverbs_main.c | 947 INIT_LIST_HEAD(&file->uobjects); in ib_uverbs_open()
|
/kernel/linux/linux-5.10/include/rdma/ |
H A D | uverbs_ioctl.h | 611 struct ib_uobject **uobjects; member 741 * @arr: Returned pointer to array of pointers for uobjects or NULL if 758 *arr = attr->objs_arr_attr.uobjects; in uverbs_attr_get_uobjs_arr()
|
/kernel/linux/linux-6.6/include/rdma/ |
H A D | uverbs_ioctl.h | 619 struct ib_uobject **uobjects; member 752 * @arr: Returned pointer to array of pointers for uobjects or NULL if 769 *arr = attr->objs_arr_attr.uobjects; in uverbs_attr_get_uobjs_arr()
|
Completed in 14 milliseconds