Searched refs:zfs_strdup (Results 1 – 10 of 10) sorted by relevance
/netbsd-src/external/cddl/osnet/dist/lib/libzfs/common/ |
H A D | libzfs_mount.c | 222 *where = zfs_strdup(zfs_hdl, entry.mnt_mountp); in is_mounted() 396 mntpt = zfs_strdup(hdl, entry.mnt_mountp); in zfs_unmount() 398 mntpt = zfs_strdup(hdl, mountpoint); in zfs_unmount() 872 mntpt = zfs_strdup(hdl, mountpoint); in unshare_one() 932 mountpoint = mntpt = zfs_strdup(hdl, mountpoint); in zfs_unshare_proto() 939 mntpt = zfs_strdup(zhp->zfs_hdl, entry.mnt_mountp); in zfs_unshare_proto() 1281 if ((mountpoints[used] = zfs_strdup(hdl, in zpool_disable_datasets()
|
H A D | libzfs_diff.c | 542 di->tmpsnap = zfs_strdup(hdl, zc.zc_value); in make_temp_snapshot() 594 di->fromsnap = zfs_strdup(hdl, fromsnap); in get_snapshot_names() 595 di->ds = zfs_strdup(hdl, fromsnap); in get_snapshot_names() 655 di->fromsnap = zfs_strdup(hdl, fromsnap); in get_snapshot_names() 657 di->tosnap = zfs_strdup(hdl, tosnap); in get_snapshot_names()
|
H A D | libzfs_import.c | 244 if ((ne->ne_name = zfs_strdup(hdl, path)) == NULL) { in add_config() 344 if ((ne->ne_name = zfs_strdup(hdl, path)) == NULL) { in add_config() 1255 slice->rn_name = zfs_strdup(hdl, pp->lg_name); in zpool_find_import_impl() 1290 slice->rn_name = zfs_strdup(hdl, name); in zpool_find_import_impl() 1313 slice->rn_name = zfs_strdup(hdl, name); in zpool_find_import_impl() 1793 if ((*namestr = zfs_strdup(hdl, name)) == NULL) { in zpool_in_use()
|
H A D | libzfs_iter.c | 325 shortsnapname = zfs_strdup(zhp->zfs_hdl, in snapspec_cb() 366 buf = zfs_strdup(fs_zhp->zfs_hdl, spec_orig); in zfs_iter_snapspec()
|
H A D | libzfs_impl.h | 136 char *zfs_strdup(libzfs_handle_t *, const char *);
|
H A D | libzfs_dataset.c | 545 zhp->zfs_mntopts = zfs_strdup(zhp_orig->zfs_hdl, in zfs_handle_dup() 727 mtn->mtn_mt.mnt_special = zfs_strdup(hdl, entry.mnt_special); in libzfs_mnttab_update() 728 mtn->mtn_mt.mnt_mountp = zfs_strdup(hdl, entry.mnt_mountp); in libzfs_mnttab_update() 729 mtn->mtn_mt.mnt_fstype = zfs_strdup(hdl, entry.mnt_fstype); in libzfs_mnttab_update() 730 mtn->mtn_mt.mnt_mntopts = zfs_strdup(hdl, entry.mnt_mntopts); in libzfs_mnttab_update() 800 mtn->mtn_mt.mnt_special = zfs_strdup(hdl, special); in libzfs_mnttab_add() 801 mtn->mtn_mt.mnt_mountp = zfs_strdup(hdl, mountp); in libzfs_mnttab_add() 802 mtn->mtn_mt.mnt_fstype = zfs_strdup(hdl, MNTTYPE_ZFS); in libzfs_mnttab_add() 803 mtn->mtn_mt.mnt_mntopts = zfs_strdup(hdl, mntopts); in libzfs_mnttab_add() 1974 zhp->zfs_mntopts = zfs_strdup(hdl, in get_numeric_property() [all …]
|
H A D | libzfs_config.c | 191 if ((cn->cn_name = zfs_strdup(hdl, in namespace_reload()
|
H A D | libzfs_util.c | 567 zfs_strdup(libzfs_handle_t *hdl, const char *str) in zfs_strdup() function 1397 if ((entry->pl_user_prop = zfs_strdup(hdl, propname)) == in addlist()
|
H A D | libzfs_pool.c | 3436 char *tmp = zfs_strdup(hdl, path); 3487 return (zfs_strdup(hdl, path));
|
H A D | libzfs_sendrecv.c | 3576 *top_zfs = zfs_strdup(hdl, zc.zc_value); in zfs_receive_one()
|