Home
last modified time | relevance | path

Searched refs:malloc (Results 1 – 25 of 375) sorted by relevance

12345678910>>...15

/rk3399_rockchip-uboot/arch/arm/cpu/armv8/fsl-layerscape/
H A Dppa.c91 fitp = malloc(roundup(fdt_header_len, 512)); in ppa_init()
118 ppa_hdr_ddr = malloc(CONFIG_LS_PPA_ESBC_HDR_SIZE); in ppa_init()
141 ppa_fit_addr = malloc(fw_length); in ppa_init()
183 ppa_hdr_ddr = malloc(CONFIG_LS_PPA_ESBC_HDR_SIZE); in ppa_init()
207 ppa_fit_addr = malloc(fw_length); in ppa_init()
/rk3399_rockchip-uboot/lib/zlib/
H A Dzutil.c50 extern voidp malloc OF((uInt size));
60 return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) : in zcalloc()
/rk3399_rockchip-uboot/env/
H A Dattr.c55 entry_cpy = malloc(entry_len + 1); in env_attr_walk()
71 entry_cpy = malloc(entry_len + 1); in env_attr_walk()
139 cbp->regex = malloc(strlen(regex) + 1); in regex_callback()
148 cbp->attributes = malloc(strlen(attributes) + 1); in regex_callback()
/rk3399_rockchip-uboot/lib/rsa/
H A Drsa-verify.c110 rsa_key.n = malloc(key_len); in rsa_mod_exp_hw()
111 rsa_key.e = malloc(key_len); in rsa_mod_exp_hw()
112 rsa_key.c = malloc(key_len); in rsa_mod_exp_hw()
128 char *rsa_key_data = malloc(3 * key_len); in rsa_mod_exp_hw()
231 tmp = malloc(hash_len); in mask_generation_function1()
309 masked_db = malloc(masked_db_len); in padding_pss_verify()
310 h = malloc(h_len); in padding_pss_verify()
311 db_mask = malloc(db_mask_len); in padding_pss_verify()
312 db = malloc(db_len); in padding_pss_verify()
313 salt = malloc(salt_len); in padding_pss_verify()
[all …]
/rk3399_rockchip-uboot/cmd/
H A Dbootmenu.c259 menu = malloc(sizeof(struct bootmenu_data)); in bootmenu_create()
274 entry = malloc(sizeof(struct bootmenu_entry)); in bootmenu_create()
279 entry->title = malloc(len + 1); in bootmenu_create()
288 entry->command = malloc(len + 1); in bootmenu_create()
317 entry = malloc(sizeof(struct bootmenu_entry)); in bootmenu_create()
H A Dconfig.c20 dst = malloc(data_size + 1); in do_config()
H A Dlicense.c21 dst = malloc(data_size + 1); in do_license()
H A Drng.c28 buf = malloc(n); in do_rng()
/rk3399_rockchip-uboot/doc/SPL/
H A DREADME.omap340 0x80208000 - 0x80307FFF: malloc() pool available to SPL.
47 0x87080000 - 0x870FFFFF: malloc() pool available to SPL.
52 only vary in where the BSS and malloc pool reside.
/rk3399_rockchip-uboot/drivers/crypto/fsl/
H A Dfsl_blob.c22 desc = malloc(sizeof(int) * MAX_CAAM_DESCSIZE); in blob_decap()
50 desc = malloc(sizeof(int) * MAX_CAAM_DESCSIZE); in blob_encap()
/rk3399_rockchip-uboot/examples/api/
H A Dlibgenwrap.c40 void *malloc (size_t len) in malloc() function
/rk3399_rockchip-uboot/arch/x86/lib/
H A Dcmd_boot.c38 argv_tmp = malloc(sizeof(char *) * (argc + 1)); in do_go_exec()
/rk3399_rockchip-uboot/common/
H A Dexports.c28 gd->jt = malloc(sizeof(struct jt_funcs)); in jumptable_init()
H A Ddlmalloc.src1 /* ---------- To make a malloc.h, start cutting here ------------ */
4 A version of malloc/free/realloc written by Doug Lea and released to the
10 Note: There may be an updated version of this malloc obtainable at
11 ftp://g.oswego.edu/pub/misc/malloc.c
14 * Why use this malloc?
17 most tunable malloc ever written. However it is among the fastest
21 http://g.oswego.edu/dl/html/malloc.html
27 malloc(size_t n);
36 the same as p. If p is null, equivalent to malloc. Unless the
97 Even a request for zero bytes (i.e., malloc(0)) returns a
[all …]
/rk3399_rockchip-uboot/include/
H A D_exports.h25 EXPORT_FUNC(malloc, void *, malloc, size_t)
H A Dmalloc.h865 #pragma weak malloc = __libc_malloc macro
876 #define malloc malloc_simple macro
898 # define smp_mALLOc malloc
908 # define mALLOc malloc
/rk3399_rockchip-uboot/board/gdsys/a38x/
H A Dkeyprogram.c49 *result = (u8 *)malloc(bytes); in decode_hexstr()
86 *result = malloc(sizeof(struct key_program) + code_size); in extract_subprogram()
/rk3399_rockchip-uboot/drivers/net/phy/
H A Dcortina.c141 addr = malloc(CONFIG_CORTINA_FW_LENGTH); in cs4340_upload_firmware()
153 addr = malloc(CONFIG_CORTINA_FW_LENGTH); in cs4340_upload_firmware()
174 addr = malloc(CONFIG_CORTINA_FW_LENGTH); in cs4340_upload_firmware()
/rk3399_rockchip-uboot/drivers/spi/
H A Dspi.c29 ptr = malloc(size); in spi_do_alloc_slave()
/rk3399_rockchip-uboot/drivers/mmc/
H A Dbcmstb_sdhci.c49 host = (struct sdhci_host *)malloc(sizeof(struct sdhci_host)); in bcmstb_sdhci_init()
/rk3399_rockchip-uboot/board/gdsys/p1022/
H A Dsdhc_boot.c41 tmp_buf = malloc(blklen); in mmc_get_env_addr()
/rk3399_rockchip-uboot/test/overlay/
H A Dcmd_ut_overlay.c237 fdt_base_copy = malloc(FDT_COPY_SIZE); in do_ut_overlay()
242 fdt_overlay_copy = malloc(FDT_COPY_SIZE); in do_ut_overlay()
246 fdt_overlay_stacked_copy = malloc(FDT_COPY_SIZE); in do_ut_overlay()
/rk3399_rockchip-uboot/fs/zfs/
H A Dzfs.c463 zio_gb = malloc(SPA_GANGBLOCKSIZE); in zio_read_gang()
590 compbuf = malloc(psize); in zio_read()
594 compbuf = *buf = malloc(lsize); in zio_read()
605 *buf = malloc(lsize); in zio_read()
640 bp = malloc(sizeof(blkptr_t)); in dmu_read()
657 *buf = malloc(size); in dmu_read()
1003 buf = malloc(zfs_to_cpu16(le->le_name_length, endian) in fzap_iterate()
1147 data->dnode_mdn = malloc(sizeof(*mdn)); in dnode_get()
1188 dn_new = malloc(sizeof(*dn_new)); in dnode_get_path()
1269 dn_new = malloc(sizeof(*dn_new)); in dnode_get_path()
[all …]
/rk3399_rockchip-uboot/drivers/core/
H A Dregmap.c25 map = malloc(sizeof(struct regmap)); in regmap_alloc_count()
31 map->range = malloc(count * sizeof(struct regmap_range)); in regmap_alloc_count()
/rk3399_rockchip-uboot/drivers/fpga/
H A Divm_core.c430 g_pucInData = (unsigned char *) malloc(usSize / 8 + 2); in ispVMMemManager()
442 g_pucOutData = (unsigned char *) malloc(usSize / 8 + 2); in ispVMMemManager()
454 g_pucOutMaskData = (unsigned char *) malloc(usSize / 8 + 2); in ispVMMemManager()
462 g_pucHIRData = (unsigned char *) malloc(usSize / 8 + 2); in ispVMMemManager()
469 g_pucTIRData = (unsigned char *) malloc(usSize / 8 + 2); in ispVMMemManager()
476 g_pucHDRData = (unsigned char *) malloc(usSize / 8 + 2); in ispVMMemManager()
483 g_pucTDRData = (unsigned char *) malloc(usSize / 8 + 2); in ispVMMemManager()
490 g_pucHeapMemory = (unsigned char *) malloc(usSize + 2); in ispVMMemManager()
501 g_pucOutDMaskData = (unsigned char *) malloc(usSize / 8 + 2); in ispVMMemManager()
509 g_pucIntelBuffer = (unsigned char *) malloc(usSize + 2); in ispVMMemManager()
[all …]

12345678910>>...15