Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/infiniband/core/
A Duverbs_main.c507 count -= sizeof(*hdr) + sizeof(*ex_hdr); in verify_hdr()
515 if (ex_hdr->cmd_hdr_reserved) in verify_hdr()
518 if (ex_hdr->response) { in verify_hdr()
525 if (!access_ok(u64_to_user_ptr(ex_hdr->response), in verify_hdr()
567 struct ib_uverbs_ex_cmd_hdr ex_hdr; in ib_uverbs_write() local
590 if (count < (sizeof(hdr) + sizeof(ex_hdr))) in ib_uverbs_write()
592 if (copy_from_user(&ex_hdr, buf + sizeof(hdr), sizeof(ex_hdr))) in ib_uverbs_write()
656 buf += sizeof(ex_hdr); in ib_uverbs_write()
659 u64_to_user_ptr(ex_hdr.response), in ib_uverbs_write()
665 ex_hdr.provider_in_words * 8, in ib_uverbs_write()
[all …]

Completed in 4 milliseconds