Home
last modified time | relevance | path

Searched refs:ex_hdr (Results 1 – 1 of 1) sorted by relevance

/drivers/infiniband/core/
Duverbs_main.c501 struct ib_uverbs_ex_cmd_hdr *ex_hdr, size_t count, in verify_hdr() argument
505 count -= sizeof(*hdr) + sizeof(*ex_hdr); in verify_hdr()
507 if ((hdr->in_words + ex_hdr->provider_in_words) * 8 != count) in verify_hdr()
513 if (ex_hdr->cmd_hdr_reserved) in verify_hdr()
516 if (ex_hdr->response) { in verify_hdr()
517 if (!hdr->out_words && !ex_hdr->provider_out_words) in verify_hdr()
523 if (!access_ok(u64_to_user_ptr(ex_hdr->response), in verify_hdr()
524 (hdr->out_words + ex_hdr->provider_out_words) * 8)) in verify_hdr()
527 if (hdr->out_words || ex_hdr->provider_out_words) in verify_hdr()
565 struct ib_uverbs_ex_cmd_hdr ex_hdr; in ib_uverbs_write() local
[all …]