| /src/external/cddl/osnet/sys/kern/ |
| zone.c | 37 zone_dataset_attach(cred_t *cred, const char *dataset, int jailid) 44 zone_dataset_detach(cred_t *cred, const char *dataset, int jailid) 51 zone_dataset_visible(const char *dataset, int *write) 54 if (dataset[0] == '\0')
|
| /src/external/cddl/osnet/dist/cmd/zinject/ |
| 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, 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, 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, strerror(err)) [all...] |
| zinject.h | 58 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 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_DATASET)) == NULL [all...] |
| /src/external/cddl/osnet/dist/lib/pyzfs/common/ |
| holds.py | 33 import zfs.dataset 65 for ds in zfs.dataset.snapshots_fromcmdline(args, options.recursive):
|
| 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"), 236 ds (Dataset).""" 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)
|
| userspace.py | 36 import zfs.dataset 105 information from this elem from Dataset.userspace(prop).""" 204 ds = zfs.dataset.Dataset(dsname, types=("filesystem"))
|
| /src/external/bsd/libarchive/dist/libarchive/ |
| archive_read.c | 242 ((struct archive *)a, a->client.dataset[i].data); 276 data2 = self->archive->client.dataset[self->archive->client.cursor].data; 377 a->client.dataset = (struct archive_read_data_node *) 378 calloc(1, sizeof(*a->client.dataset)); 379 if (a->client.dataset == NULL) 394 a->client.dataset[iindex].data = client_data; 395 a->client.dataset[iindex].begin_position = -1; 396 a->client.dataset[iindex].total_size = -1; 415 p = realloc(a->client.dataset, sizeof(*a->client.dataset) [all...] |
| archive_read_private.h | 143 struct archive_read_data_node *dataset; member in struct:archive_read_client
|
| /src/external/bsd/unbound/dist/util/data/ |
| msgparse.c | 346 /** move rrsigs from sigset to dataset */ 349 struct rrset_parse* sigset, struct rrset_parse* dataset, int duplicate) 358 dataset->type)) { 379 /* add to dataset */ 380 dataset->rrsig_count++; 382 if(dataset->rrsig_last) 383 dataset->rrsig_last->next = insert; 384 else dataset->rrsig_first = insert; 385 dataset->rrsig_last = insert; 386 dataset->size += insert->size 401 struct rrset_parse* dataset = sigset; local [all...] |
| /src/external/cddl/osnet/dist/lib/libzfs/common/ |
| 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) 280 if (strncmp(dataset, parent, len) == 0 && 281 (dataset[len] == '@' || dataset[len] == '/' | [all...] |
| libzfs_impl.h | 185 boolean_t isa_child_of(const char *dataset, const char *parent);
|
| 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 " 1480 "pool and or dataset must be upgraded to set this " 1529 * Given a property name and value, set the property for the given dataset [all...] |
| /src/lib/libnpf/ |
| npf.c | 131 _npf_dataset_lookup(const nvlist_t *dict, const char *dataset, 137 if (!nvlist_exists_nvlist_array(dict, dataset)) { 140 items = nvlist_get_nvlist_array(dict, dataset, &nitems); 153 _npf_dataset_getelement(nvlist_t *dict, const char *dataset, unsigned i) 158 if (!nvlist_exists_nvlist_array(dict, dataset)) { 161 items = nvlist_get_nvlist_array(dict, dataset, &nitems);
|
| /src/external/cddl/osnet/dist/lib/libzfs_core/common/ |
| libzfs_core.c | 370 lzc_exists(const char *dataset) 378 (void) strlcpy(zc.zc_name, dataset, sizeof (zc.zc_name));
|
| /src/external/mpl/bind/dist/tests/dns/ |
| master_test.c | 68 add_callback(void *arg, const dns_name_t *owner, dns_rdataset_t *dataset, 78 result = dns_rdataset_totext(dataset, owner, false, false, &target);
|
| /src/external/mpl/bind/dist/lib/dns/ |
| master.c | 2944 dns_rdataset_t dataset; local 2953 dns_rdataset_init(&dataset); 2954 dns_rdatalist_tordataset(this, &dataset); 2955 dataset.trust = dns_trust_ultimate; 2959 if (dataset.type == dns_rdatatype_rrsig && 2962 dataset.attributes |= DNS_RDATASETATTR_RESIGN; 2963 dataset.resign = resign_fromlist(this, lctx); 2966 &dataset,
|
| tsig.c | 561 dns_rdataset_t *dataset = NULL; local 811 dns_message_gettemprdataset(msg, &dataset); 815 dns_rdatalist_tordataset(datalist, dataset); 816 msg->tsig = dataset;
|
| dnssec.c | 790 dns_rdataset_t *dataset; local 896 dataset = NULL; 897 dns_message_gettemprdataset(msg, &dataset); 898 dns_rdatalist_tordataset(datalist, dataset); 899 msg->sig0 = dataset;
|
| /src/external/cddl/osnet/dist/cmd/zfs/ |
| zfs_main.c | 445 (void) fprintf(fp, gettext("\nEach dataset is of the form: " 446 "pool/[dataset/]*dataset[@name]\n")); 614 * Check if the dataset is mountable and should be automatically mounted. 627 * Given an existing dataset, create a writable copy whose initial contents 628 * are the same as the source. The newly created dataset maintains a 668 (void) fprintf(stderr, gettext("missing source dataset " 673 (void) fprintf(stderr, gettext("missing target dataset " 682 /* open the source dataset */ 689 * Now create the ancestors of the target dataset. If th 4769 const char *dataset; member in struct:allow_opts 6786 char *dataset, *path; local [all...] |
| /src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| 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). 266 static int zfs_check_clearable(char *dataset, nvlist_t *props, 342 * Check to see if the named dataset is currently defined as bootable 419 * and can be used in the local zone, as there is no associated dataset. 429 * Policy for dataset read operations (list children, get statistics). Requires 444 zfs_dozonecheck_impl(const char *dataset, uint64_t zoned, cred_t *cr [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/dns/ |
| tsig.c | 771 dns_rdataset_t *dataset = NULL; local 1036 ret = dns_message_gettemprdataset(msg, &dataset); 1043 RUNTIME_CHECK(dns_rdatalist_tordataset(datalist, dataset) == 1045 msg->tsig = dataset;
|
| master.c | 3131 dns_rdataset_t dataset; local 3143 dns_rdataset_init(&dataset); 3144 RUNTIME_CHECK(dns_rdatalist_tordataset(this, &dataset) == 3146 dataset.trust = dns_trust_ultimate; 3150 if (dataset.type == dns_rdatatype_rrsig && 3153 dataset.attributes |= DNS_RDATASETATTR_RESIGN; 3154 dataset.resign = resign_fromlist(this, lctx); 3157 &dataset));
|
| dnssec.c | 950 dns_rdataset_t *dataset; local 1052 dataset = NULL; 1053 RETERR(dns_message_gettemprdataset(msg, &dataset)); 1054 RUNTIME_CHECK(dns_rdatalist_tordataset(datalist, dataset) == 1056 msg->sig0 = dataset;
|