Lines Matching refs:method_elm
514 const struct uverbs_api_write_method *method_elm)
516 if (method_elm->is_ex) {
522 if (hdr->in_words * 8 < method_elm->req_size)
532 if (hdr->out_words * 8 < method_elm->resp_size)
550 if (count < method_elm->req_size + sizeof(*hdr)) {
565 if (hdr->out_words * 4 < method_elm->resp_size)
575 const struct uverbs_api_write_method *method_elm;
595 method_elm = uapi_get_method(uapi, hdr.command);
596 if (IS_ERR(method_elm))
597 return PTR_ERR(method_elm);
599 if (method_elm->is_ex) {
606 ret = verify_hdr(&hdr, &ex_hdr, count, method_elm);
618 if (!method_elm->is_ex) {
623 if (method_elm->has_udata) {
625 in_len - method_elm->req_size;
626 in_len = method_elm->req_size;
636 if (method_elm->has_resp) {
646 if (method_elm->has_udata) {
648 out_len - method_elm->resp_size;
649 out_len = method_elm->resp_size;
680 ret = method_elm->handler(&bundle);