Home
last modified time | relevance | path

Searched refs:ndata (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/sys/dev/liquidio/
H A Dlio_rxtx.c49 struct lio_data_pkt ndata; in lio_xmit() local
125 bzero(&ndata, sizeof(struct lio_data_pkt)); in lio_xmit()
127 ndata.buf = (void *)finfo; in lio_xmit()
128 ndata.q_no = iq_no; in lio_xmit()
129 ndata.datasize = m_head->m_pkthdr.len; in lio_xmit()
143 lio_prepare_pci_cmd(oct, &ndata.cmd, &cmdsetup, tag); in lio_xmit()
146 ndata.cmd.cmd3.dptr = dptr; in lio_xmit()
147 ndata.reqtype = LIO_REQTYPE_NORESP_NET; in lio_xmit()
166 lio_prepare_pci_cmd(oct, &ndata.cmd, &cmdsetup, tag); in lio_xmit()
180 ndata.cmd.cmd3.dptr = dptr; in lio_xmit()
[all …]
/freebsd/sys/dev/liquidio/base/
H A Dlio_ctrl.c44 lio_send_data_pkt(struct octeon_device *oct, struct lio_data_pkt *ndata) in lio_send_data_pkt() argument
48 return (lio_send_command(oct, ndata->q_no, ring_doorbell, &ndata->cmd, in lio_send_data_pkt()
49 ndata->buf, ndata->datasize, ndata->reqtype)); in lio_send_data_pkt()
H A Dlio_ctrl.h230 struct lio_data_pkt *ndata);
/freebsd/usr.sbin/sa/
H A Dpdb.c162 DBT key, data, ndata; in pacct_print() local
186 ndata.data = NULL; in pacct_print()
187 ndata.size = 0; in pacct_print()
210 rv = DB_PUT(output_pacct_db, &data, &ndata, 0); in pacct_print()
223 rv = DB_PUT(output_pacct_db, &data, &ndata, 0); in pacct_print()
230 rv = DB_PUT(output_pacct_db, &data, &ndata, 0); in pacct_print()
239 rv = DB_SEQ(output_pacct_db, &data, &ndata, rflag ? R_FIRST : R_LAST); in pacct_print()
248 rv = DB_SEQ(output_pacct_db, &data, &ndata, in pacct_print()
/freebsd/lib/libc/tests/stdio/
H A Deintr_test.c30 static int ndata, seq; variable
35 ndata = n; in setdata()
45 if (seq > ndata) in getdata()
47 if (seq == ndata) { in getdata()
/freebsd/usr.sbin/bhyve/
H A Dusb_emul.c62 if (xfer->ndata >= USB_MAX_XFER_BLOCKS) in usb_data_xfer_append()
72 xfer->ndata++; in usb_data_xfer_append()
H A Dusb_emul.h110 int ndata; /* # of data items */ member
139 (x)->ndata = 0; \
H A Dusb_mouse.c336 for (i = 0; i < xfer->ndata; i++) { in umouse_request()
697 for (i = 0; i < xfer->ndata; i++) { in umouse_data_handler()
H A Dpci_xhci.c1599 for (i = xfer->head; xfer->ndata > 0; ) { in pci_xhci_xfer_complete()
1616 xfer->ndata--; in pci_xhci_xfer_complete()
1891 DPRINTF(("pci_xhci[%d]: xfer->ndata %u", __LINE__, xfer->ndata)); in pci_xhci_handle_transfer()
1893 if (xfer->ndata <= 0) in pci_xhci_handle_transfer()
1987 if (devep->ep_xfer->ndata > 0) { in pci_xhci_device_doorbell()
3059 SNAPSHOT_VAR_OR_LEAVE(xfer->ndata, meta, ret, done); in pci_xhci_snapshot_ep()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/
H A Dzpool_resilver_concurrent.ksh48 typeset -ir ndata=8
72 setup_test_env $TESTPOOL draid${nparity}:${ndata}d:${dspare}s $devs
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_vdev.c1357 uint64_t ndata = UINT64_MAX; in draid_config_by_type() local
1408 ndata = (uint64_t)value; in draid_config_by_type()
1421 if (ndata == UINT64_MAX) { in draid_config_by_type()
1423 ndata = MIN(children - nspares - nparity, 8); in draid_config_by_type()
1434 if (ndata == 0 || (ndata + nparity > children - nspares)) { in draid_config_by_type()
1437 "are available for data\n"), (u_longlong_t)ndata, in draid_config_by_type()
1446 if (nspares > 100 || nspares > (children - (ndata + nparity))) { in draid_config_by_type()
1454 if (children < (ndata + nparity + nspares)) { in draid_config_by_type()
1458 (u_longlong_t)(ndata + nparity + nspares)); in draid_config_by_type()
1472 while (ngroups * (ndata + nparity) % (children - nspares) != 0) in draid_config_by_type()
[all …]
/freebsd/sys/dev/rtwn/usb/
H A Drtwn_usb_attach.c105 int ndata, int maxsz) in rtwn_usb_alloc_list() argument
109 for (i = 0; i < ndata; i++) { in rtwn_usb_alloc_list()
124 rtwn_usb_free_list(sc, data, ndata); in rtwn_usb_alloc_list()
172 rtwn_usb_free_list(struct rtwn_softc *sc, struct rtwn_data data[], int ndata) in rtwn_usb_free_list() argument
176 for (i = 0; i < ndata; i++) { in rtwn_usb_free_list()
/freebsd/sys/dev/glxiic/
H A Dglxiic.c149 uint16_t ndata; /* Number of data bytes remaining. */ member
736 sc->ndata = sc->msg->len; in glxiic_state_master_addr_callback()
739 if (sc->ndata == 0) in glxiic_state_master_addr_callback()
744 if ((sc->msg->flags & IIC_M_RD) != 0 && sc->ndata == 1) { in glxiic_state_master_addr_callback()
786 if (--sc->ndata == 0) in glxiic_state_master_tx_callback()
829 if (--sc->ndata == 0) { in glxiic_state_master_rx_callback()
835 if (sc->ndata == 1) { in glxiic_state_master_rx_callback()
/freebsd/sys/cddl/compat/opensolaris/sys/
H A Dkstat.h78 uchar_t type, ulong_t ndata, uchar_t flags);
/freebsd/crypto/heimdal/kcm/
H A Dprotocol.c1442 struct ntlm_buf ndata, sessionkey; in kcm_op_do_ntlm() local
1475 ndata.data = data.data; in kcm_op_do_ntlm()
1476 ndata.length = data.length; in kcm_op_do_ntlm()
1478 ret = heim_ntlm_decode_type2(&ndata, &type2); in kcm_op_do_ntlm()
1630 ret = heim_ntlm_encode_type3(&type3, &ndata); in kcm_op_do_ntlm()
1634 data.data = ndata.data; in kcm_op_do_ntlm()
1635 data.length = ndata.length; in kcm_op_do_ntlm()
1637 heim_ntlm_free_buf(&ndata); in kcm_op_do_ntlm()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_draid.c1619 uint64_t ndata = vdc->vdc_ndata; in vdev_draid_rebuild_asize() local
1620 uint64_t psize = MIN(P2ROUNDUP(max_segment * ndata, 1 << ashift), in vdev_draid_rebuild_asize()
1627 psize = (((psize >> ashift) / ndata) * ndata) << ashift; in vdev_draid_rebuild_asize()
2199 uint64_t ndata, nparity, nspares, ngroups; in vdev_draid_init() local
2202 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_DRAID_NDATA, &ndata)) in vdev_draid_init()
2219 nspares > 100 || nspares > (children - (ndata + nparity))) { in vdev_draid_init()
2232 if (children < (ndata + nparity + nspares)) in vdev_draid_init()
2247 vdc->vdc_ndata = ndata; in vdev_draid_init()
/freebsd/sys/dev/otus/
H A Dif_otus.c903 otus_free_cmd_list(struct otus_softc *sc, struct otus_tx_cmd cmd[], int ndata) in otus_free_cmd_list() argument
908 for (i = 0; i < ndata; i++) { in otus_free_cmd_list()
920 int ndata, int maxsz) in otus_alloc_cmd_list() argument
924 for (i = 0; i < ndata; i++) { in otus_alloc_cmd_list()
938 otus_free_cmd_list(sc, cmd, ndata); in otus_alloc_cmd_list()
982 int ndata, int maxsz) in otus_alloc_list() argument
986 for (i = 0; i < ndata; i++) { in otus_alloc_list()
1002 otus_free_list(sc, data, ndata); in otus_alloc_list()
1076 otus_free_list(struct otus_softc *sc, struct otus_data data[], int ndata) in otus_free_list() argument
1080 for (i = 0; i < ndata; i++) { in otus_free_list()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_dataset.c5466 uint64_t asize, ndata; in vdev_raidz_asize() local
5469 ndata = ndisks - nparity; in vdev_raidz_asize()
5471 asize += nparity * ((asize + ndata - 1) / ndata); in vdev_raidz_asize()
5487 uint64_t ndata = ndisks - nparity; in vdev_draid_asize() local
5488 uint64_t rows = ((blksize - 1) / (ndata << ashift)) + 1; in vdev_draid_asize()
5550 uint64_t ndata; in volsize_from_vdevs() local
5553 ZPOOL_CONFIG_DRAID_NDATA, &ndata) != 0) in volsize_from_vdevs()
5557 tsize = vdev_draid_asize(ndata + nparity, nparity, in volsize_from_vdevs()
5561 asize = vdev_draid_asize(ndata in volsize_from_vdevs()
[all...]
H A Dlibzfs_pool.c4499 uint64_t ndata, nparity, nspares; in zpool_vdev_name() local
4507 ndata = fnvlist_lookup_uint64(nv, in zpool_vdev_name()
4512 path = zpool_draid_name(buf, sizeof (buf), ndata, in zpool_vdev_name()
/freebsd/sys/contrib/openzfs/lib/libzpool/
H A Dkernel.c156 const char *class, uchar_t type, ulong_t ndata, uchar_t ks_flag) in kstat_create() argument
159 (void) ndata, (void) ks_flag; in kstat_create()
/freebsd/sys/dev/usb/wlan/
H A Dif_uath.c909 uath_free_data_list(struct uath_softc *sc, struct uath_data data[], int ndata, in uath_free_data_list() argument
914 for (i = 0; i < ndata; i++) { in uath_free_data_list()
935 int ndata, int maxsz, void *dma_buf) in uath_alloc_data_list() argument
939 for (i = 0; i < ndata; i++) { in uath_alloc_data_list()
962 fail: uath_free_data_list(sc, data, ndata, 1 /* free mbufs */); in uath_alloc_data_list()
H A Dif_rsu.c912 int ndata, int maxsz) in rsu_alloc_list() argument
916 for (i = 0; i < ndata; i++) { in rsu_alloc_list()
932 rsu_free_list(sc, data, ndata); in rsu_alloc_list()
1006 rsu_free_list(struct rsu_softc *sc, struct rsu_data data[], int ndata) in rsu_free_list() argument
1010 for (i = 0; i < ndata; i++) { in rsu_free_list()
H A Dif_urtw.c990 urtw_free_data_list(struct urtw_softc *sc, struct urtw_data data[], int ndata, in urtw_free_data_list() argument
995 for (i = 0; i < ndata; i++) { in urtw_free_data_list()
1479 int ndata, int maxsz, void *dma_buf) in urtw_alloc_data_list() argument
1483 for (i = 0; i < ndata; i++) { in urtw_alloc_data_list()
1505 fail: urtw_free_data_list(sc, data, ndata, 1); in urtw_alloc_data_list()
/freebsd/contrib/libucl/src/
H A Ducl_parser.c2887 unsigned char *ndata = NULL; in ucl_parser_add_chunk_full() local
2890 if (!special_handler->handler (parser, data, len, &ndata, &nlen, in ucl_parser_add_chunk_full()
2898 nchain->begin = ndata; in ucl_parser_add_chunk_full()
2905 data = ndata; in ucl_parser_add_chunk_full()
/freebsd/sys/contrib/dev/rtw89/
H A Ddebug.c183 goto ndata; in rtw89_debug_priv_read_reg_get()
204 ndata: in rtw89_debug_priv_read_reg_get()

12