Searched refs:idx (Results 226 - 250 of 636) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_bufs.c444 buf->idx = dma->buf_count + entry->buf_count;
544 buf->idx = dma->buf_count + entry->buf_count;
721 int idx; local
738 if (DRM_COPY_FROM_USER(&idx, &request.list[i], sizeof (idx))) {
742 if (idx < 0 || idx >= dma->buf_count) {
744 idx, dma->buf_count - 1);
748 buf = dma->buflist[idx];
835 if (DRM_COPY_TO_USER(&list32[i].idx,
[all...]
/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_wr.c1152 uint32_t idx; local
1188 idx = wridlist->wl_freel_head;
1190 new_wl_freel[i] = old_wl_freel[idx];
1191 idx = (idx + 1) % old_size;
1196 idx = wridlist->wl_freel_entries;
1197 new_wl_freel[idx] = wridlist->wl_srq_desc_addr + old_size *
1199 prev_idx = idx;
1200 idx = (idx
[all...]
/illumos-gate/usr/src/uts/i86xpv/vm/
H A Dseg_mf.c229 uint_t idx; local
232 idx = seg_page(seg, addr);
233 map = &data->map[idx];
586 uint_t idx; local
605 idx = seg_page(seg, addr);
606 map = &data->map[idx];
648 uint_t idx; local
658 idx = seg_page(seg, addr);
660 map = &data->map[idx];
699 uint_t idx; local
714 uint_t idx; local
[all...]
/illumos-gate/usr/src/cmd/dis/
H A Ddis_target.c421 int idx; local
516 idx = 0;
517 dis_tgt_section_iter(current, tgt_scn_init, &idx);
758 int idx; local
760 for (scn = elf_nextscn(tgt->dt_elf, NULL), idx = 1; scn != NULL;
761 scn = elf_nextscn(tgt->dt_elf, scn), idx++) {
765 tgt->dt_filename, idx);
772 tgt->dt_filename, idx);
789 sdata.ds_shdr.sh_addr = tgt->dt_shnmap[idx].dm_start;
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_subr.c231 int idx; local
271 idx = 0;
272 while (id == NULL && idx < num_nodes) {
273 result = md_get_prop_str(mdp, nodes[idx], MD_STR_TYPE, &type);
279 result = md_get_prop_str(mdp, nodes[idx],
285 (uint64_t)nodes[idx]);
288 idx++;
313 int idx; local
357 idx = 0;
358 while (id == NULL && idx < num_node
[all...]
/illumos-gate/usr/src/cmd/locale/
H A Dlocale.c1029 int idx, i, mem; local
1036 for (idx = 0; reg_names[idx] != NULL; idx++) {
1037 if (strcmp(name, reg_names[idx]) == 0) {
1041 if (reg_names[idx] == NULL) {
1047 switch (idx) {
1097 int idx, i, q; local
1103 for (idx = 0; reg_names[idx] !
[all...]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dcheetahregs.h952 #define CH_DCIDX_TO_WAY(idx) (((idx) & CH_DCACHE_WAY_MASK) >> \
958 #define CH_DCIDX_TO_ADDR(idx) ((idx) & CH_DCACHE_IDX_MASK)
1028 #define CH_ICIDX_TO_WAY(idx) (((idx) & CH_ICACHE_WAY_MASK) >> \
1030 #define PN_ICIDX_TO_WAY(idx) (((idx) & PN_ICACHE_WAY_MASK) >> \
1032 #define CH_ICIDX_TO_ADDR(idx) (((idx) >> CH_ICACHE_IDX_SHIF
[all...]
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_pagelist.c318 #define PAGE_COUNTERS(mnode, rg_szc, idx) \
319 (page_counters[(rg_szc)][(mnode)].hpm_counters[(idx)])
741 size_t idx; local
747 idx = 0;
751 idx = PNUM_TO_IDX(mnode, r, pfnum);
752 idx = (idx >= r_pgcnt) ? 0 : idx;
756 r, i, mrange) = idx;
810 ssize_t idx; local
871 ssize_t idx; local
1152 size_t idx; local
1894 int idx; local
2277 size_t len, idx, idx0; local
2494 int idx, full; local
3096 ssize_t idx; local
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetopt_long.c308 const struct option *long_options, int *idx, int short_too,
437 if (idx)
438 *idx = match;
457 const struct option *long_options, int *idx, uint_t flags)
622 long_options, idx, short_too, flags);
667 idx, 0, flags);
307 parse_long_options(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx, int short_too, uint_t flags) argument
456 getopt_internal(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx, uint_t flags) argument
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dgraphics.c370 unsigned i, len, idx, colors, x, y, width, height; local
444 for (i = 0, idx = 1; i < colors; i++) {
471 if (idx > 14) {
477 pal[idx] = base;
478 splash_palette[idx++] =
485 colors = idx - 1; /* actual number of colors used in XPM image */
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_fcoib.c127 int idx; local
133 idx = fcp->fc_rfci_qpn - fcoib->hfc_rfci_base[port];
134 if (idx < 0 || idx >= fcoib->hfc_rfci_qps_per_port)
135 idx = -1;
137 return (idx);
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_changelist.c461 uu_list_index_t idx; local
464 &idx);
465 uu_list_insert(clp->cl_list, cn, idx);
669 uu_list_index_t idx; local
670 (void) uu_list_find(clp->cl_list, cn, NULL, &idx);
671 uu_list_insert(clp->cl_list, cn, idx);
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/
H A Dlm_vf.c1312 u16_t lm_vf_pf_get_sb_index(lm_device_t *pdev, u8_t sb_id, u8_t idx) argument
1645 u8_t idx; local
1646 for (idx = 0; idx < pdev->params.fw_base_qzone_cnt; idx++)
1648 pdev->params.fw_qzone_id[idx] = presp->resc.hw_qid[idx];
1649 IGU_VF_NDSB(pdev,idx) = presp->resc.hw_sbs[idx].hw_sb_id;
1750 u8_t idx; local
3233 u8_t idx = 0; local
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvlds.c229 index_t idx; local
234 if ((idx = bt_availbit(vlds_minor_bitmap,
244 idx = bt_availbit(vlds_minor_bitmap, vlds_minor_bits);
246 BT_SET(vlds_minor_bitmap, idx);
248 return (idx);
252 vlds_minor_rele(index_t idx) argument
255 ASSERT(BT_TEST(vlds_minor_bitmap, idx) == 1);
256 BT_CLEAR(vlds_minor_bitmap, idx);
1067 int idx;
1082 for (idx
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/fctl/
H A Dfctl.c432 int idx; local
504 for (idx = 0; idx < 16; idx++) {
505 if (port.fp_ip_addr[idx] != 0)
509 if (idx != 16) {
527 for (idx = 0; idx < 8; idx++) {
528 if (port.fp_fc4_types[idx] !
806 int idx; local
[all...]
/illumos-gate/usr/src/uts/intel/io/drm/
H A Dradeon_state.c1618 DRM_DEBUG("indirect: buf=%d s=0x%x e=0x%x\n", buf->idx, start, end);
2362 DRM_CURRENTPID, vertex.idx, vertex.count, vertex.discard);
2364 if (vertex.idx < 0 || vertex.idx >= dma->buf_count) {
2366 vertex.idx, dma->buf_count - 1);
2377 buf = dma->buflist[vertex.idx];
2385 DRM_ERROR("sending pending buffer %d\n", vertex.idx);
2450 DRM_CURRENTPID, elts.idx, elts.start, elts.end, elts.discard);
2452 if (elts.idx < 0 || elts.idx >
3069 int idx; local
[all...]
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/
H A Dmodule.c145 uu_avl_index_t idx; local
149 if ((data = uu_avl_find(mod_index_avl, key, NULL, &idx)) != NULL &&
153 data = uu_avl_nearest_next(mod_index_avl, idx);
181 uu_avl_index_t idx; local
205 (void) uu_avl_find(mod_name_avl, data, NULL, &idx);
206 uu_avl_insert(mod_name_avl, data, idx);
209 (void) uu_avl_find(mod_index_avl, data, NULL, &idx);
210 uu_avl_insert(mod_index_avl, data, idx);
H A Dresource.c129 uu_avl_index_t idx; local
133 if ((data = uu_avl_find(rsrc_index_avl, key, NULL, &idx)) != NULL &&
137 data = uu_avl_nearest_next(rsrc_index_avl, idx);
167 uu_avl_index_t idx; local
192 (void) uu_avl_find(rsrc_fmri_avl, data, NULL, &idx);
193 uu_avl_insert(rsrc_fmri_avl, data, idx);
196 (void) uu_avl_find(rsrc_index_avl, data, NULL, &idx);
197 uu_avl_insert(rsrc_index_avl, data, idx);
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dldentry.c145 Aliste idx; local
171 for (APLIST_TRAVERSE(dfiles, idx, adcp)) {
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dlibs.c79 Aliste idx; local
82 for (APLIST_TRAVERSE(libdir, idx, cp))
H A Dversion.c114 Aliste idx; local
135 for (APLIST_TRAVERSE(vdp->vd_deps, idx, __vdp)) {
/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A Ddynamic.c76 Aliste idx; local
78 for (APLIST_TRAVERSE(DEPENDS(lmp), idx, bdp)) {
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dmove.c194 Aliste idx; local
196 for (APLIST_TRAVERSE(alp, idx, maddr)) {
/illumos-gate/usr/src/uts/common/inet/ilb/
H A Dilb_nat.c204 uint32_t idx; local
208 ILB_NAT_SRC_HASH(idx, &nat_src->s6_addr32[3], &serv_addr->s6_addr32[3],
210 mutex_enter(&ilbs->ilbs_nat_src[idx].nsh_lock);
211 head = &ilbs->ilbs_nat_src[idx].nsh_head;
223 mutex_exit(&ilbs->ilbs_nat_src[idx].nsh_lock);
229 mutex_exit(&ilbs->ilbs_nat_src[idx].nsh_lock);
235 tmp->nse_nsh_lock = &ilbs->ilbs_nat_src[idx].nsh_lock;
248 mutex_exit(&ilbs->ilbs_nat_src[idx].nsh_lock);
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dbd_chain.h28 /* return the cyclic prod idx */
34 /* return the cyclic cons idx */
86 u8_t idx; local
93 for(idx = 0; idx < page_idx; idx++)
120 u16_t idx; local
155 for(idx = 0; idx < bd_chain->page_cnt-1; idx
[all...]

Completed in 124 milliseconds

1234567891011>>