/illumos-gate/usr/src/uts/common/os/ |
H A D | kcpc.c | 609 kcpc_preset(kcpc_set_t *set, int index, uint64_t preset) argument 618 if (index < 0 || index >= set->ks_nreqs) 622 if (set->ks_req[i].kr_index == index) 2393 * Allocate requests needed, copy requests into set, and set index into
|
/illumos-gate/usr/src/uts/common/xen/public/ |
H A D | platform.h | 124 uint32_t index; member in struct:xenpf_firmware_info
|
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/ |
H A D | amd_iommu_page_tables.c | 713 amd_iommu_domain_t *dp, int level, uint16_t index) 723 ASSERT(index == 0); 727 pdtep = &(ppt->pt_pgtblva[index]); 999 init_pte(amd_iommu_page_table_t *pt, uint64_t pa, uint16_t index, argument 1002 uint64_t *ptep = &(pt->pt_pgtblva[index]); 1029 pt->pt_pte_ref[index]++; 1063 ASSERT(pt->pt_pte_ref[index] == 0); 1064 pt->pt_pte_ref[index] = 1; 1075 int level, uint16_t index) 1087 pt->pt_index = index; 712 amd_iommu_lookup_pgtable(amd_iommu_t *iommu, amd_iommu_page_table_t *ppt, amd_iommu_domain_t *dp, int level, uint16_t index) argument 1074 init_pt(amd_iommu_page_table_t *pt, amd_iommu_domain_t *dp, int level, uint16_t index) argument 1091 amd_iommu_setup_1_pgtable(amd_iommu_t *iommu, dev_info_t *rdip, struct ddi_dma_req *dmareq, domain_id_t domainid, amd_iommu_domain_t *dp, amd_iommu_page_table_t *ppt, uint16_t index, int level, uint64_t va, uint64_t pa, amd_iommu_page_table_t **ptp, uint16_t *next_idxp, const char *path, int km_flags) argument 1162 amd_iommu_teardown_pdte(amd_iommu_t *iommu, amd_iommu_page_table_t *pt, int index) argument 1215 uint16_t index; local 1292 uint16_t index; local [all...] |
/illumos-gate/usr/src/uts/i86pc/io/apix/ |
H A D | apix_utils.c | 564 int bit, index, irr; local 572 index = vecp->v_vector / 32; 574 irr = apic_reg_ops->apic_read(APIC_IRR_REG + index);
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | immu_intrmap.c | 183 return (INTRMAP_IDX_FULL); /* no free index */ 227 return (INTRMAP_IDX_FULL); /* no free index */ 504 int index, fault_reg_offset; local 528 index = IMMU_FAULT_GET_INDEX(status); 543 val = immu_regs_get64(immu, fault_reg_offset + index * 16 + 8); 558 val = immu_regs_get64(immu, fault_reg_offset + index * 16); 563 immu_regs_put32(immu, fault_reg_offset + index * 16 + 12, 583 "\t on index 0x%" PRIx64 " for PCI(%d, %d, %d), " 594 index++; 595 if (index > max_fault_inde [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_init.c | 905 uint32_t index, addr, chksum, saved_chksum; local 925 for (index = 0; index < sizeof (nvram_24xx_t) / 4; index++) { 1042 for (index = 0; index < 8; index++) { 1043 if (nv->node_name[index] != 0) { 1049 if (index == 8) { 1075 index 2631 uint16_t index; local 2978 int index, rval; local 3249 uint16_t index, loop_id; local 3420 ql_dev_list(ql_adapter_state_t *ha, union ql_dev_id_list *list, uint32_t index, port_id_t *d_id, uint16_t *id) argument 3844 uint16_t index; local 4245 ql_vport_create(ql_adapter_state_t *ha, uint8_t index) argument [all...] |
H A D | ql_mbx.c | 424 uint16_t index; local 443 for (index = 0; index < DEVICE_HEAD_LIST_SIZE; index++) { 444 for (link = ha->dev[index].first; link != NULL; 504 uint16_t index; local 517 for (index = 0; index < QL_UB_LIMIT; index++) { 518 ubp = ha->ub_array[index]; 957 uint16_t index; local [all...] |
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_txdma.c | 78 static hxge_status_t hxge_tx_err_evnts(p_hxge_t hxgep, uint_t index, 743 "index = %d", 854 "==> hxge_tx_intr:channel %d ring index %d status 0x%08x", 859 "==> hxge_tx_intr:channel %d ring index %d " 864 "==> hxge_tx_intr:channel %d ring index %d " 1051 int index, ndmas; local 1084 for (index = 0; index < ndmas; index++) { 1085 channel = tx_rings->rings[index] 1155 int index, ndmas; local 1254 int index, ndmas; local 1356 int index, ndmas; local 1475 int index, ndmas; local 1865 int i, j, index; local 2409 int index, ndmas; local 2456 int index, tdc, ndmas; local 2511 hxge_tx_err_evnts(p_hxge_t hxgep, uint_t index, p_hxge_ldv_t ldvp, tdc_stat_t cs) argument [all...] |
H A D | hxge_txdma.h | 49 * (1) head index is equal to tail index. 52 * (1) head index is equal to tail index. 62 #define TXDMA_DESC_NEXT_INDEX(index, entries, wrap_mask) \ 63 ((index + entries) & wrap_mask) 141 uint16_t index; member in struct:_tx_ring_t 180 uint16_t index; member in struct:_tx_mbox_t
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_misc.c | 71 #define HERMON_DBR_KEY(index, page) \ 72 (((uint64_t)index) * HERMON_MAX_DBR_PAGES_PER_USER + (page)) 75 hermon_dbr_new_user_page(hermon_state_t *state, uint_t index, argument 123 HERMON_DBR_KEY(index, page), MLNX_UMAP_DBRMEM_RSRC, 132 hermon_user_dbr_alloc(hermon_state_t *state, uint_t index, argument 145 if (udbr->udbr_index == index) 151 udbr->udbr_index = index; 162 pagep = hermon_dbr_new_user_page(state, index, next_page); 198 *mapoffset = ((HERMON_DBR_KEY(index, pagep->upg_index) << 210 hermon_user_dbr_free(hermon_state_t *state, uint_t index, hermon_dbr_ argument 352 hermon_dbr_alloc(hermon_state_t *state, uint_t index, ddi_acc_handle_t *acchdl, hermon_dbr_t **vdbr, uint64_t *pdbr, uint64_t *mapoffset) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_cmd.c | 543 uint_t index, next, prev; local 601 index = mblist->mbl_head_indx; 602 next = mbox_ptr[index].mb_next; 603 prev = mbox_ptr[index].mb_prev; 612 *mb = &mbox_ptr[index]; 634 /* Pull the "index" from mailbox entry */ 650 /* Update tail index */ 943 /* Pull the "index" from command entry */ 960 /* Update tail index */ 2293 * New "producer index" i [all...] |
/illumos-gate/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex_ioctl.c | 1769 int index; local 1844 index = nodep->node_data.port_node.port_commsvc_idx; 1865 (index < ibnex.ibnex_num_comm_svcs) && 1867 ibnex_comm_svc_names[index]) != NULL)) || 1870 NULL) && (index < 1873 ibnex_hcasvc_comm_svc_names[index]) 1877 ibnex_vppa_comm_svc_names[index]) != 2123 /* find the service index */ 2409 /* find matching index */ 2494 /* find matching index */ [all...] |
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_txdma.c | 1475 * gather_index - which entry (starts from index 0 to 15) 1624 npi_txdma_desc_mem_get(npi_handle_t handle, uint16_t index, argument 1629 npi_txdma_dump_desc_one(handle, desc_p, index); 1645 * tail_index - index into the transmit descriptor 1646 * wrap - toggle bit to indicate if the tail index is 1698 * tail_index - index into the transmit descriptor 1699 * wrap - toggle bit to indicate if the tail index is 1731 * This function is called to get the transmit ring head index. 1740 * ring header data (head index and wrap bit). 1910 * desc_index - descriptor index [all...] |
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_hio.c | 193 * Map a DMA channel index to a channel number. 198 * index The index to convert to a channel number 210 int index) 226 if (index == 0) 229 index--; 332 group->index = i; 371 if (set->group[group->index] != group) { 376 set->group[group->index] = 0; 377 NXGE_DC_RESET(set->lg.map, group->index); 207 nxge_dci_map( nxge_t *nxge, vpc_type_t type, int index) argument [all...] |
/illumos-gate/usr/src/uts/common/io/pcn/ |
H A D | pcn.c | 589 int index; local 596 * to index into a 64bit mask 600 index = crc / 16; 605 newval = oldval = pcnp->pcn_mctab[index]; 617 pcnp->pcn_mctab[index] = newval; 619 pcn_csr_write(pcnp, PCN_CSR_MAR0 + index, newval); 796 int index = pcnp->pcn_txreclaim; local 798 tmdp = &pcnp->pcn_txdescp[index]; 801 SYNCTXDESC(pcnp, index, DDI_DMA_SYNC_FORKERNEL); 808 pcnp->pcn_txreclaim = (index [all...] |
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_main.c | 874 * Compute the index of the required bit in the multicast hash map. 885 uint32_t index; local 898 index = crc >> 26; 899 /* the index value is between 0 and 63(0x3f) */ 901 return (index); 912 uint32_t index; local 920 * Calculate the Multicast address hash index value 928 index = rge_hash_index(addr->ether_addr_octet); 930 reg = (~(index / RGE_MCAST_NUM)) & 0x7; 932 reg = index / RGE_MCAST_NU [all...] |
/illumos-gate/usr/src/uts/common/io/rtls/ |
H A D | rtls.c | 722 uint_t index; local 727 index = rtls_hash_index(mcast); 728 /* index value is between 0 and 63 */ 731 if (rtlsp->multicast_cnt[index]++) { 735 hashp[index/32] |= 1<< (index % 32); 737 if (--rtlsp->multicast_cnt[index]) { 741 hashp[index/32] &= ~(1<< (index % 32)); 769 uint_t index; local [all...] |
/illumos-gate/usr/src/uts/common/io/tpm/ |
H A D | tpm.c | 675 uint8_t index; local 691 index = tsc_ords_duration[ordinal]; 701 index = tpm_ords_duration[ordinal]; 704 if (index > TPM_DURATION_MAX_IDX) { 706 cmn_err(CE_WARN, "!%s: duration index '%d' is out of bounds", 707 myname, index); 711 return (tpm->duration[index]);
|
/illumos-gate/usr/src/uts/common/io/usb/clients/audio/usb_as/ |
H A D | usb_as.c | 1936 int len, i, j, n, n_srs, sr, index; local 1989 index = 0; 1999 altif_data->altif_cvs[index].cvs_buf, 2000 altif_data->altif_cvs[index].cvs_buf_len, 2031 index++; 2032 len = altif_data->altif_cvs[index].cvs_buf_len; 2034 bcopy(altif_data->altif_cvs[index].cvs_buf, format, len);
|
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbsprl/ |
H A D | pl2303_dsd.c | 2037 pl2303_cmd_vendor_write0(pl2303_state_t *plp, uint16_t value, int16_t index) argument 2047 setup.wIndex = index; 2055 value, index, rval, cr, cb_flags);
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | usba10_calls.c | 110 uint8_t index, 114 return (usb_get_string_descr(dip, langid, index, buf, buflen)); 107 usba10_usb_get_string_descr( dev_info_t *dip, uint16_t langid, uint8_t index, char *buf, size_t buflen) argument
|
/illumos-gate/usr/src/uts/common/io/usb/usba10/ |
H A D | usba10.c | 138 uint8_t index, 142 return (usba10_usb_get_string_descr(dip, langid, index, buf, buflen)); 135 usb_get_string_descr( dev_info_t *dip, uint16_t langid, uint8_t index, char *buf, size_t buflen) argument
|
/illumos-gate/usr/src/uts/common/sys/nxge/ |
H A D | nxge_txdma.h | 51 * (1) head index is equal to tail index. 54 * (1) head index is equal to tail index. 64 #define TXDMA_DESC_NEXT_INDEX(index, entries, wrap_mask) \ 65 ((index + entries) & wrap_mask) 157 uint16_t index; member in struct:_tx_ring_t 203 uint16_t index; member in struct:_tx_mbox_t
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ecppreg.h | 45 uint8_t index; member in struct:config_reg 49 /* index values for the configuration registers */
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | btree.h | 101 /* First and next index. */ 111 * past the last filled-in index. The h_upper offset is the first item on the 144 /* Get the page's BINTERNAL structure at index indx. */ 171 /* Get the page's RINTERNAL structure at index indx. */ 194 /* Get the page's BLEAF structure at index indx. */ 226 /* Get the page's RLEAF structure at index indx. */ 247 * A record in the tree is either a pointer to a page and an index in the page 248 * or a page number and an index. These structures are used as a cursor, stack 253 * must find the smallest record greater than key so that the returned index 258 indx_t index; /* th member in struct:_epgno 263 indx_t index; /* the index on the page */ member in struct:_epg [all...] |