Home
last modified time | relevance | path

Searched refs:datacnt (Results 1 - 21 of 21) sorted by relevance

/third_party/node/deps/ngtcp2/ngtcp2/lib/
H A Dngtcp2_strm.c226 for (; idx < fr->datacnt && offset < gap.begin; ++idx) { in strm_streamfrq_unacked_pop()
236 if (idx == fr->datacnt) { in strm_streamfrq_unacked_pop()
244 fr->offset += ngtcp2_vec_len(fr->data, fr->datacnt); in strm_streamfrq_unacked_pop()
245 fr->datacnt = 0; in strm_streamfrq_unacked_pop()
252 if (fr->offset == 0 && fr->datacnt == 0 && strm->tx.offset == 0 && in strm_streamfrq_unacked_pop()
269 for (; end_idx < fr->datacnt; ++end_idx) { in strm_streamfrq_unacked_pop()
279 if (fr->offset == offset && base_offset == 0 && fr->datacnt == end_idx) { in strm_streamfrq_unacked_pop()
284 if (fr->datacnt == end_idx) { in strm_streamfrq_unacked_pop()
290 fr->datacnt = end_idx - idx; in strm_streamfrq_unacked_pop()
299 &nfrc, fr->datacnt in strm_streamfrq_unacked_pop()
[all...]
H A Dngtcp2_rtb.c74 size_t datacnt, in ngtcp2_frame_chain_stream_datacnt_objalloc_new()
79 if (datacnt > 1) { in ngtcp2_frame_chain_stream_datacnt_objalloc_new()
80 need = sizeof(ngtcp2_vec) * (datacnt - 1); in ngtcp2_frame_chain_stream_datacnt_objalloc_new()
91 size_t datacnt, in ngtcp2_frame_chain_crypto_datacnt_objalloc_new()
96 if (datacnt > 1) { in ngtcp2_frame_chain_crypto_datacnt_objalloc_new()
97 need = sizeof(ngtcp2_vec) * (datacnt - 1); in ngtcp2_frame_chain_crypto_datacnt_objalloc_new()
162 if (frc->fr.stream.datacnt && in ngtcp2_frame_chain_objalloc_del()
163 sizeof(ngtcp2_vec) * (frc->fr.stream.datacnt - 1) > in ngtcp2_frame_chain_objalloc_del()
172 if (frc->fr.crypto.datacnt && in ngtcp2_frame_chain_objalloc_del()
173 sizeof(ngtcp2_vec) * (frc->fr.crypto.datacnt in ngtcp2_frame_chain_objalloc_del()
73 ngtcp2_frame_chain_stream_datacnt_objalloc_new(ngtcp2_frame_chain **pfrc, size_t datacnt, ngtcp2_objalloc *objalloc, const ngtcp2_mem *mem) ngtcp2_frame_chain_stream_datacnt_objalloc_new() argument
90 ngtcp2_frame_chain_crypto_datacnt_objalloc_new(ngtcp2_frame_chain **pfrc, size_t datacnt, ngtcp2_objalloc *objalloc, const ngtcp2_mem *mem) ngtcp2_frame_chain_crypto_datacnt_objalloc_new() argument
[all...]
H A Dngtcp2_rtb.h141 * additional |datacnt| - 1 ngtcp2_vec object after ngtcp2_stream
146 size_t datacnt,
153 * additional |datacnt| - 1 ngtcp2_vec object after ngtcp2_crypto
158 size_t datacnt,
H A Dngtcp2_pkt.h185 /* datacnt is the number of elements that data contains. Although
188 size_t datacnt; member
306 /* datacnt is the number of elements that data contains. Although
309 size_t datacnt; member
332 /* datacnt is the number of elements that data contains. */
333 size_t datacnt; member
H A Dngtcp2_pkt.c645 dest->datacnt = 1; in ngtcp2_pkt_decode_stream_frame()
648 dest->datacnt = 0; in ngtcp2_pkt_decode_stream_frame()
1340 dest->datacnt = 1; in ngtcp2_pkt_decode_crypto_frame()
1343 dest->datacnt = 0; in ngtcp2_pkt_decode_crypto_frame()
1483 dest->datacnt = 0; in ngtcp2_pkt_decode_datagram_frame()
1490 dest->datacnt = 1; in ngtcp2_pkt_decode_datagram_frame()
1590 for (i = 0; i < fr->datacnt; ++i) { in ngtcp2_pkt_encode_stream_frame()
1615 for (i = 0; i < fr->datacnt; ++i) { in ngtcp2_pkt_encode_stream_frame()
1975 for (i = 0; i < fr->datacnt; ++i) { in ngtcp2_pkt_encode_crypto_frame()
1993 for (i = 0; i < fr->datacnt; in ngtcp2_pkt_encode_crypto_frame()
[all...]
H A Dngtcp2_conn.c550 if (fr->datacnt) { in conn_call_recv_datagram()
551 assert(fr->datacnt == 1); in conn_call_recv_datagram()
1935 len = ngtcp2_vec_len(frc->fr.stream.data, frc->fr.stream.datacnt) + in conn_retry_early_payloadlen()
1981 datalen = ngtcp2_vec_len(fr->data, fr->datacnt); in conn_cryptofrq_unacked_offset()
2024 for (; idx < fr->datacnt && offset < gap.begin; ++idx) { in conn_cryptofrq_unacked_pop()
2034 if (idx == fr->datacnt) { in conn_cryptofrq_unacked_pop()
2045 for (; end_idx < fr->datacnt; ++end_idx) { in conn_cryptofrq_unacked_pop()
2055 if (fr->offset == offset && base_offset == 0 && fr->datacnt == end_idx) { in conn_cryptofrq_unacked_pop()
2060 if (fr->datacnt == end_idx) { in conn_cryptofrq_unacked_pop()
2066 fr->datacnt in conn_cryptofrq_unacked_pop()
3488 size_t datacnt; conn_write_pkt() local
[all...]
H A Dngtcp2_conn.h705 /* datacnt is the number of ngtcp2_vec pointed by data. */
706 size_t datacnt; member
716 /* datacnt is the number of ngtcp2_vec pointed by data. */
717 size_t datacnt; member
H A Dngtcp2_log.c226 fr->fin, fr->offset, ngtcp2_vec_len(fr->data, fr->datacnt), in log_fr_stream()
420 ngtcp2_vec_len(fr->data, fr->datacnt)); in log_fr_crypto()
463 ngtcp2_vec_len(fr->data, fr->datacnt)); in log_fr_datagram()
H A Dngtcp2_qlog.c422 p = write_pair_number(p, "length", ngtcp2_vec_len(fr->data, fr->datacnt)); in write_crypto_frame()
455 p = write_pair_number(p, "length", ngtcp2_vec_len(fr->data, fr->datacnt)); in write_stream_frame()
668 p = write_pair_number(p, "length", ngtcp2_vec_len(fr->data, fr->datacnt)); in write_datagram_frame()
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/
H A Daic7xxx.h419 * The scb is presented to the sequencer with the dataptr and datacnt
425 * first elements address and length preloaded in the dataptr/datacnt
429 * the residual sgptr and datacnt are loaded from the sgptr and the
430 * datacnt fields. After each S/G element's dataptr and length are
432 * each S/G element is expired, its datacnt field is checked to see
455 /*16*/ uint32_t datacnt; /* member
457 * the datacnt is really the
H A Daic79xx.h452 * The scb is presented to the sequencer with the dataptr and datacnt
458 * first elements address and length preloaded in the dataptr/datacnt
462 * the residual sgptr and datacnt are loaded from the sgptr and the
463 * datacnt fields. After each S/G element's dataptr and length are
465 * each S/G element is expired, its datacnt field is checked to see
501 /*32*/ uint32_t datacnt; /* Byte 3 is spare. */ member
H A Daic79xx_core.c461 scb->hscb->datacnt = sg->len; in ahd_setup_data_scb()
476 scb->hscb->datacnt = sg->len; in ahd_setup_data_scb()
492 scb->hscb->datacnt = 0; in ahd_setup_noxfer_scb()
878 ahd_le32toh(scb->hscb->datacnt)); in ahd_queue_scb()
1430 uint32_t datacnt; in ahd_run_data_fifo() local
1440 * Load datacnt and address. in ahd_run_data_fifo()
1442 datacnt = ahd_inl_scbram(ahd, SCB_DATACNT); in ahd_run_data_fifo()
1443 if ((datacnt & AHD_DMA_LAST_SEG) != 0) { in ahd_run_data_fifo()
1449 ahd_outl(ahd, HCNT, datacnt & AHD_SG_LEN_MASK); in ahd_run_data_fifo()
1456 ahd_outb(ahd, SCB_RESIDUAL_DATACNT+3, datacnt >> 2 in ahd_run_data_fifo()
[all...]
H A Daic7xxx_osm.c1540 scb->hscb->datacnt = scb->sg_list->len; in ahc_linux_run_command()
1544 scb->hscb->datacnt = 0; in ahc_linux_run_command()
H A Daic7xxx_core.c1133 hscb->datacnt = sg->len; in ahc_handle_seqint()
2094 printk(" dataptr:%#x datacnt:%#x sgptr:%#x tag:%#x\n",
2096 ahc_le32toh(hscb->datacnt),
/kernel/linux/linux-6.6/drivers/scsi/aic7xxx/
H A Daic7xxx.h419 * The scb is presented to the sequencer with the dataptr and datacnt
425 * first elements address and length preloaded in the dataptr/datacnt
429 * the residual sgptr and datacnt are loaded from the sgptr and the
430 * datacnt fields. After each S/G element's dataptr and length are
432 * each S/G element is expired, its datacnt field is checked to see
455 /*16*/ uint32_t datacnt; /* member
457 * the datacnt is really the
H A Daic79xx.h452 * The scb is presented to the sequencer with the dataptr and datacnt
458 * first elements address and length preloaded in the dataptr/datacnt
462 * the residual sgptr and datacnt are loaded from the sgptr and the
463 * datacnt fields. After each S/G element's dataptr and length are
465 * each S/G element is expired, its datacnt field is checked to see
501 /*32*/ uint32_t datacnt; /* Byte 3 is spare. */ member
H A Daic79xx_core.c461 scb->hscb->datacnt = sg->len; in ahd_setup_data_scb()
476 scb->hscb->datacnt = sg->len; in ahd_setup_data_scb()
492 scb->hscb->datacnt = 0; in ahd_setup_noxfer_scb()
878 ahd_le32toh(scb->hscb->datacnt)); in ahd_queue_scb()
1430 uint32_t datacnt; in ahd_run_data_fifo() local
1440 * Load datacnt and address. in ahd_run_data_fifo()
1442 datacnt = ahd_inl_scbram(ahd, SCB_DATACNT); in ahd_run_data_fifo()
1443 if ((datacnt & AHD_DMA_LAST_SEG) != 0) { in ahd_run_data_fifo()
1449 ahd_outl(ahd, HCNT, datacnt & AHD_SG_LEN_MASK); in ahd_run_data_fifo()
1456 ahd_outb(ahd, SCB_RESIDUAL_DATACNT+3, datacnt >> 2 in ahd_run_data_fifo()
[all...]
H A Daic7xxx_osm.c1539 scb->hscb->datacnt = scb->sg_list->len; in ahc_linux_run_command()
1543 scb->hscb->datacnt = 0; in ahc_linux_run_command()
H A Daic7xxx_core.c1133 hscb->datacnt = sg->len; in ahc_handle_seqint()
2092 printk(" dataptr:%#x datacnt:%#x sgptr:%#x tag:%#x\n",
2094 ahc_le32toh(hscb->datacnt),
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
H A Dlpfc_scsi.c1536 * @datacnt: number of segments of data that have been dma mapped
1668 * @datacnt: number of segments of data that have been dma mapped
1704 struct ulp_bde64 *bpl, int datacnt, int protcnt) in lpfc_bg_setup_bpl_prot()
1923 * @datacnt: number of segments of data that have been dma mapped
2095 * @datacnt: number of segments of data that have been dma mapped
2129 struct sli4_sge *sgl, int datacnt, int protcnt, in lpfc_bg_setup_sgl_prot()
1703 lpfc_bg_setup_bpl_prot(struct lpfc_hba *phba, struct scsi_cmnd *sc, struct ulp_bde64 *bpl, int datacnt, int protcnt) lpfc_bg_setup_bpl_prot() argument
2128 lpfc_bg_setup_sgl_prot(struct lpfc_hba *phba, struct scsi_cmnd *sc, struct sli4_sge *sgl, int datacnt, int protcnt, struct lpfc_io_buf *lpfc_cmd) lpfc_bg_setup_sgl_prot() argument
/kernel/linux/linux-6.6/drivers/scsi/lpfc/
H A Dlpfc_scsi.c1642 * @datacnt: number of segments of data that have been dma mapped
1678 struct ulp_bde64 *bpl, int datacnt, int protcnt) in lpfc_bg_setup_bpl_prot()
2069 * @datacnt: number of segments of data that have been dma mapped
2104 struct sli4_sge *sgl, int datacnt, int protcnt, in lpfc_bg_setup_sgl_prot()
1677 lpfc_bg_setup_bpl_prot(struct lpfc_hba *phba, struct scsi_cmnd *sc, struct ulp_bde64 *bpl, int datacnt, int protcnt) lpfc_bg_setup_bpl_prot() argument
2103 lpfc_bg_setup_sgl_prot(struct lpfc_hba *phba, struct scsi_cmnd *sc, struct sli4_sge *sgl, int datacnt, int protcnt, struct lpfc_io_buf *lpfc_cmd) lpfc_bg_setup_sgl_prot() argument

Completed in 70 milliseconds