Searched refs:idx (Results 351 - 375 of 636) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/uts/sun4v/os/
H A Dmach_descrip.c749 int idx; local
770 for (idx = 0, done = B_FALSE; done == B_FALSE; ) {
772 md_element_t *np = &(mdep[idx]);
786 idx = MDE_PROP_INDEX(np);
791 idx++;
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dgettext_util.c289 uint32_t hash_size, num_of_str, i, idx, inc; local
294 idx = hash_val % hash_size;
297 while ((i = p->hash_table[idx]) != 0) {
305 idx = (idx + inc) % hash_size;
/illumos-gate/usr/src/boot/lib/libstand/
H A Dufs.c205 int idx; local
282 idx = file_block / fp->f_nindir[level - 1];
285 idx = file_block;
288 ind_block_num = ((ufs1_daddr_t *)fp->f_blk[level])[idx];
290 ind_block_num = ((ufs2_daddr_t *)fp->f_blk[level])[idx];
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dsections.c822 Aliste idx; local
836 for (APLIST_TRAVERSE(alp, idx, sdp))
885 for (APLIST_TRAVERSE(alp, idx, sdp)) {
943 Aliste idx; local
991 for (APLIST_TRAVERSE(ofl->ofl_sos, idx, ifl)) {
1119 Aliste idx; local
1237 for (APLIST_TRAVERSE(ofl->ofl_rtldinfo, idx, sdp))
2392 Aliste idx; local
2394 for (ALIST_TRAVERSE(ofl->ofl_dtsfltrs, idx, dftp))
2503 Aliste idx; local
2664 Aliste idx; local
2768 Aliste idx; local
2847 Aliste idx; local
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsgen.c294 uint_t nelems, pcplen, vcplen, idx; local
305 for (idx = 0; idx < nelems; idx++) {
308 cp = strs[idx];
344 for (idx = 0; idx < nelems; idx += 2) {
349 vcp = strs[idx];
359 pcp = strs[idx
[all...]
/illumos-gate/usr/src/cmd/login/
H A Dlogin.c2159 int i, j, k, l_index, length, idx = 0; local
2170 for (idx = 0; pam_env[idx] != 0; idx++)
2174 envinit = (char **)calloc(lenvp - environ + 10 + MAXARGS + idx,
2186 idx = 0; basicenv = 0;
2188 while (pam_env[idx] != 0) {
2189 if (legalenvvar(pam_env[idx])) {
2190 envinit[basicenv] = pam_env[idx];
2193 idx
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c531 int idx, level; local
543 idx = (blkid >> (epbs * level)) & ((1<<epbs)-1);
544 *bp = bp_array[idx];
725 uint64_t hash, idx, blkid; local
742 idx = ZAP_HASH_IDX(hash, zap->zap_ptrtbl.zt_shift);
743 blkid = ((uint64_t *)zap)[idx + (1<<(blksft-3-1))];
863 int idx; /* index within a block */ local
869 idx = objnum & ((1<<epbs)-1);
873 grub_memmove(buf, &dnode_buf[idx], DNODE_SIZE);
891 grub_memmove(buf, &dnbuf[idx], DNODE_SIZ
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvdc.c179 static int vdc_map_to_shared_dring(vdc_t *vdcp, int idx);
192 static int vdc_depopulate_descriptor(vdc_t *vdc, uint_t idx);
2254 int idx; local
2313 for (idx = 0; idx < num_vdevs; idx++) {
2314 status = md_get_prop_str(mdp, listp[idx], "name", &node_name);
2323 status = md_get_prop_val(mdp, listp[idx],
2341 *vd_nodep = listp[idx];
2368 int idx; local
2870 vdc_map_to_shared_dring(vdc_t *vdcp, int idx) argument
3069 int idx; /* Index of DRing entry used */ local
3434 int rv, idx, retries; local
3554 vdc_depopulate_descriptor(vdc_t *vdc, uint_t idx) argument
4952 int idx; local
7290 int idx = 0; /* index into dk_ioctl[] */ local
[all...]
H A Dvldc.c351 int idx; local
375 for (idx = 0; idx < resp->added.nelem; idx++) {
377 node = resp->added.mdep[idx];
389 for (idx = 0; idx < resp->removed.nelem; idx++) {
391 node = resp->removed.mdep[idx];
H A Dvsw.c1574 int idx; local
1591 for (idx = 0; idx < resp->added.nelem; idx++) {
1593 node = resp->added.mdep[idx];
1595 D2(vswp, "%s: adding node(%d) 0x%lx", __func__, idx, node);
1604 for (idx = 0; idx < resp->removed.nelem; idx++) {
1606 node = resp->removed.mdep[idx];
[all...]
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/
H A Ddrmach_acpi.c405 drmach_array_set(drmach_array_t *arr, uint_t idx, drmachid_t val) argument
407 if (idx < arr->min_index || idx > arr->max_index)
409 arr->arr[idx - arr->min_index] = val;
414 * Get the item with index idx.
418 drmach_array_get(drmach_array_t *arr, uint_t idx, drmachid_t *val) argument
420 if (idx < arr->min_index || idx > arr->max_index)
422 *val = arr->arr[idx - arr->min_index];
427 drmach_array_first(drmach_array_t *arr, uint_t *idx, drmachid_ argument
439 drmach_array_next(drmach_array_t *arr, uint_t *idx, drmachid_t *val) argument
454 uint_t idx; local
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dobj_mgr.c1942 CK_ULONG idx; local
1944 for (idx = lo; idx <= hi; idx++) {
1945 if (memcmp(obj->name, obj_list[idx].name, 8) == 0) {
1946 *index = idx;
1947 obj->index = idx;
1956 for (idx = lo; idx <= hi; idx
[all...]
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_getldap.c250 cache_hash_t *idx)
252 while (idx) {
253 if (idx->type == type &&
254 strcasecmp(from, idx->from) == 0) {
255 return (idx);
257 idx = idx->next;
303 cache_hash_t *next, *idx, *newp; local
353 idx = hashTbl[hash];
359 if (idx) {
249 getldap_scan_hash(cache_type_t type, char *from, cache_hash_t *idx) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dstates.c1175 int idx; local
1180 for (idx = dsmp->dsm_nrouters - 1; idx >= 0; idx--) {
1182 &dsmp->dsm_routers[idx])) {
1185 inet_ntoa(dsmp->dsm_routers[idx]),
1190 inet_ntoa(dsmp->dsm_routers[idx]),
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Dnetwork.c199 #define FOREACH_ELT(set,idx,vvar) \
200 for (idx = set.n-1; idx >= 0 && (vvar = set.data[idx], 1); idx--)
219 #define DEL(set, idx) \
220 (set.data[idx] = set.data[--set.n], 0)
/illumos-gate/usr/src/boot/sys/boot/fdt/
H A Dfdt_loader_cmd.c1300 int i, idx, sz; local
1319 idx = 0;
1320 for (i = start, idx = 0; i < argc; i++) {
1321 strcpy(buf + idx, argv[i]);
1322 idx += strlen(argv[i]);
1323 buf[idx] = ' ';
1324 idx++;
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_map.c888 int idx; local
910 idx = iq * maxMatches;
912 if (idx == 0 || !firstOnly)
913 (void) memcpy(&tpa[idx], tp,
914 numMatches * sizeof (tpa[idx]));
967 dni->index = idx + n;
977 dn[idx+n] = dnt;
978 odn[idx+n] = odnt;
979 rv[idx+n] = rvt;
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSLPHeaderV1.java537 int idx = 0;
541 if ((idx = serviceType.indexOf("." + ServiceType.IANA)) != -1) {
542 serviceType = serviceType.substring(0, idx);
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_pf.c894 u8_t idx; local
910 for (idx = 0; idx < num_of_vf_desired_vf_chains; idx++)
912 starting_from = vf_info->vf_chains[idx].igu_sb_id = lm_pf_get_next_free_igu_block_id(pdev, starting_from);
917 lm_pf_acquire_vf_igu_block(pdev, starting_from, vf_info->abs_vf_id, idx);
920 num_of_vf_desired_vf_chains = idx;
924 for (idx = 0; idx < num_of_vf_desired_vf_chains; idx
[all...]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dcmi_hw.c326 int idx = CMI_MSRI_HASHIDX(hdl, msr); local
327 struct cmi_msri_bkt *hbp = &msrihash[idx];
362 int idx = CMI_MSRI_HASHIDX(hdl, msr); local
363 struct cmi_msri_bkt *hbp = &msrihash[idx];
396 int idx = CMI_MSRI_HASHIDX(hdl, msr); local
397 struct cmi_msri_bkt *hbp = &msrihash[idx];
474 int idx = CMI_PCII_HASHIDX(bus, dev, func, reg); local
475 struct cmi_pcii_bkt *hbp = &pciihash[idx];
517 int idx = CMI_PCII_HASHIDX(bus, dev, func, reg); local
518 struct cmi_pcii_bkt *hbp = &pciihash[idx];
539 int idx = CMI_PCII_HASHIDX(bus, dev, func, reg); local
[all...]
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_iter.c101 uu_avl_index_t idx; local
107 &idx) == NULL) {
122 uu_avl_insert(cb->cb_avl, node, idx);
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Dmcdi_mon.c177 uint32_t idx = 0; local
216 idx++;
237 EFSYS_MEM_READD(esmp, 4 * (idx - 1), &dword);
/illumos-gate/usr/src/uts/common/io/iwn/
H A Dif_iwn.c2776 int len, idx = -1; local
2793 idx = 0;
2796 idx = 1;
2799 idx = 2;
2804 idx = 3;
2807 idx = 4;
2810 if (idx == -1) /* Ignore other results. */
2814 if (sc->calibcmd[idx].buf != NULL)
2815 kmem_free(sc->calibcmd[idx].buf, sc->calibcmd[idx]
3404 iwn4965_update_sched(struct iwn_softc *sc, int qid, int idx, uint8_t id, uint16_t len) argument
3423 iwn5000_update_sched(struct iwn_softc *sc, int qid, int idx, uint8_t id, uint16_t len) argument
3442 iwn5000_reset_sched(struct iwn_softc *sc, int qid, int idx) argument
4738 int maxchpwr, pwr, ridx, idx; local
6401 int idx, error; local
[all...]
/illumos-gate/usr/src/lib/scsi/libses/common/
H A Dses_snap.c698 uint32_t idx = (id & 0xFFFFFFFF); local
705 if (idx >= sp->ss_n_nodes) {
723 if (sp->ss_nodes[idx] == NULL)
726 return (sp->ss_nodes[idx]);
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/lib/fruaccess/
H A Dpiclsmc.c453 int i, idx = length - (length % 3); local
460 if (i == idx && extra_bytes == 0) {
469 if (i == idx && extra_bytes == 1) {
483 if (i == idx) {

Completed in 134 milliseconds

<<11121314151617181920>>