Lines Matching +refs:val +refs:resource
1131 char *resource = NULL, *mountpt = NULL;
1290 * same for the resource string, since it would turn
1302 resource = kmem_alloc(pn.pn_pathlen + 1,
1304 (void) strcpy(resource, pn.pn_path);
1374 (resource != NULL &&
1376 strlen(resource)) > MAXPATHLEN)) {
1639 vfs_setresource(vfsp, resource, 0);
1812 if (resource != NULL)
1813 kmem_free(resource, strlen(resource) + 1);
1886 * in the zone's rootpath with the "newpath" (resource
1927 * Record a mounted resource name in a vfs structure.
1931 vfs_setresource(struct vfs *vfsp, const char *resource, uint32_t flag)
1933 if (resource == NULL || resource[0] == '\0')
1934 resource = VFS_NORESOURCE;
1935 vfs_setpath(vfsp, &vfsp->vfs_resource, resource, flag);
1955 refstr_t *resource;
1958 resource = vfsp->vfs_resource;
1959 refstr_hold(resource);
1962 return (resource);
3359 vfs_make_fsid(fsid_t *fsi, dev_t dev, int val)
3361 if (!cmpldev((dev32_t *)&fsi->val[0], dev))
3363 fsi->val[1] = val;
3453 dev = expldev(vfsp->vfs_fsid.val[0]);
3492 dev = expldev(vfsp->vfs_fsid.val[0]);
3679 int val0 = fsid->val[0];
3680 int val1 = fsid->val[1];
3687 if (vfsp->vfs_fsid.val[0] == val0 &&
3688 vfsp->vfs_fsid.val[1] == val1) {