Home
last modified time | relevance | path

Searched refs:recv (Results 1 – 25 of 169) sorted by relevance

1234567

/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dgt215.c54 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 Dbase.c57 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 Dtls.c254 EXPECT_NE(recv(self->cfd, buf, send_len, 0), -1); in TEST_F()
460 EXPECT_EQ(recv(self->cfd, recv_buf, to_send, MSG_WAITALL), to_send); in TEST_F()
464 EXPECT_EQ(recv(self->cfd, buf, st.st_size, MSG_WAITALL), st.st_size); in TEST_F()
499 EXPECT_EQ(recv(self->cfd, buf, test_payload_size, MSG_WAITALL), in chunked_sendfile()
537 EXPECT_NE(recv(self->cfd, recv_mem, send_len, 0), -1); in TEST_F()
549 EXPECT_NE(recv(self->cfd, buf, send_len, 0), -1); in TEST_F()
560 EXPECT_EQ(recv(self->cfd, buf, send_len, MSG_DONTWAIT), -1); in TEST_F()
562 EXPECT_EQ(recv(self->cfd, buf, send_len * 2, MSG_WAITALL), in TEST_F()
588 EXPECT_EQ(recv(self->cfd, buf, send_len, MSG_DONTWAIT), -1); in TEST_F()
594 EXPECT_EQ(recv(sel in TEST_F()
[all...]
H A Dnetlink-dumps.c142 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 Dsk_so_peek_off.c125 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/tools/testing/selftests/bpf/prog_tests/
H A Dtc_change_tail.c36 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 Dtcpbpf_user.c74 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 Dassign_reuse.c48 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/bluetooth/
H A Dhci_h4.c101 { 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 Dhci_mrvl.c245 { 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 },
443 .recv = mrvl_recv,
457 .recv = mrvl_recv,
H A Dhci_ath.c185 { 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 Dhci_ll.c416 { 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 Dhci_ag6xx.c96 { 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 Dhci_nokia.c610 { H4_RECV_ACL, .recv = hci_recv_frame },
611 { H4_RECV_SCO, .recv = hci_recv_frame },
612 { H4_RECV_EVENT, .recv = hci_recv_frame },
613 { NOKIA_RECV_ALIVE, .recv = nokia_recv_alive_packet },
614 { NOKIA_RECV_NEG, .recv = nokia_recv_negotiation_packet },
615 { NOKIA_RECV_RADIO, .recv = nokia_recv_radio },
670 .recv = nokia_recv,
H A Dbpa10x.c79 { H4_RECV_ACL, .recv = hci_recv_frame },
80 { H4_RECV_SCO, .recv = hci_recv_frame },
81 { H4_RECV_EVENT, .recv = hci_recv_frame },
82 { HCI_RECV_VENDOR, .recv = hci_recv_diag },
/linux/drivers/usb/storage/
H A Dkarma.c39 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/Documentation/admin-guide/blockdev/drbd/
H A Dpeer-states-8.dot2 Secondary -> Primary [ label = "recv state packet" ]
3 Primary -> Secondary [ label = "recv state packet" ]
/linux/drivers/infiniband/core/
H A Dmad.c2118 struct ib_mad_private *recv, in handle_ib_smi() argument
2122 struct ib_smp *smp = (struct ib_smp *)recv->mad; in handle_ib_smi()
2147 memcpy(response, recv, mad_priv_size(response)); in handle_ib_smi()
2165 static bool generate_unmatched_resp(const struct ib_mad_private *recv, in generate_unmatched_resp() argument
2169 const struct ib_mad_hdr *recv_hdr = (const struct ib_mad_hdr *)recv->mad; in generate_unmatched_resp()
2174 memcpy(response, recv, mad_priv_size(response)); in generate_unmatched_resp()
2189 (struct opa_smp *)recv->mad); in generate_unmatched_resp()
2205 struct ib_mad_private *recv, in handle_opa_smi() argument
2209 struct opa_smp *smp = (struct opa_smp *)recv->mad; in handle_opa_smi()
2236 memcpy(response, recv, mad_priv_size(response)); in handle_opa_smi()
[all …]
/linux/net/sunrpc/
H A Dxprtsock.c550 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 in xs_read_stream_request()
[all...]
/linux/tools/testing/selftests/net/af_unix/
H A Dtest_unix_oob.c
/linux/arch/arm64/boot/dts/apple/
H A Dt600x-nvme.dtsi17 "recv-empty", "recv-not-empty";
/linux/tools/testing/selftests/coredump/
H A Dcoredump_test_helpers.c163 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 Dpidfd_getfd_test.c69 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/drivers/scsi/libfc/
H A Dfc_libfc.c236 if (prov_entry && prov_entry->recv) in fc_fc4_conf_lport_params()
267 prov_entry = (prov->recv ? fc_passive_prov : fc_active_prov) + type; in fc_fc4_register_provider()
286 if (prov->recv) in fc_fc4_deregister_provider()
/linux/include/drm/intel/
H A Di915_gsc_proxy_mei_interface.h39 int (*recv)(struct device *dev, void *buf, size_t size); member

1234567