Home
last modified time | relevance | path

Searched refs:malloc (Results 1 – 25 of 2594) sorted by last modified time

12345678910>>...104

/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_kmod.c186 if ((ioc = malloc(ioclen)) != NULL) { in smb_kmod_share()
211 if ((ioc = malloc(ioclen)) != NULL) { in smb_kmod_unshare()
313 if ((ioc = malloc(ioclen)) == NULL) { in smb_kmod_enum_init()
H A Dsmb_cfg.c255 char *ret = malloc(SMB_ENC_LEN); in smb_base64_encode()
313 char *ret = malloc(SMB_DEC_LEN); in smb_base64_decode()
380 if ((value = malloc(MAX_VALUE_BUFLEN * sizeof (char))) == NULL) in smb_config_getenv_generic()
/illumos-gate/usr/src/cmd/smbsrv/smbadm/
H A Dsmbadm.c1462 mname = (char **)malloc(argc * sizeof (char *)); in smbadm_group_addmember()
1518 mname = (char **)malloc(argc * sizeof (char *)); in smbadm_group_delmember()
1702 (void) malloc(0); /* satisfy libumem dependency */ in main()
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-library.man3c.inc64 link path=usr/share/man/man3c/alloca.3c target=malloc.3c
220 link path=usr/share/man/man3c/calloc.3c target=malloc.3c
411 link path=usr/share/man/man3c/free.3c target=malloc.3c
413 link path=usr/share/man/man3c/freezero.3c target=malloc.3c
676 file path=usr/share/man/man3c/malloc.3c
695 link path=usr/share/man/man3c/memalign.3c target=malloc.3c
1072 link path=usr/share/man/man3c/realloc.3c target=malloc.3c
1073 link path=usr/share/man/man3c/reallocarray.3c target=malloc.3c
1074 link path=usr/share/man/man3c/reallocf.3c target=malloc.3c
1077 link path=usr/share/man/man3c/recallocarray.3c target=malloc.3c
[all …]
/illumos-gate/usr/src/man/man3c/
H A DMakefile240 malloc.3c \
2030 alloca.3c := LINKSRC = malloc.3c
2031 calloc.3c := LINKSRC = malloc.3c
2032 free.3c := LINKSRC = malloc.3c
2033 freezero.3c := LINKSRC = malloc.3c
2034 memalign.3c := LINKSRC = malloc.3c
2035 realloc.3c := LINKSRC = malloc.3c
2036 reallocf.3c := LINKSRC = malloc.3c
2037 reallocarray.3c := LINKSRC = malloc.3c
2038 recallocarray.3c := LINKSRC = malloc.3c
[all …]
/illumos-gate/usr/src/lib/libc/port/
H A Dmapfile-vers54 # items and for the members of the malloc() family.
2479 malloc { FLAGS = NODIRECT; };
/illumos-gate/usr/src/boot/i386/libi386/
H A Dcomconsole.c157 tty = malloc(sizeof (*tty)); in comc_ini()
182 port = malloc(sizeof (*port)); in comc_ini()
/illumos-gate/usr/src/cmd/nvmeadm/
H A Dnvmeadm.c1277 if ((idnslist = malloc(NVME_IDENTIFY_BUFSIZE)) == NULL) { in do_identify_ctrl()
1314 if ((ctlist = malloc(NVME_IDENTIFY_BUFSIZE)) == NULL) { in do_identify_ctrl()
1422 if ((ctlist = malloc(NVME_IDENTIFY_BUFSIZE)) == NULL) { in do_identify_ns()
1454 if ((nsdesc = malloc(NVME_IDENTIFY_BUFSIZE)) == NULL) { in do_identify_ns()
1804 if ((buf = malloc(len)) == NULL) { in do_get_logpage_size()
1905 buf = malloc(toalloc); in do_get_logpage_common()
2281 data = malloc(datalen); in do_get_feat_common()
2395 buf = malloc(toalloc); in do_get_feat_temp_thresh()
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_values.c906 if ((string = malloc(NWAM_MAX_VALUE_LEN)) == NULL) in nwam_condition_to_condition_string()
/illumos-gate/usr/src/cmd/fm/fmdump/common/
H A Dfmdump.c260 struct timeval *tvp = malloc(sizeof (struct timeval)); in gettimeopt()
436 if ((value_regex = malloc(sizeof (regex_t))) == NULL) in setupnamevalue()
602 newp = malloc(sizeof (struct loglink)); in addlink()
604 str = malloc(len); in addlink()
1173 if ((logpath = malloc(PATH_MAX)) == NULL) in aggregate()
1430 if ((dest = malloc(PATH_MAX)) == NULL) in main()
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c550 if ((fsavl = malloc(sizeof (avl_tree_t))) == NULL) in fsavl_create()
569 if ((fn = malloc(sizeof (fsavl_node_t))) == NULL) { in fsavl_create()
3772 cp = malloc(len + 2); in zfs_receive_one()
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c3147 schild = malloc(rvd->vdev_children * sizeof (nvlist_t *)); in ztest_split_pool()
/illumos-gate/usr/src/cmd/zstreamdump/
H A Dzstreamdump.c75 void *rv = malloc(size); in safe_malloc()
/illumos-gate/usr/src/ucbcmd/expr/
H A Dexpr.y199 rv = malloc(16); in arith()
261 (void) strcpy(rv = malloc(8), ltoa(++i)); in index()
275 rv = malloc(8); in length()
285 (void) strcpy(rv=malloc(8), ltoa((long)ematch(s, p))); in match()
287 rv = malloc((unsigned) strlen(Mstring[0]) + 1); in match()
/illumos-gate/usr/src/test/nvme-tests/tests/ioctl/
H A Dbasic-identify.c50 if ((data = malloc(NVME_IDENTIFY_BUFSIZE)) == NULL) { in main()
/illumos-gate/usr/src/test/bhyve-tests/tests/vmm/
H A Ddatarw_constraints.c140 uint8_t *buf = malloc(bufsz); in test_vm_classes()
197 uint8_t *buf = malloc(bufsz); in test_vcpu_classes()
238 uint8_t *buf = malloc(bufsz); in test_bogus_class()
268 uint8_t *buf = malloc(bufsz); in test_vcpuid_combos()
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_config.c1088 if ((ret = malloc(len + 1)) == NULL) in stripdup()
1781 dp = (char *)malloc(len+1); in __ns_ldap_setParamValue()
1889 dp = (char *)malloc(len+1); in __ns_ldap_setParamValue()
2001 dp = (char *)malloc(len+1); in __ns_ldap_setParamValue()
2097 conf.ns_ppc[i] = (char *)malloc(j + 1); in __ns_ldap_setParamValue()
2113 conf.ns_ppc[i] = (char *)malloc(j + 1); in __ns_ldap_setParamValue()
2150 conf.ns_ppc[i] = (char *)malloc(j + 1); in __ns_ldap_setParamValue()
2166 conf.ns_ppc[i] = (char *)malloc(j + 1); in __ns_ldap_setParamValue()
2832 intptr = (int *)malloc(sizeof (int)); in dupParam()
2868 intptr = (int *)malloc(sizeof (int)); in dupParam()
/illumos-gate/usr/src/lib/libm/common/m9x/
H A D__fex_hdlr.c782 malloc(sizeof(fex_handler_t))) == NULL) { in __fex_get_thr_handlers()
/illumos-gate/usr/src/lib/libc/sparcv9/
H A DMakefile.com489 malloc.o \
/illumos-gate/usr/src/lib/libc/sparc/
H A DMakefile.com531 malloc.o \
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dflush.c315 if ((pkgp = malloc(sizeof (Pkg))) == NULL) { in _findiop()
1082 ops = malloc(sizeof (*ops)); in _xassoc()
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dmqueue.c482 if ((mqdp = (mqdes_t *)malloc(sizeof (mqdes_t))) == NULL) { in mq_open()
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dgettext_gnu.c208 charset = malloc(len + 1); in parse_header()
499 ptr = malloc(bufsize + sizeof (uint32_t)); in do_conv()
956 d_macro = malloc((size_t)num_of_d_macro * sizeof (gnu_d_macro_t)); in expand_macros()
1123 chunk = malloc(hash_mem_size + d_msgid_size + d_msgstr_size); in build_rev1_info()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dndbm.c167 if ((db = (DBM *)malloc(sizeof (*db))) == 0) { in dbm_open()
H A Dnlspath_checks.c501 ofmt = malloc(osz); in check_format()
512 nfmt = malloc(nsz); in check_format()

12345678910>>...104