/freebsd-11.0-release/sys/cddl/compat/opensolaris/kern/ |
H A D | opensolaris_zone.c | 59 zone_dataset_attach(struct ucred *cred, const char *dataset, int jailid) argument 70 zd = malloc(sizeof(*zd) + strlen(dataset) + 1, M_ZONES, M_WAITOK); 84 if (strcmp(dataset, zd2->zd_dataset) == 0) { 100 strcpy(zd->zd_dataset, dataset); 111 zone_dataset_detach(struct ucred *cred, const char *dataset, int jailid) argument 132 if (strcmp(dataset, zd->zd_dataset) == 0) 150 * Returns true if the named dataset is visible in the current zone. 151 * The 'write' parameter is set to 1 if the dataset is also writable. 154 zone_dataset_visible(const char *dataset, int *write) argument 162 if (dataset[ [all...] |
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/zinject/ |
H A D | translate.c | 81 * Given a full path to a file, translate into a dataset name and a relative 82 * path within the dataset. 'dataset' must be at least MAXNAMELEN characters, 87 parse_pathname(const char *inpath, char *dataset, char *relpath, argument 132 (void) strcpy(dataset, sfs.f_mntfromname); 143 * Convert from a (dataset, path) pair into a (objset, object) pair. Note that 149 object_from_path(const char *dataset, const char *path, struct stat64 *statbuf, argument 161 err = dmu_objset_own(dataset, DMU_OST_ZFS, B_TRUE, FTAG, &os); 163 (void) fprintf(stderr, "cannot open dataset '%s': %s\n", 164 dataset, strerro 180 calculate_range(const char *dataset, err_type_t type, int level, char *range, zinject_record_t *record) argument 315 translate_record(err_type_t type, const char *object, const char *range, int level, zinject_record_t *record, char *poolname, char *dataset) argument [all...] |
H A D | zinject.h | 58 int level, zinject_record_t *record, char *poolname, char *dataset);
|
H A D | zinject.c | 123 * does an unmount and remount of the underlying dataset to aid in flushing the 675 char dataset[MAXNAMELEN]; local 941 dataset[0] = '\0'; 975 dataset[0] = '\0'; 1007 dataset[0] = '\0'; 1028 dataset[0] = '\0'; 1040 dataset[0] = '\0'; 1064 dataset) != 0) 1075 if (dataset[0] != '\0' && domount) { 1076 if ((zhp = zfs_open(g_zfs, dataset, ZFS_TYPE_DATASE [all...] |
/freebsd-11.0-release/contrib/unbound/util/data/ |
H A D | msgparse.c | 334 /** move rrsigs from sigset to dataset */ 337 struct rrset_parse* sigset, struct rrset_parse* dataset, int duplicate) 346 dataset->type)) { 367 /* add to dataset */ 368 dataset->rrsig_count++; 370 if(dataset->rrsig_last) 371 dataset->rrsig_last->next = insert; 372 else dataset->rrsig_first = insert; 373 dataset->rrsig_last = insert; 374 dataset 336 moveover_rrsigs(sldns_buffer* pkt, struct regional* region, struct rrset_parse* sigset, struct rrset_parse* dataset, int duplicate) argument 389 struct rrset_parse* dataset = sigset; local [all...] |
/freebsd-11.0-release/cddl/contrib/opensolaris/lib/pyzfs/common/ |
H A D | holds.py | 33 import zfs.dataset namespace 65 for ds in zfs.dataset.snapshots_fromcmdline(args, options.recursive):
|
H A D | allow.py | 30 import zfs.dataset namespace 222 diff=_("Allows lookup of paths within a dataset,\n\t\t\t\tgiven an object number. Ordinary users need this\n\t\t\t\tin order to use zfs diff"), 250 return zfs.dataset.getpropobj(permname).name 267 for (name, prop) in sorted(zfs.dataset.proptable.iteritems()): 327 ds = zfs.dataset.Dataset(sys.argv[2], snaps=False) 388 ds = zfs.dataset.Dataset(fsname, snaps=False)
|
H A D | userspace.py | 36 import zfs.dataset namespace 204 ds = zfs.dataset.Dataset(dsname, types=("filesystem"))
|
/freebsd-11.0-release/contrib/libarchive/libarchive/ |
H A D | archive_read.c | 257 self->archive->client.dataset[i].data); 285 data2 = self->archive->client.dataset[self->archive->client.cursor].data; 388 a->client.dataset = (struct archive_read_data_node *) 389 calloc(1, sizeof(*a->client.dataset)); 390 if (a->client.dataset == NULL) 405 a->client.dataset[iindex].data = client_data; 406 a->client.dataset[iindex].begin_position = -1; 407 a->client.dataset[iindex].total_size = -1; 426 p = realloc(a->client.dataset, sizeof(*a->client.dataset) [all...] |
H A D | archive_read_private.h | 144 struct archive_read_data_node *dataset; member in struct:archive_read_client
|
/freebsd-11.0-release/usr.bin/ministat/ |
H A D | ministat.c | 135 struct dataset { struct 143 static struct dataset * 146 struct dataset *ds; 155 AddPoint(struct dataset *ds, double a) 172 Min(struct dataset *ds) 179 Max(struct dataset *ds) 186 Avg(struct dataset *ds) 193 Median(struct dataset *ds) 202 Var(struct dataset *ds) 209 Stddev(struct dataset *d [all...] |
/freebsd-11.0-release/contrib/ldns/drill/ |
H A D | securetrace.c | 152 ldns_rr_list *dataset; local 635 (void) get_dnssec_rr(p, labels[i], t, &dataset, &key_sig_list); 636 if (dataset && ldns_rr_list_rr_count(dataset) > 0) { 640 if ((st = ldns_verify(dataset, key_sig_list, trusted_keys, NULL)) == LDNS_STATUS_OK) { 642 ldns_rr_list_print(stdout, dataset); 643 } else if ((st = ldns_verify(dataset, key_sig_list, correct_key_list, NULL)) == LDNS_STATUS_OK) { 645 ldns_rr_list_print(stdout, dataset); 649 ldns_rr_list_print(stdout, dataset); 654 ldns_rr_list_print(stdout, dataset); [all...] |
/freebsd-11.0-release/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs_changelist.c | 45 * Structure to keep track of dataset state. Before changing the 'sharenfs' or 48 * dataset after the property has been changed. 116 * If we are in the global zone, but this dataset is exported 168 * mountpoint. All other datasets will have inherited from this dataset 206 * If we are in the global zone, but this dataset is exported 267 * Is this "dataset" a child of "parent"? 270 isa_child_of(const char *dataset, const char *parent) argument 276 if (strncmp(dataset, parent, len) == 0 && 277 (dataset[len] == '@' || dataset[le [all...] |
H A D | libzfs_impl.h | 191 boolean_t isa_child_of(const char *dataset, const char *parent);
|
H A D | libzfs_dataset.c | 88 * Given a path and mask of ZFS types, return a string describing this dataset. 89 * This is used when we fail to open a dataset and we cannot get an exact type. 107 * The user is requesting more than one type of dataset. If this is the 131 * Validate a ZFS path. This is used even before trying to open the dataset, to 289 * Returns a handle to the pool that contains the provided dataset. 440 * Makes a handle from the given dataset name. Used by zfs_open() and 450 * We've managed to open the dataset and gather statistics. Determine 667 "invalid dataset name")); 673 * Try to get stats for the dataset, which will tell us if it exists. 1227 "dataset i 4246 zfs_deleg_share_nfs(libzfs_handle_t *hdl, char *dataset, char *path, char *resource, void *export, void *sharetab, int sharemax, zfs_share_op_t operation) argument 4298 zfs_smb_acl_mgmt(libzfs_handle_t *hdl, char *dataset, char *path, zfs_smb_acl_op_t cmd, char *resource1, char *resource2) argument 4348 zfs_smb_acl_add(libzfs_handle_t *hdl, char *dataset, char *path, char *resource) argument 4356 zfs_smb_acl_remove(libzfs_handle_t *hdl, char *dataset, char *path, char *resource) argument 4364 zfs_smb_acl_purge(libzfs_handle_t *hdl, char *dataset, char *path) argument 4371 zfs_smb_acl_rename(libzfs_handle_t *hdl, char *dataset, char *path, char *oldname, char *newname) argument [all...] |
/freebsd-11.0-release/sys/boot/zfs/ |
H A D | zfsimpl.c | 1738 dnode_phys_t child_dir_zap, dataset, dir, parent; local 1747 if (objset_get_dnode(spa, &spa->spa_mos, objnum, &dataset)) { 1748 printf("ZFS: can't find dataset %ju\n", (uintmax_t)objnum); 1751 ds = (dsl_dataset_phys_t *)&dataset.dn_bonus; 1844 dnode_phys_t child_dir_zap, dir, dataset; local 1848 if (objset_get_dnode(spa, &spa->spa_mos, objnum, &dataset)) { 1849 printf("ZFS: can't find dataset %ju\n", (uintmax_t)objnum); 1852 ds = (dsl_dataset_phys_t *) &dataset.dn_bonus; 1874 dnode_phys_t child_dir_zap, dir, dataset; local 1879 err = objset_get_dnode(spa, &spa->spa_mos, objnum, &dataset); 1920 dnode_phys_t dataset; local [all...] |
/freebsd-11.0-release/cddl/contrib/opensolaris/lib/libzfs_core/common/ |
H A D | libzfs_core.c | 370 lzc_exists(const char *dataset) argument 378 (void) strlcpy(zc.zc_name, dataset, sizeof (zc.zc_name));
|
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/zfs/ |
H A D | zfs_main.c | 437 (void) fprintf(fp, gettext("\nEach dataset is of the form: " 438 "pool/[dataset/]*dataset[@name]\n")); 606 * Check if the dataset is mountable and should be automatically mounted. 619 * Given an existing dataset, create a writable copy whose initial contents 620 * are the same as the source. The newly created dataset maintains a 660 (void) fprintf(stderr, gettext("missing source dataset " 665 (void) fprintf(stderr, gettext("missing target dataset " 674 /* open the source dataset */ 681 * Now create the ancestors of the target dataset 4761 const char *dataset; member in struct:allow_opts 6754 char *dataset, *path; local [all...] |
/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | zfs_ioctl.c | 68 * dataset is visible in this zone, and if the user has either all 70 * to do this operation on this dataset with "zfs allow". 74 * name, a dataset name, or nothing. If the name is not well-formed, 106 * The name of the pool or dataset to operate on, from 108 * expected type (pool, dataset, or none). 251 static int zfs_check_clearable(char *dataset, nvlist_t *props, 325 * Check to see if the named dataset is currently defined as bootable 402 * and can be used in the local zone, as there is no associated dataset. 412 * Policy for dataset read operations (list children, get statistics). Requires 427 zfs_dozonecheck_impl(const char *dataset, uint64_ argument 461 zfs_dozonecheck(const char *dataset, cred_t *cr) argument 472 zfs_dozonecheck_ds(const char *dataset, dsl_dataset_t *ds, cred_t *cr) argument 3154 zfs_fill_zplprops(const char *dataset, nvlist_t *createprops, nvlist_t *zplprops, boolean_t *is_ci) argument 4092 zfs_check_clearable(char *dataset, nvlist_t *props, nvlist_t **errlist) argument [all...] |
/freebsd-11.0-release/usr.sbin/bsdinstall/scripts/ |
H A D | zfsboot | 53 # Default name for the boot environment parent dataset 144 # Boot Environment [BE] root and default boot dataset 1057 # Creates boot pool and dataset layout. Returns error if something goes wrong. 1320 # Create ZFS dataset layout within the new root pool 1323 echo "$ZFSBOOT_DATASETS" | while read dataset options; do 1325 case "$dataset" in "#"*|"") continue; esac 1338 # Create the dataset with desired options 1340 "${options:+-o $options}" "$zroot_name$dataset" ||
|