Home
last modified time | relevance | path

Searched refs:nelem (Results 126 – 150 of 186) sorted by relevance

12345678

/illumos-gate/usr/src/uts/sun4v/io/
H A Dvlds.c1079 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 Dses_log_transport.c290 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 Dtopo_digraph.c773 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 Dmain.c928 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 Dneti_impl.c253 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 Dus3_cheetahplus.c1097 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 Dus3_common.c4328 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 Dmtmalloc.c331 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 Dptree.c759 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 Dcommon.c81 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 Ddbm.c178 info.nelem = 1;
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dinit.c790 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 Dio.c1315 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 Dfind_elf.c856 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 Dname.h180 #define array_elem(ap) ((ap)->nelem&ARRAY_MASK)
H A Dnval.h93 long nelem; /* number of elements */ member
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_list.c3426 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 Dldap-int.h608 #define NSLDAPI_CALLOC( nelem, elsize ) ldap_x_calloc( nelem, elsize ) argument
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_print.c798 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 Dmilter.c3367 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 Dpoolcfg.y1476 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 Dread.c251 ap->nelem++; in sh_readline()
254 ap->nelem--; in sh_readline()
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_retire.c81 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 Dfncs.c959 _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 Ddb_page.h89 u_int32_t nelem; /* 48-51: Number of keys in hash table */ member

12345678