| /freebsd-12.1/cddl/contrib/opensolaris/lib/libzfs/common/ |
| H A D | libzfs_import.c | 236 if ((ne = zfs_alloc(hdl, sizeof (name_entry_t))) == NULL) in add_config() 280 if ((pe = zfs_alloc(hdl, sizeof (pool_entry_t))) == NULL) { in add_config() 298 if ((ve = zfs_alloc(hdl, sizeof (vdev_entry_t))) == NULL) { in add_config() 317 if ((ce = zfs_alloc(hdl, sizeof (config_entry_t))) == NULL) { in add_config() 332 if ((ne = zfs_alloc(hdl, sizeof (name_entry_t))) == NULL) in add_config() 592 newchild = zfs_alloc(hdl, (id + 1) * in get_configs() 624 newchild = zfs_alloc(hdl, (max_id) * in get_configs() 1319 slice = zfs_alloc(hdl, sizeof (rdsk_node_t)); in zpool_find_import_impl() 1343 slice = zfs_alloc(hdl, sizeof (rdsk_node_t)); in zpool_find_import_impl() 1488 if ((buf = zfs_alloc(hdl, statbuf.st_size)) == NULL) { in zpool_find_import_cached()
|
| H A D | libzfs_changelist.c | 212 zhandle_arr = zfs_alloc(hdl, in changelist_postfix() 480 if ((cn = zfs_alloc(zfs_get_handle(zhp), in change_one() 581 if ((clp = zfs_alloc(zhp->zfs_hdl, sizeof (prop_changelist_t))) == NULL) in changelist_gather() 691 if ((cn = zfs_alloc(zhp->zfs_hdl, in changelist_gather()
|
| H A D | libzfs_util.c | 552 zfs_alloc(libzfs_handle_t *hdl, size_t size) in zfs_alloc() function 800 (uint64_t)(uintptr_t)zfs_alloc(hdl, zc->zc_nvlist_dst_size); in zcmd_alloc_dst_nvlist() 817 (uint64_t)(uintptr_t)zfs_alloc(hdl, zc->zc_nvlist_dst_size); in zcmd_expand_dst_nvlist() 847 if ((packed = zfs_alloc(hdl, len)) == NULL) in zcmd_write_nvlist_com() 1402 if ((entry = zfs_alloc(hdl, sizeof (zprop_list_t))) == NULL) in addlist() 1535 if ((entry = zfs_alloc(edp->hdl, sizeof (zprop_list_t))) == NULL) in zprop_expand_list_cb() 1575 if ((entry = zfs_alloc(hdl, sizeof (zprop_list_t))) == NULL) in zprop_expand_list()
|
| H A D | libzfs_impl.h | 145 void *zfs_alloc(libzfs_handle_t *, size_t);
|
| H A D | libzfs_mount.c | 1332 mnt_param_t *mnt_param = zfs_alloc(hdl, sizeof (mnt_param_t)); in zfs_dispatch_mount() 1618 if ((mountpoints = zfs_alloc(hdl, in zpool_disable_datasets() 1622 if ((datasets = zfs_alloc(hdl, in zpool_disable_datasets()
|
| H A D | libzfs_diff.c | 618 di->ds = zfs_alloc(di->zhp->zfs_hdl, tdslen + 1); in get_snapshot_names() 656 di->ds = zfs_alloc(hdl, dslen + 1); in get_snapshot_names()
|
| H A D | libzfs_config.c | 186 if ((cn = zfs_alloc(hdl, sizeof (config_node_t))) == NULL) { in namespace_reload()
|
| H A D | libzfs_pool.c | 762 zprop_list_t *entry = zfs_alloc(hdl, in zpool_expand_proplist() 807 entry = zfs_alloc(hdl, sizeof (zprop_list_t)); in zpool_expand_proplist() 1013 if ((zhp = zfs_alloc(hdl, sizeof (zpool_handle_t))) == NULL) in zpool_open_canfail() 1045 if ((zhp = zfs_alloc(hdl, sizeof (zpool_handle_t))) == NULL) in zpool_open_silent() 3115 varray = zfs_alloc(hdl, children * sizeof (nvlist_t *)); 3771 if ((zc.zc_nvlist_dst = (uintptr_t)zfs_alloc(zhp->zpool_hdl, 3784 dst = zfs_alloc(zhp->zpool_hdl, count *
|
| H A D | libzfs_iter.c | 254 node = zfs_alloc(zhp->zfs_hdl, sizeof (zfs_node_t)); in zfs_sort_snaps()
|
| H A D | libzfs_sendrecv.c | 244 char *buf = zfs_alloc(dda->dedup_hdl, SPA_MAXBLOCKSIZE); in cksummer() 1536 unsigned char *compressed = zfs_alloc(hdl, len); in zfs_send_resume_token_to_nvlist() 1559 void *packed = zfs_alloc(hdl, packed_len); in zfs_send_resume_token_to_nvlist() 2167 buf = zfs_alloc(hdl, len); in recv_read_nvlist() 2982 void *buf = zfs_alloc(hdl, SPA_MAXBLOCKSIZE); in recv_skip()
|
| H A D | libzfs_dataset.c | 286 pool_name = zfs_alloc(zhp->zfs_hdl, len); in zpool_handle() 819 mtn = zfs_alloc(hdl, sizeof (mnttab_node_t)); in libzfs_mnttab_update() 896 mtn = zfs_alloc(hdl, sizeof (mnttab_node_t)); in libzfs_mnttab_add() 4542 if ((entry = zfs_alloc(hdl, in zfs_expand_proplist()
|
| /freebsd-12.1/sys/cddl/boot/zfs/ |
| H A D | zfssubr.c | 44 #define kmem_alloc(size, flag) zfs_alloc((size)) 377 static void *zfs_alloc(size_t size); 982 p = zfs_alloc(psize); in vdev_raidz_matrix_reconstruct() 1215 rm = zfs_alloc(offsetof(raidz_map_t, rm_col[scols])); in vdev_raidz_map_alloc() 1261 rm->rm_col[c].rc_data = zfs_alloc(rm->rm_col[c].rc_size); in vdev_raidz_map_alloc() 1359 orig[c] = zfs_alloc(rc->rc_size); in raidz_parity_verify() 1441 orig[n - 1] = zfs_alloc(rm->rm_col[0].rc_size); in vdev_raidz_combrec()
|
| /freebsd-12.1/stand/libsa/zfs/ |
| H A D | zfsimpl.c | 172 zfs_alloc(size_t size) in zfs_alloc() function 1557 tmp_label = zfs_alloc(sizeof(vdev_phys_t)); in vdev_probe() 1719 upbuf = zfs_alloc(VDEV_UBERBLOCK_SIZE(vdev)); in vdev_probe() 1822 pbuf = zfs_alloc(size); in zio_read() 1867 pbuf = zfs_alloc(size); in zio_read() 2986 buf = zfs_alloc(size); in zfs_dnode_stat() 3035 buf = zfs_alloc(size); in zfs_dnode_readlink()
|
| H A D | zfs.c | 421 bouncebuf = zfs_alloc(secsz); in vdev_read()
|