Searched refs:malloc (Results 926 - 950 of 2509) sorted by relevance

<<31323334353637383940>>

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_scf.c558 if ((valstr = malloc(scf_val_len)) == NULL)
778 if ((scfpgbuf = malloc(scf_name_len)) == NULL)
845 if ((scfname = malloc(scf_name_len)) == NULL)
1057 if ((valstr = malloc(ILBD_MAX_VALUE_LEN)) == NULL)
1315 if ((prop_name = malloc(scf_name_len)) == NULL) {
1376 if ((pg_name = malloc(scf_name_len)) == NULL) {
1579 if ((scf_pgname = malloc(ILBD_MAX_NAME_LEN)) == NULL)
1634 if ((buf = malloc(scf_name_len)) == NULL)
1690 if ((buf = malloc(scf_name_len)) == NULL)
/illumos-gate/usr/src/cmd/modload/
H A Ddrvsubr.c1122 driver_aliases = malloc(driver_aliases_len);
1123 driver_classes = malloc(driver_classes_len);
1124 minor_perm = malloc(minor_perm_len);
1125 name_to_major = malloc(name_to_major_len);
1126 rem_name_to_major = malloc(rem_name_to_major_len);
1127 add_rem_lock = malloc(add_rem_lock_len);
1128 devfs_root = malloc(devfs_root_len);
1129 device_policy = malloc(device_policy_len);
1130 extra_privs = malloc(extra_privs_len);
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11SUNWExtensions.c158 slot_list = malloc(slotcount * sizeof (CK_SLOT_ID));
240 slot_list = malloc(slotcount * sizeof (CK_SLOT_ID));
530 template.pValue = malloc(template.ulValueLen);
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dkey_mgr.c326 ctx = (ENCR_DECR_CONTEXT *)malloc(sizeof (ENCR_DECR_CONTEXT));
418 ctx = (ENCR_DECR_CONTEXT *)malloc(sizeof (ENCR_DECR_CONTEXT));
434 data = (CK_BYTE *)malloc(data_len);
H A Dutility.c45 node = (DL_NODE *)malloc(sizeof (DL_NODE));
70 node = (DL_NODE *)malloc(sizeof (DL_NODE));
505 attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE) + data_len);
/illumos-gate/usr/src/lib/pyzfs/common/
H A Dioctl.c207 nvbuf = malloc(nvsz);
328 nvbuf = malloc(nvsz);
389 buf = malloc(bufsz);
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsrvsvc_sd.c381 if ((ace->se_sid = malloc(sid_size)) == NULL)
445 if ((sd->sd_owner = malloc(sid_size)) == NULL)
455 if ((sd->sd_group = malloc(sid_size)) == NULL)
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dthreads.c271 t = malloc(sizeof(*t));
291 t = malloc(sizeof(*t));
623 ptr = malloc (sizeof (k5_mutex_t));
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dkrb5ssp.c117 if ((blob = malloc(bloblen)) == NULL) {
118 DPRINT("malloc");
202 fn = "malloc checksum";
215 if ((tkt = malloc(outdata.length)) == NULL) {
217 fn = "malloc signing key";
412 ctx->ct_mackey = malloc(ctx->ct_mackeylen);
H A Dntlm.c400 utf8data = malloc(ulen + dlen + 1);
446 data = malloc(dlen);
667 if ((p = malloc(len)) == NULL)
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevfsinfo.c184 if ((prom_path = (char *)malloc(MAXVALSIZE)) == NULL)
207 if ((list[i] = (char *)malloc(len)) == NULL) {
256 if ((prom_path = (char *)malloc(MAXPATHLEN)) == NULL) {
326 if ((prom_path = (char *)malloc(MAXVALSIZE)) == NULL)
447 if ((prom_path = (char *)malloc(MAXVALSIZE)) == NULL) {
508 new_bootdev = (char *)malloc(strlen(opp->oprom_array)
891 if ((entry = (char *)malloc(strlen(bootdevice) + 1)) == NULL) {
1091 if ((full_path = (char *)malloc(len)) == NULL) {
1159 (char **)malloc((count + 1) * sizeof (char *)))
1240 malloc(sizeo
[all...]
/illumos-gate/usr/src/lib/libfru/libfru/
H A DPayloadReader.cc271 uint64_t *eData = (uint64_t *)malloc(sizeof (*eData));
293 = (unsigned char *)malloc(sizeof (uint64_t));
305 void *rc_data = malloc(calc_data_len);
/illumos-gate/usr/src/lib/libtnfctl/
H A Dkernel_int.c270 filterset = (int *) malloc((kstate.pidfilter_size + 1) *
278 ret_list = malloc(filterset[0] * sizeof (pid_t));
440 p->attr_string = malloc(probebuf.attrsize);
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dsetup.c148 if ((tp->_names = (char *) malloc(len + 1)) == (char *) 0)
192 if ((tp->_str_table = (char *) malloc(header.str_size)) == (char *) 0)
445 || (filename = (char *) malloc(path_max+1)) == (char *) 0) {
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dsetup.c193 if ((tp->_names = (char *) malloc(len + 1)) == NULL)
233 if ((tp->_str_table = (char *) malloc(header.str_size)) == NULL)
470 ((filename = (char *)malloc(PATH_MAX + 1)) == NULL)) {
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc.c460 new_node = malloc(sizeof (_svc_user_fd_node));
891 s = malloc(sizeof (struct svc_callout));
1000 s = malloc(sizeof (struct svc_callout));
1507 if ((msg = malloc(sizeof (struct rpc_msg))) == NULL)
1511 if ((req = malloc(sizeof (struct svc_req))) == NULL)
1515 if ((cred_area = malloc(2*MAX_AUTH_BYTES + RQCRED_SIZE)) == NULL)
1715 dc = malloc(sizeof (struct dupcache));
1731 dc->dc_hashtbl = malloc(dc->dc_buckets *
1849 *resp_buf = malloc(dr->dr_resp.len);
1852 "__svc_dupcache_check: malloc faile
[all...]
/illumos-gate/usr/src/lib/libilb/common/
H A Dilb_sg.c154 if ((tmp_rbuf = malloc(*rbufsz)) == NULL)
184 if ((tmp_rbuf = malloc(*rbufsz)) == NULL) {
415 if ((rbuf = malloc(rbufsz)) == NULL) {
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dpem_encode.c225 buf = malloc(PEM_BUFSIZE*8);
523 if ((nameB = malloc(i+9)) == NULL) {
535 if ((dataB = malloc(2048)) == NULL) {
H A Drdn_parser.c275 dst->Data = malloc(src->Length);
293 ava = (KMF_X509_TYPE_VALUE_PAIR*) malloc(
300 ava->value.Data = malloc(strlen(value));
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dopen.c105 if ( (mutexp = malloc( sizeof(LDAP_MUTEX_T) )) != NULL ) {
195 if ( (mutexp = malloc( sizeof(pthread_mutex_t) )) != NULL ) {
756 malloc( size ) :
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dpool_rcm.c153 if ((cpulist = malloc(num_cpus * sizeof (processorid_t))) == NULL) {
155 gettext("POOL: malloc failed: %s\n"), strerror(errno));
181 if ((errval = malloc((len + 1) * sizeof (char))) != NULL) {
254 if ((removed_list = malloc((old_total - new_total + 1) * sizeof (int)))
257 gettext("POOL: malloc failed: %s\n"), strerror(errno));
440 rcm_log_message(RCM_ERROR, gettext("POOL: get info(%s) malloc "
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/
H A Dksslcfg_create.c233 command = malloc(len);
350 if ((buf = malloc(max_fmri_len + 1)) == NULL)
577 if ((buf = malloc(len)) == NULL) {
/illumos-gate/usr/src/cmd/format/
H A Dcheckdev.c38 #include <malloc.h>
94 if ((st = (swaptbl_t *)malloc(num * sizeof (swapent_t) + sizeof (int)))
96 err_print("getswapentries: malloc failed.\n");
101 if ((swapent->ste_path = malloc(MAXPATHLEN)) == NULL) {
102 err_print("getswapentries: malloc failed.\n");
/illumos-gate/usr/src/cmd/sendmail/libsmdb/
H A Dsmdb1.c157 db1 = (SMDB_DB1_DATABASE *) malloc(sizeof(SMDB_DB1_DATABASE));
400 db1_cursor = (SMDB_DB1_CURSOR *) malloc(sizeof(SMDB_DB1_CURSOR));
404 cur = (SMDB_CURSOR *) malloc(sizeof(SMDB_CURSOR));
H A Dsmndbm.c81 db = (SMDB_DBM_DATABASE *) malloc(sizeof(SMDB_DBM_DATABASE));
442 dbm_cursor = (SMDB_DBM_CURSOR *) malloc(sizeof(SMDB_DBM_CURSOR));
447 cur = (SMDB_CURSOR*) malloc(sizeof(SMDB_CURSOR));

Completed in 389 milliseconds

<<31323334353637383940>>