Lines Matching refs:obj_elm
98 struct uverbs_api_object *obj_elm, u32 obj_key, in uapi_merge_method() argument
171 struct uverbs_api_object *obj_elm; in uapi_merge_obj_tree() local
178 obj_elm = uapi_add_get_elm(uapi, obj_key, sizeof(*obj_elm), &exists); in uapi_merge_obj_tree()
179 if (IS_ERR(obj_elm)) in uapi_merge_obj_tree()
180 return PTR_ERR(obj_elm); in uapi_merge_obj_tree()
183 if (WARN_ON(obj_elm->type_attrs)) in uapi_merge_obj_tree()
186 obj_elm->id = obj->id; in uapi_merge_obj_tree()
187 obj_elm->type_attrs = obj->type_attrs; in uapi_merge_obj_tree()
188 obj_elm->type_class = obj->type_attrs->type_class; in uapi_merge_obj_tree()
214 rc = uapi_merge_method(uapi, obj_elm, obj_key, method, in uapi_merge_obj_tree()
231 struct uverbs_api_object *obj_elm; in uapi_disable_elm() local
233 obj_elm = uapi_add_get_elm( in uapi_disable_elm()
234 uapi, obj_key, sizeof(*obj_elm), &exists); in uapi_disable_elm()
235 if (IS_ERR(obj_elm)) in uapi_disable_elm()
236 return PTR_ERR(obj_elm); in uapi_disable_elm()
237 obj_elm->disabled = 1; in uapi_disable_elm()
329 struct uverbs_api_object *obj_elm; in uapi_merge_def() local
332 obj_elm = uapi_add_get_elm(uapi, cur_obj_key, in uapi_merge_def()
333 sizeof(*obj_elm), &exists); in uapi_merge_def()
334 if (IS_ERR(obj_elm)) in uapi_merge_def()
335 return PTR_ERR(obj_elm); in uapi_merge_def()
538 struct uverbs_api_object *obj_elm = in uapi_finalize_disable() local
541 if (obj_elm->disabled) { in uapi_finalize_disable()