/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/ |
H A D | oce_buf.h | 82 uint16_t cidx; /* Get ptr */ member 156 ring->cidx = GET_Q_NEXT(ring->cidx, n, ring->num_items) 162 (void*)(((type *)DBUF_VA(ring->dbuf)) + ring->cidx) 165 (uint64_t)(((type *)DBUF_PA(ring->dbuf)) + ring->cidx)
|
H A D | oce_hw.h | 911 uint32_t cidx:13; member 936 uint32_t cidx:13; 1022 uint32_t cidx:11; member 1038 uint32_t cidx:11;
|
/illumos-gate/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_capabilities.c | 96 int cidx; in scsi_ifsetcap() local 100 cidx = scsi_hba_lookup_capstr(cap); in scsi_ifsetcap() 101 if (cidx == SCSI_CAP_SECTOR_SIZE) { in scsi_ifsetcap()
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_sge.c | 179 unsigned int cidx; in reclaimable() local 181 cidx = eq->spg->cidx; /* stable snapshot */ in reclaimable() 182 cidx = be16_to_cpu(cidx); in reclaimable() 184 if (cidx >= eq->cidx) in reclaimable() 185 return (cidx - eq->cidx); in reclaimable() 187 return (cidx + eq->cap - eq->cidx); in reclaimable() 1205 iq->cidx = 0; in alloc_iq_fl() 1225 fl->pidx = fl->cidx = 0; in alloc_iq_fl() 1497 eq->pidx = eq->cidx = 0; in alloc_eq() 1650 while (eq->cidx != eq->pidx) { in free_txq() [all …]
|
H A D | adapter.h | 210 uint16_t cidx; /* consumer index */ member 263 uint16_t cidx; /* consumer idx (desc idx) */ member 293 uint32_t cidx; /* consumer idx (buffer idx, NOT hw desc idx) */ member
|
/illumos-gate/usr/src/cmd/vscan/vscand/ |
H A D | vs_eng.c | 345 int cidx = eng_ctx->vse_cidx; in vs_eng_set_error() local 356 eng->vse_cxns[cidx].vsc_state = VS_ENG_CLOSE_PENDING; in vs_eng_set_error() 376 int eidx, cidx, sockfd; in vs_eng_get() local 396 (vs_eng_find_connection(&eidx, &cidx, retry) == -1)) { in vs_eng_get() 422 cxn = &(eng->vse_cxns[cidx]); in vs_eng_get() 434 eng_ctx->vse_cidx = cidx; in vs_eng_get() 607 int cidx = eng_ctx->vse_cidx; in vs_eng_release() local 611 cxn = &(vs_engines[eidx].vse_cxns[cidx]); in vs_eng_release()
|
/illumos-gate/usr/src/uts/common/io/chxge/ |
H A D | sge.c | 591 uint32_t cidx = Q->rq_cidx; in sge_data_in() local 615 e = &q[cidx]; in sge_data_in() 677 if (unlikely(++cidx == entries_n)) { in sge_data_in() 678 cidx = 0; in sge_data_in() 734 Q->rq_cidx = cidx; in sge_data_in() 737 t1_write_reg_4(adapter, A_SG_SLEEPING, cidx); in sge_data_in() 809 uint32_t cidx = Q->fq_cidx; in t1_sge_rx() local 845 e = &Q->fq_entries[cidx]; in t1_sge_rx() 884 e = &Q->fq_entries[cidx]; in t1_sge_rx() 1002 if (++cidx == entries_n) in t1_sge_rx() [all …]
|
/illumos-gate/usr/src/cmd/drd/ |
H A D | drd_rcm.c | 648 int cidx; in drd_rcm_del_cpu_notify() local 663 for (idx = 0, cidx = 0; idx < nrsrc; idx++) { in drd_rcm_del_cpu_notify() 667 cpus[cidx] = rsrcs[idx].res_cpu_id; in drd_rcm_del_cpu_notify() 668 cidx++; in drd_rcm_del_cpu_notify() 671 drd_dbg(" ncpus = %d", cidx); in drd_rcm_del_cpu_notify() 674 if (cidx == 0) { in drd_rcm_del_cpu_notify() 697 oldcpus = (cpuid_t *)calloc(newncpus + cidx, sizeof (cpuid_t)); in drd_rcm_del_cpu_notify() 703 if (!is_cpu_in_list(newcpus[idx], cpus, cidx)) in drd_rcm_del_cpu_notify() 707 for (idx = 0; idx < cidx; idx++) { in drd_rcm_del_cpu_notify() 714 dump_cpu_list("delta: ", cpus, cidx); in drd_rcm_del_cpu_notify()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_rx.c | 278 cur_index = ring->cidx; in oce_rq_charge() 317 rqbd = shadow_rq[rq->ring->cidx]; in oce_rq_discharge() 351 cur_index = ring->cidx; in oce_rx() 424 cur_index = ring->cidx; in oce_rx_bcopy() 479 rqbd = shadow_rq[rq->ring->cidx]; in oce_rx_drop_pkt()
|
H A D | oce_queue.c | 646 wq->ring->cidx = 0; in oce_wq_create() 881 rq->ring->cidx = 0; in oce_rq_create()
|
/illumos-gate/usr/src/uts/common/io/cxgbe/common/ |
H A D | t4_hw.h | 96 __be16 cidx; member
|
H A D | t4_msg.h | 2621 __be16 cidx; member
|
/illumos-gate/usr/src/uts/common/io/usb/scsa2usb/ |
H A D | scsa2usb.c | 2779 uint_t cidx; in scsa2usb_scsi_getcap() local 2805 cidx = scsi_hba_lookup_capstr(cap); in scsa2usb_scsi_getcap() 2806 switch (cidx) { in scsa2usb_scsi_getcap() 2883 uint_t cidx; in scsa2usb_scsi_setcap() local 2902 cidx = scsi_hba_lookup_capstr(cap); in scsa2usb_scsi_setcap() 2905 "cidx = 0x%x", (void *)ap, value, whom, cidx); in scsa2usb_scsi_setcap() 2907 switch (cidx) { in scsa2usb_scsi_setcap()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi.c | 4600 int cidx; in iscsi_i_commoncap() local 4611 cidx = scsi_hba_lookup_capstr(cap); in iscsi_i_commoncap() 4612 if (cidx == -1) { in iscsi_i_commoncap() 4613 return (cidx); in iscsi_i_commoncap() 4623 switch (cidx) { in iscsi_i_commoncap() 4645 switch (cidx) { in iscsi_i_commoncap()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_scsa.c | 847 int cidx, rval = 0; in pmcs_cap() local 850 cidx = scsi_hba_lookup_capstr(cap); in pmcs_cap() 851 if (cidx == -1) { in pmcs_cap() 860 switch (cidx) { in pmcs_cap()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | scsi_vhci.c | 1730 int cidx; in vhci_commoncap() local 1745 if ((cidx = scsi_hba_lookup_capstr(cap)) == -1) { in vhci_commoncap() 1756 switch (cidx) { in vhci_commoncap() 1795 "!vhci_setcap: unsupported %d", cidx)); in vhci_commoncap() 1809 switch (cidx) { in vhci_commoncap() 1872 "!vhci_getcap: unsupported %d", cidx)); in vhci_commoncap()
|
/illumos-gate/usr/src/uts/sun/io/scsi/adapters/ |
H A D | fas.c | 8911 int cidx; in fas_commoncap() local 8923 cidx = scsi_hba_lookup_capstr(cap); in fas_commoncap() 8924 if (cidx == -1) { in fas_commoncap() 8934 switch (cidx) { in fas_commoncap() 9056 switch (cidx) { in fas_commoncap()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcp.c | 11815 int cidx; in fcp_commoncap() local 11825 if ((cidx = scsi_hba_lookup_capstr(cap)) == -1) { in fcp_commoncap() 11836 switch (cidx) { in fcp_commoncap() 11860 "fcp_setcap: unsupported %d", cidx); in fcp_commoncap() 11875 switch (cidx) { in fcp_commoncap() 11924 "fcp_getcap: unsupported %d", cidx); in fcp_commoncap()
|
/illumos-gate/usr/src/uts/common/io/cxgbe/firmware/ |
H A D | t4fw_interface.h | 9534 __be16 cidx; member 9540 __be16 cidx; member
|