Searched refs:zfs_alloc (Results 1 – 11 of 11) sorted by relevance
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_changelist.c | 203 zhandle_arr = zfs_alloc(hdl, in changelist_postfix() 469 if ((cn = zfs_alloc(zfs_get_handle(zhp), in change_one() 571 if ((clp = zfs_alloc(zhp->zfs_hdl, sizeof (prop_changelist_t))) == NULL) in changelist_gather() 681 if ((cn = zfs_alloc(zhp->zfs_hdl, in changelist_gather()
|
H A D | libzfs_util.c | 605 zfs_alloc(libzfs_handle_t *hdl, size_t size) in zfs_alloc() function 837 (uint64_t)(uintptr_t)zfs_alloc(hdl, zc->zc_nvlist_dst_size); in zcmd_alloc_dst_nvlist() 854 (uint64_t)(uintptr_t)zfs_alloc(hdl, zc->zc_nvlist_dst_size); in zcmd_expand_dst_nvlist() 884 if ((packed = zfs_alloc(hdl, len)) == NULL) in zcmd_write_nvlist_com() 1441 if ((entry = zfs_alloc(hdl, sizeof (zprop_list_t))) == NULL) in addlist() 1574 if ((entry = zfs_alloc(edp->hdl, sizeof (zprop_list_t))) == NULL) in zprop_expand_list_cb() 1614 if ((entry = zfs_alloc(hdl, sizeof (zprop_list_t))) == NULL) in zprop_expand_list()
|
H A D | libzfs_impl.h | 197 void *zfs_alloc(libzfs_handle_t *, size_t);
|
H A D | libzfs_mount.c | 1337 mnt_param_t *mnt_param = zfs_alloc(hdl, sizeof (mnt_param_t)); in zfs_dispatch_mount() 1632 if ((mountpoints = zfs_alloc(hdl, in zpool_disable_datasets() 1636 if ((datasets = zfs_alloc(hdl, in zpool_disable_datasets()
|
H A D | libzfs_config.c | 186 if ((cn = zfs_alloc(hdl, sizeof (config_node_t))) == NULL) { in namespace_reload()
|
H A D | libzfs_diff.c | 617 di->ds = zfs_alloc(di->zhp->zfs_hdl, tdslen + 1); in get_snapshot_names() 655 di->ds = zfs_alloc(hdl, dslen + 1); in get_snapshot_names()
|
H A D | libzfs_iter.c | 256 node = zfs_alloc(zhp->zfs_hdl, sizeof (zfs_node_t)); in zfs_sort_snaps()
|
H A D | libzfs_pool.c | 802 zprop_list_t *entry = zfs_alloc(hdl, in zpool_expand_proplist() 847 entry = zfs_alloc(hdl, sizeof (zprop_list_t)); in zpool_expand_proplist() 1053 if ((zhp = zfs_alloc(hdl, sizeof (zpool_handle_t))) == NULL) in zpool_open_canfail() 1085 if ((zhp = zfs_alloc(hdl, sizeof (zpool_handle_t))) == NULL) in zpool_open_silent() 3393 varray = zfs_alloc(hdl, children * sizeof (nvlist_t *)); in zpool_vdev_split() 4196 if ((zc.zc_nvlist_dst = (uintptr_t)zfs_alloc(zhp->zpool_hdl, in zpool_get_errlog() 4209 dst = zfs_alloc(zhp->zpool_hdl, count * in zpool_get_errlog()
|
H A D | libzfs_sendrecv.c | 239 char *buf = zfs_alloc(dda->dedup_hdl, SPA_MAXBLOCKSIZE); in cksummer() 1620 unsigned char *compressed = zfs_alloc(hdl, len); in zfs_send_resume_token_to_nvlist() 1643 void *packed = zfs_alloc(hdl, packed_len); in zfs_send_resume_token_to_nvlist() 2265 buf = zfs_alloc(hdl, len); in recv_read_nvlist() 3319 void *buf = zfs_alloc(hdl, SPA_MAXBLOCKSIZE); in recv_skip()
|
H A D | libzfs_dataset.c | 292 pool_name = zfs_alloc(zhp->zfs_hdl, len); in zpool_handle() 814 mtn = zfs_alloc(hdl, sizeof (mnttab_node_t)); in libzfs_mnttab_update() 891 mtn = zfs_alloc(hdl, sizeof (mnttab_node_t)); in libzfs_mnttab_add() 4637 if ((entry = zfs_alloc(hdl, in zfs_expand_proplist()
|
H A D | libzfs_crypto.c | 633 key = zfs_alloc(hdl, WRAPPING_KEY_LEN); in derive_key()
|