/osnet-11/usr/src/lib/libshare_plugins/zfs/ |
H A D | libshare_zfs.c | 131 sa_zfs_close(void *zfs_hdl) argument 133 libzfs_fini(zfs_hdl); 139 libzfs_handle_t *zfs_hdl; local 142 if ((zfs_hdl = sa_get_fs_handle(shdl, SA_FS_ZFS, &rc)) == NULL) { 146 libzfs_cache_clear(zfs_hdl); 205 libzfs_handle_t *zfs_hdl; local 208 if ((zfs_hdl = sa_get_fs_handle(shdl, SA_FS_ZFS, &rc)) == NULL) 211 rc = zfssa_share_storage_write(zfs_hdl, share, persist); 219 libzfs_handle_t *zfs_hdl; local 222 if ((zfs_hdl 248 libzfs_handle_t *zfs_hdl; local 316 libzfs_handle_t *zfs_hdl; local 355 libzfs_handle_t *zfs_hdl; local 408 libzfs_handle_t *zfs_hdl; local 467 libzfs_handle_t *zfs_hdl; local 486 libzfs_handle_t *zfs_hdl; local 502 libzfs_handle_t *zfs_hdl; local 516 libzfs_handle_t *zfs_hdl; local 530 libzfs_handle_t *zfs_hdl; local 564 libzfs_handle_t *zfs_hdl; local 680 libzfs_handle_t *zfs_hdl; local [all...] |
/osnet-11/usr/src/lib/libzfs/common/ |
H A D | libzfs_crypto.c | 310 libzfs_crypto_set_key(zhp->zfs_hdl, key, keylen); 316 zhp->zfs_hdl->libzfs_crypt.zc_clone_newkey = B_TRUE; 834 zfs_error_aux(zhp->zfs_hdl, dgettext(TEXT_DOMAIN, 836 return (zfs_error(zhp->zfs_hdl, EZFS_KEYERR, errbuf)); 842 zfs_error_aux(zhp->zfs_hdl, dgettext(TEXT_DOMAIN, 844 return (zfs_error(zhp->zfs_hdl, EZFS_KEYERR, errbuf)); 849 zfs_error_aux(zhp->zfs_hdl, dgettext(TEXT_DOMAIN, 851 return (zfs_error(zhp->zfs_hdl, EZFS_KEYERR, errbuf)); 862 ret = zfs_ioctl(zhp->zfs_hdl, ZFS_IOC_CRYPTO_KEY_INHERIT, &zc); 868 ret = key_hdl_to_zc(zhp->zfs_hdl, zh [all...] |
H A D | libzfs_diff.c | 94 if (ioctl(di->zhp->zfs_hdl->libzfs_fd, ZFS_IOC_OBJ_TO_PATH, 347 if (err = ioctl(di->zhp->zfs_hdl->libzfs_fd, 361 if (err = ioctl(di->zhp->zfs_hdl->libzfs_fd, 489 if (err = ioctl(di->zhp->zfs_hdl->libzfs_fd, 595 libzfs_handle_t *hdl = di->zhp->zfs_hdl; 642 libzfs_handle_t *hdl = di->zhp->zfs_hdl; 729 di->ds = zfs_alloc(di->zhp->zfs_hdl, tdslen + 1); 790 mounted = is_mounted(di->zhp->zfs_hdl, dsnm, mntpt); 795 return (zfs_error(di->zhp->zfs_hdl, EZFS_BADTYPE, di->errbuf)); 818 di->tomnt = zfs_asprintf(di->zhp->zfs_hdl, " [all...] |
H A D | libzfs_share.c | 136 return (zfs_cache_get_quiet(zhp->zfs_hdl, zfs_name, ZFS_TYPE_SHARE)); 154 return (zfs_cache_get_quiet(zhp->zfs_hdl, zfs_name, 257 parent_zhp = zfs_share_open_parent(zhp->zfs_hdl, zhp->zfs_name); 481 libzfs_handle_t *hdl = zhp->zfs_hdl; 516 libzfs_handle_t *zfs_hdl = zhp->zfs_hdl; local 535 zfs_error_aux(zfs_hdl, dgettext(TEXT_DOMAIN, 537 (void) zfs_error(zfs_hdl, EZFS_BADPROP, errbuf); 548 libzfs_handle_t *zfs_hdl = zhp->zfs_hdl; local [all...] |
H A D | libzfs_dataset.c | 219 libzfs_handle_t *hdl = zhp->zfs_hdl; 248 libzfs_handle_t *hdl = zhp->zfs_hdl; 262 libzfs_handle_t *hdl = zhp->zfs_hdl; 284 pool_name = zfs_alloc(zhp->zfs_hdl, len); 314 libzfs_handle_t *hdl = zhp->zfs_hdl; 338 libzfs_handle_t *hdl = zhp->zfs_hdl; 359 err = zcmd_read_dst_nvlist(zhp->zfs_hdl, &zc, &recvdprops); 377 if (zcmd_read_dst_nvlist(zhp->zfs_hdl, zc, &allprops) != 0) { 405 if (zcmd_alloc_dst_nvlist(zhp->zfs_hdl, &zc, 0) != 0) 473 zhp->zfs_hdl [all...] |
H A D | libzfs_cache.c | 235 if (zhp->zfs_hdl->libzfs_mnttab_enable && zfs_is_mounted(zhp, &mp)) { 392 zp->zp_name = zfs_strdup(zhp->zfs_hdl, 447 if (zcmd_alloc_dst_nvlist(zhp->zfs_hdl, &zc, 0) != 0) 461 return zfs_standard_error_fmt(zhp->zfs_hdl, zhp->zfs_name, 467 if ((ret = zfs_cache_do_stats_ioctl(zhp->zfs_hdl, 479 if ((nzhp = make_dataset_handle_zc(zhp->zfs_hdl, 557 if (get_dependents(zhp->zfs_hdl, allowrecursion, zhp->zfs_name, 565 if ((child = zfs_cache_get(zhp->zfs_hdl, 619 return (zhp->zfs_hdl->libzfs_handle_cache);
|
H A D | libzfs_mount.c | 192 is_mounted(libzfs_handle_t *zfs_hdl, const char *special, char **where) argument 196 if (libzfs_mnttab_find(zfs_hdl, special, &entry) != 0) 200 *where = zfs_strdup(zfs_hdl, entry.mnt_mountp); 215 *where = zfs_strdup(zhp->zfs_hdl, zhp->zfs_mountp); 263 libzfs_handle_t *hdl = zhp->zfs_hdl; 286 tmpopts = zfs_strdup(zhp->zfs_hdl, mntopts); 295 tmpmount = zfs_strdup(zhp->zfs_hdl, value); 354 if ((parent_zhp = zfs_cache_get(zhp->zfs_hdl, parentname, 378 if (is_mounted(zhp->zfs_hdl, parentname, &where)) { 569 libzfs_handle_t *hdl = zhp->zfs_hdl; [all...] |
H A D | libzfs_impl.h | 102 libzfs_handle_t *zfs_hdl; member in struct:zfs_handle 143 #define ZFS_LIBSHARE_HDL(_zhp) (libzfs_get_libshare((_zhp)->zfs_hdl)) 281 #define ZFS_GET_CACHE(_zhp) ((_zhp)->zfs_hdl->libzfs_handle_cache)
|
H A D | libzfs_changelist.c | 258 (void) zfs_error(cn->cn_handle->zfs_hdl, 398 (void) zfs_error(zhp->zfs_hdl, EZFS_SHAREFAILED, errbuf); 480 (void) zfs_error(cn->cn_handle->zfs_hdl, 910 if ((clp = zfs_alloc(zhp->zfs_hdl, sizeof (prop_changelist_t))) == NULL) 952 (void) zfs_error(zhp->zfs_hdl, EZFS_NOMEM, "internal error"); 964 (void) zfs_error(zhp->zfs_hdl, EZFS_NOMEM, "internal error"); 1009 if (zfs_cache_iter_children(zhp->zfs_hdl, zhp, change_one, 1021 if ((temp = zfs_open(zhp->zfs_hdl, zfs_get_name(zhp), 1034 if ((cn = zfs_alloc(zhp->zfs_hdl,
|
H A D | libzfs_sendrecv.c | 819 zfs_handle_t *origin = zfs_open(zhp->zfs_hdl, 935 node = zfs_alloc(zhp->zfs_hdl, sizeof (zfs_node_t)); 1019 libzfs_handle_t *hdl = zhp->zfs_hdl; 1038 if (ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_SEND, &zc) != 0) { 1115 pzhp = zfs_open(zhp->zfs_hdl, zhp->zfs_name, ZFS_TYPE_DATASET); 1277 if (ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_OBJSET_STATS, &zc) != 0) { 1295 if (ioctl(zhp->zfs_hdl->libzfs_fd, 1417 zhp = zfs_open(rzhp->zfs_hdl, fsname, ZFS_TYPE_DATASET); 1472 zfs_error_aux(zhp->zfs_hdl, dgettext(TEXT_DOMAIN, 1474 return (zfs_error(zhp->zfs_hdl, EZFS_NOEN [all...] |
H A D | libzfs_shadow.c | 227 libzfs_handle_t *hdl = zhp->zfs_hdl;
|
H A D | libzfs_util.c | 889 return (zhp->zfs_hdl);
|
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_zpool.c | 63 static libzfs_handle_t *zfs_hdl; variable 97 if (zfsdl_zpool_in_use(zfs_hdl, fd, &state, 166 if ((zfs_hdl = (*zfsdl_libzfs_init)(B_FALSE)) == NULL) {
|
/osnet-11/usr/src/lib/pybootmgmt/common/bootmgmt/ |
H A D | pysol.py | 1300 def zfs_get_prop_string(lzfsh, zfs_hdl, propid, get_source=False): 1307 ret = _libzfs.zfs_prop_get(zfs_hdl, propid, buf,
|
/osnet-11/usr/src/lib/pam_modules/zfs_key/ |
H A D | zfs_key.c | 122 ret = ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_SET_FSACL, &zc);
|