Home
last modified time | relevance | path

Searched refs:zfs_alloc (Results 1 – 11 of 11) sorted by relevance

/titanic_41/usr/src/lib/libzfs/common/
H A Dlibzfs_import.c233 if ((ne = zfs_alloc(hdl, sizeof (name_entry_t))) == NULL) in add_config()
276 if ((pe = zfs_alloc(hdl, sizeof (pool_entry_t))) == NULL) { in add_config()
295 if ((ve = zfs_alloc(hdl, sizeof (vdev_entry_t))) == NULL) { in add_config()
315 if ((ce = zfs_alloc(hdl, sizeof (config_entry_t))) == NULL) { in add_config()
333 if ((ne = zfs_alloc(hdl, sizeof (name_entry_t))) == NULL) in add_config()
591 newchild = zfs_alloc(hdl, (id + 1) * in get_configs()
623 newchild = zfs_alloc(hdl, (max_id) * in get_configs()
1204 slice = zfs_alloc(hdl, sizeof (rdsk_node_t)); in zpool_find_import_impl()
1350 if ((buf = zfs_alloc(hdl, statbuf.st_size)) == NULL) { in zpool_find_import_cached()
H A Dlibzfs_util.c500 zfs_alloc(libzfs_handle_t *hdl, size_t size) in zfs_alloc() function
743 (uint64_t)(uintptr_t)zfs_alloc(hdl, zc->zc_nvlist_dst_size); in zcmd_alloc_dst_nvlist()
760 (uint64_t)(uintptr_t)zfs_alloc(hdl, zc->zc_nvlist_dst_size); in zcmd_expand_dst_nvlist()
790 if ((packed = zfs_alloc(hdl, len)) == NULL) in zcmd_write_nvlist_com()
1314 if ((entry = zfs_alloc(hdl, sizeof (zprop_list_t))) == NULL) in addlist()
1447 if ((entry = zfs_alloc(edp->hdl, sizeof (zprop_list_t))) == NULL) in zprop_expand_list_cb()
1487 if ((entry = zfs_alloc(hdl, sizeof (zprop_list_t))) == NULL) in zprop_expand_list()
H A Dlibzfs_changelist.c437 if ((cn = zfs_alloc(zfs_get_handle(zhp), in change_one()
539 if ((clp = zfs_alloc(zhp->zfs_hdl, sizeof (prop_changelist_t))) == NULL) in changelist_gather()
649 if ((cn = zfs_alloc(zhp->zfs_hdl, in changelist_gather()
H A Dlibzfs_impl.h138 void *zfs_alloc(libzfs_handle_t *, size_t);
H A Dlibzfs_mount.c1101 if ((good = zfs_alloc(zhp->zpool_hdl, in zpool_enable_datasets()
1192 if ((mountpoints = zfs_alloc(hdl, in zpool_disable_datasets()
1196 if ((datasets = zfs_alloc(hdl, in zpool_disable_datasets()
H A Dlibzfs_config.c184 if ((cn = zfs_alloc(hdl, sizeof (config_node_t))) == NULL) { in namespace_reload()
H A Dlibzfs_diff.c615 di->ds = zfs_alloc(di->zhp->zfs_hdl, tdslen + 1); in get_snapshot_names()
653 di->ds = zfs_alloc(hdl, dslen + 1); in get_snapshot_names()
H A Dlibzfs_pool.c701 zprop_list_t *entry = zfs_alloc(hdl, in zpool_expand_proplist()
746 entry = zfs_alloc(hdl, sizeof (zprop_list_t)); in zpool_expand_proplist()
948 if ((zhp = zfs_alloc(hdl, sizeof (zpool_handle_t))) == NULL) in zpool_open_canfail()
980 if ((zhp = zfs_alloc(hdl, sizeof (zpool_handle_t))) == NULL) in zpool_open_silent()
2847 varray = zfs_alloc(hdl, children * sizeof (nvlist_t *)); in zpool_vdev_split()
3428 if ((zc.zc_nvlist_dst = (uintptr_t)zfs_alloc(zhp->zpool_hdl, in zpool_get_errlog()
3441 dst = zfs_alloc(zhp->zpool_hdl, count * in zpool_get_errlog()
H A Dlibzfs_iter.c248 node = zfs_alloc(zhp->zfs_hdl, sizeof (zfs_node_t)); in zfs_sort_snaps()
H A Dlibzfs_sendrecv.c286 char *buf = zfs_alloc(dda->dedup_hdl, SPA_MAXBLOCKSIZE); in cksummer()
1457 unsigned char *compressed = zfs_alloc(hdl, len); in zfs_send_resume_token_to_nvlist()
1480 void *packed = zfs_alloc(hdl, packed_len); in zfs_send_resume_token_to_nvlist()
2039 buf = zfs_alloc(hdl, len); in recv_read_nvlist()
2826 void *buf = zfs_alloc(hdl, SPA_MAXBLOCKSIZE); in recv_skip()
H A Dlibzfs_dataset.c315 pool_name = zfs_alloc(zhp->zfs_hdl, len); in zpool_handle()
817 mtn = zfs_alloc(hdl, sizeof (mnttab_node_t)); in libzfs_mnttab_update()
889 mtn = zfs_alloc(hdl, sizeof (mnttab_node_t)); in libzfs_mnttab_add()
4160 if ((entry = zfs_alloc(hdl, in zfs_expand_proplist()