Searched refs:malloc (Results 1351 - 1375 of 2509) sorted by relevance

<<51525354555657585960>>

/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_svc.c428 host_name = malloc(host_name_count * sizeof (char *));
518 /* been malloc'ed, do that. The array */
530 path_name = (char **)malloc(sz);
533 "statd: malloc failed\n");
/illumos-gate/usr/src/cmd/fs.d/ufs/repquota/
H A Drepquota.c111 if ((listbuf = malloc(sizeof (char *) * CHUNK)) == NULL) {
180 *listp = malloc(strlen(vfsbuf.vfs_special) + 1);
/illumos-gate/usr/src/cmd/hal/tools/
H A Dlshal.c265 devices = malloc (sizeof(struct Device) * num_devices);
635 show_device = malloc(strlen(UDI_BASE) + strlen(optarg) + 1);
/illumos-gate/usr/src/cmd/hal/utils/
H A Dcdutils.c228 bufp = (uchar_t *)malloc(buflen);
260 bufp = (uchar_t *)malloc(buflen);
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_rcm.c411 new_rsrcs = (char **)malloc(new_size);
588 entry = (info_entry_t *)malloc(sizeof (info_entry_t));
/illumos-gate/usr/src/cmd/intrstat/
H A Dintrstat.c405 if ((g_present = malloc(sizeof (processorid_t) * g_max_cpus)) == NULL)
410 g_pset_cpus = malloc(sizeof (processorid_t) * g_max_cpus);
/illumos-gate/usr/src/cmd/iscsid/
H A Discsid.c575 lun_list = (iscsi_lun_list_t *)malloc(sizeof (*lun_list));
603 lun_list = (iscsi_lun_list_t *)malloc(len);
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/
H A Dkeytab.c111 malloc(strlen("WRFILE:")+strlen(tmp)+1);
300 permitted_etypes = (krb5_key_salt_tuple *)malloc (
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Dkdb5_create.c248 pw_str = malloc(pw_size);
496 if ((entry.key_data=(krb5_key_data*)malloc(sizeof(krb5_key_data)))
H A Dkdb5_util.c246 cmd_argv = (char **) malloc(sizeof(char *)*argc);
264 db_name_tmp = malloc( strlen(global_params.dbname) + sizeof("dbname="));
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dmaps.c159 ptr = malloc(stbuf.st_size);
218 ptr = malloc(stbuf.st_size);
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dcache_a.out.c82 if ((libname = malloc(liblen + 1)) == 0)
419 dbdp = malloc(sizeof (struct dbd));
/illumos-gate/usr/src/cmd/stat/common/
H A Dacquire.c410 while ((ptr = malloc(size)) == NULL) {
414 fail(1, "malloc failed");
431 fail(1, "malloc failed");
453 if ((dst->ks_data = malloc(src->ks_data_size)) == NULL)
/illumos-gate/usr/src/cmd/kvmstat/
H A Dkvmstat.c166 if ((ksi = malloc(sizeof (kstat_instance_t))) == NULL)
260 if ((data = malloc(size)) == NULL)
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dmapping.c84 if ((ptr = (char *)malloc(len)) == NULL) { \
274 if (!(keyfilter = (char *)malloc(len))) {
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_change.c359 if ((info->str = malloc(
571 if ((op = malloc(sizeof (cleanup_op_t))) == NULL)
/illumos-gate/usr/src/cmd/ldmad/
H A Dldmad.c213 msg = malloc(msg_len);
442 agent = malloc(sizeof (ldma_agent_t));
/illumos-gate/usr/src/cmd/svc/svcadm/
H A Dsynch.c129 if ((value = malloc(value_sz)) == NULL)
470 (value = malloc(value_sz)) == NULL)
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dfixpath.c893 inst_release_path = (char *)malloc(len);
895 key = (char *)malloc(PATH_MAX);
/illumos-gate/usr/src/cmd/swap/
H A Dswap.c387 if ((st = malloc(num * sizeof (swapent_t) + sizeof (int)))
394 if ((path = malloc(num * MAXPATHLEN)) == NULL) {
/illumos-gate/usr/src/cmd/tput/
H A Dtput.c174 v = (char **)malloc(10 * sizeof (char *));
176 v[i] = (char *)malloc(32 * sizeof (char));
/illumos-gate/usr/src/cmd/tsol/tnctl/
H A Dtnctl.c278 hostname_p = malloc(strlen(hostname)+1);
601 sbuf = malloc(strlen(zonename) + sizeof (":ADMIN_LOW:0:") +
604 perror("malloc");
/illumos-gate/usr/src/ucblib/libdbm/
H A Ddbm.c41 #include <malloc.h>
238 Sentry.dptr = malloc(strlen(key.dptr)+1);
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dserver_init.c199 if (! (handle = (kadm5_server_handle_t) malloc(sizeof *handle)))
314 if (! (handle->lhandle = malloc(sizeof(*handle)))) {
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_pwd_policy.c246 *(policy) = (osa_policy_ent_t) malloc(sizeof(osa_policy_ent_rec));
415 entry = (osa_policy_ent_t) malloc(sizeof(osa_policy_ent_rec));

Completed in 245 milliseconds

<<51525354555657585960>>