Searched refs:g_try_malloc (Results 1 – 23 of 23) sorted by relevance
61 cache = g_try_malloc(sizeof(*cache)); in cache_init()73 cache->page_cache = g_try_malloc((cache->max_num_items) * in cache_init()161 it->it_data = g_try_malloc(cache->page_size); in cache_insert()
52 z->zbuff = g_try_malloc(z->zbuff_len); in multifd_zlib_send_setup()57 z->buf = g_try_malloc(qemu_target_page_size()); in multifd_zlib_send_setup()180 z->zbuff = g_try_malloc(z->zbuff_len); in multifd_zlib_recv_setup()
62 z->zbuff = g_try_malloc(z->zbuff_len); in multifd_zstd_send_setup()174 z->zbuff = g_try_malloc(z->zbuff_len); in multifd_zstd_recv_setup()
77 wd->buf = g_try_malloc(size); in multifd_uadk_init_sess()
2668 XBZRLE.current_buf = g_try_malloc(TARGET_PAGE_SIZE); in xbzrle_init()
285 sig = g_try_malloc(size); in get_signature_fingerprint_sha384()332 cert = g_try_malloc(len); in get_signature_fingerprint_sha384()520 ptr = g_try_malloc(hdr.section_size); in read_eif_file()549 *cmdline = g_try_malloc(size + 1); in read_eif_file()592 ptr = g_try_malloc(hdr.section_size); in read_eif_file()635 buf = g_try_malloc(size); in read_eif_file()695 ptr = g_try_malloc(machine_initrd_size); in read_eif_file()
10 -g_try_malloc(sizeof(T))32 -g_try_malloc(sizeof(T) * (n))
138 s->offsets = g_try_malloc(offsets_size); in cloop_open()184 s->compressed_block = g_try_malloc(max_compressed_block_size + 1); in cloop_open()191 s->uncompressed_block = g_try_malloc(s->block_size); in cloop_open()
309 buf = g_try_malloc(bytes); in nfs_co_pwritev()
114 s->refcount_table = g_try_malloc(refcount_table_size2); in qcow2_refcount_init()1885 l1_table = g_try_malloc(l1_size_bytes); in check_refcounts_l1()3009 l1 = g_try_malloc(l1_sz2); in qcow2_check_metadata_overlap()
926 state->orig_buf = g_try_malloc(state->buf_len); in curl_setup_preadv()
576 dir = g_try_malloc(size); in bitmap_list_load()
608 extent->l1_table = g_try_malloc(l1_size); in vmdk_init_tables()633 extent->l1_backup_table = g_try_malloc(l1_size); in vmdk_init_tables()
1551 buf = g_try_malloc(bytes); in vvfat_co_preadv()3122 buf = g_try_malloc(bytes); in vvfat_co_pwritev()
4837 buf = g_try_malloc(csize); in qcow2_co_preadv_compressed()
83 vals = g_try_malloc(buflen); in hmp_info_cmma()131 buf = g_try_malloc(count); in cmma_load()210 buf = g_try_malloc(buflen); in cmma_save()
177 buf = g_try_malloc(S390_SKEYS_BUFFER_SIZE); in qmp_dump_skeys()341 buf = g_try_malloc(S390_SKEYS_BUFFER_SIZE); in s390_storage_keys_save()422 uint8_t *buf = g_try_malloc(S390_SKEYS_BUFFER_SIZE); in s390_storage_keys_load()
347 g_autofree char *buf = g_try_malloc(bufsiz); in gdb_handle_v_file_pread()366 g_autofree char *buf = g_try_malloc(BUFSIZ); in gdb_handle_v_file_readlink()
227 void *g_try_malloc(size_t size) in g_try_malloc() function
763 tsb->buffer = g_try_malloc(totlength); in tpm_emulator_get_state_blob()
3669 strings = g_try_malloc(segsz); in load_symbols()3686 syms = g_try_malloc(segsz); in load_symbols()
4278 host_mb = g_try_malloc(msgsz + sizeof(long)); in do_msgsnd()4336 host_mb = g_try_malloc(msgsz + sizeof(long)); in do_msgrcv()4687 fm = g_try_malloc(outbufsz); in do_ioctl_fs_ioc_fiemap()4775 host_ifconf = g_try_malloc(outbufsz); in do_ioctl_ifconf()8774 hdirp = g_try_malloc(count); in do_getdents()8861 hdirp = g_try_malloc(count); in do_getdents64()
923 hw_breakpoints = (struct kvm_hw_breakpoint *)g_try_malloc(size); in insert_hw_breakpoint()