Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/
Docteon_mailbox.c51 mbox->mbox_req.data[mbox->mbox_req.recv_len - 1] = msg.u64; in octeon_mbox_read()
52 mbox->mbox_req.recv_len++; in octeon_mbox_read()
55 mbox->mbox_resp.data[mbox->mbox_resp.recv_len - 1] = in octeon_mbox_read()
57 mbox->mbox_resp.recv_len++; in octeon_mbox_read()
66 mbox->mbox_req.recv_len = 1; in octeon_mbox_read()
78 mbox->mbox_resp.recv_len = 1; in octeon_mbox_read()
91 if (mbox->mbox_req.recv_len < mbox->mbox_req.msg.s.len) { in octeon_mbox_read()
100 if (mbox->mbox_resp.recv_len < in octeon_mbox_read()
Docteon_mailbox.h66 u32 recv_len; member
Dcn23xx_vf_device.c382 mbox_cmd.recv_len = 0; in cn23xx_vf_ask_pf_to_do_flr()
398 if (cmd->recv_len > 1) { in octeon_pfvf_hs_callback()
431 mbox_cmd.recv_len = 0; in cn23xx_octeon_pfvf_handshake()
Dcn23xx_pf_device.c1450 mbox_cmd.recv_len = 0; in cn23xx_tell_vf_its_macaddr_changed()
1490 mbox_cmd.recv_len = 0; in cn23xx_get_vf_stats()
/kernel/linux/linux-5.10/drivers/hv/
Dhv_fcopy.c51 int recv_len; /* number of bytes received. */ member
170 out_len = fcopy_transaction.recv_len; in fcopy_send_data()
206 buf_len = fcopy_transaction.recv_len; in fcopy_respond_to_host()
265 fcopy_transaction.recv_len = recvlen; in hv_fcopy_onchannelcallback()
Dhv_snapshot.c55 int recv_len; /* number of bytes received. */ member
260 buf_len = vss_transaction.recv_len; in vss_respond_to_host()
328 vss_transaction.recv_len = recvlen; in hv_vss_onchannelcallback()
Dhv_kvp.c79 int recv_len; /* number of bytes received. */ member
533 buf_len = kvp_transaction.recv_len; in kvp_respond_to_host()
691 kvp_transaction.recv_len = recvlen; in hv_kvp_onchannelcallback()
/kernel/linux/linux-5.10/samples/bpf/
Dcookie_uid_helper_example.c213 int s_rcv, s_send, i, recv_len; in udp_client() local
246 recv_len = recvfrom(s_rcv, &buf, sizeof(buf), 0, in udp_client()
248 if (recv_len < 0) in udp_client()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-mpc.c574 u8 *data, int length, int restart, bool recv_len) in mpc_read() argument
590 if (length == 1 && !recv_len) in mpc_read()
609 if (i || !recv_len) { in mpc_read()
626 if (i == 0 && recv_len) { in mpc_read()
682 bool recv_len = pmsg->flags & I2C_M_RECV_LEN; in mpc_xfer() local
685 recv_len); in mpc_xfer()
686 if (recv_len && ret > 0) in mpc_xfer()
Di2c-octeon-core.c307 u8 *data, u16 *rlength, bool recv_len) in octeon_i2c_read() argument
333 if ((i + 1 == length) && !(recv_len && i == 0)) in octeon_i2c_read()
349 if (recv_len && i == 0) { in octeon_i2c_read()
/kernel/linux/linux-5.10/drivers/nvme/host/
Dtcp.c749 int recv_len, ret; in nvme_tcp_recv_data() local
751 recv_len = min_t(size_t, *len, queue->data_remaining); in nvme_tcp_recv_data()
752 if (!recv_len) in nvme_tcp_recv_data()
773 recv_len = min_t(size_t, recv_len, in nvme_tcp_recv_data()
778 &req->iter, recv_len, queue->rcv_hash); in nvme_tcp_recv_data()
781 &req->iter, recv_len); in nvme_tcp_recv_data()
789 *len -= recv_len; in nvme_tcp_recv_data()
790 *offset += recv_len; in nvme_tcp_recv_data()
791 queue->data_remaining -= recv_len; in nvme_tcp_recv_data()
815 size_t recv_len = min_t(size_t, *len, queue->ddgst_remaining); in nvme_tcp_recv_ddgst() local
[all …]
/kernel/linux/linux-5.10/fs/hmdfs/comm/
Dtransport.c402 __u32 recv_len = le32_to_cpu(recv->data_len); in tcp_recvbuffer_cipher() local
405 if (recv_len == sizeof(struct hmdfs_head_cmd)) in tcp_recvbuffer_cipher()
407 else if (recv_len > sizeof(struct hmdfs_head_cmd) && in tcp_recvbuffer_cipher()
408 recv_len <= ADAPTER_MESSAGE_LENGTH) in tcp_recvbuffer_cipher()
409 cipherbuffer_len = recv_len - sizeof(struct hmdfs_head_cmd) + in tcp_recvbuffer_cipher()
459 __u32 recv_len = le32_to_cpu(recv->data_len); in tcp_recvbuffer_tls() local
462 outlen = recv_len - sizeof(struct hmdfs_head_cmd); in tcp_recvbuffer_tls()
/kernel/linux/linux-5.10/net/hsr/
Dhsr_forward.c308 int res, recv_len; in hsr_deliver_master() local
313 recv_len = skb->len; in hsr_deliver_master()
319 dev->stats.rx_bytes += recv_len; in hsr_deliver_master()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dtls.c633 const unsigned int recv_len = 10; in TEST_F() local
634 char recv_mem[recv_len * 2]; in TEST_F()
640 EXPECT_EQ(recv(self->cfd, recv_mem, recv_len, 0), recv_len); in TEST_F()
641 EXPECT_EQ(recv(self->cfd, recv_mem + recv_len, recv_len, 0), 5); in TEST_F()