HomeSort by relevance Sort by last modified time
    Searched refs:dataset (Results 1 - 25 of 37) sorted by null

1 2

  /onnv/onnv-gate/usr/src/cmd/filebench/scripts/
filebench_compare.pl 69 $dataset = $dir;
70 $dataset =~ s/.*\/(.+)$/$1/;
71 $dataset =~ s/\/$//;
72 $desc{$dataset} = "$description";
83 $ops{$workload, $dataset} = $ops;
107 $datasets{$dataset} = $dataset;
113 $flow_ops{$flowop, $workload, $dataset} += $ops;
114 $flow_bandwidth{$flowop, $workload, $dataset} += $bandwidth;
115 $flow_latency{$flowop, $workload, $dataset} += $latency
    [all...]
  /onnv/onnv-gate/usr/src/lib/libzfs/common/
libzfs_graph.c 28 * dataset hierarchy, but also arbitrary hierarchies due to clones. We want to
41 * In order to construct this graph, we have to walk every dataset in the pool,
47 * starting from the initial node. At each dataset, we construct a node in the
59 * dataset, and then walk the results in reverse.
88 * Vertex structure. Indexed by dataset name, this structure maintains a list
121 * Graph structure. Vertices are maintained in a hash indexed by dataset name.
160 zfs_vertex_create(libzfs_handle_t *hdl, const char *dataset)
167 assert(strlen(dataset) < ZFS_MAXNAMELEN);
169 (void) strlcpy(zvp->zv_dataset, dataset, sizeof (zvp->zv_dataset));
258 zfs_graph_create(libzfs_handle_t *hdl, const char *dataset, size_t size
    [all...]
libzfs_changelist.c 42 * Structure to keep track of dataset state. Before changing the 'sharenfs' or
45 * dataset after the property has been changed.
113 * If we are in the global zone, but this dataset is exported
178 * mountpoint. All other datasets will have inherited from this dataset
214 * If we are in the global zone, but this dataset is exported
290 * Is this "dataset" a child of "parent"?
293 isa_child_of(const char *dataset, const char *parent)
299 if (strncmp(dataset, parent, len) == 0 &&
300 (dataset[len] == '@' || dataset[len] == '/' |
    [all...]
libzfs_impl.h 185 boolean_t isa_child_of(const char *dataset, const char *parent);
libzfs_mount.c 256 * Returns true if the given dataset is mountable, false otherwise. Returns the
344 "mountpoint or dataset is busy"));
619 * dataset that was just created. We want to make sure
970 * Remove the mountpoint associated with the current dataset, if necessary.
1020 const char *dataset = zhp->zfs_name; local
1031 if (iscsitgt_zfs_share == NULL || iscsitgt_zfs_share(dataset) != 0) {
1043 dgettext(TEXT_DOMAIN, "cannot share '%s'"), dataset));
1052 const char *dataset = zfs_get_name(zhp); local
1066 (iscsitgt_zfs_unshare(dataset) != 0 && errno != ENODEV)) {
1071 dgettext(TEXT_DOMAIN, "cannot unshare '%s'"), dataset));
    [all...]
  /onnv/onnv-gate/usr/src/lib/libshare/common/
