Home
last modified time | relevance | path

Searched refs:zalloc (Results 1 – 18 of 18) sorted by relevance

/openbmc/u-boot/fs/ext4/
H A Dext4_journal.c46 journal_ptr[i] = zalloc(sizeof(struct journal_log)); in ext4fs_init_journal()
49 dirty_block_ptr[i] = zalloc(sizeof(struct dirty_blocks)); in ext4fs_init_journal()
60 temp = zalloc(fs->blksz); in ext4fs_init_journal()
63 journal_ptr[gindex]->buf = zalloc(fs->blksz); in ext4fs_init_journal()
72 journal_ptr[gindex]->buf = zalloc(fs->blksz); in ext4fs_init_journal()
138 journal_ptr[gindex]->buf = zalloc(fs->blksz); in ext4fs_log_gdt()
171 journal_ptr[gindex]->buf = zalloc(fs->blksz); in ext4fs_log_journal()
196 dirty_block_ptr[gd_index]->buf = zalloc(fs->blksz); in ext4fs_put_metadata()
231 tmp_node = zalloc(sizeof(struct revoke_blk_list)); in _get_node()
254 node->content = zalloc(fs->blksz); in ext4fs_push_revoke_blk()
[all …]
H A Dext4_common.c493 zero_buffer = zalloc(fs->blksz); in ext4fs_update_parent_dentry()
498 root_first_block_buffer = zalloc(fs->blksz); in ext4fs_update_parent_dentry()
643 block_buffer = zalloc(fs->blksz); in search_dir()
717 arr[i] = zalloc(strlen("/") + 1); in parse_path()
724 arr[i] = zalloc(strlen(token) + 1); in parse_path()
770 depth_dirname = zalloc(strlen(dirname) + 1); in ext4fs_get_parent_inode_num()
776 parse_dirname = zalloc(strlen(dirname) + 1); in ext4fs_get_parent_inode_num()
782 ptr = zalloc((depth) * sizeof(char *)); in ext4fs_get_parent_inode_num()
787 parent_inode = zalloc(sizeof(struct ext2_inode)); in ext4fs_get_parent_inode_num()
790 first_inode = zalloc(sizeof(struct ext2_inode)); in ext4fs_get_parent_inode_num()
[all …]
H A Dext4_write.c113 fs->gdtable = zalloc(gdsize_total); in ext4fs_get_bgdtable()
145 char *journal_buffer = zalloc(fs->blksz); in delete_single_indirect_block()
196 char *journal_buffer = zalloc(fs->blksz); in delete_double_indirect_block()
203 di_buffer = zalloc(fs->blksz); in delete_double_indirect_block()
295 char *journal_buffer = zalloc(fs->blksz); in delete_triple_indirect_block()
302 tigp_buffer = zalloc(fs->blksz); in delete_triple_indirect_block()
316 tip_buffer = zalloc(fs->blksz); in delete_triple_indirect_block()
456 char *journal_buffer = zalloc(fs->blksz); in ext4fs_delete_file()
531 read_buffer = zalloc(fs->blksz); in ext4fs_delete_file()
597 fs->sb = zalloc(SUPERBLOCK_SIZE); in ext4fs_init()
[all …]
H A Dext4_common.h43 static inline void *zalloc(size_t size) in zalloc() function
/openbmc/u-boot/lib/
H A Dgzip.c21 static void *zalloc(void *x, unsigned items, unsigned size) in zalloc() function
64 s.zalloc = zalloc; in zzip()
H A Dgunzip.c194 s.zalloc = gzalloc; in gzwrite()
282 s.zalloc = gzalloc; in zunzip()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/lvgl/files/
H A D0001-thorvg-fix-build-with-gcc-15.patch12 fc5c15638 feat(thorvg): use LVGL's malloc/realloc/zalloc/free (#7772)
16 … was resolved differently in fc5c15638 feat(thorvg): use LVGL's malloc/realloc/zalloc/free (#7772)]
/openbmc/u-boot/fs/cramfs/
H A Duncompress.c59 stream.zalloc = gzalloc; in cramfs_uncompress_init()
/openbmc/u-boot/lib/zlib/
H A Dzutil.h122 (*((strm)->zalloc))((strm)->opaque, (items), (size))
H A Dinflate.c43 if (strm->zalloc == (alloc_func)0) { in inflateInit2_()
44 strm->zalloc = zcalloc; in inflateInit2_()
H A Ddeflate.c237 if (strm->zalloc == (alloc_func)0) {
238 strm->zalloc = zcalloc;
359 strm->zalloc == (alloc_func)0 || strm->zfree == (free_func)0) {
/openbmc/qemu/migration/
H A Dmultifd-zlib.c43 zs->zalloc = Z_NULL; in multifd_zlib_send_setup()
169 zs->zalloc = Z_NULL; in multifd_zlib_recv_setup()
/openbmc/qemu/ui/
H A Dvnc-clipboard.c34 .zalloc = Z_NULL, in inflate_buffer()
89 .zalloc = Z_NULL, in deflate_buffer()
H A Dvnc-enc-zlib.c76 zstream->zalloc = vnc_zlib_zalloc; in vnc_zlib_stop()
H A Dvnc-enc-zrle.c81 zstream->zalloc = vnc_zlib_zalloc; in zrle_compress_data()
H A Dvnc-enc-tight.c800 zstream->zalloc = vnc_zlib_zalloc; in tight_init_stream()
/openbmc/u-boot/include/u-boot/
H A Dzlib.h429 alloc_func zalloc; /* used to allocate the internal state */ member
/openbmc/qemu/hw/core/
H A Dloader.c526 static void *zalloc(void *x, unsigned items, unsigned size) in zfree()
591 s.zalloc = zalloc; in gunzip()
512 static void *zalloc(void *x, unsigned items, unsigned size) zalloc() function