Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/hv/
Dchannel.c253 u32 msgsize; in create_gpadl_header() local
268 msgsize = sizeof(struct vmbus_channel_msginfo) + in create_gpadl_header()
271 msgheader = kzalloc(msgsize, GFP_KERNEL); in create_gpadl_header()
276 msgheader->msgsize = msgsize; in create_gpadl_header()
305 msgsize = sizeof(struct vmbus_channel_msginfo) + in create_gpadl_header()
308 msgbody = kzalloc(msgsize, GFP_KERNEL); in create_gpadl_header()
327 msgbody->msgsize = msgsize; in create_gpadl_header()
349 msgsize = sizeof(struct vmbus_channel_msginfo) + in create_gpadl_header()
352 msgheader = kzalloc(msgsize, GFP_KERNEL); in create_gpadl_header()
357 msgheader->msgsize = msgsize; in create_gpadl_header()
[all …]
Dvmbus_drv.c2467 size_t msgsize; in vmbus_bus_resume() local
2479 msgsize = sizeof(*msginfo) + in vmbus_bus_resume()
2482 msginfo = kzalloc(msgsize, GFP_KERNEL); in vmbus_bus_resume()
/kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/
Dgelic_udbg.c192 static void gelic_sendbuf(int msgsize) in gelic_sendbuf() argument
198 dbg.descr.buf_size = header_size + msgsize; in gelic_sendbuf()
199 h_ip->tot_len = msgsize + sizeof(struct udphdr) + in gelic_sendbuf()
201 h_udp->len = msgsize + sizeof(struct udphdr); in gelic_sendbuf()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_ct.c676 u32 msgsize = (len + 1) * sizeof(u32); /* msg size in bytes w/header */ in ct_handle_response() local
688 CT_ERROR(ct, "Corrupted response %*ph\n", msgsize, msg); in ct_handle_response()
698 CT_ERROR(ct, "Corrupted response %*ph\n", msgsize, msg); in ct_handle_response()
713 req->fence, msgsize, msg); in ct_handle_response()
726 CT_ERROR(ct, "Unsolicited response %*ph\n", msgsize, msg); in ct_handle_response()
816 u32 msgsize = (len + 1) * sizeof(u32); /* msg size in bytes w/header */ in ct_handle_request() local
822 request = kmalloc(sizeof(*request) + msgsize, GFP_ATOMIC); in ct_handle_request()
824 CT_ERROR(ct, "Dropping request %*ph\n", msgsize, msg); in ct_handle_request()
827 memcpy(request->msg, msg, msgsize); in ct_handle_request()
/kernel/linux/linux-5.10/net/openvswitch/
Ddatapath.c1512 size_t msgsize = NLMSG_ALIGN(sizeof(struct ovs_header)); in ovs_dp_cmd_msg_size() local
1514 msgsize += nla_total_size(IFNAMSIZ); in ovs_dp_cmd_msg_size()
1515 msgsize += nla_total_size_64bit(sizeof(struct ovs_dp_stats)); in ovs_dp_cmd_msg_size()
1516 msgsize += nla_total_size_64bit(sizeof(struct ovs_dp_megaflow_stats)); in ovs_dp_cmd_msg_size()
1517 msgsize += nla_total_size(sizeof(u32)); /* OVS_DP_ATTR_USER_FEATURES */ in ovs_dp_cmd_msg_size()
1518 msgsize += nla_total_size(sizeof(u32)); /* OVS_DP_ATTR_MASKS_CACHE_SIZE */ in ovs_dp_cmd_msg_size()
1520 return msgsize; in ovs_dp_cmd_msg_size()
/kernel/linux/linux-5.10/tools/perf/util/
Devsel.h366 bool evsel__fallback(struct evsel *evsel, int err, char *msg, size_t msgsize);
Devsel.c2508 bool evsel__fallback(struct evsel *evsel, int err, char *msg, size_t msgsize) in evsel__fallback() argument
2523 scnprintf(msg, msgsize, "%s", in evsel__fallback()
2552 scnprintf(msg, msgsize, "kernel.perf_event_paranoid=%d, trying " in evsel__fallback()
/kernel/linux/linux-5.10/include/linux/
Dhyperv.h725 u32 msgsize; member
1477 u32 msgsize; member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0038_linux_drivers_mxc.patch178576 + int msgsize,
178591 + if (msgsize == 0) {
178606 + pmsg->size = msgsize;
178607 + memcpy((void *)&pmsg->params, msgcontent, msgsize);
179005 + int ret = -1, msgsize;
179022 + msgsize = pmsg->size;
179023 + if (msgsize + sizeof(struct vsi_v4l2_msg_hdr) > size) {
179027 + if (msgsize > 0) {
179029 + (void __user *)buf + sizeof(struct vsi_v4l2_msg_hdr), msgsize) != 0) {
179036 + accubytes += sizeof(struct vsi_v4l2_msg_hdr) + msgsize;