Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/hv/
Dhv_util.c189 u32 recvlen; in shutdown_onchannelcallback() local
197 if (vmbus_recvpacket(channel, shut_txf_buf, HV_HYP_PAGE_SIZE, &recvlen, &requestid)) { in shutdown_onchannelcallback()
202 if (!recvlen) in shutdown_onchannelcallback()
206 if (recvlen < ICMSG_HDR) { in shutdown_onchannelcallback()
208 recvlen); in shutdown_onchannelcallback()
216 shut_txf_buf, recvlen, in shutdown_onchannelcallback()
226 if (recvlen < ICMSG_HDR + sizeof(struct shutdown_msg_data)) { in shutdown_onchannelcallback()
228 recvlen); in shutdown_onchannelcallback()
276 recvlen, requestid, in shutdown_onchannelcallback()
397 u32 recvlen; in timesync_onchannelcallback() local
[all …]
Dhv_fcopy.c229 u32 recvlen; in hv_fcopy_onchannelcallback() local
238 if (vmbus_recvpacket(channel, recv_buffer, HV_HYP_PAGE_SIZE * 2, &recvlen, &requestid)) { in hv_fcopy_onchannelcallback()
243 if (!recvlen) in hv_fcopy_onchannelcallback()
247 if (recvlen < ICMSG_HDR) { in hv_fcopy_onchannelcallback()
249 recvlen); in hv_fcopy_onchannelcallback()
258 recv_buffer, recvlen, in hv_fcopy_onchannelcallback()
269 if (recvlen < ICMSG_HDR + sizeof(struct hv_fcopy_hdr)) { in hv_fcopy_onchannelcallback()
271 recvlen); in hv_fcopy_onchannelcallback()
281 fcopy_transaction.recv_len = recvlen; in hv_fcopy_onchannelcallback()
305 vmbus_sendpacket(channel, recv_buffer, recvlen, requestid, in hv_fcopy_onchannelcallback()
Dhv_snapshot.c294 u32 recvlen; in hv_vss_onchannelcallback() local
304 if (vmbus_recvpacket(channel, recv_buffer, VSS_MAX_PKT_SIZE, &recvlen, &requestid)) { in hv_vss_onchannelcallback()
309 if (!recvlen) in hv_vss_onchannelcallback()
313 if (recvlen < ICMSG_HDR) { in hv_vss_onchannelcallback()
315 recvlen); in hv_vss_onchannelcallback()
323 recv_buffer, recvlen, in hv_vss_onchannelcallback()
334 if (recvlen < ICMSG_HDR + sizeof(struct hv_vss_msg)) { in hv_vss_onchannelcallback()
336 recvlen); in hv_vss_onchannelcallback()
346 vss_transaction.recv_len = recvlen; in hv_vss_onchannelcallback()
360 vmbus_sendpacket(channel, recv_buffer, recvlen, requestid, in hv_vss_onchannelcallback()
Dhv_kvp.c638 u32 recvlen; in hv_kvp_onchannelcallback() local
665 if (vmbus_recvpacket(channel, recv_buffer, HV_HYP_PAGE_SIZE * 4, &recvlen, &requestid)) { in hv_kvp_onchannelcallback()
670 if (!recvlen) in hv_kvp_onchannelcallback()
674 if (recvlen < ICMSG_HDR) { in hv_kvp_onchannelcallback()
676 recvlen); in hv_kvp_onchannelcallback()
684 recv_buffer, recvlen, in hv_kvp_onchannelcallback()
705 kvp_transaction.recv_len = recvlen; in hv_kvp_onchannelcallback()
741 recvlen, requestid, in hv_kvp_onchannelcallback()
Dhv_balloon.c1517 u32 recvlen; in balloon_onchannelcallback() local
1529 HV_HYP_PAGE_SIZE, &recvlen, &requestid); in balloon_onchannelcallback()
1531 if (recvlen > 0) { in balloon_onchannelcallback()
/linux-6.6.21/drivers/net/mctp/
Dmctp-i2c.c280 size_t recvlen; in mctp_i2c_recv() local
289 recvlen = midev->rx_pos - 1; in mctp_i2c_recv()
297 if (hdr->byte_count + offsetof(struct mctp_i2c_hdr, source_slave) != recvlen) { in mctp_i2c_recv()
303 calc_pec = i2c_smbus_pec(0, midev->rx_buffer, recvlen); in mctp_i2c_recv()
309 skb = netdev_alloc_skb(ndev, recvlen); in mctp_i2c_recv()
316 skb_put_data(skb, midev->rx_buffer, recvlen); in mctp_i2c_recv()
342 ndev->stats.rx_bytes += recvlen; in mctp_i2c_recv()
/linux-6.6.21/net/smc/
Dsmc_clc.c686 int len, datlen, recvlen; in smc_clc_wait_msg() local
743 recvlen = buflen; in smc_clc_wait_msg()
745 recvlen = datlen; in smc_clc_wait_msg()
747 iov_iter_kvec(&msg.msg_iter, ITER_DEST, &vec, 1, recvlen); in smc_clc_wait_msg()
750 if (len < recvlen || !smc_clc_msg_hdr_valid(clcm, check_trl)) { in smc_clc_wait_msg()
762 recvlen = datlen > SMC_CLC_RECV_BUF_LEN ? in smc_clc_wait_msg()
764 iov_iter_kvec(&msg.msg_iter, ITER_DEST, &vec, 1, recvlen); in smc_clc_wait_msg()
/linux-6.6.21/drivers/isdn/mISDN/
Dl1oip_core.c642 int recvlen; in l1oip_socket_thread() local
710 recvlen = sock_recvmsg(socket, &msg, 0); in l1oip_socket_thread()
711 if (recvlen > 0) { in l1oip_socket_thread()
712 l1oip_socket_parse(hc, &sin_rx, recvbuf, recvlen); in l1oip_socket_thread()