Home
last modified time | relevance | path

Searched refs:dm_malloc (Results 1 – 25 of 57) sorted by relevance

123

/netbsd-src/external/gpl2/lvm2/dist/lib/filters/
H A Dfilter-composite.c58 if (!(filters_copy = dm_malloc(sizeof(*filters) * (n + 1)))) { in composite_filter_create()
66 if (!(cft = dm_malloc(sizeof(*cft)))) { in composite_filter_create()
H A Dfilter-persistent.c308 if (!(pf = dm_malloc(sizeof(*pf)))) in persistent_filter_create()
312 if (!(pf->file = dm_malloc(strlen(file) + 1))) in persistent_filter_create()
323 if (!(f = dm_malloc(sizeof(*f)))) in persistent_filter_create()
H A Dfilter-md.c57 if (!(f = dm_malloc(sizeof(*f)))) { in md_filter_create()
/netbsd-src/external/gpl2/lvm2/dist/lib/misc/
H A Dtimestamp.c45 if (!(ts = dm_malloc(sizeof(*ts)))) in get_timestamp()
94 if (!(ts = dm_malloc(sizeof(*ts)))) in get_timestamp()
/netbsd-src/external/gpl2/lvm2/dist/libdm/datastruct/
H A Dhash.c63 struct dm_hash_node *n = dm_malloc(sizeof(*n) + len); in _create_node()
95 struct dm_hash_table *hc = dm_malloc(sizeof(*hc)); in dm_hash_create()
110 if (!(hc->slots = dm_malloc(len))) { in dm_hash_create()
H A Dbitset.c32 bs = dm_malloc(size); in dm_bitset_create()
/netbsd-src/external/gpl2/lvm2/dist/lib/format_text/
H A Dtext_label.c156 if (!(dal = dm_malloc(sizeof(*dal)))) { in add_da()
196 if (!(mdal = dm_malloc(sizeof(struct metadata_area)))) { in add_mda()
201 if (!(mdac = dm_malloc(sizeof(struct mda_context)))) { in add_mda()
347 if (!(l = dm_malloc(sizeof(*l)))) { in text_labeller_create()
H A Dexport.c745 if (!(f = dm_malloc(sizeof(*f)))) in text_vg_export_file()
770 if (!(f = dm_malloc(sizeof(*f)))) in text_vg_export_raw()
776 if (!(f->data.buf.start = dm_malloc(f->data.buf.size))) { in text_vg_export_raw()
/netbsd-src/external/gpl2/lvm2/dist/libdm/
H A Dlibdm-string.c139 char *buf = dm_malloc(size); in dm_asprintf()
154 buf = dm_malloc(size); in dm_asprintf()
/netbsd-src/external/gpl2/lvm2/dist/libdm/mm/
H A Dpool-debug.c53 struct dm_pool *mem = dm_malloc(sizeof(*mem)); in dm_pool_create()
144 struct block *b = dm_malloc(len); in _new_block()
158 if (!(b->data = dm_malloc(s))) { in _new_block()
H A Dpool-fast.c43 struct dm_pool *p = dm_malloc(sizeof(*p)); in dm_pool_create()
228 if (!(c = dm_malloc(s))) { in _new_chunk()
H A Ddbg_malloc.h25 #define dm_malloc(s) malloc_aux((s), __FILE__, __LINE__) macro
/netbsd-src/external/gpl2/lvm2/dist/daemons/clvmd/
H A Drefresh_clvmd.c123 *retbuf = dm_malloc(buflen); in _send_request()
231 *response = dm_malloc(sizeof(lvm_response_t) * num_responses + in _cluster_request()
251 rarray[i].response = dm_malloc(strlen(inptr) + 1); in _cluster_request()
/netbsd-src/external/gpl2/lvm2/dist/lib/locking/
H A Dcluster_locking.c135 *retbuf = dm_malloc(buflen); in _send_request()
244 *response = dm_malloc(sizeof(lvm_response_t) * num_responses); in _cluster_request()
263 rarray[i].response = dm_malloc(strlen(inptr) + 1); in _cluster_request()
/netbsd-src/external/gpl2/lvm2/dist/lib/device/
H A Ddev-cache.c69 if (!(dev = dm_malloc(sizeof(*dev)))) { in dev_create_file()
73 if (!(alias = dm_malloc(sizeof(*alias)))) { in dev_create_file()
329 char *r = dm_malloc(len); in _join()
751 struct dev_iter *di = dm_malloc(sizeof(*di)); in dev_iter_create()
/netbsd-src/external/gpl2/lvm2/dist/liblvm/
H A Dlvm_pv.c37 name = dm_malloc(NAME_LEN + 1); in lvm_pv_get_name()
/netbsd-src/external/gpl2/lvm2/dist/lib/freeseg/
H A Dfreeseg.c48 struct segment_type *segtype = dm_malloc(sizeof(*segtype)); in init_free_segtype()
/netbsd-src/external/gpl2/lvm2/dist/tools/
H A Dvgcfgbackup.c28 if (!(filename = dm_malloc(PATH_MAX))) { in _expand_filename()
/netbsd-src/external/gpl2/lvm2/dist/lib/format_pool/
H A Dpool_label.c100 if (!(l = dm_malloc(sizeof(*l)))) { in pool_labeller_create()
/netbsd-src/external/gpl2/lvm2/dist/lib/label/
H A Dlabel.c50 if (!(li = dm_malloc(len))) { in _alloc_li()
388 if (!(label = dm_malloc(sizeof(*label)))) { in label_create()
/netbsd-src/external/gpl2/lvm2/dist/lib/zero/
H A Dzero.c101 struct segment_type *segtype = dm_malloc(sizeof(*segtype)); in init_zero_segtype()
/netbsd-src/external/gpl2/lvm2/dist/lib/error/
H A Derrseg.c104 struct segment_type *segtype = dm_malloc(sizeof(*segtype)); in init_error_segtype()
/netbsd-src/external/gpl2/lvm2/dist/lib/unknown/
H A Dunknown.c96 struct segment_type *segtype = dm_malloc(sizeof(*segtype)); in init_unknown_segtype()
/netbsd-src/external/gpl2/lvm2/dist/lib/format1/
H A Dlvm1-label.c123 if (!(l = dm_malloc(sizeof(*l)))) { in lvm1_labeller_create()
H A Dlayout.c124 struct pv_disk *pvd = dm_malloc(sizeof(*pvd)); in calculate_extent_count()

123