Home
last modified time | relevance | path

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

/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_main.c502 count -= sizeof(*hdr) + sizeof(*ex_hdr); in verify_hdr()
510 if (ex_hdr->cmd_hdr_reserved) in verify_hdr()
513 if (ex_hdr->response) { in verify_hdr()
520 if (!access_ok(u64_to_user_ptr(ex_hdr->response), in verify_hdr()
562 struct ib_uverbs_ex_cmd_hdr ex_hdr; in ib_uverbs_write() local
585 if (count < (sizeof(hdr) + sizeof(ex_hdr))) in ib_uverbs_write()
587 if (copy_from_user(&ex_hdr, buf + sizeof(hdr), sizeof(ex_hdr))) in ib_uverbs_write()
650 buf += sizeof(ex_hdr); in ib_uverbs_write()
653 u64_to_user_ptr(ex_hdr.response), in ib_uverbs_write()
659 ex_hdr.provider_in_words * 8, in ib_uverbs_write()
[all …]
/freebsd/contrib/ofed/libibverbs/
H A Dkern-abi.h150 struct ex_hdr { struct
261 struct ex_hdr hdr;
473 struct ex_hdr hdr;
677 struct ex_hdr hdr;
1067 struct ex_hdr hdr;
1079 struct ex_hdr hdr;
1272 struct ex_hdr hdr;
1294 struct ex_hdr hdr;
1307 struct ex_hdr hdr;
1317 struct ex_hdr hdr;
[all …]
H A Dibverbs.h91 size_t c_size = cmd_size - sizeof(struct ex_hdr); \