/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/ |
H A D | util.h | 36 int nelem; member
|
/illumos-gate/usr/src/lib/libcfgadm/common/ |
H A D | config_admin.c | 167 int nelem; member 1318 size_t nelem, in config_calloc_check() argument 1324 p = calloc(nelem, elsize); in config_calloc_check() 2363 if (i + alp->nelem > *lstatp->countp) { in realloc_data_ext() 2840 alp->nelem = 0; in stat_plugin_v2() 2861 if (alp->nelem == 1) { in stat_plugin_v2() 2887 for (i = 0; i < alp->nelem; i++) { in stat_plugin_v2() 2904 (*lstatp->countp) += alp->nelem; in stat_plugin_v2() 3052 int nelem; in get_cond_v2() local 3064 nelem = 0; in get_cond_v2() [all …]
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/ |
H A D | hash.c | 220 init_htab(hashp, info && info->nelem ? info->nelem : 1)) 375 init_htab(hashp, nelem) in init_htab() argument 377 int32_t nelem; 386 nelem = (nelem - 1) / hashp->hdr.ffactor + 1; 388 l2 = __log2(MAX(nelem, 2));
|
H A D | hsearch.c | 58 info.nelem = nel;
|
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool.c | 332 uint_t nelem; in pool_base_info() local 385 &nelem, NULL)) == NULL) { in pool_base_info() 389 for (i = 0; i < nelem; i++) { in pool_base_info() 425 if ((ps = pool_query_pools(conf, &nelem, NULL)) != in pool_base_info() 427 for (i = 0; i < nelem; i++) { in pool_base_info() 439 for (i = 0; i < nelem; i++) { in pool_base_info() 452 pool_elem_pool(pe), &nelem, NULL)) == NULL) in pool_base_info() 454 for (i = 0; i < nelem; i++) { in pool_base_info() 465 pool_elem_res(pe), &nelem, NULL)) != NULL) { in pool_base_info() 466 for (i = 0; i < nelem; i++) { in pool_base_info() [all …]
|
H A D | pool_kernel.c | 929 uint_t nelem; in pool_knl_export() local 998 if ((ps = pool_query_pools(conf, &nelem, NULL)) != NULL) { in pool_knl_export() 999 for (i = 0; i < nelem; i++) { in pool_knl_export() 1078 for (i = 0; i < nelem; i++) { in pool_knl_export() 1402 uint_t i, nelem; in pool_knl_remove() local 1407 for (i = 0; i < nelem; i++) { in pool_knl_remove() 1439 uint_t nelem = 0; in pool_knl_get_binding() local 1461 if (nelem != 1) { in pool_knl_get_binding() 1526 uint_t nelem = 0; in pool_knl_get_resource_binding() local 1548 if (nelem != 1) { in pool_knl_get_resource_binding() [all …]
|
H A D | pool_value.c | 293 uint_t nelem; in pool_value_from_nvpair() local 308 if (nvpair_value_byte_array(pn, &dval_b, &nelem) != 0) { in pool_value_from_nvpair()
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | cpupart.c | 1142 cpupart_get_loadavg(psetid_t psid, int *buf, int nelem) in cpupart_get_loadavg() argument 1147 ASSERT(nelem >= 0); in cpupart_get_loadavg() 1148 ASSERT(nelem <= LOADAVG_NSTATS); in cpupart_get_loadavg() 1154 for (i = 0; i < nelem; i++) in cpupart_get_loadavg() 1162 cpupart_list(psetid_t *list, uint_t nelem, int flag) in cpupart_list() argument 1175 if (numpart == nelem) in cpupart_list()
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | util.h | 36 int nelem; member
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | library.h | 43 void *mycalloc(size_t nelem, size_t size);
|
/illumos-gate/usr/src/uts/common/ipp/dscpmk/ |
H A D | dscpmkddi.c | 130 uint_t nelem = DSCPMK_ARRAY_COUNT; in dscpmk_create_action() local 170 &tbl, &nelem)) == 0) { in dscpmk_create_action() 264 uint_t nelem = DSCPMK_ARRAY_COUNT; in dscpmk_modify_action() local 322 &tbl, &nelem)) == 0) { in dscpmk_modify_action()
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_xml.c | 530 uint_t nelem; in prop_create() local 563 &nelem); in prop_create() 567 &nelem); in prop_create() 571 &nelem); in prop_create() 575 &nelem); in prop_create() 579 &nelem); in prop_create() 614 nelem, &err); in prop_create() 618 nelem, &err); in prop_create() 622 nelem, &err); in prop_create() 626 nelem, &err); in prop_create() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/pciex/ |
H A D | npe.c | 517 uint_t nelem; in npe_bus_map() local 545 DDI_PROP_DONTPASS, "reg", (int **)&pci_rp, &nelem) != in npe_bus_map() 552 nelem /= (sizeof (pci_regspec_t) / sizeof (int)); in npe_bus_map() 553 if (rnumber >= nelem) { in npe_bus_map() 682 "ecfg", &ecfginfo, &nelem) == DDI_PROP_SUCCESS) { in npe_bus_map() 684 if (nelem != 4 || in npe_bus_map()
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | mdeg.h | 86 int nelem; member
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_miscapi.c | 436 int nelem = 0; in kcf_walk_ntfylist() local 446 nelem++; in kcf_walk_ntfylist() 448 for (nep = ntfy_list_head; (nep != NULL && nelem); nep = nep->kn_next) { in kcf_walk_ntfylist() 449 nelem--; in kcf_walk_ntfylist()
|
/illumos-gate/usr/src/cmd/pools/poold/libjpool/ |
H A D | jpool.c | 622 uint_t nelem; in Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1pools() local 669 result = pool_query_pools((pool_conf_t *)(uintptr_t)jconf, &nelem, in Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1pools() 713 uint_t nelem; in Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1resources() local 759 result = pool_query_resources((pool_conf_t *)(uintptr_t)jconf, &nelem, in Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1resources() 778 uint_t nelem; in Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1components() local 824 result = pool_query_components((pool_conf_t *)(uintptr_t)jconf, &nelem, in Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1components() 1002 uint_t nelem; in Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1resource_1components() local 1050 (pool_resource_t *)(uintptr_t)jresource, &nelem, props); in Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1resource_1components() 1165 uint_t nelem; in Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1pool_1resources() local 1213 (pool_t *)(uintptr_t)jpool, &nelem, props); in Java_com_sun_solaris_service_pools_PoolInternal_pool_1query_1pool_1resources()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | nvtree.c | 310 if(ap && (ap->nelem&ARRAY_SCAN) && nv_nextsub(nq)) in nv_dirnext() 347 if(ap && (ap->nelem&ARRAY_UNDEF)) in nv_dirnext() 499 if((ap && (ap->nelem&ARRAY_TREE)) || (!ap && nv_isattr(np,NV_NOFREE))) in nv_attribute() 590 if(!(ap->nelem&ARRAY_SCAN)) in nv_outnode() 625 scan = ap->nelem&ARRAY_SCAN; in nv_outnode() 634 ap->nelem |= scan; in nv_outnode() 674 ap->nelem |= scan; in nv_outnode() 995 if(arp && !(arp->nelem&ARRAY_SCAN) && (subscript = nv_getsub(np))) in walk_tree()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_netinfo.c | 1226 size_t nelem, net_ifaddr_t type[], void *storage) in ip_getlifaddr() argument 1233 nelem, type, storage, ns->netstack_ip)); in ip_getlifaddr() 1241 size_t nelem, net_ifaddr_t type[], void *storage) in ipv6_getlifaddr() argument 1248 nelem, type, storage, ns->netstack_ip)); in ipv6_getlifaddr() 1257 lif_if_t ifdata, size_t nelem, net_ifaddr_t type[], in ip_getlifaddr_impl() argument 1277 for (i = 0; i < nelem; i++, sin++) { in ip_getlifaddr_impl() 1293 for (i = 0; i < nelem; i++, sin6++) { in ip_getlifaddr_impl() 1679 size_t nelem, net_ifaddr_t type[], void *storage) in net_no_getlifaddr() argument
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_protocol.c | 389 const char *uuid, uint8_t *statusp, uint8_t *has_asrup, uint_t nelem) in fmd_protocol_xprt_updated() argument 395 nelem); in fmd_protocol_xprt_updated() 398 has_asrup, nelem); in fmd_protocol_xprt_updated()
|
/illumos-gate/usr/src/cmd/sendmail/db/hash/ |
H A D | hash.c | 200 __ham_init_htab(dbc, nelem, ffactor) in __ham_init_htab() argument 202 u_int32_t nelem, ffactor; 220 if (nelem != 0 && hcp->hdr->ffactor != 0) { 221 nelem = (nelem - 1) / hcp->hdr->ffactor + 1; 222 l2 = __db_log2(nelem > 2 ? nelem : 2);
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/lmrc/ |
H A D | lmrc_raid.h | 334 uint32_t nelem = in lmrc_ld_id_get() local 337 if (tgtid >= nelem) in lmrc_ld_id_get()
|
/illumos-gate/usr/src/lib/libipadm/common/ |
H A D | ipadm_if.c | 254 uint_t nelem = 0; in i_ipadm_nvl2ifinfo() local 276 IPADM_NVP_FAMILIES, &families, &nelem) == 0) { in i_ipadm_nvl2ifinfo() 277 while (nelem-- > 0) { in i_ipadm_nvl2ifinfo() 278 if (families[nelem] == AF_INET) in i_ipadm_nvl2ifinfo() 280 else if (families[nelem] == AF_INET6) in i_ipadm_nvl2ifinfo() 314 uint_t nelem = 0; in i_ipadm_fill_pmembers() local 319 &members, &nelem) != 0) in i_ipadm_fill_pmembers() 322 while (nelem-- > 0) { in i_ipadm_fill_pmembers() 327 (void) strlcpy(ipmp_member->if_name, members[nelem], in i_ipadm_fill_pmembers()
|
/illumos-gate/usr/src/lib/libproject/common/ |
H A D | setproject.c | 469 uint_t nelem; in bind_to_pool() local 520 if ((pools = pool_query_pools(conf, &nelem, pvals)) == NULL) { in bind_to_pool() 530 if (nelem != 1 || in bind_to_pool()
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | open.c | 762 ldap_x_calloc( size_t nelem, size_t elsize ) in ldap_x_calloc() argument 765 calloc( nelem, elsize ) : in ldap_x_calloc() 766 nsldapi_memalloc_fns.ldapmem_calloc( nelem, elsize )); in ldap_x_calloc()
|
/illumos-gate/usr/src/cmd/lp/include/ |
H A D | lp.h | 526 #define Calloc(nelem, elsize) _Calloc(nelem, elsize, __FILE__, __LINE__) argument
|