/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vio_common.h | 40 uint8_t dstate; /* Current state of Dring entry */ member in struct:vio_dring_entry_hdr
|
H A D | vnet_common.h | 129 uint8_t dstate; /* Descriptor state */ member in struct:vnet_rxdring_data_desc 143 ldc_dring_handle_t handle, uint64_t start, uint64_t stop, uint8_t dstate);
|
H A D | vdc.h | 164 dep->hdr.dstate = VIO_DESC_FREE; \
|
H A D | vsw_ldc.h | 242 uint64_t dstate; member in struct:vsw_private_desc
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | tclient.c | 56 struct dstate { struct 119 sizeof (struct dstate), 0)) != 0) { 153 struct dstate *dstatep; 219 struct dstate *dstatep; 238 struct dstate *dstatep; 259 struct dstate *dstatep;
|
H A D | gen_drv.c | 60 typedef struct dstate { struct 99 static int gen_create_minor_nodes(dev_info_t *, struct dstate *); 195 sizeof (struct dstate), 0)) != 0) { 228 struct dstate *dstatep; 558 struct dstate *dstatep; 843 struct dstate *dstatep; 868 struct dstate *dstatep; 894 struct dstate *dstatep; 1184 struct dstate *dstatep; 1536 gen_create_minor_nodes(dev_info_t *devi, struct dstate *dstate [all...] |
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vnet_common.c | 204 ldc_dring_handle_t handle, uint64_t start, uint64_t stop, uint8_t dstate) 213 descp->hdr.dstate = dstate; 203 vnet_dring_entry_set_dstate(vnet_public_desc_t *descp, uint8_t mtype, ldc_dring_handle_t handle, uint64_t start, uint64_t stop, uint8_t dstate) argument
|
H A D | vsw_txdring.c | 338 priv_addr->dstate = VIO_DESC_FREE; 353 pub_addr->hdr.dstate = VIO_DESC_FREE; 869 pub->hdr.dstate = VIO_DESC_READY; 961 if (addr->dstate == VIO_DESC_FREE) { 962 addr->dstate = VIO_DESC_READY; 1002 if (pub_addr->hdr.dstate != VIO_DESC_DONE) { 1006 pub_addr->hdr.dstate = VIO_DESC_FREE; 1007 priv_addr->dstate = VIO_DESC_FREE; 1014 i, pub_addr->hdr.dstate, priv_addr->dstate); [all...] |
H A D | vsw_rxdring.c | 350 rxdp->dstate = VIO_DESC_FREE; 469 * dstate as 'free', we change it 'done' here. After this, the dstate 486 txdp[i].dstate = VIO_DESC_DONE; 734 if (rxdp->dstate != VIO_DESC_READY) { 742 * Ensure load ordering of dstate and nbytes. 754 rxdp->dstate = VIO_DESC_DONE; 799 * Ensure store ordering of data_buf_offset and dstate; so that the 800 * peer sees the right data_buf_offset after it checks that the dstate 806 rxdp->dstate [all...] |
H A D | vnet_rxdring.c | 240 rxdp->dstate = VIO_DESC_FREE; 429 * dstate as 'free', we change it 'done' here. After this, the dstate 446 txdp->dstate = VIO_DESC_DONE; 658 if (txdp->dstate != VIO_DESC_DONE) { /* out of descriptors */ 668 txdp->dstate = VIO_DESC_INITIALIZING; 687 /* Ensure load ordering of dstate (above) and data_buf_offset. */ 707 * Ensure store ordering of nbytes and dstate (below); so that the peer 708 * sees the right nbytes value after it checks that the dstate is READY. 714 ASSERT(txdp->dstate [all...] |
H A D | vnet_txdring.c | 252 hdrp->dstate = VIO_DESC_FREE; 700 hdrp->dstate = VIO_DESC_READY; 716 if (rtxdp->hdr.dstate == VIO_DESC_READY) { 1020 if (hdrp->dstate != VIO_DESC_READY) { 1356 if (hdrp->dstate == VIO_DESC_READY) { 1371 if (hdrp->dstate == VIO_DESC_READY) { 1460 if (hdrp->dstate == VIO_DESC_READY) 1461 hdrp->dstate = VIO_DESC_DONE; 1559 while ((hdrp->dstate == VIO_DESC_DONE) && 1562 hdrp->dstate [all...] |
H A D | vsw_ldc.c | 3658 if (priv_addr->dstate != VIO_DESC_READY) { 3661 ldcp->ldc_id, idx, priv_addr->dstate); 3671 priv_addr->dstate = VIO_DESC_FREE; 3712 priv_addr->dstate = VIO_DESC_FREE; 4908 if (pub_addr->hdr.dstate == VIO_DESC_FREE) 4915 if (priv_addr->dstate == VIO_DESC_FREE)
|
H A D | vdc.c | 2741 dep->hdr.dstate = VIO_DESC_FREE; 2900 dep->hdr.dstate = VIO_DESC_READY; 3502 if (ldep->dep->hdr.dstate != VIO_DESC_DONE) { 3504 vdc->instance, idx, ldep->dep->hdr.dstate); 3572 ASSERT((dep->hdr.dstate == VIO_DESC_DONE) || 5030 DMSG(vdcp, 1, ": state 0x%x\n", ldep->dep->hdr.dstate); 5032 if (ldep->dep->hdr.dstate == VIO_DESC_DONE) {
|
H A D | vds.c | 307 elem->hdr.dstate, \ 2376 accepted = (elem->hdr.dstate == VIO_DESC_ACCEPTED); 2380 elem->hdr.dstate = VIO_DESC_DONE; 4837 ready = (elem->hdr.dstate == VIO_DESC_READY); 4839 elem->hdr.dstate = VIO_DESC_ACCEPTED;
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sbd_io.c | 186 sbd_istate_t dstate; local 249 dstate = SBD_DEVICE_STATE(sbp, SBD_COMP_IO, unit); 250 isp->is_ostate = ostate_cvt(dstate);
|
H A D | sbd_cpu.c | 463 sbd_istate_t dstate; local 506 dstate = SBD_DEVICE_STATE(sbp, SBD_COMP_CPU, unit); 508 if (dstate == SBD_STATE_UNCONFIGURED) {
|
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/ |
H A D | dtrace.c | 547 dtrace_dstate_t *dstate; local 571 dstate = &state->dts_vstate.dtvs_dynvars; 577 addr = (uintptr_t)&dstate->dtds_percpu[i]; 580 mdb_warn("failed to read per-CPU dstate at %p", addr); 1831 dtrace_dstate_t dstate; local 1841 if (mdb_vread(&dstate, sizeof (dstate), addr) == -1) { 1853 data->dtdvd_hashsize = dstate.dtds_hashsize; 1854 hsize = dstate.dtds_hashsize * sizeof (dtrace_dynhash_t); 1859 (uintptr_t)dstate 2293 dtrace_dstate_t dstate; local [all...] |
/illumos-gate/usr/src/uts/sun4u/starfire/io/ |
H A D | idn_proto.c | 495 switch (dp->dstate) { 512 domid, idnds_str[dp->dstate]); 773 IDN_HISTORY_LOG(IDNH_RELINK, d, dp->dstate, 829 if (dp->dstate != IDNDS_CLOSED) { 837 idnds_str[dp->dstate]); 871 if (dp->dstate == IDNDS_CLOSED) { 1495 PR_HITLIST("%s:%d: dcpu=%d, dstate=%s, msg=%x, " 1497 proc, domid, dp->dcpu, idnds_str[dp->dstate], 1538 if (dp->dstate == IDNDS_CONNECTED) { 1541 dp->dstate, id [all...] |
H A D | idn_smr.c | 268 if (mdp->dstate != IDNDS_CONNECTED) { 272 if (mdp->dstate != IDNDS_CONNECTED) { 305 ? "unknown" : idnds_str[idn_domain[masterid].dstate]); 638 if (dp->dstate != IDNDS_CONNECTED) { 640 "alloc (dstate = %s)\n", 641 proc, domid, idnds_str[dp->dstate]); 2107 if ((dp->dstate == IDNDS_CONNECTED) &&
|
H A D | idn.c | 863 idnds_str[dp->dstate]); 1371 idnds_str[dp->dstate]); 2416 (dp->dstate == IDNDS_CLOSED)) { 3160 ASSERT(dp->dstate == IDNDS_CLOSED); 3226 proc, domid, idnds_str[dp->dstate]); 3337 ASSERT(dp->dstate == IDNDS_CLOSED); 3426 dp->dstate = IDNDS_CLOSED; 4461 idnds_str[mdp->dstate]); 4465 idnds_str[mdp->dstate]); 4487 idnds_str[dp->dstate]); [all...] |
/illumos-gate/usr/src/uts/sun4u/starfire/sys/ |
H A D | idn.h | 281 #define IDNH_DSTATE 0x0002 /* d0=domid, d1=dstate, d2=cpuid */ 282 #define IDNH_AWOL 0x0003 /* d0=domid, d1=dstate, d2=cpuid */ 286 #define IDNH_RELINK 0x0007 /* d0=domid, d1=dstate, d2=ds_relink */ 559 (uchar_t)(dp)->dstate; \ 1366 #define IDNDS_IS_CLOSED(dp) (((dp)->dstate == IDNDS_CLOSED) || \ 1367 ((dp)->dstate == IDNDS_DMAP)) 1368 #define IDNDS_IS_CONNECTING(dp) (((dp)->dstate > IDNDS_CLOSED) && \ 1369 ((dp)->dstate < IDNDS_CONNECTED)) 1370 #define IDNDS_IS_DISCONNECTING(dp) ((dp)->dstate > IDNDS_CONNECTED) 1371 #define IDNDS_CONFIG_DONE(dp) (((dp)->dstate 1547 idn_dstate_t dstate; /* drwlock */ member in struct:idn_domain [all...] |
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | dtrace.c | 685 dtrace_dstate_t *dstate = &vstate->dtvs_dynvars; local 686 uintptr_t base = (uintptr_t)dstate->dtds_base + 687 (dstate->dtds_hashsize * sizeof (dtrace_dynhash_t)); 712 chunkoffs = (addr - base) % dstate->dtds_chunksize; 717 if (chunkoffs + sz > dstate->dtds_chunksize) 729 DTRACE_RANGE_REMAIN(remain, addr, dvar, dstate->dtds_chunksize); 1610 dtrace_dynvar_clean(dtrace_dstate_t *dstate) argument 1618 dcpu = &dstate->dtds_percpu[i]; 1658 rinser = &dstate->dtds_percpu[j]; 1715 dcpu = &dstate 1750 dtrace_dynvar(dtrace_dstate_t *dstate, uint_t nkeys, dtrace_key_t *key, size_t dsize, dtrace_dynvar_op_t op, dtrace_mstate_t *mstate, dtrace_vstate_t *vstate) argument 5700 dtrace_dstate_t *dstate = &vstate->dtvs_dynvars; local 13451 dtrace_dstate_init(dtrace_dstate_t *dstate, size_t size) argument 13556 dtrace_dstate_fini(dtrace_dstate_t *dstate) argument 16896 dtrace_dstate_t *dstate; local [all...] |
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | dman.c | 2911 int dstate[MAN_MAX_DESTS]; local 2921 dstate[i] = TRUE; 2924 dstate[i] = FALSE; 2936 if (dstate[i]) { 2947 if (dstate[i]) { 2958 if (dstate[i] && rmp[i])
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac.c | 5724 i_mac_fastpath_state_t dstate = {B_TRUE, 0}; local 5747 mod_hash_walk(i_mac_impl_hash, i_mac_fastpath_walker, &dstate); 5748 if ((err = dstate.mf_err) != 0) {
|