Searched refs:method_elm (Results 1 – 5 of 5) sorted by relevance
72 method_elm = uapi_add_get_elm(uapi, method_key, sizeof(*method_elm), in uapi_create_write()74 if (IS_ERR(method_elm)) in uapi_create_write()75 return PTR_ERR(method_elm); in uapi_create_write()110 method_elm = uapi_add_get_elm(uapi, method_key, sizeof(*method_elm), in uapi_merge_method()112 if (IS_ERR(method_elm)) in uapi_merge_method()113 return PTR_ERR(method_elm); in uapi_merge_method()247 if (IS_ERR(method_elm)) in uapi_disable_elm()248 return PTR_ERR(method_elm); in uapi_disable_elm()249 method_elm->disabled = 1; in uapi_disable_elm()555 if (method_elm->disabled) { in uapi_finalize_disable()[all …]
51 const struct uverbs_api_ioctl_method *method_elm; member86 method_elm->bundle_size = in uapi_compute_bundle_size()90 WARN_ON_ONCE(method_elm->bundle_size > PAGE_SIZE); in uapi_compute_bundle_size()424 pbundle->method_elm->handler, in ib_uverbs_run_method()444 pbundle->method_elm->key_bitmap_len))) in ib_uverbs_run_method()447 if (pbundle->method_elm->has_udata) in ib_uverbs_run_method()474 if (!ret && pbundle->method_elm->has_udata) { in ib_uverbs_run_method()546 const struct uverbs_api_ioctl_method *method_elm; in ib_uverbs_cmd_verbs() local565 if (!method_elm->use_stack) { in ib_uverbs_cmd_verbs()570 method_elm->bundle_size - in ib_uverbs_cmd_verbs()[all …]
506 if (method_elm->is_ex) { in verify_hdr()586 if (IS_ERR(method_elm)) in ib_uverbs_write()587 return PTR_ERR(method_elm); in ib_uverbs_write()589 if (method_elm->is_ex) { in ib_uverbs_write()608 if (!method_elm->is_ex) { in ib_uverbs_write()613 if (method_elm->has_udata) { in ib_uverbs_write()615 in_len - method_elm->req_size; in ib_uverbs_write()616 in_len = method_elm->req_size; in ib_uverbs_write()626 if (method_elm->has_resp) { in ib_uverbs_write()636 if (method_elm->has_udata) { in ib_uverbs_write()[all …]
24 const struct uverbs_api_write_method *method_elm; in UVERBS_HANDLER() local32 method_elm = uapi_get_method(uapi, cmd); in UVERBS_HANDLER()33 if (IS_ERR(method_elm)) in UVERBS_HANDLER()34 return PTR_ERR(method_elm); in UVERBS_HANDLER()39 if (attrs->ucore.inlen < method_elm->req_size || in UVERBS_HANDLER()40 attrs->ucore.outlen < method_elm->resp_size) in UVERBS_HANDLER()44 rc = method_elm->handler(attrs); in UVERBS_HANDLER()
150 void uapi_compute_bundle_size(struct uverbs_api_ioctl_method *method_elm,
Completed in 11 milliseconds