Searched refs:malloc (Results 851 - 875 of 2509) sorted by relevance

<<31323334353637383940>>

/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dmain.c233 if ((active_ncp_tmp = malloc(NWAM_MAX_NAME_LEN)) == NULL ||
249 if ((scan_level_tmp = malloc(NWAM_MAX_NAME_LEN)) == NULL ||
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dref_subr.c69 str->utf8string_val = malloc(len);
105 sp = malloc(len + 1);
/illumos-gate/usr/src/cmd/fs.d/ufs/quotaon/
H A Dquotaon.c114 if ((listbuf = (char **)malloc(sizeof (char *) * CHUNK)) == NULL) {
176 *listp = malloc(strlen(vfsbuf.vfs_special) + 1);
/illumos-gate/usr/src/cmd/getfacl/
H A Dgetfacl.c132 if ((aclp = (aclent_t *)malloc(sizeof (aclent_t) * aclcnt))
282 buf = malloc(4);
/illumos-gate/usr/src/cmd/hal/hald/
H A Dids.c299 pci_ids = malloc (pci_ids_len);
516 usb_ids = malloc (usb_ids_len);
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dipft_pc.c200 bufp = malloc(i);
234 bufp = malloc(i);
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dconfig.c228 ctrl_node_p = (ctrl_node_t *)malloc(sizeof (ctrl_node_t));
230 isnslog(LOG_DEBUG, "load_config", "malloc() failed.");
235 name = (char *)malloc(strlen(scf_name) + 1);
238 isnslog(LOG_DEBUG, "load_config", "malloc() failed.");
H A Dserver.c112 new_combined_pdu = (isns_pdu_t *)malloc(
286 conn = (conn_arg_t *)malloc(sizeof (conn_arg_t));
289 "malloc() failed.");
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Dkadm5_create.c163 n = (char *) malloc(strlen(name) + strlen(realm) + 2);
321 keysalt = malloc (sizeof (krb5_key_salt_tuple) * num_ks);
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Dperfcnt.c78 if ((new_list = malloc(sizeof (List))) == NULL) {
79 (void) printf("libperfcnt.so: malloc failed - "
223 char *ptr = malloc(sizeof (d_entry));
/illumos-gate/usr/src/cmd/sgs/mcs/common/
H A Dmain.c94 malloc(optbufsz * sizeof (struct action))) == NULL) {
316 if ((new = malloc(sizeof (S_Name))) == NULL) {
/illumos-gate/usr/src/cmd/sgs/tools/common/
H A Dalist.c117 if ((lp = malloc((size_t)bsize)) == NULL)
204 if ((lp = malloc((size_t)bsize)) == NULL)
/illumos-gate/usr/src/cmd/spell/
H A Dmalloc.c81 malloc(nbytes) function
157 * from malloc into the arena
195 /* realloc(p, nbytes) reallocates a block obtained from malloc()
196 * and freed since last call of malloc()
216 q = (union store *)malloc(nbytes);
/illumos-gate/usr/src/cmd/split/
H A Dsplit.c37 #include <malloc.h>
240 if ((fname = (char *)malloc(strlen(output_file_name) +
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Dkdc_util.c108 retdata = (krb5_authdata **)malloc((i+1)*sizeof(*retdata));
115 retdata[i] = (krb5_authdata *)malloc(sizeof(*retdata[i]));
122 (krb5_octet *)malloc(retdata[i]->length))) {
426 if ((*key = (krb5_keyblock *)malloc(sizeof **key))) {
558 s = malloc(d->length + 1);
603 if (!(trans = (char *) malloc(strlen(realm) + strlen(otrans) + 3))) {
1484 if ((salt->data = malloc(realm->length)) == NULL)
1490 if ((salt->data = malloc(salt->length)) == NULL)
/illumos-gate/usr/src/cmd/ldmad/
H A Dldma_device.c88 path = malloc(plen + 1);
229 nic = malloc(nlen + 1);
/illumos-gate/usr/src/cmd/lms/heci/
H A DHECIUnix.cpp131 version_response.data = (char *)malloc(version_response.size);
134 fprintf(stderr, "malloc failure.\n");
158 client_connect.data = (char *)malloc(client_connect.size);
161 fprintf(stderr, "malloc failure.\n");
/illumos-gate/usr/src/cmd/tail/
H A Dreverse.c195 if (enomem || (tl = malloc(sizeof (BF))) == NULL ||
196 (tl->l = malloc(BSZ)) == NULL) {
198 err(1, "malloc");
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dcopy_auth.c64 if (!(tmpad = (krb5_authdata *)malloc(sizeof(*tmpad))))
67 if (!(tmpad->contents = (krb5_octet *)malloc(inad->length))) {
/illumos-gate/usr/src/tools/cscope-fast/
H A Dinvlib.c134 if ((POST = (POSTING *)malloc(postsize)) == NULL) {
140 if ((SUPFING = malloc(supersize)) == NULL) {
147 if ((SUPINT = malloc(supintsize * sizeof (long))) == NULL) {
342 /* free all malloc'd memory */
653 if ((invcntl->logblk = malloc(invcntl->param.sizeblk)) == NULL) {
701 invcntl->iindex = malloc(invcntl->param.supsize + 16);
926 if ((item1 = (POSTING *)malloc(SETINC * sizeof (POSTING))) == NULL) {
933 if ((item2 = (POSTING *)malloc(SETINC * sizeof (POSTING))) == NULL) {
1190 if ((ptr = (POSTING *)malloc(i))r == NULL) {
/illumos-gate/usr/src/tools/protocmp/
H A Dlist.c47 list->list = (elem**)malloc(sizeof (elem *) * hsize);
204 new = (pkg_list *)malloc(sizeof (pkg_list));
/illumos-gate/usr/src/uts/common/zmod/
H A Dzutil.h105 # include <malloc.h>
126 #include <malloc.h>
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_policy.c310 if ((entry->policy = (char *) malloc(strlen(t->name) + 1)) == NULL) {
324 new = (kadm5_policy_ent_t) malloc(sizeof(kadm5_policy_ent_rec));
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_utils.c96 malloc(bl->ksize) : realloc(rkey->data, bl->ksize));
123 malloc(bl->dsize + 1) :
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_put.c94 malloc(t->bt_reclen) :
153 (void *)malloc(t->bt_reclen)) == NULL)

Completed in 1032 milliseconds

<<31323334353637383940>>