Lines Matching refs:ex_hdr
814 struct ib_uverbs_ex_cmd_hdr ex_hdr;
830 if (count < (sizeof(hdr) + sizeof(ex_hdr))) {
835 if (copy_from_user(&ex_hdr, buf + sizeof(hdr), sizeof(ex_hdr))) {
840 count -= sizeof(hdr) + sizeof(ex_hdr);
841 buf += sizeof(hdr) + sizeof(ex_hdr);
843 if ((hdr.in_words + ex_hdr.provider_in_words) * 8 != count) {
848 if (ex_hdr.cmd_hdr_reserved) {
853 if (ex_hdr.response) {
854 if (!hdr.out_words && !ex_hdr.provider_out_words) {
860 (void __user *) (unsigned long) ex_hdr.response,
861 (hdr.out_words + ex_hdr.provider_out_words) * 8)) {
866 if (hdr.out_words || ex_hdr.provider_out_words) {
872 INIT_UDATA_BUF_OR_NULL(&ucore, buf, (unsigned long) ex_hdr.response,
877 (unsigned long) ex_hdr.response + ucore.outlen,
878 ex_hdr.provider_in_words * 8,
879 ex_hdr.provider_out_words * 8);