/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool_internal.c | 1301 uint_t nelem; in resource_by_sysid() local 1327 resources = pool_query_resources(conf, &nelem, props); in resource_by_sysid() 1663 uint_t nelem; in pool_validate_resource() local 1691 if ((rl = (pool_query_resources(conf, &nelem, pvals))) == NULL) in pool_validate_resource() 1694 for (i = 0; i < nelem; i++) { in pool_validate_resource() 1722 if ((rl = (pool_query_resources(dyn, &nelem, pvals))) == in pool_validate_resource() 1729 for (i = 0; i < nelem; i++) { in pool_validate_resource()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | init_sec_context.c | 1098 krb5_int32 nelem; local 1100 nelem = krb5_princ_size(context, princ1); 1101 if (nelem != krb5_princ_size(context, princ2)) 1114 if (nelem == 2) { 1327 krb5_int32 nelem, free_kt_ent=0; in get_instance_keytab() local 1356 nelem = krb5_princ_size(context, princ); in get_instance_keytab() 1357 if (nelem != 2) { in get_instance_keytab()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | name.c | 155 if(ap->nelem&ARRAY_UNDEF) in sh_envput() 955 ap->nelem = dim; in nv_create() 975 ap->nelem++; in nv_create() 1558 ap->nelem |= ARRAY_TREE; in nv_open() 1562 ap->nelem -= 1; in nv_open() 3059 ap->nelem++; in nv_newattr() 3098 ap->nelem |= ARRAY_SCAN; in nv_newattr() 3122 ap->nelem--; in nv_newattr() 3317 ap->nelem++; in nv_rename() 3348 ap->nelem++; in nv_rename() [all …]
|
H A D | nvtype.c | 220 if((ap = nv_arrayptr(nq)) && !(ap->nelem&ARRAY_UNDEF) && (sub= nv_getsub(nq))) in name_chtype() 459 ap->nelem--; in clone_type() 570 if(nv_isarray(np) && (ap=nv_arrayptr(np)) && ap->nelem>0) in put_type() 576 ap->nelem |= ARRAY_UNDEF; in put_type() 592 if(ap && (ap->nelem&ARRAY_UNDEF)) in next_type() 1319 int nelem=0,subshell=shp->subshell; in nv_settype() local 1330 if((ap=nv_arrayptr(np)) && ap->nelem>0) in nv_settype() 1352 nelem = 1; in nv_settype() 1385 if(nelem) in nv_settype() 1387 ap->nelem++; in nv_settype() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/ |
H A D | db.h | 139 u_int nelem; /* number of elements */ member
|
/illumos-gate/usr/src/uts/common/ipp/meters/ |
H A D | tokenmtddi.c | 132 uint_t nelem = 64; in tokenmt_create_action() local 298 TOKENMT_COLOUR_MAP, &colour_tbl, &nelem)) == 0) { in tokenmt_create_action() 397 uint_t nelem = 64; in tokenmt_modify_action() local 569 &colour_tbl, &nelem) == 0) { in tokenmt_modify_action()
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip_subr.c | 113 uint_t nelem; in nvprop_add() local 115 if (nvpair_value_uint32_array(nvp, &arrp, &nelem) == 0 && in nvprop_add() 116 nelem > 0 && topo_prop_set_uint32_array(node, pgname, pname, in nvprop_add() 117 TOPO_PROP_IMMUTABLE, arrp, nelem, &err) == 0) in nvprop_add()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_scsi.h | 387 ldata_list_t **llpp, int *nelem, char **errstring); 388 scfga_ret_t list_ext_postprocess(ldata_list_t **llpp, int nelem,
|
/illumos-gate/usr/src/cmd/prtvtoc/ |
H A D | prtvtoc.c | 744 safe_calloc(const char *fname, size_t nelem, size_t elsize) in safe_calloc() argument 748 if ((r = calloc(nelem, elsize)) == NULL) { in safe_calloc() 749 memory_err(nelem * elsize, errno, fname); in safe_calloc()
|
/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_create.c | 116 int nelem; in be_init() local 148 nelem = 0; in be_init() 151 BE_ATTR_FS_NAMES, DATA_TYPE_STRING_ARRAY, &fs_names, &nelem, in be_init() 157 if (nelem != fs_num) { in be_init() 159 "does not match FS_NUM (%d)\n"), nelem, fs_num); in be_init() 164 nelem = 0; in be_init() 168 &nelem, NULL) != 0) { in be_init() 173 if (nelem != shared_fs_num) { in be_init()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_fp.h | 471 ldata_list_t **ldatalistp, int *nelem, char **errstring); 474 fpcfga_ret_t list_ext_postprocess(ldata_list_t **ldatalistp, int nelem,
|
/illumos-gate/usr/src/tools/ndrgen/ |
H A D | ndr_lex.c | 450 ndr_alloc(size_t nelem, size_t elsize) in ndr_alloc() argument 454 if ((p = calloc(nelem, elsize)) == NULL) { in ndr_alloc()
|
H A D | ndrgen.h | 201 extern void * ndr_alloc(size_t nelem, size_t elsize);
|
/illumos-gate/usr/src/cmd/sendmail/libmilter/ |
H A D | engine.c | 1752 int elem, nelem; local 1754 nelem = 0; 1758 ++nelem; 1760 if (nelem == 0) 1764 s = (char **)malloc((nelem + 1) * (sizeof *s)); 1768 for (i = 0, elem = 0; i < len && elem < nelem; i++)
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | enm.c | 620 uint_t nelem; in nwamd_enm_check() local 688 &conditions, &nelem) != NWAM_SUCCESS) { in nwamd_enm_check() 695 conditions, nelem); in nwamd_enm_check()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | driver_lyr.c | 951 int i, nelem, pack_size; in i_pack_string_array() local 964 for (nelem = i = 0; i < prop_len; i++) in i_pack_string_array() 966 nelem++; in i_pack_string_array() 967 ASSERT(nelem >= 1); in i_pack_string_array() 974 strptr = (char *)&(str_array[nelem + 1]); in i_pack_string_array() 978 for (i = 0; i < nelem; i++) { in i_pack_string_array() 982 str_array[nelem] = NULL; in i_pack_string_array() 986 *nelemp = nelem; in i_pack_string_array() 2446 int nelem; in ldi_prop_lookup_string_array() local 2453 &str_array, &nelem) == 0) { in ldi_prop_lookup_string_array() [all …]
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_profile.c | 940 uint_t nelem; in sdev_process_profile() local 973 rv = nvpair_value_string_array(nvpair, &pair, &nelem); in sdev_process_profile() 979 ASSERT(nelem == 2); in sdev_process_profile() 983 rv = nvpair_value_string_array(nvpair, &pair, &nelem); in sdev_process_profile()
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | xdr.c | 644 xdr_vector(XDR *xdrs, char *basep, const uint_t nelem, in xdr_vector() argument 651 for (i = 0; i < nelem; i++) { in xdr_vector()
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ssldap/ |
H A D | clientinit.c | 196 ldapssl_calloc( int nelem, size_t elsize ) in ldapssl_calloc() argument 200 p = calloc( nelem, elsize ); in ldapssl_calloc()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vnet_gen.c | 1822 "added(%x), updated(%x)\n", resp->removed.nelem, in vgen_mdeg_port_cb() 1823 resp->added.nelem, resp->match_curr.nelem); in vgen_mdeg_port_cb() 1866 for (idx = 0; idx < resp->added.nelem; idx++) { in vgen_mdeg_port_cb() 1906 " : prev matched %d", resp->added.nelem, resp->removed.nelem, in vgen_mdeg_cb() 1907 resp->match_curr.nelem, resp->match_prev.nelem); in vgen_mdeg_cb() 1924 if (resp->added.nelem != 0) { in vgen_mdeg_cb() 1926 if (resp->added.nelem != 1) { in vgen_mdeg_cb() 1929 resp->added.nelem); in vgen_mdeg_cb() 1936 } else if (resp->match_curr.nelem != 0) { in vgen_mdeg_cb() 1938 if (resp->match_curr.nelem != 1) { in vgen_mdeg_cb() [all …]
|
H A D | vldc.c | 372 resp->added.nelem, resp->removed.nelem, resp->match_prev.nelem); in i_vldc_mdeg_cb() 375 for (idx = 0; idx < resp->added.nelem; idx++) { in i_vldc_mdeg_cb() 389 for (idx = 0; idx < resp->removed.nelem; idx++) { in i_vldc_mdeg_cb()
|
/illumos-gate/usr/src/lib/libldap5/include/ldap/ |
H A D | solaris-int.h | 122 typedef void * (LDAP_C LDAP_CALLBACK LDAP_CALLOC_CALLBACK)( size_t nelem, 445 void *ldap_x_calloc( size_t nelem, size_t elsize );
|
/illumos-gate/usr/src/uts/common/ipp/ipgpc/ |
H A D | filters.c | 586 uint_t nelem = 4; /* an IPv6 address is an uint32_t array[4] */ in ipgpc_parse_filter() local 768 if (nvlist_lookup_uint32_array(nvlp, IPGPC_SADDR_MASK, &mask, &nelem) in ipgpc_parse_filter() 772 &nelem) == 0) { in ipgpc_parse_filter() 785 &nelem) != 0) { in ipgpc_parse_filter() 839 if (nvlist_lookup_uint32_array(nvlp, IPGPC_DADDR_MASK, &mask, &nelem) in ipgpc_parse_filter() 843 &nelem) == 0) { in ipgpc_parse_filter() 856 &nelem) != 0) { in ipgpc_parse_filter()
|
/illumos-gate/usr/src/cmd/fm/fmadm/common/ |
H A D | faulty.c | 711 uint_t nelem; in get_serial_no() local 725 FM_FMRI_MEM_SERIAL_ID, &lserial, &nelem) == 0) { in get_serial_no() 727 for (j = 1; j < nelem; j++) { in get_serial_no() 1605 uint_t nelem; in dfault_rec() local 1611 &diag_time, &nelem) == 0 && nelem >= 2) { in dfault_rec()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | typeset.c | 646 …_MINIMAL|NV_EXPORT) && (mp=(Namval_t*)np->nvenv) && (ap=nv_arrayptr(mp)) && (ap->nelem&ARRAY_TREE)) in setall() 648 else if((ap=nv_arrayptr(np)) && nv_aindex(np)>0 && ap->nelem==1 && nv_getval(np)==Empty) in setall() 650 ap->nelem++; in setall() 652 ap->nelem--; in setall() 693 ap->nelem |= ARRAY_TREE; in setall() 703 ap->nelem |= ARRAY_TREE; in setall()
|