Searched defs:idx (Results 51 - 75 of 143) sorted by relevance

123456

/osnet-11/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_hca.c178 int i, idx, fd; local
189 for (idx = 0; idx < MAX_HCAS; idx++) {
193 if (g_tavor_state[idx].uarpg_size == 0) {
197 if (idx == MAX_HCAS) {
204 for (i = 0; i < idx; i++) {
207 idx = i;
224 (void) dapl_os_strcpy(g_tavor_state[idx].hca_path, dev_path);
280 g_tavor_state[idx]
[all...]
H A Ddapl_tavor_ibtf_qp.c940 int idx, i; local
1043 idx = 0;
1049 (void) dapl_os_memcpy(&new_premature_events[idx],
1051 idx++;
1053 dapl_os_assert(srq_handle->srq_wq_numwqe - idx ==
1057 for (i = 0; i < resize_msg.srqr_real_size - idx; i++) {
1058 new_freepr_events[i] = idx + i;
1063 srq_handle->srq_freepr_num_events = resize_msg.srqr_real_size - idx;
1066 if (idx == 0) {
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_confmgr.c243 ParamIndexType idx; local
263 if (__s_api_get_profiletype(attr_name, &idx) < 0 &&
264 __s_api_get_versiontype(config_struct, attr_name, &idx) < 0) {
274 return (__ns_ldap_setParamValue(config_struct, idx, attr_val, errorp));
H A Dns_mapping.c61 const char *str, ns_hash_t *idx)
63 while (idx) {
64 if (idx->h_type == type &&
65 strcasecmp(service, idx->h_map->service) == 0 &&
66 strcasecmp(str, idx->h_map->orig) == 0) {
67 return (idx);
69 idx = idx->h_next;
82 ns_hash_t *idx, *hashp; local
89 idx
60 ns_scan_hash(ns_hashtype_t type, const char *service, const char *str, ns_hash_t *idx) argument
173 ns_hash_t *idx, *newp; local
[all...]
/osnet-11/usr/src/lib/fm/libfmd_snmp/common/
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);
H A Dproblem.c101 uu_avl_index_t idx; local
106 (void) uu_avl_find(problem_uuid_avl, key, NULL, &idx);
108 data = uu_avl_nearest_next(problem_uuid_avl, idx);
160 uu_avl_index_t idx; local
237 (void) uu_avl_find(problem_uuid_avl, data, NULL, &idx);
238 uu_avl_insert(problem_uuid_avl, data, idx);
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/
H A Dpi_walker.c784 uu_list_index_t idx; local
798 (void) uu_list_find(walker_list, wnp, NULL, &idx);
799 uu_list_insert(walker_list, wnp, idx);
817 uu_list_index_t idx; local
824 result = uu_list_find(walker_list, &search_criteria, NULL, &idx);
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dfnmatch_loop.c349 int32_t idx; local
379 idx = findidx (&cp);
380 if (idx != 0)
385 int len = weights[idx & 0xffffff];
391 && (idx >> 24) == (idx2 >> 24)
396 idx &= 0xffffff;
400 && (weights[idx + 1 + cnt]
473 int32_t idx; local
500 idx = 0;
518 idx
694 int32_t idx; local
[all...]
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dns8390.c740 int idx; local
748 for (idx = 0; (eth_nic_base = base[idx]) != 0; ++idx) {
797 if (base[idx] == 0) /* not found */
867 int idx; local
878 for (idx = 0; (eth_nic_base = probe_addrs[idx]) != 0; ++idx) {
/osnet-11/usr/src/lib/libc/port/gen/
H A Dgetopt_long.c309 const struct option *long_options, int *idx, int short_too,
443 if (idx)
444 *idx = match;
463 const struct option *long_options, int *idx, uint_t flags)
628 long_options, idx, short_too, flags);
673 idx, 0, flags);
308 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
462 getopt_internal(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx, uint_t flags) argument
H A Dnss_dbdefs.c337 int i, idx; local
378 idx = getXbyYdbopHASH[hval];
379 if ((idx & DBOP_HASH_TAG) != DBOP_HASH_TAG)
381 idx &= ~DBOP_HASH_TAG;
382 if (idx >= count)
384 hptr = &getXbyY_to_dbop[idx];
387 return (idx);
/osnet-11/usr/src/lib/libuutil/common/
H A Duu_avl.c493 uu_avl_insert(uu_avl_t *ap, void *elem, uu_avl_index_t idx) argument
502 (void *)ap, elem, (void *)idx);
506 (void *)ap, elem, (void *)idx);
510 (void *)ap, elem, (void *)idx);
512 if (!INDEX_VALID(ap, idx))
514 (void *)ap, elem, (void *)idx,
515 INDEX_CHECK(idx)? "outdated index" :
523 avl_insert(&ap->ua_tree, elem, INDEX_DECODE(idx));
527 uu_avl_nearest_next(uu_avl_t *ap, uu_avl_index_t idx) argument
529 if (ap->ua_debug && !INDEX_VALID(ap, idx))
537 uu_avl_nearest_prev(uu_avl_t *ap, uu_avl_index_t idx) argument
[all...]
H A Duu_list.c292 uu_list_insert(uu_list_t *lp, void *elem, uu_list_index_t idx) argument
296 np = INDEX_TO_NODE(idx);
301 if (!INDEX_VALID(lp, idx))
303 (void *)lp, elem, (void *)idx,
304 INDEX_CHECK(idx)? "outdated index" :
308 "index\n", (void *)lp, elem, (void *)idx);
348 uu_list_nearest_next(uu_list_t *lp, uu_list_index_t idx) argument
350 uu_list_node_impl_t *np = INDEX_TO_NODE(idx);
356 if (!INDEX_VALID(lp, idx))
358 (void *)lp, (void *)idx,
373 uu_list_nearest_prev(uu_list_t *lp, uu_list_index_t idx) argument
[all...]
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_graph.c322 size_t idx = zfs_graph_hash(zgp, dataset); local
325 for (zvp = zgp->zg_hash[idx]; zvp != NULL; zvp = zvp->zv_next) {
336 zvp->zv_next = zgp->zg_hash[idx];
338 zgp->zg_hash[idx] = zvp;
580 size_t *idx, zfs_vertex_t *zgv)
609 if (topo_sort(hdl, allowrecursion, result, idx,
618 if ((result[*idx] = zfs_alloc(hdl,
622 (void) strcpy(result[*idx], zgv->zv_dataset);
623 *idx += 1;
579 topo_sort(libzfs_handle_t *hdl, boolean_t allowrecursion, char **result, size_t *idx, zfs_vertex_t *zgv) argument
/osnet-11/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...]
/osnet-11/usr/src/lib/libshadowfs/common/
H A Dshadow_migrate.c92 shadow_read_fidlist(const char *root, int idx, size_t *count) argument
105 idx);
216 shadow_load_fidlist(shadow_handle_t *shp, shadow_hash_t *seen, int idx) argument
229 if ((fids = shadow_read_fidlist(shp->sh_mountpoint, idx,
/osnet-11/usr/src/lib/libntsvcs/common/
H A Dsvcctl_scm.c443 uu_avl_index_t idx; local
469 &mgr_ctx->mc_scf_max_fmri_len, &idx);
470 uu_avl_insert(mgr_ctx->mc_svcs, node, idx);
742 uu_avl_index_t idx; local
751 &mgr_ctx->mc_scf_max_fmri_len, &idx);
759 &mgr_ctx->mc_scf_max_fmri_len, &idx);
/osnet-11/usr/src/lib/libcpc/i386/
H A Devent_pentium.c409 int idx = getsubopt(&opts, tokens, &value); local
411 if (idx >= 0 && idx < ntokens) {
412 kv = &keyvals[idx];
418 if (idx == D_pic0) {
422 tokens[idx]);
427 } else if (idx == D_pic1) {
431 tokens[idx]);
437 } else if (idx == -1) {
465 if (idx >
[all...]
/osnet-11/usr/src/lib/libipadm/common/
H A Dipadm_cong.c106 uu_list_index_t idx; local
115 (void) uu_list_find(list, ent, NULL, &idx);
116 (void) uu_list_insert(list, ent, idx);
128 uu_list_index_t idx; local
142 (void) uu_list_find(list, ent, NULL, &idx);
143 (void) uu_list_insert(list, ent, idx);
/osnet-11/usr/src/lib/fm/libfmevent/common/
H A Dfmev_subscribe.c251 uu_avl_index_t idx; local
279 if (uu_avl_find(ihdl->sh_avl, sip, NULL, &idx) != NULL) {
318 uu_avl_insert(ihdl->sh_avl, sip, idx);
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/platform-mem/common/
H A Dmem_mdesc.c51 int idx, mdesc_dimm_count; local
69 for (idx = 0; idx < mdesc_dimm_count; idx++) {
71 if (md_get_prop_str(mdp, listp[idx], "nac", &unum) < 0)
73 if (md_get_prop_str(mdp, listp[idx], "serial#",
76 if (md_get_prop_str(mdp, listp[idx], "part#",
114 for (idx = 0; idx < mdesc_dimm_count; idx
259 int bc, idx, mdesc_dimm_count, mdesc_bank_count; local
[all...]
/osnet-11/usr/src/lib/krb5/kadm5/
H A Dalt_prof.c191 int idx; local
197 idx = 0;
199 while (values[idx])
200 idx++;
201 idx--;
203 valp = values[idx];
237 int idx; local
240 idx = 0;
242 for (idx=0; values[idx]; id
377 int idx; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/disk/
H A Dcryptodisk.c143 grub_uint8_t idx[GRUB_CRYPTODISK_GF_BYTES]; local
146 grub_memcpy (idx, iv, GRUB_CRYPTODISK_GF_BYTES);
147 sec->low_byte = (idx[GRUB_CRYPTODISK_GF_BYTES - 1]
150 idx[GRUB_CRYPTODISK_GF_BYTES - 1] &= ~(GF_PER_SECTOR (dev) - 1);
151 gf_mul_be (sec->low, dev->lrw_key, idx);
155 c = idx[GRUB_CRYPTODISK_GF_BYTES - 1] + GF_PER_SECTOR (dev);
160 idx[j]++;
161 if (idx[j] != 0)
165 idx[GRUB_CRYPTODISK_GF_BYTES - 1] = c;
166 gf_mul_be (sec->high, dev->lrw_key, idx);
376 grub_uint8_t idx[GRUB_CRYPTODISK_GF_BYTES]; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/
H A Drsa.c456 int idx;
459 for (idx=0; tbl[idx].name; idx++)
461 oneparm = gcry_sexp_find_token (deriveparms, tbl[idx].name, 0);
464 *tbl[idx].value = gcry_sexp_nth_mpi (oneparm, 1,
469 for (idx=0; tbl[idx].name; idx++)
470 if (!*tbl[idx]
455 int idx; local
[all...]
/osnet-11/usr/src/lib/libsqlite/src/
H A Dtest1.c923 int idx; local
930 if( Tcl_GetInt(interp, argv[2], &idx) ) return TCL_ERROR;
932 rc = sqlite_bind(vm, idx, 0, 0, 0);
934 rc = sqlite_bind(vm, idx, sqlite_static_bind_value, -1, 0);
936 rc = sqlite_bind(vm, idx, argv[3], -1, 1);

Completed in 60 milliseconds

123456