Searched refs:ucore (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | uverbs_std_types_device.c | 36 uverbs_fill_udata(attrs, &attrs->ucore, UVERBS_ATTR_CORE_IN, in UVERBS_HANDLER() 39 if (attrs->ucore.inlen < method_elm->req_size || in UVERBS_HANDLER() 40 attrs->ucore.outlen < method_elm->resp_size) in UVERBS_HANDLER()
|
D | uverbs_cmd.c | 67 if (copy_to_user(attrs->ucore.outbuf, resp, in uverbs_response() 68 min(attrs->ucore.outlen, resp_len))) in uverbs_response() 71 if (resp_len < attrs->ucore.outlen) { in uverbs_response() 76 ret = clear_user(attrs->ucore.outbuf + resp_len, in uverbs_response() 77 attrs->ucore.outlen - resp_len); in uverbs_response() 94 if (copy_from_user(req, attrs->ucore.inbuf, in uverbs_request() 95 min(attrs->ucore.inlen, req_len))) in uverbs_request() 98 if (attrs->ucore.inlen < req_len) { in uverbs_request() 99 memset(req + attrs->ucore.inlen, 0, in uverbs_request() 100 req_len - attrs->ucore.inlen); in uverbs_request() [all …]
|
D | uverbs_main.c | 653 &bundle.ucore, buf, u64_to_user_ptr(response), in ib_uverbs_write() 658 ib_uverbs_init_udata_buf_or_null(&bundle.ucore, buf, in ib_uverbs_write() 663 &bundle.driver_udata, buf + bundle.ucore.inlen, in ib_uverbs_write() 664 u64_to_user_ptr(ex_hdr.response) + bundle.ucore.outlen, in ib_uverbs_write()
|
/kernel/linux/linux-5.10/include/rdma/ |
D | uverbs_ioctl.h | 625 struct ib_udata ucore; member
|