Lines Matching refs:fsname
825 gather_nvlist(libzfs_handle_t *hdl, const char *fsname, const char *fromsnap, in gather_nvlist() argument
832 zhp = zfs_open(hdl, fsname, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME); in gather_nvlist()
1362 char *fsname; in dump_filesystems() local
1372 VERIFY(nvlist_lookup_string(fslist, "name", &fsname) == 0); in dump_filesystems()
1400 zhp = zfs_open(rzhp->zfs_hdl, fsname, ZFS_TYPE_DATASET); in dump_filesystems()
2286 char *fsname, *snapname; in created_before() local
2298 VERIFY(0 == nvlist_lookup_string(nvfs, "name", &fsname)); in created_before()
2299 (void) snprintf(buf, sizeof (buf), "%s@%s", fsname, snapname); in created_before()
2305 VERIFY(0 == nvlist_lookup_string(nvfs, "name", &fsname)); in created_before()
2306 (void) snprintf(buf, sizeof (buf), "%s@%s", fsname, snapname); in created_before()
2370 char *fsname, *stream_fsname; in recv_incremental_replication() local
2376 VERIFY(0 == nvlist_lookup_string(nvfs, "name", &fsname)); in recv_incremental_replication()
2409 (void) printf("promoting %s\n", fsname); in recv_incremental_replication()
2417 (void) strlcpy(zc.zc_name, fsname, in recv_incremental_replication()
2460 fsname, nvpair_name(snapelem)); in recv_incremental_replication()
2463 strlen(fsname)+1, newname, flags); in recv_incremental_replication()
2480 "%s@%s", fsname, nvpair_name(snapelem)); in recv_incremental_replication()
2496 fsname, nvpair_name(snapelem)); in recv_incremental_replication()
2498 fsname, stream_snapname); in recv_incremental_replication()
2501 strlen(fsname)+1, newname, flags); in recv_incremental_replication()
2517 error = recv_destroy(hdl, fsname, strlen(tofs)+1, in recv_incremental_replication()
2531 fsname, fromsnap); in recv_incremental_replication()
2541 s1 = strrchr(fsname, '/'); in recv_incremental_replication()
2552 ((flags->isprefix || strcmp(tofs, fsname) != 0) && in recv_incremental_replication()
2577 "not found\n", fsname); in recv_incremental_replication()
2583 error = recv_rename(hdl, fsname, tryname, in recv_incremental_replication()