/illumos-gate/usr/src/boot/efi/loader/ |
H A D | memmap.c | 80 int i, n, ndesc; in efi_getsmap() local 99 ndesc = size / desc_size; in efi_getsmap() 100 while (i < ndesc) { in efi_getsmap()
|
H A D | main.c | 1048 int i, ndesc; in command_memmap() local 1065 ndesc = sz / dsz; in command_memmap() 1075 for (i = 0, p = map; i < ndesc; in command_memmap()
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_sge.c | 2462 uint16_t ndesc; in write_txpkts_wr() local 2466 ndesc = howmany(txpkts->nflits, 8); in write_txpkts_wr() 2472 if (eq->avail == ndesc) in write_txpkts_wr() 2482 txsd->desc_used = ndesc; in write_txpkts_wr() 2487 ASSERT(eq->avail >= ndesc); in write_txpkts_wr() 2489 eq->pending += ndesc; in write_txpkts_wr() 2490 eq->avail -= ndesc; in write_txpkts_wr() 2491 eq->pidx += ndesc; in write_txpkts_wr() 2618 int nflits, ndesc; in write_txpkt_wr() local 2641 ndesc = howmany(nflits, 8); in write_txpkt_wr() [all …]
|
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | virtio.c | 269 u_int ndesc, n_indir; in vq_getchain() local 295 ndesc = (uint16_t)((u_int)vq->vq_avail->idx - idx); in vq_getchain() 296 if (ndesc == 0) in vq_getchain() 298 if (ndesc > vq->vq_qsize) { in vq_getchain() 302 name, (u_int)ndesc); in vq_getchain()
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | sysi86.c | 480 user_desc_t ndesc; /* new descriptor */ in setdscr() local 497 ndesc = null_udesc; in setdscr() 660 ssd_to_usd(ssd, &ndesc); in setdscr() 661 rc = ldt_update_segd(ldp, &ndesc); in setdscr()
|
H A D | hma_fpu.c | 203 hma_fpu_describe_xsave_state(hma_xsave_state_desc_t *descp, uint_t ndesc, in hma_fpu_describe_xsave_state() argument 255 if (count < ndesc) { in hma_fpu_describe_xsave_state()
|
/illumos-gate/usr/src/cmd/smserverd/ |
H A D | smediad.c | 252 door_desc_t *dp, uint_t ndesc); 1921 close_door_descs(door_desc_t *dp, uint_t ndesc) in close_door_descs() argument 1923 while (ndesc > 0) { in close_door_descs() 1928 ndesc--; in close_door_descs() 1941 door_desc_t *dp, uint_t ndesc) in death_servproc() argument 1959 door_desc_t *dp, uint_t ndesc) in client_servproc() argument 2012 if (ndesc > nexpected_desc) { in client_servproc() 2013 close_door_descs(dp + nexpected_desc, ndesc - nexpected_desc); in client_servproc() 2023 if (ndesc == 0) in client_servproc() 2420 door_desc_t *dp, uint_t ndesc) in main_servproc() argument [all …]
|
/illumos-gate/usr/src/uts/common/fs/doorfs/ |
H A D | door_sys.c | 1135 door_layout(kthread_t *tp, size_t data_size, uint_t ndesc, int info_needed) in door_layout() argument 1160 descsz = ndesc * sizeof (door_desc_t); in door_layout() 1199 out->dl_descp = (ndesc != 0)? (caddr_t)descp : 0; in door_layout() 1230 uint_t ndesc = 0; in door_server_dispatch() local 1236 ndesc = ct->d_args.desc_num; in door_server_dispatch() 1239 descsize = ndesc * sizeof (door_desc_t); in door_server_dispatch() 1258 error = door_layout(curthread, datasize, ndesc, in door_server_dispatch() 1269 ASSERT(ndesc != 0); in door_server_dispatch() 1272 while (ndesc > 0) { in door_server_dispatch() 1277 ndesc--; in door_server_dispatch() [all …]
|
/illumos-gate/usr/src/uts/common/io/vr/ |
H A D | vr.c | 791 vrp->rx.ndesc = VR_RX_N_DESC; in vr_rings_init() 792 vrp->tx.ndesc = VR_TX_N_DESC; in vr_rings_init() 797 if (vr_alloc_ring(vrp, &vrp->rxring, vrp->rx.ndesc) != VR_SUCCESS) in vr_rings_init() 803 if (vr_alloc_ring(vrp, &vrp->txring, vrp->tx.ndesc) != VR_SUCCESS) { in vr_rings_init() 804 vr_free_ring(&vrp->rxring, vrp->rx.ndesc); in vr_rings_init() 816 vr_free_ring(&vrp->rxring, vrp->rx.ndesc); in vr_rings_fini() 817 vr_free_ring(&vrp->txring, vrp->tx.ndesc); in vr_rings_fini() 974 for (i = 0; i < vrp->rx.ndesc; i++) { in vr_rxring_init() 1022 for (i = 0; i < vrp->rx.ndesc; i++) in vr_rxring_fini() 1047 vrp->tx.nfree = vrp->tx.ndesc; in vr_txring_init() [all …]
|
H A D | vr.h | 255 uint32_t ndesc; member 266 uint32_t ndesc; member
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ikeadm.c | 365 ikedoor_call(char *reqp, int size, door_desc_t *descp, int ndesc) in ikedoor_call() argument 373 arg.desc_num = ndesc; in ikedoor_call() 387 if ((ndesc > 0) && (descp->d_attributes & DOOR_RELEASE) && in ikedoor_call() 2552 int fd, ndesc = 0; in do_setvar() local 2600 ndesc = 1; in do_setvar() 2603 rtn = ikedoor_call((char *)&req, sizeof (ike_dbg_t), descp, ndesc); in do_setvar() 2992 int i, fd, ndesc = 0, buflen; in do_new() local 3016 ndesc = 1; in do_new() 3136 ndesc = 1; in do_new() 3148 rtn = ikedoor_call((char *)newp, buflen, descp, ndesc); in do_new() [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/cpmvln/ |
H A D | mkobj.c | 36 uint_t ndesc) in mkobj_server() argument
|
/illumos-gate/usr/src/uts/intel/io/viona/ |
H A D | viona_ring.c | 977 uint16_t ndesc, idx, head, next; in vq_popchain() local 990 ndesc = viona_ring_num_avail(ring); in vq_popchain() 992 if (ndesc == 0) { in vq_popchain() 996 if (ndesc > ring->vr_size) { in vq_popchain() 1005 uint16_t, ndesc); in vq_popchain()
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac.c | 5923 net_desc_t *ndesc; in mac_write_flow_desc() local 5930 ndesc = kmem_zalloc(sizeof (net_desc_t), KM_NOSLEEP); in mac_write_flow_desc() 5931 if (ndesc == NULL) { in mac_write_flow_desc() 5944 ndesc->nd_name = flent->fe_flow_name; in mac_write_flow_desc() 5945 ndesc->nd_devname = mcip->mci_name; in mac_write_flow_desc() 5946 bcopy(fdesc->fd_src_mac, ndesc->nd_ehost, ETHERADDRL); in mac_write_flow_desc() 5947 bcopy(fdesc->fd_dst_mac, ndesc->nd_edest, ETHERADDRL); in mac_write_flow_desc() 5948 ndesc->nd_sap = htonl(fdesc->fd_sap); in mac_write_flow_desc() 5949 ndesc->nd_isv4 = (uint8_t)fdesc->fd_ipversion == IPV4_VERSION; in mac_write_flow_desc() 5950 ndesc->nd_bw_limit = mrp->mrp_maxbw; in mac_write_flow_desc() [all …]
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_bmap.c | 602 int32_t ndesc, count, lbmask; in ud_common_ad() local 618 ndesc = length / sizeof (*lad); in ud_common_ad() 622 ndesc = length / sizeof (*sad); in ud_common_ad() 629 count = (((ip->i_ext_used + ndesc) / EXT_PER_MALLOC) + 1) * in ud_common_ad() 644 while (ndesc--) { in ud_common_ad()
|
H A D | udf_inode.c | 179 int32_t ndesc, ftype; in ud_iget() local 730 ip->i_ext_count = ndesc = in ud_iget() 747 while (ndesc --) { in ud_iget() 792 ip->i_ext_count = ndesc = in ud_iget() 810 while (ndesc --) { in ud_iget()
|
/illumos-gate/usr/src/cmd/saf/ |
H A D | sac.c | 570 long ndesc; /* # of file descriptors configured */ in startit() local 646 ndesc = ulimit(4, 0L); in startit() 647 for (i = 0; i < ndesc; i++) in startit()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | door.c | 58 uint_t ndesc) in bridge_door_server() argument
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | klpdlib.c | 59 door_desc_t *dp __unused, uint_t ndesc __unused) in klpd_door_callback()
|
/illumos-gate/usr/src/test/os-tests/tests/ |
H A D | odirectory.c | 69 uint_t ndesc) in odir_door_server() argument
|
/illumos-gate/usr/src/test/os-tests/tests/vfs/ |
H A D | statvfs.c | 209 uint_t ndesc) in statvfs_close_door() argument
|
/illumos-gate/usr/src/uts/common/io/sfe/ |
H A D | sfe.c | 196 static uint_t sfe_tx_desc_stat(struct gem_dev *dp, int slot, int ndesc); 197 static uint64_t sfe_rx_desc_stat(struct gem_dev *dp, int slot, int ndesc); 1203 sfe_tx_desc_stat(struct gem_dev *dp, int slot, int ndesc) in sfe_tx_desc_stat() argument 1216 &dp->tx_ring[SFE_DESC_SIZE * SLOT(slot + ndesc - 1, tx_ring_size)]; in sfe_tx_desc_stat() 1314 sfe_rx_desc_stat(struct gem_dev *dp, int slot, int ndesc) in sfe_rx_desc_stat() argument
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_backend.c | 208 door_desc_t *dp, uint_t ndesc) in nwam_backend_door_server() argument
|
/illumos-gate/usr/src/uts/common/io/i40e/ |
H A D | i40e_transceiver.c | 2176 i40e_non_lso_chain(i40e_trqpair_t *itrq, mblk_t *mp, uint_t *ndesc) in i40e_non_lso_chain() argument 2261 *ndesc += needed_desc; in i40e_non_lso_chain() 2364 uint_t *ndesc) in i40e_lso_chain() argument 2605 *ndesc += needed_desc; in i40e_lso_chain()
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | devfsadm_impl.h | 468 door_desc_t *dp, uint_t ndesc);
|