Lines Matching defs:resource
71 * the text entry in /etc/mnttab for a mounted resource, i.e. a vfs_t, and is
74 * the corresponding resource has been unmounted.
78 * that an element exists for each currently mounted resource. Following this,
250 const char *resource, *mntpt;
253 resource = refstr_value(vfsp->vfs_resource);
256 if (resource != NULL && resource[0] != '\0') {
257 if (resource[0] != '/') {
258 cp += snprintf(cp, MAXPATHLEN, "%s\t", resource);
259 } else if (!ZONE_PATH_VISIBLE(resource, zonep)) {
261 * Use the mount point as the resource.
267 ZONE_PATH_TRANSLATE(resource, zonep));
310 const char *resource, *mntpt;
321 resource = refstr_value(vfsp->vfs_resource);
322 if (resource != NULL && resource[0] != '\0') {
323 if (resource[0] != '/') {
324 size += strlen(resource) + 1;
325 } else if (!ZONE_PATH_VISIBLE(resource, zone)) {
331 size += strlen(ZONE_PATH_TRANSLATE(resource, zone)) + 1;
489 * systems may make unadvertised changes to, for example, a resource's mount
592 * and resource. However, if the zone's root is a
593 * zfs dataset, use the dataset name as the resource.
1326 * mntfs_special_info_element() extracts the name of the mounted resource
1681 * If the user specifies a mounted resource that is a special
1698 * matches. However, the mounted resource is special: if the