Home
last modified time | relevance | path

Searched refs:txp (Results 1 – 7 of 7) sorted by relevance

/titanic_44/usr/src/uts/common/xen/io/
H A Dxnf.c523 xnf_txbuf_t *txp; in xnf_setup_rings() local
527 txp = tidp->txbuf; in xnf_setup_rings()
528 if (txp == NULL) { in xnf_setup_rings()
534 ASSERT(txp->tx_txreq.gref != INVALID_GRANT_REF); in xnf_setup_rings()
535 ASSERT(txp->tx_mp != NULL); in xnf_setup_rings()
537 switch (txp->tx_type) { in xnf_setup_rings()
539 VERIFY(gnttab_query_foreign_access(txp->tx_txreq.gref) in xnf_setup_rings()
542 if (txp->tx_bdesc == NULL) { in xnf_setup_rings()
544 txp->tx_txreq.gref, 1); in xnf_setup_rings()
545 gref_put(xnfp, txp->tx_txreq.gref); in xnf_setup_rings()
[all …]
H A Dxnb.c1258 xnb_txbuf_recycle(xnb_txbuf_t *txp) in xnb_txbuf_recycle() argument
1260 xnb_t *xnbp = txp->xt_xnbp; in xnb_txbuf_recycle()
1262 kmem_cache_free(xnbp->xnb_tx_buf_cache, txp); in xnb_txbuf_recycle()
1271 xnb_txbuf_t *txp = buf; in xnb_txbuf_constructor() local
1277 txp->xt_free_rtn.free_func = xnb_txbuf_recycle; in xnb_txbuf_constructor()
1278 txp->xt_free_rtn.free_arg = (caddr_t)txp; in xnb_txbuf_constructor()
1279 txp->xt_xnbp = xnbp; in xnb_txbuf_constructor()
1280 txp->xt_next = NULL; in xnb_txbuf_constructor()
1283 0, 0, &txp->xt_dma_handle) != DDI_SUCCESS) in xnb_txbuf_constructor()
1286 if (ddi_dma_mem_alloc(txp->xt_dma_handle, PAGESIZE, &data_accattr, in xnb_txbuf_constructor()
[all …]
/titanic_44/usr/src/grub/grub-0.97/netboot/
H A Depic100.c305 unsigned char *txp; in epic100_transmit() local
319 txp = tx_packet + (entry * PKT_BUF_SZ); in epic100_transmit()
321 memcpy(txp, destaddr, ETH_ALEN); in epic100_transmit()
322 memcpy(txp + ETH_ALEN, nic->node_addr, ETH_ALEN); in epic100_transmit()
324 memcpy(txp + 12, (char*)&nstype, 2); in epic100_transmit()
325 memcpy(txp + ETH_HLEN, data, len); in epic100_transmit()
330 txp[len++] = '\0'; in epic100_transmit()
H A De1000.c3474 struct e1000_tx_desc *txp; /* payload */ local
3483 txp = tx_base + tx_tail;
3490 txp->buffer_addr = virt_to_bus(p);
3491 txp->lower.data = E1000_TXD_CMD_RPS | E1000_TXD_CMD_EOP | E1000_TXD_CMD_IFCS | size;
3492 txp->upper.data = 0;
3495 while (!(txp->upper.data & E1000_TXD_STAT_DD)) {
/titanic_44/usr/src/cmd/svc/configd/
H A Dbackend.c2108 backend_tx_begin_common(backend_type_t t, backend_tx_t **txp, int writable) in backend_tx_begin_common() argument
2114 *txp = NULL; in backend_tx_begin_common()
2130 *txp = ret; in backend_tx_begin_common()
2135 backend_tx_begin_ro(backend_type_t t, backend_tx_t **txp) in backend_tx_begin_ro() argument
2137 return (backend_tx_begin_common(t, txp, 0)); in backend_tx_begin_ro()
2180 backend_tx_begin(backend_type_t t, backend_tx_t **txp) in backend_tx_begin() argument
2186 r = backend_tx_begin_common(t, txp, 1); in backend_tx_begin()
2192 r = sqlite_exec((*txp)->bt_be->be_db, "BEGIN TRANSACTION", NULL, NULL, in backend_tx_begin()
2194 UPDATE_TOTALS((*txp)->bt_be, bt_exec, ts, vts); in backend_tx_begin()
2196 (*txp)->bt_full = 1; in backend_tx_begin()
[all …]
H A Drc_node.c6648 rc_node_setup_tx(rc_node_ptr_t *npp, rc_node_ptr_t *txp) in rc_node_setup_tx() argument
6804 rc_node_assign(txp, np); in rc_node_setup_tx()
6805 txp->rnp_authorized = authorized; in rc_node_setup_tx()
6808 if (txp->rnp_auth_string != NULL) in rc_node_setup_tx()
6809 free((void *)txp->rnp_auth_string); in rc_node_setup_tx()
6810 txp->rnp_auth_string = auth_string; in rc_node_setup_tx()
6973 rc_tx_commit(rc_node_ptr_t *txp, const void *cmds, size_t cmds_sz) in rc_tx_commit() argument
6975 rc_node_t *np = txp->rnp_node; in rc_tx_commit()
6993 if ((txp->rnp_authorized != RC_AUTH_UNKNOWN) && in rc_tx_commit()
6994 (txp->rnp_auth_string != NULL)) { in rc_tx_commit()
[all …]
/titanic_44/usr/src/uts/common/fs/zfs/sys/
H A Ddmu.h342 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *txp);