| /linux/net/rds/ |
| H A D | ib_recv.c | 50 struct rds_ib_recv_work *recv; in rds_ib_recv_init_ring() local 53 for (i = 0, recv = ic->i_recvs; i < ic->i_recv_ring.w_nr; i++, recv++) { in rds_ib_recv_init_ring() 56 recv->r_ibinc = NULL; in rds_ib_recv_init_ring() 57 recv->r_frag = NULL; in rds_ib_recv_init_ring() 59 recv->r_wr.next = NULL; in rds_ib_recv_init_ring() 60 recv->r_wr.wr_id = i; in rds_ib_recv_init_ring() 61 recv->r_wr.sg_list = recv->r_sge; in rds_ib_recv_init_ring() 62 recv->r_wr.num_sge = RDS_IB_RECV_SGE; in rds_ib_recv_init_ring() 64 sge = &recv->r_sge[0]; in rds_ib_recv_init_ring() 69 sge = &recv->r_sge[1]; in rds_ib_recv_init_ring() [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
| H A D | gt215.c | 54 pmu->recv.message = message; in gt215_pmu_send() 55 pmu->recv.process = process; in gt215_pmu_send() 77 wait_event(pmu->recv.wait, (pmu->recv.process == 0)); in gt215_pmu_send() 78 reply[0] = pmu->recv.data[0]; in gt215_pmu_send() 79 reply[1] = pmu->recv.data[1]; in gt215_pmu_send() 105 pmu->recv.base)); in gt215_pmu_recv() 116 if (pmu->recv.process) { in gt215_pmu_recv() 117 if (process == pmu->recv.process && in gt215_pmu_recv() 118 message == pmu->recv.message) { in gt215_pmu_recv() 119 pmu->recv.data[0] = data0; in gt215_pmu_recv() [all …]
|
| H A D | base.c | 57 struct nvkm_pmu *pmu = container_of(work, typeof(*pmu), recv.work); in nvkm_pmu_recv() 58 return pmu->func->recv(pmu); in nvkm_pmu_recv() 135 INIT_WORK(&pmu->recv.work, nvkm_pmu_recv); in nvkm_pmu_ctor() 136 init_waitqueue_head(&pmu->recv.wait); in nvkm_pmu_ctor()
|
| /linux/tools/testing/selftests/net/ |
| H A D | tls.c | 255 EXPECT_NE(recv(self->cfd, buf, send_len, 0), -1); in TEST_F() 461 EXPECT_EQ(recv(self->cfd, recv_buf, to_send, MSG_WAITALL), to_send); in TEST_F() 465 EXPECT_EQ(recv(self->cfd, buf, st.st_size, MSG_WAITALL), st.st_size); in TEST_F() 500 EXPECT_EQ(recv(self->cfd, buf, test_payload_size, MSG_WAITALL), in chunked_sendfile() 538 EXPECT_NE(recv(self->cfd, recv_mem, send_len, 0), -1); in TEST_F() 550 EXPECT_NE(recv(self->cfd, buf, send_len, 0), -1); in TEST_F() 561 EXPECT_EQ(recv(self->cfd, buf, send_len, MSG_DONTWAIT), -1); in TEST_F() 563 EXPECT_EQ(recv(self->cfd, buf, send_len * 2, MSG_WAITALL), in TEST_F() 589 EXPECT_EQ(recv(self->cfd, buf, send_len, MSG_DONTWAIT), -1); in TEST_F() 595 EXPECT_EQ(recv(self->cfd, buf, send_len * 2, 0), send_len); in TEST_F() [all …]
|
| H A D | netlink-dumps.c | 142 n = recv(netlink_sock, buf, sizeof(buf), MSG_DONTWAIT); in TEST() 150 n = recv(netlink_sock, buf, sizeof(buf), MSG_DONTWAIT); in TEST() 211 n = recv(netlink_sock, buf, sizeof(buf), MSG_DONTWAIT); in TEST() 214 n = recv(netlink_sock, buf, sizeof(buf), MSG_DONTWAIT); in TEST()
|
| H A D | sk_so_peek_off.c | 125 len = recv(recv_sock, buf, 1, MSG_PEEK); in sk_peek_offset_test() 136 len = recv(recv_sock, buf, 2, MSG_PEEK); in sk_peek_offset_test() 147 len = recv(recv_sock, buf, 2, MSG_TRUNC); in sk_peek_offset_test()
|
| /linux/drivers/bluetooth/ |
| H A D | hci_h4.c | 101 { H4_RECV_ACL, .recv = hci_recv_frame }, 102 { H4_RECV_SCO, .recv = hci_recv_frame }, 103 { H4_RECV_EVENT, .recv = hci_recv_frame }, 104 { H4_RECV_ISO, .recv = hci_recv_frame }, 138 .recv = h4_recv, 259 (&pkts[i])->recv(hdev, skb); in h4_recv_buf() 267 (&pkts[i])->recv(hdev, skb); in h4_recv_buf()
|
| H A D | hci_mrvl.c | 245 { H4_RECV_ACL, .recv = hci_recv_frame }, 246 { H4_RECV_SCO, .recv = hci_recv_frame }, 247 { H4_RECV_EVENT, .recv = hci_recv_frame }, 248 { HCI_RECV_FW_REQ, .recv = mrvl_recv_fw_req }, 249 { HCI_RECV_CHIP_VER, .recv = mrvl_recv_chip_ver }, 442 .recv = mrvl_recv, 456 .recv = mrvl_recv,
|
| H A D | hci_ath.c | 185 { H4_RECV_ACL, .recv = hci_recv_frame }, 186 { H4_RECV_SCO, .recv = hci_recv_frame }, 187 { H4_RECV_EVENT, .recv = hci_recv_frame }, 258 .recv = ath_recv,
|
| H A D | hci_ll.c | 416 { H4_RECV_ACL, .recv = hci_recv_frame }, 417 { H4_RECV_SCO, .recv = hci_recv_frame }, 418 { H4_RECV_EVENT, .recv = hci_recv_frame }, 419 { LL_RECV_SLEEP_IND, .recv = ll_recv_frame }, 420 { LL_RECV_SLEEP_ACK, .recv = ll_recv_frame }, 421 { LL_RECV_WAKE_IND, .recv = ll_recv_frame }, 422 { LL_RECV_WAKE_ACK, .recv = ll_recv_frame }, 816 .recv = ll_recv,
|
| H A D | hci_ag6xx.c | 96 { H4_RECV_ACL, .recv = hci_recv_frame }, 97 { H4_RECV_SCO, .recv = hci_recv_frame }, 98 { H4_RECV_EVENT, .recv = hci_recv_frame }, 308 .recv = ag6xx_recv,
|
| H A D | hci_nokia.c | 630 { H4_RECV_ACL, .recv = hci_recv_frame }, 631 { H4_RECV_SCO, .recv = hci_recv_frame }, 632 { H4_RECV_EVENT, .recv = hci_recv_frame }, 633 { NOKIA_RECV_ALIVE, .recv = nokia_recv_alive_packet }, 634 { NOKIA_RECV_NEG, .recv = nokia_recv_negotiation_packet }, 635 { NOKIA_RECV_RADIO, .recv = nokia_recv_radio }, 690 .recv = nokia_recv,
|
| /linux/drivers/usb/storage/ |
| H A D | karma.c | 39 char *recv; member 115 data->recv, RIO_RECV_LEN, NULL); in rio_karma_send_command() 119 if (data->recv[5] == seq) in rio_karma_send_command() 172 kfree(data->recv); in rio_karma_destructor() 182 data->recv = kmalloc(RIO_RECV_LEN, GFP_NOIO); in rio_karma_init() 183 if (!data->recv) { in rio_karma_init()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | tc_change_tail.c | 36 ret = recv(c1, buf, 2, 0); in test_tc_change_tail() 42 ret = recv(c1, buf, 2, 0); in test_tc_change_tail() 48 ret = recv(c1, buf, 1, 0); in test_tc_change_tail() 54 ret = recv(c1, buf, 1, 0); in test_tc_change_tail()
|
| H A D | tcpbpf_user.c | 74 rv = recv(accept_fd, buf, 1000, 0); in run_test() 86 rv = recv(cli_fd, buf, 500, 0); in run_test() 95 err = recv(cli_fd, buf, 1, 0); in run_test() 100 err = recv(accept_fd, buf, 1, 0); in run_test()
|
| H A D | assign_reuse.c | 48 ret = recv(fd_sv, buff, sizeof(buff), 0); in echo_test_udp() 56 ASSERT_EQ(recv(fd_cl, buff, sizeof(buff), 0), 1, "recv_client"); in echo_test_udp() 74 ASSERT_EQ(recv(fd_sv_cl, buff, sizeof(buff), 0), 1, "recv_server"); in echo_test_tcp() 76 ASSERT_EQ(recv(fd_cl, buff, sizeof(buff), 0), 1, "recv_client"); in echo_test_tcp()
|
| /linux/drivers/infiniband/core/ |
| H A D | mad.c | 2149 struct ib_mad_private *recv, in handle_ib_smi() argument 2153 struct ib_smp *smp = (struct ib_smp *)recv->mad; in handle_ib_smi() 2178 memcpy(response, recv, mad_priv_size(response)); in handle_ib_smi() 2196 static bool generate_unmatched_resp(const struct ib_mad_private *recv, in generate_unmatched_resp() argument 2200 const struct ib_mad_hdr *recv_hdr = (const struct ib_mad_hdr *)recv->mad; in generate_unmatched_resp() 2205 memcpy(response, recv, mad_priv_size(response)); in generate_unmatched_resp() 2220 (struct opa_smp *)recv->mad); in generate_unmatched_resp() 2236 struct ib_mad_private *recv, in handle_opa_smi() argument 2240 struct opa_smp *smp = (struct opa_smp *)recv->mad; in handle_opa_smi() 2267 memcpy(response, recv, mad_priv_size(response)); in handle_opa_smi() [all …]
|
| /linux/net/sunrpc/ |
| H A D | xprtsock.c | 550 if (!transport->recv.copied) { in xs_read_header() 551 if (buf->head[0].iov_len >= transport->recv.offset) in xs_read_header() 553 &transport->recv.xid, in xs_read_header() 554 transport->recv.offset); in xs_read_header() 555 transport->recv.copied = transport->recv.offset; in xs_read_header() 562 return transport->recv.fraghdr & cpu_to_be32(RPC_LAST_STREAM_FRAGMENT); in xs_read_stream_request_done() 583 want = transport->recv.len - transport->recv.offset; in xs_read_stream_request() 586 transport->recv.copied + want, in xs_read_stream_request() 587 transport->recv.copied, in xs_read_stream_request() 589 transport->recv.offset += read; in xs_read_stream_request() [all …]
|
| /linux/drivers/mailbox/ |
| H A D | arm_mhuv2.c | 178 struct mhu2_recv_frame_reg __iomem *recv; member 266 &mhu->recv->ch_wn[priv->ch_wn_idx].mask_clear); in mhuv2_doorbell_rx_startup() 276 &mhu->recv->ch_wn[priv->ch_wn_idx].mask_set); in mhuv2_doorbell_rx_shutdown() 284 &mhu->recv->ch_wn[priv->ch_wn_idx].stat_clear); in mhuv2_doorbell_read_data() 335 writel_relaxed(0xFFFFFFFF, &mhu->recv->ch_wn[i].mask_clear); in mhuv2_data_transfer_rx_startup() 345 writel_relaxed(0xFFFFFFFF, &mhu->recv->ch_wn[i].mask_set); in mhuv2_data_transfer_rx_shutdown() 378 data[windows - 1 - i] = readl_relaxed(&mhu->recv->ch_wn[idx].stat); in mhuv2_data_transfer_read_data() 379 writel_relaxed(0xFFFFFFFF, &mhu->recv->ch_wn[idx].stat_clear); in mhuv2_data_transfer_read_data() 627 chan = get_irq_chan_comb(mhu, mhu->recv->chcomb_int_st); in get_irq_chan_comb_rx() 639 stat = readl_relaxed(&mhu->recv->ch_wn[priv->ch_wn_idx].stat_masked); in get_irq_chan_comb_rx() [all …]
|
| /linux/Documentation/admin-guide/blockdev/drbd/ |
| H A D | peer-states-8.dot | 2 Secondary -> Primary [ label = "recv state packet" ] 3 Primary -> Secondary [ label = "recv state packet" ]
|
| /linux/tools/testing/selftests/net/af_unix/ |
| H A D | test_unix_oob.c | |
| /linux/drivers/char/tpm/st33zp24/ |
| H A D | st33zp24.c | 71 tpm_dev->ops->recv(tpm_dev->phy_id, TPM_INT_STATUS, &interrupt, 1); in clear_interruption() 96 if (tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS, &data, 1) != 1) in st33zp24_status() 111 status = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_ACCESS, &data, 1); in check_locality() 170 status = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS + 1, in get_burstcount() 176 status = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS + 2, in get_burstcount() 279 ret = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_DATA_FIFO, in recv_data() 432 .recv = st33zp24_recv,
|
| /linux/tools/testing/selftests/coredump/ |
| H A D | coredump_test_helpers.c | 163 ret = recv(fd, &mark, sizeof(mark), MSG_WAITALL); in recv_marker() 209 ret = recv(fd, req, field_size, MSG_PEEK | MSG_WAITALL); in read_coredump_req() 231 ret = recv(fd, req, ack_size, MSG_WAITALL); in read_coredump_req() 253 ret = recv(fd, buffer, sizeof(buffer), MSG_WAITALL); in read_coredump_req()
|
| /linux/tools/testing/selftests/pidfd/ |
| H A D | pidfd_getfd_test.c | 69 while ((ret = recv(sk, &buf, sizeof(buf), 0)) > 0) { in __child() 164 ret = recv(sk_pair[0], &self->remote_fd, sizeof(self->remote_fd), 0); in FIXTURE_SETUP() 196 ASSERT_EQ(1, recv(self->sk, &c, 1, 0)); in TEST_F()
|
| /linux/arch/arm64/boot/dts/apple/ |
| H A D | t600x-nvme.dtsi | 17 "recv-empty", "recv-not-empty";
|