libshare_zfs.c 228 * dataset.
231 get_legacy_mountpoint(char *path, char *dataset, size_t dlen,
252 (void) strlcpy(dataset, entry.mnt_special,
264 * get the name of the ZFS dataset the path is equivalent to. The
265 * dataset name is used for get/set of ZFS properties since libzfs
266 * requires a dataset to do a zfs_open().
274 char *dataset = NULL; local
293 * Search mmttab for mountpoint and get dataset.
299 dataset = mountpoint;
317 dataset = (char *)zfs_get_name(zlist[i])
371 char *dataset; local
772 char *dataset; local
922 char *dataset = NULL; local
1032 char *dataset = NULL; local
1110 char *dataset = NULL; local
1258 char *dataset; local
1381 char dataset[ZFS_MAXPROPLEN]; local
    [all...]
  /onnv/onnv-gate/usr/src/lib/libiscsitgt/common/
if_zfs.c 46 iscsitgt_zfs_share(const char *dataset)
54 tgt_buf_add(&str, "name", dataset);
89 iscsitgt_zfs_unshare(const char *dataset)
97 tgt_buf_add(&str, "name", dataset);
126 iscsitgt_zfs_is_shared(const char *dataset)
134 tgt_buf_add(&str, "name", dataset);
libiscsitgt.h 204 * dataset = this must be a valid ZFS dataset which has a "type" property
210 * ENODEV - dataset not found
214 int iscsitgt_zfs_share(const char *dataset);
215 int iscsitgt_zfs_unshare(const char *dataset);
220 int iscsitgt_zfs_is_shared(const char *dataset);
  /onnv/onnv-gate/usr/src/cmd/zinject/
translate.c 73 * Given a full path to a file, translate into a dataset name and a relative
74 * path within the dataset. 'dataset' must be at least MAXNAMELEN characters,
79 parse_pathname(const char *fullpath, char *dataset, char *relpath,
136 (void) strcpy(dataset, mp.mnt_special);
147 * Convert from a (dataset, path) pair into a (objset, object) pair. Note that
153 object_from_path(const char *dataset, const char *path, struct stat64 *statbuf,
165 err = dmu_objset_own(dataset, DMU_OST_ZFS, B_TRUE, FTAG, &os);
167 (void) fprintf(stderr, "cannot open dataset '%s': %s\n",
168 dataset, strerror(err))
    [all...]
zinject.h 59 int level, zinject_record_t *record, char *poolname, char *dataset);
zinject.c 123 * does an unmount and remount of the underlying dataset to aid in flushing the
551 char dataset[MAXNAMELEN]; local
803 dataset[0] = '\0';
837 dataset[0] = '\0';
866 dataset[0] = '\0';
887 dataset[0] = '\0';
899 dataset[0] = '\0';
922 dataset) != 0)
933 if (dataset[0] != '\0' && domount) {
934 if ((zhp = zfs_open(g_zfs, dataset, ZFS_TYPE_DATASET)) == NULL
    [all...]
  /onnv/onnv-gate/usr/src/cmd/smbsrv/smbd/
smbd_vss.c 47 * is expecting a path that is the root of the dataset.
50 * in the dataset that was opened. The iterator function gets
98 * path - path of the dataset
99 * count - return value of the number of snapshots for the dataset
104 char dataset[MAXPATHLEN]; local
112 if (smb_getdataset(path, dataset, MAXPATHLEN) != 0)
118 if ((zfshd = zfs_open(libhd, dataset, ZFS_TYPE_DATASET)) == NULL) {
136 * path - is the path of the dataset
148 char dataset[MAXPATHLEN]; local
170 if (smb_getdataset(path, dataset, MAXPATHLEN) != 0)
231 char dataset[MAXPATHLEN]; local
    [all...]
  /onnv/onnv-gate/usr/src/lib/pyzfs/common/
holds.py 34 import zfs.dataset
66 for ds in zfs.dataset.snapshots_fromcmdline(args, options.recursive):
allow.py 30 import zfs.dataset
234 ds (Dataset)."""
248 return zfs.dataset.getpropobj(permname).name
265 for (name, prop) in sorted(zfs.dataset.proptable.iteritems()):
325 ds = zfs.dataset.Dataset(sys.argv[2], snaps=False)
386 ds = zfs.dataset.Dataset(fsname, snaps=False)
userspace.py 36 import zfs.dataset
105 information from this elem from Dataset.userspace(prop)."""
204 ds = zfs.dataset.Dataset(dsname, types=("filesystem"))
  /onnv/onnv-gate/usr/src/lib/pyzfs/
Makefile.com 30 PYSRCS= __init__.py util.py dataset.py \
  /onnv/onnv-gate/usr/src/cmd/iscsi/iscsitgtd/
mgmt_remove.c 102 char *dataset = NULL; local
113 if (tgt_find_value_str(x, XML_ELEMENT_NAME, &dataset) == False) {
121 status = get_zfs_shareiscsi(dataset, &n, &size, cred);
131 if (strcmp(t->x_value, dataset) == 0)
249 status = put_zfs_shareiscsi(dataset, n);
263 if (dataset)
264 free(dataset);
mgmt_modify.c 749 * modify_zfs -- test for the existence of a certain dataset being shared
758 char *dataset = NULL; local
772 if (tgt_find_value_str(x, XML_ELEMENT_NAME, &dataset) == False) {
784 free(dataset);
791 status = get_zfs_shareiscsi(dataset, &n, &size, cred);
799 if (strcmp(t->x_value, dataset) == 0)
933 status = put_zfs_shareiscsi(dataset, n);
947 if (dataset)
948 free(dataset);
964 char *dataset = NULL local
    [all...]
mgmt_create.c 413 * create_zfs -- given a dataset, export it through the iSCSI protocol
416 * iscsitgt_zfs_share(char *dataset)
422 char *dataset = NULL; local
433 * Extract the dataset name from the arguments passed in
435 if (tgt_find_value_str(x, XML_ELEMENT_NAME, &dataset) == False) {
441 * Since this is a create, assure that an existing dataset with the
446 if (strcmp(c->x_value, dataset) == 0) {
456 status = get_zfs_shareiscsi(dataset, &n, &size, cred);
533 if ((status = put_zfs_shareiscsi(dataset, n)) != ERR_SUCCESS) {
565 * With ZVOLS, some elements can change everytime we share the dataset
    [all...]
  /onnv/onnv-gate/usr/src/lib/libzfs_jni/common/
libzfs_jni_util.c 83 zjni_get_dataset_from_snapshot(const char *snapshot, char *dataset,
87 (void) strncpy(dataset, snapshot, len);
88 at = strchr(dataset, '@');
  /onnv/onnv-gate/usr/src/lib/smbsrv/libmlsvc/common/
srvsvc_sd.c 54 char dataset[MAXPATHLEN]; local
60 ret = smb_getdataset(si->shr_path, dataset, MAXPATHLEN);
67 if ((zfshd = zfs_open(libhd, dataset, ZFS_TYPE_DATASET)) == NULL) {
smb_share.c 1998 char dataset[MAXPATHLEN]; local
2032 char dataset[MAXPATHLEN]; local
2066 char dataset[MAXPATHLEN]; local
    [all...]
  /onnv/onnv-gate/usr/src/pkgdefs/SUNWzfsu/
prototype_com 68 f none usr/lib/python2.4/vendor-packages/zfs/dataset.py 644 root bin
69 f none usr/lib/python2.4/vendor-packages/zfs/dataset.pyc 644 root bin
  /onnv/onnv-gate/usr/src/cmd/fs.d/
df.c 1221 * the underlying ZFS dataset if necessary and get the real value.
1227 char *dataset, *slash; local
1241 if ((dataset = strdup(DFR_SPECIAL(dfrp))) == NULL)
1244 slash = dataset + strlen(dataset);
1251 zhp = _zfs_open(g_zfs, dataset, ZFS_TYPE_DATASET);
1268 if ((slash = strrchr(dataset, '/')) == NULL) {
1281 free(dataset);
    [all...]
  /onnv/onnv-gate/usr/src/cmd/fs.d/nfs/rquotad/
rpc.rquotad.c 276 getzfsquota(uid_t user, char *dataset, struct dqblk *zq)
285 if ((zhp = _zfs_open(g_zfs, dataset, ZFS_TYPE_DATASET)) == NULL) {
286 syslog(LOG_ERR, "can not open zfs dataset %s", dataset);

Completed in 1390 milliseconds

1 2