/freebsd-10-stable/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-10-stable/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-10-stable/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-10-stable/cddl/contrib/opensolaris/lib/pyzfs/common/ |
H A D | holds.py | 33 import zfs.dataset 65 for ds in zfs.dataset.snapshots_fromcmdline(args, options.recursive):
|
H A D | allow.py | 30 import zfs.dataset 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 204 ds = zfs.dataset.Dataset(dsname, types=("filesystem"))
|
/freebsd-10-stable/contrib/libarchive/libarchive/ |
H A D | archive_read.c | 259 self->archive->client.dataset[i].data); 287 data2 = self->archive->client.dataset[self->archive->client.cursor].data; 390 a->client.dataset = (struct archive_read_data_node *) 391 calloc(1, sizeof(*a->client.dataset)); 392 if (a->client.dataset == NULL) 407 a->client.dataset[iindex].data = client_data; 408 a->client.dataset[iindex].begin_position = -1; 409 a->client.dataset[iindex].total_size = -1; 428 p = realloc(a->client.dataset, sizeof(*a->client.dataset) [all...] |
H A D | archive_read_private.h | 146 struct archive_read_data_node *dataset; member in struct:archive_read_client
|
/freebsd-10-stable/usr.bin/ministat/ |
H A D | ministat.c | 134 struct dataset { struct 142 static struct dataset * 145 struct dataset *ds; 154 AddPoint(struct dataset *ds, double a) 171 Min(struct dataset *ds) 178 Max(struct dataset *ds) 185 Avg(struct dataset *ds) 192 Median(struct dataset *ds) 199 Var(struct dataset *ds) 206 Stddev(struct dataset *d [all...] |
/freebsd-10-stable/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-10-stable/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs_changelist.c | 46 * Structure to keep track of dataset state. Before changing the 'sharenfs' or 49 * dataset after the property has been changed. 117 * If we are in the global zone, but this dataset is exported 172 * mountpoint. All other datasets will have inherited from this dataset 210 * If we are in the global zone, but this dataset is exported 271 * Is this "dataset" a child of "parent"? 274 isa_child_of(const char *dataset, const char *parent) argument 280 if (strncmp(dataset, parent, len) == 0 && 281 (dataset[len] == '@' || dataset[le [all...] |
H A D | libzfs_impl.h | 190 boolean_t isa_child_of(const char *dataset, const char *parent);
|
H A D | libzfs_dataset.c | 94 * Validate a ZFS path. This is used even before trying to open the dataset, to 257 * Returns a handle to the pool that contains the provided dataset. 408 * Makes a handle from the given dataset name. Used by zfs_open() and 418 * We've managed to open the dataset and gather statistics. Determine 635 "invalid dataset name")); 641 * Try to get stats for the dataset, which will tell us if it exists. 1204 "dataset in a non-global zone"), 1224 "'%s' cannot be set while dataset " 1474 "pool and or dataset must be upgraded to set this " 1523 * Given a property name and value, set the property for the given dataset 4242 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 4294 zfs_smb_acl_mgmt(libzfs_handle_t *hdl, char *dataset, char *path, zfs_smb_acl_op_t cmd, char *resource1, char *resource2) argument 4344 zfs_smb_acl_add(libzfs_handle_t *hdl, char *dataset, char *path, char *resource) argument 4352 zfs_smb_acl_remove(libzfs_handle_t *hdl, char *dataset, char *path, char *resource) argument 4360 zfs_smb_acl_purge(libzfs_handle_t *hdl, char *dataset, char *path) argument 4367 zfs_smb_acl_rename(libzfs_handle_t *hdl, char *dataset, char *path, char *oldname, char *newname) argument [all...] |
/freebsd-10-stable/sys/boot/zfs/ |
H A D | zfsimpl.c | 1737 dnode_phys_t child_dir_zap, dataset, dir, parent; local 1746 if (objset_get_dnode(spa, &spa->spa_mos, objnum, &dataset)) { 1747 printf("ZFS: can't find dataset %ju\n", (uintmax_t)objnum); 1750 ds = (dsl_dataset_phys_t *)&dataset.dn_bonus; 1843 dnode_phys_t child_dir_zap, dir, dataset; local 1847 if (objset_get_dnode(spa, &spa->spa_mos, objnum, &dataset)) { 1848 printf("ZFS: can't find dataset %ju\n", (uintmax_t)objnum); 1851 ds = (dsl_dataset_phys_t *) &dataset.dn_bonus; 1873 dnode_phys_t child_dir_zap, dir, dataset; local 1878 err = objset_get_dnode(spa, &spa->spa_mos, objnum, &dataset); 1919 dnode_phys_t dataset; local [all...] |
/freebsd-10-stable/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-10-stable/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 998 # Creates boot pool and dataset layout. Returns error if something goes wrong. 1222 # Create ZFS dataset layout within the new root pool 1225 echo "$ZFSBOOT_DATASETS" | while read dataset options; do 1227 case "$dataset" in "#"*|"") continue; esac 1240 # Create the dataset with desired options 1242 "${options:+-o $options}" "$zroot_name$dataset" ||
|
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/zfs/ |
H A D | zfs_main.c | 435 (void) fprintf(fp, gettext("\nEach dataset is of the form: " 436 "pool/[dataset/]*dataset[@name]\n")); 604 * Check if the dataset is mountable and should be automatically mounted. 617 * Given an existing dataset, create a writable copy whose initial contents 618 * are the same as the source. The newly created dataset maintains a 658 (void) fprintf(stderr, gettext("missing source dataset " 663 (void) fprintf(stderr, gettext("missing target dataset " 672 /* open the source dataset */ 679 * Now create the ancestors of the target dataset 4759 const char *dataset; member in struct:allow_opts 6748 char *dataset, *path; local [all...] |
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | zfs_ioctl.c | 67 * dataset is visible in this zone, and if the user has either all 69 * to do this operation on this dataset with "zfs allow". 73 * name, a dataset name, or nothing. If the name is not well-formed, 105 * The name of the pool or dataset to operate on, from 107 * expected type (pool, dataset, or none). 249 static int zfs_check_clearable(char *dataset, nvlist_t *props, 323 * Check to see if the named dataset is currently defined as bootable 400 * and can be used in the local zone, as there is no associated dataset. 410 * Policy for dataset read operations (list children, get statistics). Requires 425 zfs_dozonecheck_impl(const char *dataset, uint64_ argument 459 zfs_dozonecheck(const char *dataset, cred_t *cr) argument 470 zfs_dozonecheck_ds(const char *dataset, dsl_dataset_t *ds, cred_t *cr) argument 3167 zfs_fill_zplprops(const char *dataset, nvlist_t *createprops, nvlist_t *zplprops, boolean_t *is_ci) argument 4153 zfs_check_clearable(char *dataset, nvlist_t *props, nvlist_t **errlist) argument [all...] |