/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vlds.c | 1079 resp->added.nelem, resp->removed.nelem, resp->match_prev.nelem); in vlds_mdeg_cb() 1082 for (idx = 0; idx < resp->added.nelem; idx++) { in vlds_mdeg_cb() 1099 for (idx = 0; idx < resp->removed.nelem; idx++) { in vlds_mdeg_cb()
|
/illumos-gate/usr/src/cmd/fm/modules/common/ses-log-transport/ |
H A D | ses_log_transport.c | 290 uint_t nelem; in access_fmri() local 303 (void) nvpair_value_nvlist_array(nvp, &nvl_array, &nelem); in access_fmri() 309 for (i = 0; i < nelem; i++) { in access_fmri()
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_digraph.c | 773 uint_t nelem; in path_fmri_nvl2str() local 812 &nelem); in path_fmri_nvl2str() 820 for (uint_t i = 0; i < nelem; i++) { in path_fmri_nvl2str()
|
/illumos-gate/usr/src/cmd/auditreduce/ |
H A D | main.c | 928 a_calloc(int nelem, size_t size) in a_calloc() argument 932 if ((ptr = calloc((unsigned)nelem, size)) == NULL) { in a_calloc()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | neti_impl.c | 253 int nelem, net_ifaddr_t type[], void *storage) in net_getlifaddr() argument 262 nelem, type, storage)); in net_getlifaddr()
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | us3_cheetahplus.c | 1097 uint_t nelem; in cpu_payload_add_pcache() local 1121 nelem = sizeof (ch_pc_data_t) / sizeof (uint64_t) * ways_logged; in cpu_payload_add_pcache() 1123 DATA_TYPE_UINT64_ARRAY, nelem, (uint64_t *)pcdata, NULL); in cpu_payload_add_pcache()
|
H A D | us3_common.c | 4328 uint_t nelem; in cpu_payload_add_dcache() local 4360 nelem = sizeof (ch_dc_data_t) / sizeof (uint64_t) * ways_logged; in cpu_payload_add_dcache() 4362 DATA_TYPE_UINT64_ARRAY, nelem, (uint64_t *)dcdata, NULL); in cpu_payload_add_dcache() 4375 uint_t nelem; in cpu_payload_add_icache() local 4407 nelem = sizeof (ch_ic_data_t) / sizeof (uint64_t) * ways_logged; in cpu_payload_add_icache() 4409 DATA_TYPE_UINT64_ARRAY, nelem, (uint64_t *)icdata, NULL); in cpu_payload_add_icache() 4424 uint_t nelem; in cpu_payload_add_ecache() local 4452 nelem = sizeof (ch_ec_data_t) / in cpu_payload_add_ecache() 4455 DATA_TYPE_UINT64_ARRAY, nelem, in cpu_payload_add_ecache() 4479 nelem = sizeof (ch_ec_data_t) / in cpu_payload_add_ecache() [all …]
|
/illumos-gate/usr/src/lib/libmtmalloc/common/ |
H A D | mtmalloc.c | 331 calloc(size_t nelem, size_t bytes) in calloc() argument 336 if (nelem == 0 || bytes == 0) { in calloc() 339 size = nelem * bytes; in calloc() 342 if ((size / nelem) != bytes) { in calloc()
|
/illumos-gate/usr/src/cmd/ptools/ptree/ |
H A D | ptree.c | 759 xreallocarray(void *ptr, size_t nelem, size_t elsize) in xreallocarray() argument 761 void *p = reallocarray(ptr, nelem, elsize); in xreallocarray()
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | common.c | 81 static void *ldaptool_debug_calloc( size_t nelem, size_t elsize ); 2068 ldaptool_debug_calloc( size_t nelem, size_t elsize ) argument 2074 ldaptool_progname, nelem, elsize ); 2077 if (( p = ldaptool_debug_alloc( NULL, nelem * elsize )) != NULL ) { 2078 memset( p, 0, nelem * elsize );
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/ |
H A D | dbm.c | 178 info.nelem = 1;
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | init.c | 790 ap->nelem &= ~ARRAY_SCAN; in sh_setmatch() 792 ap->nelem++; in sh_setmatch() 798 ap->nelem--; in sh_setmatch() 805 ap->nelem = mp->nmatch = nmatch; in sh_setmatch() 824 ap->nelem = mp->nmatch; in sh_setmatch() 858 ap->nelem -= x; in sh_setmatch() 867 #define array_scan(np) ((nv_arrayptr(np)->nelem&ARRAY_SCAN))
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/ |
H A D | io.c | 1315 nslberi_calloc( size_t nelem, size_t elsize ) in nslberi_calloc() argument 1318 calloc( nelem, elsize ) : in nslberi_calloc() 1319 nslberi_memalloc_fns.lbermem_calloc( nelem, elsize )); in nslberi_calloc()
|
/illumos-gate/usr/src/tools/find_elf/ |
H A D | find_elf.c | 856 xcalloc(size_t nelem, size_t elsize) in xcalloc() argument 858 void *p = calloc(nelem, elsize); in xcalloc()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/ |
H A D | name.h | 180 #define array_elem(ap) ((ap)->nelem&ARRAY_MASK)
|
H A D | nval.h | 93 long nelem; /* number of elements */ member
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_list.c | 3426 int nelem, in list_ext_postprocess() argument 3438 if (*llpp == NULL || nelem < 0) { in list_ext_postprocess() 3442 if (nelem == 0) { in list_ext_postprocess() 3446 ldatap = calloc(nelem, sizeof (cfga_list_data_t)); in list_ext_postprocess() 3454 for (i = 0; i < nelem && tmplp != NULL; i++) { in list_ext_postprocess() 3459 if (i < nelem || tmplp != NULL) { in list_ext_postprocess() 3464 *nlistp = nelem; in list_ext_postprocess()
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | ldap-int.h | 608 #define NSLDAPI_CALLOC( nelem, elsize ) ldap_x_calloc( nelem, elsize ) argument
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_print.c | 798 int ret, nelem = -1; in cmd_array() local 822 nelem = argv[1].a_un.a_val; in cmd_array() 824 nelem = mdb_strtoull(argv[1].a_un.a_str); in cmd_array() 832 nelem = ar.mta_nelems; in cmd_array() 849 for (; nelem > 0; nelem--) { in cmd_array()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | milter.c | 3367 int elem, nelem; local 3380 nelem = 0; 3384 ++nelem; 3386 if (nelem == 0) 3390 s = (char **)malloc((nelem + 1) * (sizeof(*s))); 3394 for (i = 0, elem = 0; i < rlen && elem < nelem; i++) 3405 *pargc = nelem; 3409 for (elem = 0; elem < nelem; elem++)
|
/illumos-gate/usr/src/cmd/pools/poolcfg/ |
H A D | poolcfg.y | 1476 uint_t nelem; in get_cpu() local 1516 if ((components = pool_query_components(conf, &nelem, vals)) == in get_cpu() 1522 if (nelem != 1) { in get_cpu()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | read.c | 251 ap->nelem++; in sh_readline() 254 ap->nelem--; in sh_readline()
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_retire.c | 81 s_calloc(size_t nelem, size_t elsize, int fail) in s_calloc() argument 87 return (calloc(nelem, elsize)); in s_calloc()
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | fncs.c | 959 _Calloc(size_t nelem, size_t elsize, const char *file, int line) in _Calloc() argument 961 alloc_type ret = calloc(nelem, elsize); in _Calloc()
|
/illumos-gate/usr/src/cmd/sendmail/db/include/ |
H A D | db_page.h | 89 u_int32_t nelem; /* 48-51: Number of keys in hash table */ member
|