Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/xen/io/
H A Dxnf.c489 xnf_data_txbuf_free(xnf_t *xnfp, xnf_txbuf_t *txp) in xnf_data_txbuf_free() argument
491 ASSERT3U(txp->tx_type, ==, TX_DATA); in xnf_data_txbuf_free()
497 if (txp->tx_bdesc != NULL) { in xnf_data_txbuf_free()
498 ASSERT(!txp->tx_handle_bound); in xnf_data_txbuf_free()
499 xnf_buf_put(xnfp, txp->tx_bdesc, B_TRUE); in xnf_data_txbuf_free()
501 if (txp->tx_txreq.gref != INVALID_GRANT_REF) { in xnf_data_txbuf_free()
502 if (gnttab_query_foreign_access(txp->tx_txreq.gref) != in xnf_data_txbuf_free()
505 "backend domain", txp->tx_txreq.gref); in xnf_data_txbuf_free()
508 txp->tx_txreq.gref, 1); in xnf_data_txbuf_free()
509 xnf_gref_put(xnfp, txp->tx_txreq.gref); in xnf_data_txbuf_free()
[all …]
H A Dxnb.c1260 xnb_txbuf_recycle(xnb_txbuf_t *txp) in xnb_txbuf_recycle() argument
1262 xnb_t *xnbp = txp->xt_xnbp; in xnb_txbuf_recycle()
1264 kmem_cache_free(xnbp->xnb_tx_buf_cache, txp); in xnb_txbuf_recycle()
1273 xnb_txbuf_t *txp = buf; in xnb_txbuf_constructor() local
1279 txp->xt_free_rtn.free_func = xnb_txbuf_recycle; in xnb_txbuf_constructor()
1280 txp->xt_free_rtn.free_arg = (caddr_t)txp; in xnb_txbuf_constructor()
1281 txp->xt_xnbp = xnbp; in xnb_txbuf_constructor()
1282 txp->xt_next = NULL; in xnb_txbuf_constructor()
1285 0, 0, &txp->xt_dma_handle) != DDI_SUCCESS) in xnb_txbuf_constructor()
1288 if (ddi_dma_mem_alloc(txp->xt_dma_handle, PAGESIZE, &data_accattr, in xnb_txbuf_constructor()
[all …]
/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/
H A Dbnx_hw_cpu.c302 cpu_reg.mode = OFFSETOF(reg_space_t, txp.txp_cpu_mode); in init_5706_cpus()
305 cpu_reg.state = OFFSETOF(reg_space_t, txp.txp_cpu_state); in init_5706_cpus()
307 cpu_reg.gpr0 = OFFSETOF(reg_space_t, txp.txp_cpu_reg_file[0]); in init_5706_cpus()
308 cpu_reg.evmask = OFFSETOF(reg_space_t, txp.txp_cpu_event_mask); in init_5706_cpus()
309 cpu_reg.pc = OFFSETOF(reg_space_t, txp.txp_cpu_program_counter); in init_5706_cpus()
310 cpu_reg.inst = OFFSETOF(reg_space_t, txp.txp_cpu_instruction); in init_5706_cpus()
311 cpu_reg.bp = OFFSETOF(reg_space_t, txp.txp_cpu_hw_breakpoint); in init_5706_cpus()
312 cpu_reg.spad_base = OFFSETOF(reg_space_t, txp.txp_scratch[0]); in init_5706_cpus()
560 cpu_reg.mode = OFFSETOF(reg_space_t, txp.txp_cpu_mode); in init_5709_cpus()
563 cpu_reg.state = OFFSETOF(reg_space_t, txp.txp_cpu_state); in init_5709_cpus()
[all …]
H A Dbnx_hw_reset.c1494 OFFSETOF(reg_space_t, txp.txp_ftq_ctl), in reduce_ftq_depth()
2289 OFFSETOF(reg_space_t, txp.txp_scratch[0])+TXP_HSI_OFFSETOFF(cu_rate_limiter_enable), in lm_reset_setup()
/illumos-gate/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)) {
/illumos-gate/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.c6642 rc_node_setup_tx(rc_node_ptr_t *npp, rc_node_ptr_t *txp) in rc_node_setup_tx() argument
6798 rc_node_assign(txp, np); in rc_node_setup_tx()
6799 txp->rnp_authorized = authorized; in rc_node_setup_tx()
6802 if (txp->rnp_auth_string != NULL) in rc_node_setup_tx()
6803 free((void *)txp->rnp_auth_string); in rc_node_setup_tx()
6804 txp->rnp_auth_string = auth_string; in rc_node_setup_tx()
6967 rc_tx_commit(rc_node_ptr_t *txp, const void *cmds, size_t cmds_sz) in rc_tx_commit() argument
6969 rc_node_t *np = txp->rnp_node; in rc_tx_commit()
6987 if ((txp->rnp_authorized != RC_AUTH_UNKNOWN) && in rc_tx_commit()
6988 (txp->rnp_auth_string != NULL)) { in rc_tx_commit()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddmu.h421 int bonuslen, int dnodesize, boolean_t keep_spill, dmu_tx_t *txp);
425 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *txp);
/illumos-gate/usr/src/uts/common/io/bnx/570x/common/include/
H A D5706_reg.h13595 tx_processor_reg_t txp; member