/illumos-gate/usr/src/boot/libsa/zfs/ |
H A D | nvlist.c | 326 unsigned c = nelem; in xdr_array() 331 for (unsigned i = 0; i < nelem; i++) { in xdr_array() 402 unsigned type, nelem; in nvlist_xdr_nvp() local 412 nelem = nvp_data->nv_nelem; in nvlist_xdr_nvp() 430 for (unsigned i = 0; i < nelem; i++) { in nvlist_xdr_nvp() 1014 value_sz = nelem * sizeof (uint8_t); in get_value_size() 1038 for (i = 0; i < nelem; i++) { in get_value_size() 1093 value_sz = NV_ALIGN4(nelem); in get_nvp_data_size() 1113 for (i = 0; i < nelem; i++) { in get_nvp_data_size() 1154 uint32_t nelem, const void *data) in nvlist_add_common() argument [all …]
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/ |
H A D | util.c | 59 t->nelem = size; in create_stringtable() 81 if (t->used >= t->nelem) { in add_to_stringtable() 83 ((sizeof (char *)) * (t->nelem + TABLE_INCREMENT))))) in add_to_stringtable() 91 t->nelem += TABLE_INCREMENT; in add_to_stringtable() 92 for (i = t->used; i < t->nelem; ++i) { in add_to_stringtable() 153 t->used + 1, t->nelem, in print_stringtable() 154 sizeof (table_t) + (sizeof (char *) * t->nelem)); in print_stringtable()
|
H A D | util.h | 36 int nelem; member
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | util.c | 289 t->nelem = size; in create_string_table() 309 if (t->used >= t->nelem) { in add_string_table() 311 (char *)*(t->nelem+TABLE_INCREMENT))))) in add_string_table() 316 t->nelem += TABLE_INCREMENT; in add_string_table() 317 for (i = t->used; i < t->nelem; i++) { in add_string_table()
|
H A D | util.h | 36 int nelem; member
|
/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/cmd/awk/ |
H A D | awk.h | 133 int nelem; /* elements in table right now */ member
|
H A D | run.c | 1730 u = ((Array *)x->sval)->nelem; in bltin()
|
H A D | tran.c | 220 ap->nelem = 0; in makesymtab() 246 tp->nelem--; in freesymtab() 250 if (tp->nelem != 0) { in freesymtab() 278 tp->nelem--; in freeelem() 303 tp->nelem++; in setsymtab() 304 if (tp->nelem > FULLTAB * tp->size) in setsymtab()
|
/illumos-gate/usr/src/cmd/backup/lib/ |
H A D | memutils.c | 52 xcalloc(nelem, size) in xcalloc() argument 53 size_t nelem; in xcalloc() 58 cp = calloc(nelem, size);
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 10129 s_calloc(size_t nelem, size_t sz) argument 10133 ptr = calloc(nelem, sz); 10136 nelem*sz);
|
/illumos-gate/usr/src/cmd/cfgadm/ |
H A D | cfgadm.c | 2274 size_t nelem, in config_calloc_check() argument 2282 p = calloc(nelem, elsize); in config_calloc_check() 2285 nelem, elsize); in config_calloc_check()
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_persist.c | 123 uint_t nelem = 0, cnt = 0; in ipmgmt_if_groupmembers_updater() local 130 &members, &nelem); in ipmgmt_if_groupmembers_updater() 143 while (nelem-- > 0) { in ipmgmt_if_groupmembers_updater() 185 uint_t nelem = 0; in ipmgmt_if_family_updater() local 189 &nelem)) != 0) in ipmgmt_if_family_updater() 200 uint_t nelem = 0, cnt; in ipmgmt_update_family_nvp() local 204 &families, &nelem); in ipmgmt_update_family_nvp() 222 assert(nelem == 1 || nelem == 2); in ipmgmt_update_family_nvp() 224 while (nelem-- > 0) { in ipmgmt_update_family_nvp() 1977 uint_t nelem = 0; in ipmgmt_persist_if_exists() local [all …]
|
/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()
|
H A D | loc.c | 256 uint_t nelem; in nwamd_loc_check() local 302 &conditions, &nelem) != NWAM_SUCCESS) { in nwamd_loc_check() 309 nelem); in nwamd_loc_check() 313 conditions, nelem); in nwamd_loc_check()
|
H A D | ncu_phys.c | 928 uint_t nelem, i; in bssid_match() local 936 if ((err = nwam_value_get_string_array(bssidsval, &bssids, &nelem)) in bssid_match() 941 for (i = 0; i < nelem; i++) { in bssid_match()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipmpstat/ |
H A D | ipmpstat.c | 796 uint_t nelem; in sfunc_probe_target() local 801 (uchar_t **)&target, &nelem) != 0) in sfunc_probe_target()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg.c | 520 array_free(void **array, int nelem) in array_free() argument 523 for (i = 0; i < nelem; i++) in array_free()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/wificonfig/ |
H A D | wificonfig.c | 525 safe_calloc(size_t nelem, size_t elsize) in safe_calloc() argument 529 buf = calloc(nelem, elsize); in safe_calloc()
|
/illumos-gate/usr/src/cmd/cpc/common/ |
H A D | setgrp.c | 56 int nelem; /* size of array */ member 136 sgrp->sets[sgrp->nelem].set = set; in cpc_setgrp_newset() 150 sgrp->sets[sgrp->nelem].picnums = emalloc(sgrp->sets[sgrp->nelem].nreqs in cpc_setgrp_newset() 153 sgrp->sets[sgrp->nelem].hdr = emalloc((sgrp->sets[sgrp->nelem].nreqs * in cpc_setgrp_newset() 172 sgrp->sets[sgrp->nelem].hdr[strlen(sgrp->sets[sgrp->nelem].hdr)] = '\0'; in cpc_setgrp_newset() 193 sgrp->nelem++; in cpc_setgrp_newset() 221 new->nelem = old->nelem; in cpc_setgrp_clone() 274 sgrp->nelem--; in cpc_setgrp_delset() 281 while (sgrp->nelem) in cpc_setgrp_free() 315 return (sgrp->nelem); in cpc_setgrp_numsets() [all …]
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | devfsadm.c | 8645 int nelem; in devfsadm_reserve_id_cache() local 8668 nelem = subex + 1; in devfsadm_reserve_id_cache() 8669 re_array[i].d_pmatch = s_malloc(sizeof (regmatch_t) * nelem); in devfsadm_reserve_id_cache()
|
/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/cmd/fm/fmd/common/ |
H A D | fmd_asru.c | 452 uint_t nelem; in fmd_asru_hash_recreate() local 505 &nelem) == 0 && nelem >= 2) in fmd_asru_hash_recreate()
|
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()
|
H A D | fmd_xprt.c | 705 uint_t nelem = 0; in fmd_xprt_event_updated() local 718 &nelem); in fmd_xprt_event_updated() 1123 &nelem); in fmd_xprt_list_suspect_local() 1230 &nelem); in fmd_xprt_list_suspect() 1242 if (nelem > 0) { in fmd_xprt_list_suspect() 1311 if (nelem > 0) { in fmd_xprt_list_suspect() 1325 if (nelem > 0) { in fmd_xprt_list_suspect() 1341 if (nelem > 0) { in fmd_xprt_list_suspect() 1420 &nelem); in fmd_xprt_list_suspect() 1441 if (nelem > 0) in fmd_xprt_list_suspect() [all …]
|