/titanic_50/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_sge.c | 848 int ndesc, len = 0; in t4_wrq_tx_locked() local 860 ndesc = howmany(len, EQ_ESIZE); in t4_wrq_tx_locked() 861 if (eq->avail < ndesc) { in t4_wrq_tx_locked() 871 eq->pidx += ndesc; in t4_wrq_tx_locked() 872 eq->avail -= ndesc; in t4_wrq_tx_locked() 876 eq->pending += ndesc; in t4_wrq_tx_locked() 2522 uint16_t ndesc; in write_txpkts_wr() local 2526 ndesc = howmany(txpkts->nflits, 8); in write_txpkts_wr() 2532 if (eq->avail == ndesc) in write_txpkts_wr() 2542 txsd->desc_used = ndesc; in write_txpkts_wr() [all …]
|
/titanic_50/usr/src/uts/intel/ia32/os/ |
H A D | sysi86.c | 485 user_desc_t ndesc; /* new descriptor */ in setdscr() local 502 ndesc = null_udesc; in setdscr() 666 ssd_to_usd(ssd, &ndesc); in setdscr() 667 rc = ldt_update_segd(ldp, &ndesc); in setdscr() 687 ssd_to_sgd(ssd, (gate_desc_t *)&ndesc); in setdscr() 688 rc = ldt_update_segd(ldp, &ndesc); in setdscr()
|
/titanic_50/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 …]
|
/titanic_50/usr/src/uts/common/fs/doorfs/ |
H A D | door_sys.c | 1120 door_layout(kthread_t *tp, size_t data_size, uint_t ndesc, int info_needed) in door_layout() argument 1145 descsz = ndesc * sizeof (door_desc_t); in door_layout() 1184 out->dl_descp = (ndesc != 0)? (caddr_t)descp : 0; in door_layout() 1215 uint_t ndesc = 0; in door_server_dispatch() local 1221 ndesc = ct->d_args.desc_num; in door_server_dispatch() 1224 descsize = ndesc * sizeof (door_desc_t); in door_server_dispatch() 1243 error = door_layout(curthread, datasize, ndesc, in door_server_dispatch() 1254 ASSERT(ndesc != 0); in door_server_dispatch() 1257 while (ndesc > 0) { in door_server_dispatch() 1262 ndesc--; in door_server_dispatch() [all …]
|
/titanic_50/usr/src/uts/common/io/vr/ |
H A D | vr.c | 787 vrp->rx.ndesc = VR_RX_N_DESC; in vr_rings_init() 788 vrp->tx.ndesc = VR_TX_N_DESC; in vr_rings_init() 793 if (vr_alloc_ring(vrp, &vrp->rxring, vrp->rx.ndesc) != VR_SUCCESS) in vr_rings_init() 799 if (vr_alloc_ring(vrp, &vrp->txring, vrp->tx.ndesc) != VR_SUCCESS) { in vr_rings_init() 800 vr_free_ring(&vrp->rxring, vrp->rx.ndesc); in vr_rings_init() 812 vr_free_ring(&vrp->rxring, vrp->rx.ndesc); in vr_rings_fini() 813 vr_free_ring(&vrp->txring, vrp->tx.ndesc); in vr_rings_fini() 970 for (i = 0; i < vrp->rx.ndesc; i++) { in vr_rxring_init() 1018 for (i = 0; i < vrp->rx.ndesc; i++) in vr_rxring_fini() 1043 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
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ikeadm.c | 362 ikedoor_call(char *reqp, int size, door_desc_t *descp, int ndesc) in ikedoor_call() argument 370 arg.desc_num = ndesc; in ikedoor_call() 384 if ((ndesc > 0) && (descp->d_attributes & DOOR_RELEASE) && in ikedoor_call() 2549 int fd, ndesc = 0; in do_setvar() local 2597 ndesc = 1; in do_setvar() 2600 rtn = ikedoor_call((char *)&req, sizeof (ike_dbg_t), descp, ndesc); in do_setvar() 2989 int i, fd, ndesc = 0, buflen; in do_new() local 3013 ndesc = 1; in do_new() 3133 ndesc = 1; in do_new() 3145 rtn = ikedoor_call((char *)newp, buflen, descp, ndesc); in do_new() [all …]
|
/titanic_50/usr/src/uts/common/io/mac/ |
H A D | mac.c | 5274 net_desc_t *ndesc; in mac_write_flow_desc() local 5281 ndesc = kmem_zalloc(sizeof (net_desc_t), KM_NOSLEEP); in mac_write_flow_desc() 5282 if (ndesc == NULL) { in mac_write_flow_desc() 5295 ndesc->nd_name = flent->fe_flow_name; in mac_write_flow_desc() 5296 ndesc->nd_devname = mcip->mci_name; in mac_write_flow_desc() 5297 bcopy(fdesc->fd_src_mac, ndesc->nd_ehost, ETHERADDRL); in mac_write_flow_desc() 5298 bcopy(fdesc->fd_dst_mac, ndesc->nd_edest, ETHERADDRL); in mac_write_flow_desc() 5299 ndesc->nd_sap = htonl(fdesc->fd_sap); in mac_write_flow_desc() 5300 ndesc->nd_isv4 = (uint8_t)fdesc->fd_ipversion == IPV4_VERSION; in mac_write_flow_desc() 5301 ndesc->nd_bw_limit = mrp->mrp_maxbw; in mac_write_flow_desc() [all …]
|
/titanic_50/usr/src/uts/common/fs/udfs/ |
H A D | udf_bmap.c | 604 int32_t ndesc, count, lbmask; in ud_common_ad() local 620 ndesc = length / sizeof (*lad); in ud_common_ad() 624 ndesc = length / sizeof (*sad); in ud_common_ad() 631 count = (((ip->i_ext_used + ndesc) / EXT_PER_MALLOC) + 1) * in ud_common_ad() 646 while (ndesc--) { in ud_common_ad()
|
H A D | udf_inode.c | 178 int32_t ndesc, ftype; in ud_iget() local 729 ip->i_ext_count = ndesc = in ud_iget() 746 while (ndesc --) { in ud_iget() 791 ip->i_ext_count = ndesc = in ud_iget() 809 while (ndesc --) { in ud_iget()
|
/titanic_50/usr/src/cmd/saf/ |
H A D | sac.c | 574 long ndesc; /* # of file descriptors configured */ in startit() local 650 ndesc = ulimit(4, 0L); in startit() 651 for (i = 0; i < ndesc; i++) in startit()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | door.c | 58 uint_t ndesc) in bridge_door_server() argument
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | klpdlib.c | 62 door_desc_t *dp, uint_t ndesc) in klpd_door_callback() argument
|
/titanic_50/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
|
/titanic_50/usr/src/uts/common/io/sfe/ |
H A D | sfe.c | 200 static uint_t sfe_tx_desc_stat(struct gem_dev *dp, int slot, int ndesc); 201 static uint64_t sfe_rx_desc_stat(struct gem_dev *dp, int slot, int ndesc); 1280 sfe_tx_desc_stat(struct gem_dev *dp, int slot, int ndesc) in sfe_tx_desc_stat() argument 1293 &dp->tx_ring[SFE_DESC_SIZE * SLOT(slot + ndesc - 1, tx_ring_size)]; in sfe_tx_desc_stat() 1391 sfe_rx_desc_stat(struct gem_dev *dp, int slot, int ndesc) in sfe_rx_desc_stat() argument
|
H A D | sfe_util.c | 1063 int slot, int ndesc) = dp->gc.gc_tx_desc_stat; in gem_reclaim_txbuf() 1813 int slot, int ndesc); in gem_receive()
|
/titanic_50/usr/src/cmd/devfsadm/ |
H A D | devfsadm_impl.h | 468 door_desc_t *dp, uint_t ndesc);
|
H A D | devfsadm.c | 1347 door_desc_t *dp, uint_t ndesc) in sync_handler() argument
|
/titanic_50/usr/src/cmd/pfexecd/ |
H A D | pfexecd.c | 477 callback(void *cookie, char *argp, size_t asz, door_desc_t *dp, uint_t ndesc) in callback() argument
|
/titanic_50/usr/src/uts/common/io/i40e/ |
H A D | i40e_transceiver.c | 2361 i40e_non_lso_chain(i40e_trqpair_t *itrq, mblk_t *mp, uint_t *ndesc) in i40e_non_lso_chain() argument 2446 *ndesc += needed_desc; in i40e_non_lso_chain() 2549 uint_t *ndesc) in i40e_lso_chain() argument 2790 *ndesc += needed_desc; in i40e_lso_chain()
|
/titanic_50/usr/src/cmd/hotplugd/ |
H A D | hotplugd_door.c | 162 door_server(void *cookie, char *argp, size_t sz, door_desc_t *dp, uint_t ndesc) in door_server() argument
|
/titanic_50/usr/src/uts/intel/io/dnet/ |
H A D | dnet.c | 2234 int ndesc; in dnet_alloc_bufs() local 2280 ndesc = dnetp->max_rx_desc - nrecv_desc_old; in dnet_alloc_bufs() 2281 if ((ndesc > 0) && in dnet_alloc_bufs() 2282 (dnet_rbuf_init(dnetp->devinfo, ndesc * 2) != 0)) in dnet_alloc_bufs()
|
/titanic_50/usr/src/cmd/svr4pkg/pkgserv/ |
H A D | pkgserv.c | 491 uint_t ndesc) in pkg_door_srv() argument
|
/titanic_50/usr/src/uts/common/dtrace/ |
H A D | dtrace.c | 11778 dtrace_ecbdesc_t **ndesc; in dtrace_enabling_add() local 11804 ndesc = kmem_zalloc(nsize, KM_SLEEP); in dtrace_enabling_add() 11805 bcopy(enab->dten_desc, ndesc, osize); in dtrace_enabling_add() 11808 enab->dten_desc = ndesc; in dtrace_enabling_add()
|