Home
last modified time | relevance | path

Searched refs:ndx (Results 126 – 150 of 157) sorted by relevance

1234567

/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/
H A Dsrpt_ioc.c651 int ndx; in srpt_ioc_fini() local
689 for (ndx = 0; ndx < ioc->ioc_num_iu_entries; ndx++) { in srpt_ioc_fini()
690 mutex_destroy(&ioc->ioc_iu_pool[ndx].iu_lock); in srpt_ioc_fini()
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dcorenote.c480 int ndx, ndx_start; in dump_auxv() local
495 ndx = 0; in dump_auxv()
505 ndx_start = ndx; in dump_auxv()
514 ndx++; in dump_auxv()
619 if (ndx == ndx_start) in dump_auxv()
621 MSG_ORIG(MSG_FMT_INDEX2), EC_WORD(ndx)); in dump_auxv()
625 EC_WORD(ndx_start), EC_WORD(ndx)); in dump_auxv()
636 ndx++; in dump_auxv()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_handle.c140 #define DT_REC(type, ndx) *((type *)((uintptr_t)data->dtpda_data + \ argument
141 epd->dtepd_rec[(ndx)].dtrd_offset))
H A Ddt_link.c1016 int fd, i, ndx, eprobe, mod = 0; in process_obj() local
1320 ndx = GELF_R_SYM(rela.r_info); in process_obj()
1322 if (gelf_getsym(data_sym, ndx, &rsym) == NULL || in process_obj()
1445 (void) gelf_update_sym(data_sym, ndx, &rsym); in process_obj()
/illumos-gate/usr/src/cmd/sgs/ldprof/common/
H A Dprofile.c480 plt_cg_interp(uint_t ndx, caddr_t from, caddr_t to) in plt_cg_interp() argument
513 cptr = &Cptr[ndx]; in plt_cg_interp()
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_fip.c892 uint_t ndx; in eib_fip_parse_vhub_table() local
1012 for (ndx = 0; ndx < entries_in_pkt; ndx++, entry++) { in eib_fip_parse_vhub_table()
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Drelocate.c2664 Word ndx = 0; in ld_reloc_process() local
2676 ndx = (Word)elf_ndxscn(ofl->ofl_osdynsym->os_scn); in ld_reloc_process()
2679 ndx = (Word)elf_ndxscn(ofl->ofl_ossymtab->os_scn); in ld_reloc_process()
2718 shdr->sh_link = ndx; in ld_reloc_process()
2730 shdr->sh_link = ndx; in ld_reloc_process()
2741 shdr->sh_link = ndx; in ld_reloc_process()
2746 shdr->sh_link = ndx; in ld_reloc_process()
H A Dmap_v2.c2325 Xword ndx; in dir_segment_inner() local
2359 ndx = ld_map_seg_index(mf, sgp); in dir_segment_inner()
2361 ndx, sgp, mf->mf_lineno)); in dir_segment_inner()
2399 ndx, sgp, mf->mf_lineno)); in dir_segment_inner()
2694 Xword ndx = ld_map_seg_index(mf, sgp); in dir_stack() local
2696 Dbg_map_seg(mf->mf_ofl, DBG_STATE_MOD_AFTER, ndx, sgp, in dir_stack()
H A Dsections.c2393 int ndx; in make_dynstr() local
2395 for (ndx = 0; ndx < ofl->ofl_regsymsno; ndx++) { in make_dynstr()
2398 if ((sdp = ofl->ofl_regsyms[ndx]) == NULL) in make_dynstr()
/illumos-gate/usr/src/cmd/smbsrv/smbadm/
H A Dsmbadm.c403 int ndx; in smbadm_strcasecmplist() local
407 for (ndx = 0; ((p = va_arg(ap, char *)) != NULL); ++ndx) { in smbadm_strcasecmplist()
410 return (ndx); in smbadm_strcasecmplist()
/illumos-gate/usr/src/lib/libproc/common/
H A DPsymtab.c1479 symtab_getsym(sym_tbl_t *symtab, int ndx, GElf_Sym *dst) in symtab_getsym() argument
1482 if (ndx >= symtab->sym_symn_aux) { in symtab_getsym()
1484 ndx - symtab->sym_symn_aux, dst)); in symtab_getsym()
1488 return (gelf_getsym(symtab->sym_data_aux, ndx, dst)); in symtab_getsym()
3180 uint_t *map, i, count, ndx; in Psymbol_iter_com() local
3236 ndx = map == NULL ? i : map[i]; in Psymbol_iter_com()
3237 if (symtab_getsym(symtab, ndx, &sym) != NULL) { in Psymbol_iter_com()
3278 si.prs_id = ndx; in Psymbol_iter_com()
/illumos-gate/usr/src/cmd/trapstat/capabilities/sun4/
H A Dgettrapent.c676 get_trap_ent(int ndx) in get_trap_ent() argument
678 return (&g_traps[ndx]); in get_trap_ent()
/illumos-gate/usr/src/uts/common/io/comstar/port/fct/
H A Dfct.c1295 int ndx; in fct_deregister_local_port() local
1308 for (ndx = 0; ndx < 100; ndx++) { in fct_deregister_local_port()
1315 if (ndx == 100) { in fct_deregister_local_port()
2874 uint16_t ndx; in fct_handle_to_cmd() local
2878 if ((ndx = CMD_HANDLE_SLOT_INDEX(fct_handle)) >= port->port_max_xchges) in fct_handle_to_cmd()
2882 ndx]; in fct_handle_to_cmd()
H A Ddiscovery.c2202 int num_to_release, ndx; in fct_check_cmdlist() local
2219 for (ndx = 0; ndx < num_to_release; ndx++) { in fct_check_cmdlist()
/illumos-gate/usr/src/uts/common/io/comstar/stmf/
H A Dstmf.c4230 uint8_t ndx; in stmf_alloc_dbuf() local
4233 if (ndx == 0xff) in stmf_alloc_dbuf()
4239 itask->itask_allocated_buf_map |= (1 << ndx); in stmf_alloc_dbuf()
4241 dbuf->db_handle = ndx; in stmf_alloc_dbuf()
4254 uint8_t ndx; in stmf_setup_dbuf() local
4267 if (ndx == 0xff) in stmf_setup_dbuf()
4272 itask->itask_dbufs[ndx] = dbuf; in stmf_setup_dbuf()
4274 itask->itask_allocated_buf_map |= (1 << ndx); in stmf_setup_dbuf()
4275 dbuf->db_handle = ndx; in stmf_setup_dbuf()
4538 uint32_t num_to_release, ndx; in stmf_task_lu_check_freelist() local
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dcallout.c1834 int ndx; in callout_kstat_init() local
1839 ndx = ct - callout_table; in callout_kstat_init()
1840 ct_kstats = kstat_create("unix", ndx, "callout", in callout_kstat_init()
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai_util.c748 uint_t ndx; in usb_get_current_cfgidx() local
751 ndx = usba_device->usb_active_cfg_ndx; in usb_get_current_cfgidx()
754 return (ndx); in usb_get_current_cfgidx()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash.c848 new_curs->ndx = 0;
919 cursorp->ndx = cursorp->pgndx = 0;
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/
H A Ddtrace.c1255 int ndx = (int)wsp->walk_addr; in dtrace_errhash_step() local
1260 if (ndx >= DTRACE_ERRHASHSZ) in dtrace_errhash_step()
1263 wsp->walk_addr = ndx + 1; in dtrace_errhash_step()
1264 addr = hash[ndx]; in dtrace_errhash_step()
/illumos-gate/usr/src/uts/common/dtrace/
H A Dfasttrap.c1086 int i, ndx; in fasttrap_pid_getargdesc() local
1097 ndx = (probe->ftp_argmap != NULL) ? in fasttrap_pid_getargdesc()
1101 for (i = 0; i < ndx; i++) { in fasttrap_pid_getargdesc()
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dcorenote.c903 int ndx = -si_code; in conv_cnote_si_code() local
912 if (ndx >= ARRAY_NELTS(user_arr)) { in conv_cnote_si_code()
923 return (conv_map_ds(ELFOSABI_NONE, EM_NONE, ndx, in conv_cnote_si_code()
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Danalyze.c2595 ulong_t ndx; in is_sym_interposer() local
2597 ndx = (((ulong_t)sym - (ulong_t)SYMTAB(lmp)) / SYMENT(lmp)); in is_sym_interposer()
2599 sip = (Syminfo *)((char *)sip + (ndx * SYMINENT(lmp))); in is_sym_interposer()
/illumos-gate/usr/src/uts/sparc/dtrace/
H A Ddtrace_isa.c953 dtrace_getvmreg(uint_t ndx, volatile uint16_t *flags) in dtrace_getvmreg() argument
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgenunix.c913 int ndx; /* table index. */ member
1197 TABLE_TO_SEQID(coargs->ndx), in callout_list_cb()
1198 co_typenames[coargs->ndx & in callout_list_cb()
1337 coargs->ndx = index; in callout_t_cb()
1765 coargs.ndx = tableid; in calloutid()
/illumos-gate/usr/src/uts/common/io/ib/clients/ibd/
H A Dibd.c2075 uint16_t ndx; in ibd_locate_pkey() local
2079 for (ndx = 0; ndx < pkey_tbl_sz; ndx++) { in ibd_locate_pkey()
2080 if (pkey_tbl[ndx] == pkey) { in ibd_locate_pkey()
2081 *pkix = ndx; in ibd_locate_pkey()
3788 uint_t ndx; in ibd_release_lsobufs() local
3807 ndx = (va - bktp->bkt_mem) / IBD_LSO_BUFSZ; in ibd_release_lsobufs()
3808 lbufp = bktp->bkt_bufl + ndx; in ibd_release_lsobufs()

1234567