Home
last modified time | relevance | path

Searched refs:zfs_get_name (Results 1 – 19 of 19) sorted by relevance

/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_crypto.c862 const char *fsname = (zhp) ? zfs_get_name(zhp) : NULL; in populate_create_encryption_params_nvlists()
996 *is_encroot = strcmp(prop_encroot, zfs_get_name(zhp)) == 0; in zfs_crypto_get_encryption_root()
1307 "'%s' is not encrypted."), zfs_get_name(zhp)); in zfs_crypto_load_key()
1320 zfs_get_name(zhp)); in zfs_crypto_load_key()
1325 zfs_get_name(zhp), prop_encroot); in zfs_crypto_load_key()
1342 zfs_get_name(zhp)); in zfs_crypto_load_key()
1354 "Key already loaded for '%s'."), zfs_get_name(zhp)); in zfs_crypto_load_key()
1372 keylocation, zfs_get_name(zhp), &key_material, &key_material_len, in zfs_crypto_load_key()
1396 zfs_get_name(zhp)); in zfs_crypto_load_key()
1400 "Key already loaded for '%s'."), zfs_get_name(zhp)); in zfs_crypto_load_key()
[all …]
H A Dlibzfs_mount.c217 return (is_mounted(zhp->zfs_hdl, zfs_get_name(zhp), where)); in zfs_is_mounted()
430 "'%s'."), zfs_get_name(zhp)); in zfs_mount_at()
539 libzfs_mnttab_add(hdl, zfs_get_name(zhp), mountpoint, mntopts); in zfs_mount_at()
738 err = sa_enable_share(zfs_get_name(zhp), mountpoint, shareopts, in zfs_share()
744 zfs_get_name(zhp), sa_errorstr(err))); in zfs_share()
815 libzfs_mnttab_find(hdl, zfs_get_name(zhp), &entry) == 0)) { in zfs_unshare()
1033 return (strcmp(zfs_get_name(za), zfs_get_name(zb))); in mountpoint_cmp()
H A Dlibzfs_iter.c382 shortsnapname = strchr(zfs_get_name(zhp), '@') + 1; in snapspec_cb()
450 "%s@%s", zfs_get_name(fs_zhp), in zfs_iter_snapspec_v2()
471 zfs_get_name(fs_zhp), comma_separated); in zfs_iter_snapspec_v2()
555 zfs_get_name(zhp)); in iter_dependents_cb()
H A Dlibzfs_changelist.c763 if ((temp = zfs_open(zhp->zfs_hdl, zfs_get_name(zhp), in changelist_gather()
H A Dlibzfs_dataset.c686 if (strcmp(dp->path, zfs_get_name(zhp)) == 0) { in zfs_open_bookmarks_cb()
2498 fnvlist_add_boolean(gca->value, zfs_get_name(zhp)); in get_clones_cb()
3416 zfs_get_name(const zfs_handle_t *zhp) in zfs_get_name() function
3492 return (parent_name(zfs_get_name(zhp), buf, buflen)); in zfs_parent_name()
4188 if (snprintf(name, sizeof (name), "%s@%s", zfs_get_name(zhp), in zfs_snapshot_cb()
4674 changelist_rename(cl, zfs_get_name(zhp), target); in zfs_rename()
H A Dlibzfs.abi336 …<elf-symbol name='zfs_get_name' type='func-type' binding='global-binding' visibility='default-visi…
2444 …on-decl name='zfs_get_name' mangled-name='zfs_get_name' visibility='default' binding='global' size…
/freebsd/sys/contrib/openzfs/contrib/pam_zfs_key/
H A Dpam_zfs_key.c478 zfs_get_name(zhp)); in mount_dataset()
487 zfs_get_name(zhp)); in mount_dataset()
495 zfs_get_name(zhp)); in mount_dataset()
513 zfs_get_name(zhp)); in mount_dataset()
520 zfs_get_name(zhp)); in mount_dataset()
528 "zfs_mount failed for %s with: %d", zfs_get_name(zhp), in mount_dataset()
569 zfs_get_name(zhp)); in umount_dataset()
576 zfs_get_name(zhp)); in umount_dataset()
584 "zfs_unmount failed for %s with: %d", zfs_get_name(zhp), in umount_dataset()
701 target->dsname = strdup(zfs_get_name(zhp)); in find_dsname_by_prop_value()
/freebsd/sys/contrib/openzfs/cmd/zfs/
H A Dzfs_main.c1366 const char *tname = zfs_get_name(cbp->cb_target); in destroy_check_dependent()
1367 const char *name = zfs_get_name(zhp); in destroy_check_dependent()
1381 zfs_get_name(cbp->cb_target), in destroy_check_dependent()
1389 (void) fprintf(stderr, "%s\n", zfs_get_name(zhp)); in destroy_check_dependent()
1402 zfs_get_name(cbp->cb_target), in destroy_check_dependent()
1411 (void) fprintf(stderr, "%s\n", zfs_get_name(zhp)); in destroy_check_dependent()
1433 const char *name = zfs_get_name(zhp); in destroy_callback()
1452 if (strchr(zfs_get_name(zhp), '/') == NULL && in destroy_callback()
1505 const char *name = zfs_get_name(zhp); in destroy_print_cb()
1581 if (nvlist_add_boolean(cb->cb_nvl, zfs_get_name(zhp))) in snapshot_to_nvl_cb()
[all …]
H A Dzfs_iter.c275 const char *lname = zfs_get_name(l); in zfs_compare()
276 const char *rname = zfs_get_name(r); in zfs_compare()
384 (void) strlcpy(lbuf, zfs_get_name(l), sizeof (lbuf)); in zfs_sort()
385 (void) strlcpy(rbuf, zfs_get_name(r), sizeof (rbuf)); in zfs_sort()
/freebsd/lib/libbe/
H A Dbe.c100 strlcpy(lbh->rootfs, zfs_get_name(zfs), sizeof(lbh->rootfs)); in be_locate_rootfs()
238 atpos = strchr(zfs_get_name(zfs_hdl), '@'); in be_should_promote_clones()
333 snprintf(bdd->target_name, BE_MAXPATHLEN, "%s/", zfs_get_name(zfs_hdl)); in be_promote_dependent_clones()
394 snprintf(path, sizeof(path), "%s@%s", zfs_get_name(zfs_hdl), in be_destroy_cb()
773 dspath = zfs_get_name(ds); in be_clone_cb()
H A Dbe_info.c181 dataset = zfs_get_name(zfs_hdl); in prop_list_builder_cb()
H A Dbe_access.c62 info->name = strdup(zfs_get_name(zfs_hdl)); in be_mountcheck_cb()
/freebsd/sys/contrib/openzfs/lib/libzfs/os/freebsd/
H A Dlibzfs_zmount.c80 const char *spec = zfs_get_name(zhp); in do_mount()
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dzfs_vnops_os.h48 extern int zfs_get_name(znode_t *dzp, char *name, znode_t *zp);
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_export.c128 error = -zfs_get_name(ITOZ(dir), name, ITOZ(ip)); in zpl_get_name()
H A Dzfs_vnops_os.c552 zfs_get_name(znode_t *dzp, char *name, znode_t *zp) in zfs_get_name() function
/freebsd/sys/contrib/openzfs/lib/libzfs/os/linux/
H A Dlibzfs_mount_os.c333 const char *src = zfs_get_name(zhp); in do_mount()
/freebsd/sys/contrib/openzfs/include/
H A Dlibzfs.h527 _LIBZFS_H const char *zfs_get_name(const zfs_handle_t *);
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c11243 zfs_get_name(zhp), zfs_version); in check_unsupp_fs()