Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/cavium/liquidio/
A 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()
A Docteon_mailbox.h66 u32 recv_len; member
A 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()
A 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()
/linux-6.3-rc2/drivers/hv/
A 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()
281 fcopy_transaction.recv_len = recvlen; in hv_fcopy_onchannelcallback()
A Dhv_snapshot.c58 int recv_len; /* number of bytes received. */ member
263 buf_len = vss_transaction.recv_len; in vss_respond_to_host()
346 vss_transaction.recv_len = recvlen; in hv_vss_onchannelcallback()
A Dhv_kvp.c79 int recv_len; /* number of bytes received. */ member
533 buf_len = kvp_transaction.recv_len; in kvp_respond_to_host()
705 kvp_transaction.recv_len = recvlen; in hv_kvp_onchannelcallback()
/linux-6.3-rc2/drivers/hid/i2c-hid/
A Di2c-hid-core.c162 u8 *send_buf, int send_len, u8 *recv_buf, int recv_len) in i2c_hid_xfer() argument
180 if (recv_len) { in i2c_hid_xfer()
184 msgs[n].len = recv_len; in i2c_hid_xfer()
193 if (recv_len) in i2c_hid_xfer()
229 u8 *recv_buf, size_t recv_len) in i2c_hid_get_report() argument
258 ihid->rawbuf, recv_len + sizeof(__le16)); in i2c_hid_get_report()
272 recv_len = min(recv_len, ret_count - sizeof(__le16)); in i2c_hid_get_report()
273 memcpy(recv_buf, ihid->rawbuf + sizeof(__le16), recv_len); in i2c_hid_get_report()
275 if (report_id && recv_len != 0 && recv_buf[0] != report_id) { in i2c_hid_get_report()
282 return recv_len; in i2c_hid_get_report()
/linux-6.3-rc2/samples/bpf/
A Dcookie_uid_helper_example.c222 int s_rcv, s_send, i, recv_len; in udp_client() local
255 recv_len = recvfrom(s_rcv, &buf, sizeof(buf), 0, in udp_client()
257 if (recv_len < 0) in udp_client()
/linux-6.3-rc2/drivers/nvme/host/
A Dtcp.c765 int recv_len, ret; in nvme_tcp_recv_data() local
768 if (!recv_len) in nvme_tcp_recv_data()
789 recv_len = min_t(size_t, recv_len, in nvme_tcp_recv_data()
794 &req->iter, recv_len, queue->rcv_hash); in nvme_tcp_recv_data()
797 &req->iter, recv_len); in nvme_tcp_recv_data()
805 *len -= recv_len; in nvme_tcp_recv_data()
806 *offset += recv_len; in nvme_tcp_recv_data()
807 queue->data_remaining -= recv_len; in nvme_tcp_recv_data()
840 queue->ddgst_remaining -= recv_len; in nvme_tcp_recv_ddgst()
841 *offset += recv_len; in nvme_tcp_recv_ddgst()
[all …]
/linux-6.3-rc2/drivers/i2c/busses/
A Di2c-mpc.c505 int recv_len = 0; in mpc_i2c_do_action() local
517 recv_len = 1; in mpc_i2c_do_action()
546 if (i2c->byte_posn || !recv_len) { in mpc_i2c_do_action()
559 if (i2c->byte_posn == 0 && recv_len) { in mpc_i2c_do_action()
A 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()
/linux-6.3-rc2/net/hsr/
A Dhsr_forward.c354 int res, recv_len; in hsr_deliver_master() local
359 recv_len = skb->len; in hsr_deliver_master()
365 dev->stats.rx_bytes += recv_len; in hsr_deliver_master()
/linux-6.3-rc2/drivers/w1/masters/
A Dds2490.c330 int recv_len; in ds_recv_data() local
336 recv_len = ds_recv_status(dev, NULL); in ds_recv_data()
337 if (recv_len >= 0) in ds_recv_data()
338 ds_dump_status(dev, dev->st_buf, recv_len); in ds_recv_data()
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeon_ep/
A Doctep_main.h91 u32 recv_len; member
/linux-6.3-rc2/tools/testing/selftests/net/
A Dtls.c896 const unsigned int recv_len = 10; in TEST_F() local
897 char recv_mem[recv_len * 2]; in TEST_F()
905 EXPECT_EQ(recv(self->cfd, recv_mem, recv_len, 0), recv_len); in TEST_F()
906 EXPECT_EQ(recv(self->cfd, recv_mem + recv_len, recv_len, 0), 5); in TEST_F()
/linux-6.3-rc2/drivers/char/ipmi/
A Dssif_bmc.c94 u8 recv_len; member

Completed in 47 milliseconds