Home
last modified time | relevance | path

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

123456789

/linux-6.3-rc2/net/rds/
A Dib_recv.c53 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()
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()
64 sge = &recv->r_sge[0]; in rds_ib_recv_init_ring()
227 if (recv->r_ibinc) { in rds_ib_recv_clear_one()
231 if (recv->r_frag) { in rds_ib_recv_clear_one()
333 if (!recv->r_ibinc) in rds_ib_recv_refill_one()
339 if (!recv->r_frag) in rds_ib_recv_refill_one()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
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()
105 pmu->recv.base)); in gt215_pmu_recv()
116 if (pmu->recv.process) { in gt215_pmu_recv()
119 pmu->recv.data[0] = data0; in gt215_pmu_recv()
120 pmu->recv.data[1] = data1; in gt215_pmu_recv()
121 pmu->recv.process = 0; in gt215_pmu_recv()
122 wake_up(&pmu->recv.wait); in gt215_pmu_recv()
181 flush_work(&pmu->recv.work); in gt215_pmu_fini()
[all …]
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-6.3-rc2/sound/soc/sh/
A Ddma-sh7760.c123 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_pcm_open() local
129 dmairq = (recv) ? cam->txid + 2 : cam->txid; in camelot_pcm_open()
130 if (recv) { in camelot_pcm_open()
157 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_pcm_close() local
160 dmairq = (recv) ? cam->txid + 2 : cam->txid; in camelot_pcm_close()
162 if (recv) in camelot_pcm_close()
179 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_hw_params() local
181 if (recv) { in camelot_hw_params()
249 if (recv) in camelot_trigger()
255 if (recv) in camelot_trigger()
[all …]
/linux-6.3-rc2/tools/testing/selftests/net/
A Dtls.c224 EXPECT_NE(recv(self->cfd, buf, send_len, 0), -1); in TEST_F()
451 EXPECT_NE(recv(self->cfd, buf, send_len, 0), -1); in TEST_F()
549 EXPECT_NE(recv(self->fd, mem, send_len, 0), -1); in TEST_F()
580 EXPECT_NE(recv(self->fd, buf, total_len, 0), -1); in TEST_F()
1037 EXPECT_NE((len = recv(self->cfd, buf, len, in TEST_F()
1189 int res = recv(self->cfd, buf, in TEST_F()
1251 int res = recv(self->cfd, buf, in TEST_F()
1318 res = recv(self->cfd, rb, in test_mutliproc()
1529 n = recv(self->cfd, buf, sizeof(buf), 0); in TEST_F()
1590 n = recv(self->cfd, cip, sizeof(cip), 0); in TEST_F()
[all …]
/linux-6.3-rc2/drivers/bluetooth/
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()
A Dh4_recv.h17 int (*recv)(struct hci_dev *hdev, struct sk_buff *skb); member
135 (&pkts[i])->recv(hdev, skb); in h4_recv_buf()
140 (&pkts[i])->recv(hdev, skb); in h4_recv_buf()
A Dhci_mrvl.c243 { H4_RECV_ACL, .recv = hci_recv_frame },
244 { H4_RECV_SCO, .recv = hci_recv_frame },
245 { H4_RECV_EVENT, .recv = hci_recv_frame },
246 { HCI_RECV_FW_REQ, .recv = mrvl_recv_fw_req },
247 { HCI_RECV_CHIP_VER, .recv = mrvl_recv_chip_ver },
391 .recv = mrvl_recv,
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 },
255 .recv = ath_recv,
A Dhci_ll.c415 { H4_RECV_ACL, .recv = hci_recv_frame },
416 { H4_RECV_SCO, .recv = hci_recv_frame },
417 { H4_RECV_EVENT, .recv = hci_recv_frame },
418 { LL_RECV_SLEEP_IND, .recv = ll_recv_frame },
419 { LL_RECV_SLEEP_ACK, .recv = ll_recv_frame },
420 { LL_RECV_WAKE_IND, .recv = ll_recv_frame },
421 { LL_RECV_WAKE_ACK, .recv = ll_recv_frame },
804 .recv = ll_recv,
/linux-6.3-rc2/drivers/isdn/hardware/mISDN/
A Dnetjet.c77 struct tiger_dma recv; member
261 card->recv.idx = (card->recv.dmacur - card->recv.dmastart) >> 2; in mode_tiger()
268 card->recv.idx); in mode_tiger()
344 card->recv.dmaend = card->recv.dmastart + in inittiger()
346 card->recv.dmairq = card->recv.dmastart + in inittiger()
353 card->recv.dmastart, card->recv.dmairq, in inittiger()
354 card->recv.dmaend, card->recv.start, card->recv.size); in inittiger()
396 if (idx >= card->recv.size) in read_dma()
455 idx = card->recv.size - 1; in recv_tiger()
704 card->recv.idx = (card->recv.dmacur - card->recv.dmastart) >> 2; in nj_irq()
[all …]
/linux-6.3-rc2/drivers/usb/storage/
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-6.3-rc2/net/sunrpc/
A Dxprtsock.c482 &transport->recv.xid, in xs_read_header()
484 transport->recv.copied = transport->recv.offset; in xs_read_header()
512 want = transport->recv.len - transport->recv.offset; in xs_read_stream_request()
522 if (transport->recv.offset == transport->recv.len) in xs_read_stream_request()
643 transport->recv.len = be32_to_cpu(transport->recv.fraghdr) & in xs_read_stream()
645 transport->recv.offset -= sizeof(transport->recv.fraghdr); in xs_read_stream()
666 if (transport->recv.offset < transport->recv.len) { in xs_read_stream()
671 transport->recv.len - transport->recv.offset); in xs_read_stream()
676 if (transport->recv.offset != transport->recv.len) in xs_read_stream()
684 transport->recv.len = 0; in xs_read_stream()
[all …]
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
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()
/linux-6.3-rc2/drivers/infiniband/core/
A Dmad.c2053 recv->header.mapping, in ib_mad_recv_done()
2058 recv->header.wc = *wc; in ib_mad_recv_done()
2059 recv->header.recv_wc.wc = &recv->header.wc; in ib_mad_recv_done()
2069 recv->header.recv_wc.recv_buf.mad = (struct ib_mad *)recv->mad; in ib_mad_recv_done()
2070 recv->header.recv_wc.recv_buf.grh = &recv->grh; in ib_mad_recv_done()
2079 mad_size = recv->mad_size; in ib_mad_recv_done()
2101 &recv->grh, (const struct ib_mad *)recv->mad, in ib_mad_recv_done()
2113 &recv->grh, wc, in ib_mad_recv_done()
2131 recv = NULL; in ib_mad_recv_done()
2143 kfree(recv); in ib_mad_recv_done()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/uc/
A Dintel_guc_ct.c92 spin_lock_init(&ct->ctbs.recv.lock); in intel_guc_ct_init_early()
296 guc_ct_buffer_reset(&ct->ctbs.recv); in intel_guc_ct_enable()
302 desc = base + ptrdiff(ct->ctbs.recv.desc, blob); in intel_guc_ct_enable()
304 size = ct->ctbs.recv.size * 4; in intel_guc_ct_enable()
497 send->status, recv->status); in ct_deadlocked()
503 atomic_read(&ct->ctbs.recv.space) * 4); in ct_deadlocked()
531 atomic_sub(g2h_len_dw, &ct->ctbs.recv.space); in g2h_reserve_space()
536 atomic_add(g2h_len_dw, &ct->ctbs.recv.space); in g2h_release_space()
1230 atomic_read(&ct->ctbs.recv.space) * 4); in intel_guc_ct_print_info()
1232 ct->ctbs.recv.desc->head); in intel_guc_ct_print_info()
[all …]
/linux-6.3-rc2/drivers/mailbox/
A Darm_mhuv2.c178 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()
626 chan = get_irq_chan_comb(mhu, mhu->recv->chcomb_int_st); in get_irq_chan_comb_rx()
1027 mhu->recv = reg; in mhuv2_rx_init()
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/mailbox/
A Dapple,mailbox.yaml59 - const: recv-empty
60 - const: recv-not-empty
84 "recv-empty", "recv-not-empty";
/linux-6.3-rc2/Documentation/admin-guide/blockdev/drbd/
A Dpeer-states-8.dot2 Secondary -> Primary [ label = "recv state packet" ]
3 Primary -> Secondary [ label = "recv state packet" ]
/linux-6.3-rc2/drivers/isdn/mISDN/
A Dstack.c389 dev->teimgr->recv = mISDN_queue_message; in create_stack()
392 dev->D.recv = l1_receive; in create_stack()
397 newst->own.recv = mISDN_queue_message; in create_stack()
434 ch->recv = mISDN_queue_message; in connect_layer1()
475 ch->recv = rq.ch->send; in connect_Bstack()
477 rq.ch->recv = ch->send; in connect_Bstack()
490 ch->recv = rq2.ch->send; in connect_Bstack()
500 rq2.ch->recv = rq.ch->send; in connect_Bstack()
502 rq.ch->recv = rq2.ch->send; in connect_Bstack()
533 ch->recv = mISDN_queue_message; in create_l2entity()
[all …]
/linux-6.3-rc2/tools/testing/selftests/net/af_unix/
A Dtest_unix_oob.c87 if (recv(fd, c, sizeof(*c), MSG_OOB) < 0) { in read_oob()
244 len = recv(pfd, buf, 1024, MSG_PEEK); in main()
268 len = recv(pfd, buf, 1024, MSG_PEEK); in main()
369 len = recv(pfd, buf, 1024, MSG_PEEK); in main()
401 len = recv(pfd, buf, 1024, MSG_PEEK); in main()
/linux-6.3-rc2/drivers/char/tpm/st33zp24/
A Dst33zp24.c71 tpm_dev->ops->recv(tpm_dev->phy_id, TPM_INT_STATUS, &interrupt, 1); in clear_interruption()
96 tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS, &data, 1); in st33zp24_status()
109 status = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_ACCESS, &data, 1); in check_locality()
168 status = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS + 1, in get_burstcount()
174 status = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS + 2, in get_burstcount()
277 ret = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_DATA_FIFO, in recv_data()
428 .recv = st33zp24_recv,
/linux-6.3-rc2/drivers/soc/ixp4xx/
A Dixp4xx-npe.c453 u32 *recv = msg; in npe_recv_message() local
460 recv[cnt++] = __raw_readl(&npe->regs->in_out_fifo); in npe_recv_message()
471 debug_msg(npe, "Received [%08X]\n", recv[0]); in npe_recv_message()
474 debug_msg(npe, "Received [%08X:%08X]\n", recv[0], recv[1]); in npe_recv_message()
492 u32 *send = msg, recv[2]; in npe_send_recv_message() local
496 if ((result = npe_recv_message(npe, recv, what)) != 0) in npe_send_recv_message()
499 if ((recv[0] != send[0]) || (recv[1] != send[1])) { in npe_send_recv_message()
/linux-6.3-rc2/tools/testing/selftests/pidfd/
A Dpidfd_getfd_test.c68 while ((ret = recv(sk, &buf, sizeof(buf), 0)) > 0) { in __child()
162 ret = recv(sk_pair[0], &self->remote_fd, sizeof(self->remote_fd), 0); in FIXTURE_SETUP()
190 ASSERT_EQ(1, recv(self->sk, &c, 1, 0)); in TEST_F()
/linux-6.3-rc2/Documentation/devicetree/bindings/net/
A Dhisilicon-hip04-net.txt12 channel, recv channel start from channel * number (RX_DESC_NUM)
24 Have 2048 recv channels shared by all ethernet controllers, only if no overlap.
25 Each controller's recv channel start from channel * number (RX_DESC_NUM).

Completed in 71 milliseconds

123456789