/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_cma.c | 398 enum rdma_port_space ps) in rdma_create_id() argument 403 evt_hdlr, context, ps); in rdma_create_id() 405 if (ps != RDMA_PS_TCP && ps != RDMA_PS_UDP && ps != RDMA_PS_IPOIB) { in rdma_create_id() 407 "rdma_create_id: unsupported protocol %x", ps); in rdma_create_id() 411 rdma_idp = cma_alloc_chan(evt_hdlr, context, ps); in rdma_create_id() 523 if (rdma_idp->ps == RDMA_PS_TCP) in rdma_destroy_id() 530 if (rdma_idp->ps == RDMA_PS_TCP) { in rdma_destroy_id() 600 chanp, chanp->chan_connect_flag, rdma_idp->ps); in rdma_destroy_id() 1052 if (root_idp && root_idp->ps == RDMA_PS_TCP) { in rdma_accept() 1124 if (ret && root_idp && idp->ps == RDMA_PS_TCP) { in rdma_accept() [all …]
|
H A D | sol_ib_cma.c | 173 ibchanp->chan_sid = ibt_get_ip_sid(idp->ps, port); in rdma_ib_bind_addr() 176 ibchanp->chan_sid, idp->ps, port); in rdma_ib_bind_addr() 211 ibchanp->chan_sid = ibt_get_ip_sid(idp->ps, port); in rdma_ib_resolve_addr() 214 ibchanp->chan_sid, idp->ps, port); in rdma_ib_resolve_addr() 224 ibchanp->chan_sid = ibt_get_ip_sid(idp->ps, port); in rdma_ib_resolve_addr() 228 idp->ps, port); in rdma_ib_resolve_addr() 321 if (idp->ps == RDMA_PS_TCP && qpstate == IB_QPS_INIT) { in rdma_ib_init_qp_attr() 327 } else if (idp->ps == RDMA_PS_TCP && in rdma_ib_init_qp_attr() 346 if (idp->ps == RDMA_PS_UDP) in rdma_ib_init_qp_attr() 379 if (idp->ps == RDMA_PS_TCP) in rdma_ib_connect() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ucma/ |
H A D | sol_ucma.c | 847 chanp, ucma_id_inp->ps); 1110 if (idp->ps == RDMA_PS_TCP) 1120 if (ret == 0 && idp->ps == RDMA_PS_TCP) { 1199 if (idp->ps == RDMA_PS_TCP) 1395 if (idp->ps == RDMA_PS_TCP) { 1710 if (idp->ps == RDMA_PS_TCP && 1718 if (idp->ps == RDMA_PS_TCP && qphdl) 1727 if (idp->ps == RDMA_PS_UDP || idp->ps == RDMA_PS_IPOIB)
|
/illumos-gate/usr/src/uts/common/io/sata/impl/ |
H A D | sata.c | 8131 page->mode_page.ps = 1; in sata_build_msense_page_1c() 8172 page->mode_page.ps = 1; in sata_build_msense_page_30() 8202 page->mode_page.ps = 1; in sata_build_msense_page_30()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas_smhba.c | 303 sas_phy_stats_t *ps; in mptsas_create_phy_stats() local 347 ps = (sas_phy_stats_t *)phyp->phy_stats->ks_data; in mptsas_create_phy_stats() 349 kstat_named_init(&ps->seconds_since_last_reset, in mptsas_create_phy_stats() 351 kstat_named_init(&ps->tx_frames, in mptsas_create_phy_stats() 353 kstat_named_init(&ps->rx_frames, in mptsas_create_phy_stats() 355 kstat_named_init(&ps->tx_words, in mptsas_create_phy_stats() 357 kstat_named_init(&ps->rx_words, in mptsas_create_phy_stats() 359 kstat_named_init(&ps->invalid_dword_count, in mptsas_create_phy_stats() 361 kstat_named_init(&ps->running_disparity_error_count, in mptsas_create_phy_stats() 363 kstat_named_init(&ps->loss_of_dword_sync_count, in mptsas_create_phy_stats() [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_attach.c | 3037 sas_phy_stats_t *ps; in pmcs_create_one_phy_stats() local 3074 ps = (sas_phy_stats_t *)phyp->phy_stats->ks_data; in pmcs_create_one_phy_stats() 3076 kstat_named_init(&ps->seconds_since_last_reset, in pmcs_create_one_phy_stats() 3078 kstat_named_init(&ps->tx_frames, in pmcs_create_one_phy_stats() 3080 kstat_named_init(&ps->rx_frames, in pmcs_create_one_phy_stats() 3082 kstat_named_init(&ps->tx_words, in pmcs_create_one_phy_stats() 3084 kstat_named_init(&ps->rx_words, in pmcs_create_one_phy_stats() 3086 kstat_named_init(&ps->invalid_dword_count, in pmcs_create_one_phy_stats() 3088 kstat_named_init(&ps->running_disparity_error_count, in pmcs_create_one_phy_stats() 3090 kstat_named_init(&ps->loss_of_dword_sync_count, in pmcs_create_one_phy_stats() [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | sd.c | 2872 ctrl_bufp->mode_page.ps = 0; in sd_enable_descr_sense() 8828 save_pg = mode_caching_page->mode_page.ps ? in sd_cache_control() 8832 mode_caching_page->mode_page.ps = 0; in sd_cache_control()
|
H A D | st.c | 8375 page_data->ps = 0; in st_gen_mode_select()
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/ |
H A D | xhci.c | 1203 unsigned long ps; in xhci_read_params() local 1273 ps = PAGESIZE; in xhci_read_params() 1274 if (ps == 0x1000) { in xhci_read_params() 1277 } else if (ps == 0x2000) { in xhci_read_params() 1282 "doesn't know how to handle: %lx\n", ps); in xhci_read_params()
|
H A D | xhci_hub.c | 449 uint16_t ps, cs; in xhci_root_hub_handle_port_get_status() local 473 ps = cs = 0; in xhci_root_hub_handle_port_get_status() 475 ps |= PORT_STATUS_CCS; in xhci_root_hub_handle_port_get_status() 477 ps |= PORT_STATUS_PES; in xhci_root_hub_handle_port_get_status() 479 ps |= PORT_STATUS_POCI; in xhci_root_hub_handle_port_get_status() 481 ps |= PORT_STATUS_PRS; in xhci_root_hub_handle_port_get_status() 483 ps |= XHCI_PS_PLS_SET(XHCI_PS_PLS_GET(reg)); in xhci_root_hub_handle_port_get_status() 486 ps |= PORT_STATUS_PPS; in xhci_root_hub_handle_port_get_status() 496 ps |= USBA_FULL_SPEED_DEV << PORT_STATUS_SPSHIFT_SS; in xhci_root_hub_handle_port_get_status() 499 ps |= USBA_LOW_SPEED_DEV << PORT_STATUS_SPSHIFT_SS; in xhci_root_hub_handle_port_get_status() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | dumpsubr.c | 1960 bz_stream *ps = &hp->bzstream; in dumpsys_bzrun() local 1967 ps->avail_in = size; in dumpsys_bzrun() 1968 ps->next_in = buf; in dumpsys_bzrun() 1975 if (ps->avail_in == 0 && mode == BZ_RUN) in dumpsys_bzrun() 1983 ps->avail_out = hp->cpout->size - CSIZE; in dumpsys_bzrun() 1984 ps->next_out = hp->cpout->buf + CSIZE; in dumpsys_bzrun() 1989 rc = BZ2_bzCompress(ps, mode); in dumpsys_bzrun() 2001 if (ps->avail_out == 0 || mode == BZ_FINISH) { in dumpsys_bzrun() 2002 csize = hp->cpout->size - CSIZE - ps->avail_out; in dumpsys_bzrun()
|
H A D | port_subr.c | 697 port_source_t **ps; in port_associate_ksource() local 710 ps = &pp->port_queue.portq_scache[PORT_SHASH(source)]; in port_associate_ksource() 711 for (pse = *ps; pse != NULL; pse = pse->portsrc_next) { in port_associate_ksource() 728 if (*ps) in port_associate_ksource() 729 pse->portsrc_next = (*ps)->portsrc_next; in port_associate_ksource() 730 *ps = pse; in port_associate_ksource() 747 port_dissociate_ksource(int port, int source, port_source_t *ps) in port_dissociate_ksource() argument 753 if (ps == NULL) in port_dissociate_ksource() 766 if (--ps->portsrc_cnt == 0) { in port_dissociate_ksource() 768 if (ps->portsrc_prev == NULL) { in port_dissociate_ksource() [all …]
|
/illumos-gate/usr/src/uts/common/pcmcia/sys/ |
H A D | cs_priv.h | 329 #define PRR_EVENT(prrx, pe, ps, ce, re) \ argument 331 if (prrx & ps) \ 334 prrx |= ps; \
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/rdma/ |
H A D | rdma_cm.h | 141 enum rdma_port_space ps; member 154 void *context, enum rdma_port_space ps);
|
H A D | rdma_user_cm.h | 92 uint16_t ps; member
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/sol_ofs/ |
H A D | sol_cma.h | 40 #define IS_UDP_CMID(idp) ((idp)->ps == RDMA_PS_UDP || \ 41 (idp)->ps == RDMA_PS_IPOIB) 311 srcid->ps); in cma_create_new_id()
|
/illumos-gate/usr/src/uts/common/sys/scsi/generic/ |
H A D | mode.h | 131 ps :1; /* 'Parameter Saveable' bit */ 133 uchar_t ps :1, /* 'Parameter Saveable' bit */
|
/illumos-gate/usr/src/uts/common/sys/scsi/targets/ |
H A D | stdef.h | 556 ps: 1; /* Page Savable sense only */ 575 uchar_t ps: 1, /* Page Savable sense only */
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | vnode.h | 1171 #define VOP_GETPAGE(vp, of, sz, pr, pl, ps, sg, a, rw, cr, ct) \ argument 1172 fop_getpage(vp, of, sz, pr, pl, ps, sg, a, rw, cr, ct)
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | poll.c | 248 pollstate_t *ps = curthread->t_pollstate; in pollunlock() local 257 if (ps != NULL && ps->ps_depth > 1) { in pollunlock() 258 ps->ps_flags |= POLLSTATE_ULFAIL; in pollunlock() 269 pcp = ps->ps_pcache; in pollunlock() 293 pollstate_t *ps = curthread->t_pollstate; in pollrelock() local 306 pcp = ps->ps_pcache; in pollrelock() 339 pollstate_t *ps; in poll_common() local 415 ps = pollstate_create(); in poll_common() 417 if (ps->ps_pcache == NULL) in poll_common() 418 ps->ps_pcache = pcache_alloc(); in poll_common() [all …]
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | mp_xen.c | 807 char *ps; in vcpu_config_report() local 809 ps = NULL; in vcpu_config_report() 812 ps = PS_ONLINE; in vcpu_config_report() 815 ps = PS_POWEROFF; in vcpu_config_report() 823 "cpu%d: externally initiated %s", id, ps); in vcpu_config_report() 836 "cpu already %s", ps ? ps : "?"); in vcpu_config_report()
|
/illumos-gate/usr/src/uts/sparc/sys/ |
H A D | psw.h | 57 #define BASEPRI(ps) (((ps) & PSR_PIL) == 0)
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | sysctrl.c | 3076 int ps; in psstat_kstat_update() local 3083 for (ps = 0; ps < SYS_PS_COUNT; ps++) { in psstat_kstat_update() 3084 *ptr++ = softsp->ps_stats[ps].dcshadow; in psstat_kstat_update()
|
/illumos-gate/usr/src/uts/sun4u/sunfire/sys/ |
H A D | fhc.h | 221 #define FHC_PS2BOARD(ps) ((((ps) & 0x6) << 1) | ((ps) & 0x1)) argument
|