Searched refs:malloc (Results 1101 - 1125 of 2509) sorted by relevance

<<41424344454647484950>>

/illumos-gate/usr/src/lib/libadutils/common/
H A Dadutils_threadfuncs.c125 mutexp = malloc(sizeof (pthread_mutex_t));
128 "adutils_mutex_alloc: malloc failed (%s)",
/illumos-gate/usr/src/lib/libast/common/disc/
H A Dsfdcfilter.c167 if(!(fi = (Filter_t*)malloc(sizeof(Filter_t))) )
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfmode.c143 if(!(array = (Sfio_t**)malloc(n*sizeof(Sfio_t*))) )
180 { if(!(rs = (Sfrsrv_t*)malloc(size+sizeof(Sfrsrv_t))))
227 if(!(p = f->proc = (Sfproc_t*)malloc(sizeof(Sfproc_t))) )
324 if((p->rdata = (uchar*)malloc(p->ndata)) )
/illumos-gate/usr/src/cmd/logadm/
H A Derr.c251 * err_malloc -- a malloc() with checks
258 void *retval = malloc(nbytes);
/illumos-gate/usr/src/cmd/lp/model/netpr/
H A Dtcp_misc.c57 tcpjob = (np_tcpjob_t *)malloc(sizeof (np_tcpjob_t));
/illumos-gate/usr/src/cmd/luxadm/
H A Dsetboot.c166 pio = (struct openpromio *)malloc(sizeof (struct openpromio) +
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dmntinfo.c42 #include <malloc.h>
628 if ((nfte->name = malloc(nfte->namlen+1)) == NULL) {
634 if ((nfte->fstype = malloc(strlen(fstype)+1)) == NULL) {
1032 if ((nfte->remote_name = malloc(strlen(remote_name)+1)) == NULL) {
/illumos-gate/usr/src/cmd/sgs/tools/common/
H A Dsgsmsg.c206 if ((buffer = malloc(LINE_MAX)) == 0) {
517 if ((buf = malloc(size)) == 0) {
566 if ((stbuf = malloc(stbufsize)) == 0) {
670 if ((token_buffer = malloc(LINE_MAX)) == 0) {
/illumos-gate/usr/src/head/
H A Dstdlib.h67 using std::malloc;
/illumos-gate/usr/src/cmd/boot/installboot/sparc/
H A Dinstallboot.c138 bblock->buf = malloc(buf_size);
220 bblock->buf = malloc(buf_size);
542 dest_bblock->buf = malloc(dest_bblock->buf_size);
898 update_str = malloc(strlen(optarg) + 1);
/illumos-gate/usr/src/boot/include/
H A Dstdlib.h98 void *malloc(size_t) __malloc_like __result_use_check __alloc_size(1);
/illumos-gate/usr/src/boot/lib/libstand/
H A Denvironment.c63 * malloc and ownership transferred to the environment.
91 ev = malloc(sizeof(struct env_var));
H A Dpkgfs.c317 tf->tf_cache = malloc(tf->tf_cachesz);
504 tf->tf_cache = malloc(sz);
620 pkg = malloc(sizeof(*pkg));
740 cur = malloc(sizeof(*cur));
/illumos-gate/usr/src/boot/sys/boot/common/
H A Disapnp.c200 str = malloc(large_len + 1);
/illumos-gate/usr/src/boot/sys/boot/common/linenoise/
H A Dlinenoise.c290 copy = malloc(len+1);
319 char *new = malloc(ab->len+len);
802 history = malloc(sizeof(char*)*history_max_len);
835 new = malloc(sizeof(char*)*len);
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/
H A Ddevicename.c110 idev = malloc(sizeof(struct disk_devdesc));
H A Duserboot_disk.c85 ud_info = malloc(sizeof(*ud_info) * userdisk_maxunit);
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_get_info.c51 * credp = malloc(sizeof (prcred_t) + (ngroups - 1) * sizeof (gid_t));
114 (rv = malloc(statb.st_size)) == NULL ||
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dpreauth2.c128 context = malloc(sizeof(*context));
133 context->modules = malloc(sizeof(context->modules[0]) * n_modules);
351 ktypes = malloc((*out_nktypes + 2) * sizeof(ktype));
380 pa_list = malloc((num_addition + 1) * sizeof(krb5_pa_data *));
393 pa_list = malloc((*out_pa_list_size + num_addition + 1)
439 ret = malloc(sizeof(krb5_data));
442 data = malloc(sizeof(krb5_enctype));
691 if ((pa = (krb5_pa_data *) malloc(sizeof(krb5_pa_data))) == NULL) {
1012 if ((pa = malloc(sizeof(krb5_pa_data))) == NULL)
1312 (char *)malloc(sr
[all...]
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlwlan.c288 wls = malloc(WLDP_BUFSIZE);
417 nodep = malloc(sizeof (attr_node_t));
614 wl_list = malloc(state.cs_count * sizeof (dladm_wlan_attr_t *));
781 ratesp = malloc(WLDP_BUFSIZE);
1157 if ((gbuf = malloc(MAX_BUF_LEN)) == NULL)
1435 es = malloc(WLDP_BUFSIZE);
1473 ie = malloc(len);
1664 command = malloc(size);
1739 if ((buf = malloc(max_fmri_len + 1)) == NULL)
1876 if ((buf = malloc(max_fmri_le
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc_vc.c494 cd = malloc(sizeof (struct cf_conn));
554 } else if ((svc_xdrs[fd] = malloc(sizeof (XDR))) == NULL) {
625 if ((cd = malloc(sizeof (struct cf_conn))) == NULL) {
879 e = malloc(sizeof (struct entry));
951 option = malloc(sizeof (struct opthdr) + sizeof (int));
952 option_ret = malloc(sizeof (struct opthdr) + sizeof (int));
998 if ((xprt->xp_rtaddr.buf = malloc(tcp->addr.len)) == NULL)
1005 malloc(xprt->xp_ltaddr.maxlen)) == NULL)
1015 malloc(xprt->xp_ltaddr.maxlen)) == NULL)
1031 xprt->xp_p2 = malloc(sizeo
[all...]
/illumos-gate/usr/src/lib/libidmap/common/
H A Didmap_cache.c818 new = malloc(sizeof (sid2uid_gid_t));
868 new = malloc(sizeof (pid2sid_winname_t));
930 new = malloc(sizeof (sid2uid_gid_t));
980 new = malloc(sizeof (pid2sid_winname_t));
1050 new = malloc(sizeof (sid2uid_gid_t));
1111 new = malloc(sizeof (pid2sid_winname_t));
1157 new = malloc(sizeof (pid2sid_winname_t));
1220 new = malloc(sizeof (winname2uid_gid_t));
1279 new = malloc(sizeof (pid2sid_winname_t));
1350 new = malloc(sizeo
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dutilities.c197 bufp = malloc((size_t)sblock.fs_bsize);
207 bp = (struct bufarea *)malloc(sizeof (struct bufarea));
214 bufp = malloc((size_t)sblock.fs_bsize);
1012 buffer = malloc((len + 1) * sizeof (char));
1313 if ((cleanbuf.b_un.b_buf = malloc(size)) == NULL)
1490 lfp = (struct lockfs *)malloc(sizeof (struct lockfs));
1696 rc = (struct shadowclients *)malloc(sizeof (*rc));
1698 errexit("newshadowclient: cannot malloc shadow client");
1702 rc->client = (fsck_ino_t *)malloc(sizeof (fsck_ino_t) *
1705 errexit("newshadowclient: cannot malloc clien
[all...]
/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A Dmp_utils.c404 val = (uint64_t *)malloc(sizeof (uint64_t));
436 val = (uint64_t *)malloc(sizeof (uint64_t));
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_ht.c81 * The handle and the table are are malloc'd using a single call, to
103 if ((ht = (HT_HANDLE *)malloc(msize)) == 0)
253 if ((item = malloc(msize)) == 0)

Completed in 144 milliseconds

<<41424344454647484950>>