Searched refs:idx (Results 51 - 75 of 636) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_cmp.c361 int idx, max_idx; /* plug index */ local
375 idx = AV1394_OPCR0_IDX;
376 max_idx = idx + AV1394_PCR_ADDR_NOPCR - 1;
379 idx = AV1394_IPCR0_IDX;
380 max_idx = idx + AV1394_PCR_ADDR_NIPCR - 1;
384 for (; idx <= max_idx; idx++) {
385 if (cmp->cmp_pcr[idx] != NULL) {
388 err = av1394_pcr_init(avp, idx, AV1394_PCR_INIT_VAL);
395 idx
448 av1394_pcr_init(av1394_inst_t *avp, int idx, uint32_t val) argument
473 av1394_pcr_fini(av1394_inst_t *avp, int idx) argument
578 int idx = av1394_pcr_ph2idx(ph); local
591 av1394_pcr_idx2addr(int idx) argument
600 av1394_pcr_idx2num(int idx) argument
611 av1394_pcr_idx_is_mpr(int idx) argument
642 int idx; /* PCR index */ local
678 int idx; /* PCR index */ local
[all...]
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dlink_addr.c70 int idx = 0, numcolons = 0, digits = 0; local
122 netaddr[idx++] = num;
129 netaddr[idx++] = num;
133 *maclen = idx;
/illumos-gate/usr/src/common/mdesc/
H A Dmdesc_init_intern.c39 int idx; local
110 for (done = 0, idx = 0, count = 0; !done; ) {
113 np = &(mdp->mdep[idx]);
126 mdp->root_node = (mde_cookie_t)idx;
128 idx = MDE_PROP_INDEX(np);
133 idx++; /* ignore */
148 mdp->element_count = idx + 1; /* include LIST_END */
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dbiosacpi.c112 int ofs, idx; local
122 for (idx = 0; idx < RSDP_CHECKSUM_LENGTH; idx++)
123 sum += *(cp + idx);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dfindstack.c231 int idx; local
259 for (idx = 0; idx < depth; idx++) {
264 uintptr_t laddr = l->se_stack[idx];
265 uintptr_t raddr = r->se_stack[idx];
313 int idx = 0; local
328 for (idx = 0; idx < STACKS_HSIZE; idx
378 int idx; local
427 size_t idx; local
453 size_t idx; local
523 int idx; local
544 int idx; local
587 size_t idx; local
[all...]
H A Ddist.c59 * b_idx = b_{idx-1} * r;
90 int idx = 0;
115 * last holds the integer which goes into out[idx]
133 for (idx = 0; idx < buckets; idx++) {
136 out[idx] = last;
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-mem/
H A Dmem_mdesc.c52 int idx, mdesc_dimm_count; local
70 for (idx = 0; idx < mdesc_dimm_count; idx++) {
72 if (md_get_prop_str(mdp, listp[idx], "nac", &unum) < 0)
74 if (md_get_prop_str(mdp, listp[idx], "serial#",
77 if (md_get_prop_str(mdp, listp[idx], "part#",
115 for (idx = 0; idx < mdesc_dimm_count; idx
260 int bc, idx, mdesc_dimm_count, mdesc_bank_count; local
[all...]
/illumos-gate/usr/src/uts/sun4v/os/
H A Dlpad.c181 int idx; local
198 for (idx = 0; idx < LPAD_POOL_SIZE; idx++) {
200 LPAD_DBG("\tchecking lpad_pool[%d]\n", idx);
202 if (lpad_pool[idx].inuse == 0) {
203 LPAD_DBG("found empty lpad (%d)\n", idx);
206 lpad_pool[idx].inuse = 1;
208 return (&lpad_pool[idx]);
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_put.c79 indx_t idx, nxtindex; local
165 idx = t->bt_cursor.pg.index;
177 idx = e->index;
199 delete: if (__bt_dleaf(t, key, h, idx) == RET_ERROR) {
215 data, dflags, nbytes, idx)) != RET_SUCCESS)
220 if (idx < (nxtindex = NEXTINDEX(h)))
221 memmove(h->linp + idx + 1, h->linp + idx,
222 (nxtindex - idx) * sizeof(indx_t));
225 h->linp[idx]
[all...]
H A Dbt_delete.c155 indx_t idx; local
193 idx = parent->index + 1;
194 BT_PUSH(t, h->pgno, idx);
203 bi = GETBINTERNAL(h, idx);
213 idx = 0;
248 idx = parent->index - 1;
249 BT_PUSH(t, h->pgno, idx);
258 bi = GETBINTERNAL(h, idx);
268 idx = NEXTINDEX(h) - 1;
269 BT_PUSH(t, pgno, idx);
387 indx_t cnt, idx, *ip, offset; local
[all...]
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_hmc.c215 * @idx: the page index
229 u32 idx)
239 sd_idx = idx / I40E_HMC_PD_CNT_IN_SD;
240 rel_pd_idx = idx % I40E_HMC_PD_CNT_IN_SD;
243 DEBUGOUT("i40e_remove_pd_bp: bad idx\n");
265 I40E_INVALIDATE_PF_HMC_PD(hw, sd_idx, idx);
281 * @idx: the page index
284 u32 idx)
290 sd_entry = &hmc_info->sd_table.sd_entry[idx];
308 * @idx
227 i40e_remove_pd_bp(struct i40e_hw *hw, struct i40e_hmc_info *hmc_info, u32 idx) argument
283 i40e_prep_remove_sd_bp(struct i40e_hmc_info *hmc_info, u32 idx) argument
311 i40e_remove_sd_bp_new(struct i40e_hw *hw, struct i40e_hmc_info *hmc_info, u32 idx, bool is_pf) argument
332 i40e_prep_remove_pd_page(struct i40e_hmc_info *hmc_info, u32 idx) argument
360 i40e_remove_pd_page_new(struct i40e_hw *hw, struct i40e_hmc_info *hmc_info, u32 idx, bool is_pf) argument
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe.h364 u32_t idx; /* this ring's index */ member in struct:_TxQueue
401 int idx; /* chain index used by the free routine */ member in struct:_um_rxpacket_t
413 u32_t idx; /* this ring's index */ member in struct:_RxQueue
440 u32_t idx; /* this group's index */ member in struct:_RxQueueGroup
447 u32_t idx; /* ring index */ member in struct:_KstatRingMap
777 u32_t idx,
780 u32_t idx,
783 u32_t idx,
804 int idx,
818 int idx,
[all...]
H A Dbnxe_main.c216 int idx; local
218 for (idx = 0; idx < (MAX_RSS_CHAINS + 1); idx++)
220 mutex_init(&pUM->intrMutex[idx], NULL,
222 mutex_init(&pUM->intrFlipMutex[idx], NULL,
224 mutex_init(&pUM->sbMutex[idx], NULL,
228 for (idx = 0; idx < MAX_ETH_CONS; idx
293 int idx; local
[all...]
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_hash.c175 ulong_t idx, nidx; local
194 for (idx = 0; idx < osize; idx++) {
195 while ((link = ihp->ih_buckets[idx]) != NULL) {
203 ihp->ih_buckets[idx] = link->ihl_next;
219 ulong_t idx = ihp->ih_compute(search) % ihp->ih_nbuckets; local
222 for (hl = ihp->ih_buckets[idx]; hl != NULL; hl = hl->ihl_next) {
258 ulong_t idx = ipmi_hash_compute(ihp, elem); local
262 link->ihl_next = ihp->ih_buckets[idx];
274 ulong_t idx = ipmi_hash_compute(ihp, elem); local
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Dzap_impl.h77 #define ZAP_EMBEDDED_PTRTBL_ENT(zap, idx) \
79 [(idx) + (1<<ZAP_EMBEDDED_PTRTBL_SHIFT(zap))]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_db.c334 rfs4_index_t *idx; local
354 idx = table->dbt_indices;
355 table->dbt_indices = idx->dbi_inext;
356 rfs4_index_destroy(idx);
378 rfs4_index_t *idx; local
382 idx = kmem_alloc(sizeof (rfs4_index_t), KM_SLEEP);
384 idx->dbi_table = table;
385 idx->dbi_keyname = kmem_alloc(strlen(keyname) + 1, KM_SLEEP);
386 (void) strcpy(idx->dbi_keyname, keyname);
387 idx
412 rfs4_index_destroy(rfs4_index_t *idx) argument
423 rfs4_index_t *idx; local
550 rfs4_dbsearch(rfs4_index_t *idx, void *key, bool_t *create, void *arg, rfs4_dbsearch_type_t dbsearch_type) argument
764 rfs4_index_t *idx = table->dbt_indices; local
[all...]
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dch_compat.h137 #define CH_DEVICE_COMMON(devid, ssid, idx) { devid, ssid, idx }
138 #define CH_DEVICE(devid, ssid, idx) CH_DEVICE_COMMON(devid, ssid, idx)
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_fm.c422 size_t idx, output; local
430 output = idx = 0;
431 while (idx < max - 1) {
432 uint32_t start = r[idx].zr_start;
433 uint32_t end = r[idx].zr_end;
435 while (idx < max - 1) {
436 idx++;
438 uint32_t nstart = r[idx].zr_start;
439 uint32_t nend = r[idx].zr_end;
494 size_t idx; local
517 size_t idx; local
[all...]
/illumos-gate/usr/src/lib/krb5/dyn/
H A Ddyn.h62 int DynPut P((DynObject obj, void *el, int idx));
63 int DynInsert P((DynObject obj, int idx, void *els, int num));
64 int DynDelete P((DynObject obj, int idx));
/illumos-gate/usr/src/uts/sun4u/sys/pci/
H A Dpci_cb.h95 extern void cb_enable_nintr(pci_t *pci_p, enum cb_nintr_index idx);
96 extern void cb_disable_nintr(cb_t *cb_p, enum cb_nintr_index idx, int wait);
97 extern void cb_clear_nintr(cb_t *cb_p, enum cb_nintr_index idx);
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_cb.c90 cb_enable_nintr(pci_t *pci_p, enum cb_nintr_index idx) argument
93 ib_ino_t ino = IB_MONDO_TO_INO(pci_p->pci_inos[idx]);
98 ASSERT(idx < CBNINTR_MAX);
112 ASSERT(cb_p->cb_inos[idx] == 0);
113 cb_p->cb_inos[idx] = ino;
159 cb_disable_nintr(cb_t *cb_p, enum cb_nintr_index idx, int wait) argument
161 ib_ino_t ino = cb_p->cb_inos[idx];
162 ASSERT(idx < CBNINTR_MAX);
168 cb_p->cb_inos[idx] = 0;
177 cb_clear_nintr(cb_t *cb_p, enum cb_nintr_index idx) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcmu_cb.c96 pcmu_cb_enable_nintr(pcmu_t *pcmu_p, pcmu_cb_nintr_index_t idx) argument
99 pcmu_ib_ino_t ino = PCMU_IB_MONDO_TO_INO(pcmu_p->pcmu_inos[idx]);
106 ASSERT(idx < CBNINTR_MAX);
117 ASSERT(pcb_p->pcb_inos[idx] == 0);
118 pcb_p->pcb_inos[idx] = ino;
182 pcmu_cb_disable_nintr(pcmu_cb_t *pcb_p, pcmu_cb_nintr_index_t idx, int wait) argument
186 pcmu_ib_ino_t ino = pcb_p->pcb_inos[idx];
187 ASSERT(idx < CBNINTR_MAX);
194 pcb_p->pcb_inos[idx] = 0;
201 pcmu_cb_clear_nintr(pcmu_cb_t *pcb_p, pcmu_cb_nintr_index_t idx) argument
[all...]
/illumos-gate/usr/src/uts/i86pc/io/
H A Dimmu_intrmap.c234 uint32_t idx; local
238 idx = intrmap->intrmap_free;
239 if (idx != INTRMAP_IDX_FULL) {
240 bitset_add(&intrmap->intrmap_map, idx);
242 bitset_find_free(&intrmap->intrmap_map, idx + 1);
261 return (idx);
268 uint_t idx, pos, i; local
273 idx = bitset_find_multi_free(&intrmap->intrmap_map, pos, cnt);
275 if (idx != INTRMAP_IDX_FULL) {
276 if (idx <
540 uint64_t idx; local
672 uint32_t idx, i; local
755 uint_t idx, i; local
831 uint32_t idx; local
863 uint32_t rdt_entry, tm, pol, idx, vector; local
888 uint_t idx; local
[all...]
/illumos-gate/usr/src/uts/common/io/vscan/
H A Dvscan_svc.c200 * vscand. vscand uses the idx to determine which minor node
431 * Get the file vnode indexed by idx.
434 vscan_svc_get_vnode(int idx) argument
438 ASSERT(idx > 0);
439 ASSERT(idx <= vs_nodes_max);
442 if (vscan_svc_nodes[idx].vsn_req)
443 vp = vscan_svc_nodes[idx].vsn_req->vsr_vp;
631 int idx, result; local
637 idx = req->vsr_idx;
638 node = &vscan_svc_nodes[idx];
686 vscan_svc_populate_req(int idx) argument
736 int idx; local
805 int idx; local
845 vscan_svc_process_scan_result(int idx) argument
917 vscan_svc_getattr(int idx) argument
976 vscan_svc_setattr(int idx, int which) argument
1236 int idx; local
1268 vscan_svc_remove_req(int idx) argument
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dmdeg.c214 int idx; local
223 for (idx = 0; idx < mdeg.maxclnts; idx++) {
224 clnt = &mdeg.tbl[idx];
231 if (idx != mdeg.maxclnts) {
267 clnt->hdl = MDEG_ALLOC_HDL(idx, MDEG_HDL2COUNT(clnt->hdl));
275 int idx; local
278 idx = MDEG_HDL2IDX(hdl);
281 if ((idx <
516 int idx; local
653 int idx; local
912 int idx; local
[all...]

Completed in 74 milliseconds

1234567891011>>