ex_hdr 601 drivers/infiniband/core/uverbs_main.c struct ib_uverbs_ex_cmd_hdr *ex_hdr, size_t count, ex_hdr 605 drivers/infiniband/core/uverbs_main.c count -= sizeof(*hdr) + sizeof(*ex_hdr); ex_hdr 607 drivers/infiniband/core/uverbs_main.c if ((hdr->in_words + ex_hdr->provider_in_words) * 8 != count) ex_hdr 613 drivers/infiniband/core/uverbs_main.c if (ex_hdr->cmd_hdr_reserved) ex_hdr 616 drivers/infiniband/core/uverbs_main.c if (ex_hdr->response) { ex_hdr 617 drivers/infiniband/core/uverbs_main.c if (!hdr->out_words && !ex_hdr->provider_out_words) ex_hdr 623 drivers/infiniband/core/uverbs_main.c if (!access_ok(u64_to_user_ptr(ex_hdr->response), ex_hdr 624 drivers/infiniband/core/uverbs_main.c (hdr->out_words + ex_hdr->provider_out_words) * 8)) ex_hdr 627 drivers/infiniband/core/uverbs_main.c if (hdr->out_words || ex_hdr->provider_out_words) ex_hdr 665 drivers/infiniband/core/uverbs_main.c struct ib_uverbs_ex_cmd_hdr ex_hdr; ex_hdr 688 drivers/infiniband/core/uverbs_main.c if (count < (sizeof(hdr) + sizeof(ex_hdr))) ex_hdr 690 drivers/infiniband/core/uverbs_main.c if (copy_from_user(&ex_hdr, buf + sizeof(hdr), sizeof(ex_hdr))) ex_hdr 694 drivers/infiniband/core/uverbs_main.c ret = verify_hdr(&hdr, &ex_hdr, count, method_elm); ex_hdr 753 drivers/infiniband/core/uverbs_main.c buf += sizeof(ex_hdr); ex_hdr 756 drivers/infiniband/core/uverbs_main.c u64_to_user_ptr(ex_hdr.response), ex_hdr 761 drivers/infiniband/core/uverbs_main.c u64_to_user_ptr(ex_hdr.response) + bundle.ucore.outlen, ex_hdr 762 drivers/infiniband/core/uverbs_main.c ex_hdr.provider_in_words * 8, ex_hdr 763 drivers/infiniband/core/uverbs_main.c ex_hdr.provider_out_words * 8);