| /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...] |
| t10_sam.c | 1500 char *dataset = NULL; local [all...] |
| /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/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/cmd/zinject/ |
| 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/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/libzfs/common/ |
| 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/smb/ |
| libshare_smb.c | 1614 char *dataset; local [all...] |
| /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/zfs/ |
| zfs_main.c | 361 (void) fprintf(fp, gettext("\nEach dataset is of the form: " 362 "pool/[dataset/]*dataset[@name]\n")); 476 * Given an existing dataset, create a writable copy whose initial contents 477 * are the same as the source. The newly created dataset maintains a 520 (void) fprintf(stderr, gettext("missing source dataset " 525 (void) fprintf(stderr, gettext("missing target dataset " 534 /* open the source dataset */ 541 * Now create the ancestors of the target dataset. If the 584 * Create a new dataset. This command can be used to create filesystem 3946 char *dataset, *path; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/os/ |
| zone.c | 3722 char *dataset, *next; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libzonecfg/common/ |
| libzonecfg.c | 87 #define DTD_ELEM_DATASET (const xmlChar *) "dataset" 6204 char dataset[MAXNAMELEN]; local [all...] |