/osnet-11/usr/src/lib/libc/port/sys/ |
H A D | getpagesizes.c | 49 getpagesizes(size_t pagesize[], int nelem) argument 51 return (syscall(SYS_getpagesizes, 1, pagesize, nelem)); 55 getpagesizes2(size_t pagesize[], int nelem) argument 57 return (syscall(SYS_getpagesizes, 0, pagesize, nelem));
|
H A D | psetsys.c | 85 pset_getloadavg(psetid_t pset, double loadavg[], int nelem) argument 89 if (nelem > LOADAVG_NSTATS) 90 nelem = LOADAVG_NSTATS; 92 if (_pset(PSET_GETLOADAVG, pset, buf, nelem) == -1) 95 for (i = 0; i < nelem; i++) 98 return (nelem);
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | getloadavg.c | 40 getloadavg(double loadavg[], int nelem) argument 42 extern int __getloadavg(int *buf, int nelem); 46 if (nelem > LOADAVG_NSTATS) 47 nelem = LOADAVG_NSTATS; 49 if ((nelem = __getloadavg(buf, nelem)) == -1) 52 for (i = 0; i < nelem; i++) 55 return (nelem);
|
/osnet-11/usr/src/grub/grub2/grub-core/lib/posix_wrap/ |
H A D | stdlib.h | 38 calloc (grub_size_t size, grub_size_t nelem) argument 40 return grub_zalloc (size * nelem);
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | pr_to_salt.c | 46 krb5_int32 nelem; local 55 nelem = krb5_princ_size(context, pr); 60 for (i = 0; i < (int) nelem; i++) 72 for (i = 0; i < (int) nelem; i++) {
|
H A D | princ_comp.c | 88 krb5_int32 nelem; local 107 nelem = krb5_princ_size(context, princ1); 108 if (nelem != krb5_princ_size(context, princ2)) 115 for (i = 0; i < (int) nelem; i++) {
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | xdr_array.c | 135 xdr_vector(XDR *xdrs, char *basep, const uint_t nelem, argument 142 for (i = 0; i < nelem; i++) {
|
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_string.c | 56 topo_hdl_strfreevn(topo_hdl_t *thp, char **v, uint_t nelem) argument 63 for (i = 0; i < nelem; i++) 66 topo_hdl_free(thp, v, sizeof (char *) * nelem); 82 topo_mod_strfreevn(topo_mod_t *mod, char **v, uint_t nelem) argument 84 topo_hdl_strfreevn(mod->tm_hdl, v, nelem);
|
/osnet-11/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | mp_utils.c | 181 uint_t nelem = 0; local 391 nelem = 1; 397 DDI_INSTANCE, &instance, &nelem); 401 nelem); 404 DDI_DRIVER_MAJOR, &major, &nelem); 408 nelem); 420 nelem = 1; 424 nelem = 0; 430 &val, &nelem); 434 nelem); [all...] |
/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_fp.c | 212 int fca, expand, nelem; local 293 nelem = 0; 296 ret = do_list_FCP_dev(ap_id, fp_flags, cmd, &ldatalistp, &nelem, 312 ret = do_list(&apidt, cmd, &ldatalistp, &nelem, errstring); 323 if (list_ext_postprocess(&ldatalistp, nelem, ap_id_list, nlistp, 328 assert(*ap_id_list != NULL && *nlistp == nelem);
|
/osnet-11/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_scsi.c | 195 int hba, expand, nelem; local 255 nelem = 0; 257 ret = do_list(&apidt, cmd, &llp, &nelem, errstring); 264 if (list_ext_postprocess(&llp, nelem, ap_id_list, nlistp, 269 assert(*ap_id_list != NULL && *nlistp == nelem);
|
/osnet-11/usr/src/lib/libumem/common/ |
H A D | malloc.c | 113 calloc(size_t nelem, size_t elsize) argument 115 size_t size = nelem * elsize; 118 if (nelem > 0 && elsize > 0 && size/nelem != elsize) {
|
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | enum.c | 92 short nelem; member in struct:Enum 126 ep = newof(0,struct Enum,1,pp->nelem*sizeof(char*)); 127 memcpy((void*)ep,(void*)pp,sizeof(struct Enum)+pp->nelem*sizeof(char*)); 171 if(n < ep->nelem) 226 if(!(np = nv_open(cp, (void*)0, NV_VARNAME|NV_NOADD)) || !(ap=nv_arrayptr(np)) || ap->fun || (sz=ap->nelem&(((1L<<ARRAY_BITS)-1))) < 2) 246 ep->nelem = n;
|
/osnet-11/usr/src/lib/libpool/common/ |
H A D | pool_value.c | 295 uint_t nelem; local 310 if (nvpair_value_byte_array(pn, &dval_b, &nelem) != 0) {
|
/osnet-11/usr/src/lib/libiov/common/ |
H A D | libiov.c | 160 uint_t nelem; local 207 err = nvpair_value_nvlist_array(nvp, &nvl_array, &nelem); 210 for (i = 0; i < nelem; i++) {
|
/osnet-11/usr/src/lib/fm/libfmevent/common/ |
H A D | fmev_evaccess.c | 74 uint_t nelem; local 99 &nelem) != 0 || nelem != 2) {
|
H A D | fmev_publish.c | 214 int err, nelem; local 224 nelem = va_arg(ap, int); 226 va_arg(ap, uchar_t *), nelem); 233 nelem = va_arg(ap, int); 235 va_arg(ap, boolean_t *), nelem); 242 nelem = va_arg(ap, int); 244 va_arg(ap, int8_t *), nelem); 251 nelem = va_arg(ap, int); 253 va_arg(ap, uint8_t *), nelem); 260 nelem [all...] |
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/ |
H A D | hash.c | 215 init_htab(hashp, info && info->nelem ? info->nelem : 1)) 324 int32_t nelem; local 326 nelem = 1; 375 init_htab(hashp, nelem) 377 int32_t nelem; 386 nelem = (nelem - 1) / hashp->hdr.ffactor + 1; 388 l2 = __log2(MAX(nelem, 2));
|
/osnet-11/usr/src/lib/libc/port/aio/ |
H A D | aio_alloc.c | 99 int nelem; local 112 nelem = (chunksize - sizeof (chunk_t)) / sizeof (aio_worker_t); 113 for (i = 0, aiowp = worker_freelist; i < nelem; i++, aiowp++) 169 int nelem; local 182 nelem = (chunksize - sizeof (chunk_t)) / sizeof (aio_req_t); 183 for (i = 0, reqp = _aio_freelist; i < nelem; i++, reqp++) { 189 _aio_freelist_cnt = nelem; 245 int nelem; local 258 nelem = (chunksize - sizeof (chunk_t)) / sizeof (aio_lio_t); 259 for (i = 0, head = _lio_head_freelist; i < nelem; [all...] |
/osnet-11/usr/src/lib/scsi/plugins/ses/ses2/common/ |
H A D | ses2_pages.c | 318 ses2_ctl_len(uint_t nelem, int page, size_t datalen) argument 322 return (nelem * sizeof (ses2_elem_ctl_impl_t) + 356 ses2_stringout_len(uint_t nelem, int page, size_t datalen) argument 365 ses2_threshout_len(uint_t nelem, int page, size_t datalen) argument 369 return (nelem * sizeof (ses2_threshold_impl_t) + 399 ses2_substrout_len(uint_t nelem, int page, size_t datalen) argument 409 ses2_ucodeout_len(uint_t nelem, int page, size_t datalen) argument 449 ses2_subnickout_len(uint_t nelem, int page, size_t datalen) argument
|
/osnet-11/usr/src/lib/libproject/common/ |
H A D | setproject.c | 499 uint_t nelem; local 550 if ((pools = pool_query_pools(conf, &nelem, pvals)) == NULL) { 560 if (nelem != 1 ||
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | open.c | 779 ldap_x_calloc( size_t nelem, size_t elsize ) argument 782 calloc( nelem, elsize ) : 783 nsldapi_memalloc_fns.ldapmem_calloc( nelem, elsize ));
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/ssldap/ |
H A D | clientinit.c | 205 ldapssl_calloc( int nelem, size_t elsize ) argument 209 p = calloc( nelem, elsize );
|
/osnet-11/usr/src/lib/libnvpair/ |
H A D | libnvpair.c | 568 uint_t nelem; local 583 nelem = 0; 664 (void) nvpair_value_boolean_array(nvp, &val, &nelem); 665 ARENDER(pctl, boolean_array, nvl, name, val, nelem); 670 (void) nvpair_value_byte_array(nvp, &val, &nelem); 671 ARENDER(pctl, byte_array, nvl, name, val, nelem); 676 (void) nvpair_value_int8_array(nvp, &val, &nelem); 677 ARENDER(pctl, int8_array, nvl, name, val, nelem); 682 (void) nvpair_value_uint8_array(nvp, &val, &nelem); 683 ARENDER(pctl, uint8_array, nvl, name, val, nelem); [all...] |
/osnet-11/usr/src/lib/libdevinfo/ |
H A D | devinfo_retire.c | 81 s_calloc(size_t nelem, size_t elsize, int fail) argument 87 return (calloc(nelem, elsize));
|