Lines Matching refs:snapname
6000 const char *snapname; in holds_callback() local
6005 snapname = delim + 1; in holds_callback()
6006 if (strcmp(cbp->cb_snapname, snapname)) in holds_callback()
6083 const char *snapname; in zfs_do_holds() local
6092 snapname = delim + 1; in zfs_do_holds()
6097 cb.cb_snapname = snapname; in zfs_do_holds()
7394 char snapname[ZFS_MAX_DATASET_NAME_LEN]; in zfs_do_bookmark() local
7435 (void) strncpy(snapname, argv[1], sizeof (snapname)); in zfs_do_bookmark()
7436 *strchr(snapname, '#') = '\0'; in zfs_do_bookmark()
7437 (void) strlcat(snapname, argv[0], sizeof (snapname)); in zfs_do_bookmark()
7439 (void) strlcpy(snapname, argv[0], sizeof (snapname)); in zfs_do_bookmark()
7441 zhp = zfs_open(g_zfs, snapname, ZFS_TYPE_SNAPSHOT); in zfs_do_bookmark()
7448 fnvlist_add_string(nvl, argv[1], snapname); in zfs_do_bookmark()