Lines Matching defs:vfs

155  * use a unique fsid_t for each vfs (e.g., namefs).  In order to do
177 * it's intended for use only in the kernel's vfs layer.
186 * It is safe to read these fields if you can prevent a remount on the vfs,
189 * functions, as it is protected by the vfs list lock. Modifying a mount
190 * option requires grabbing the vfs list write lock, which can be a very
196 typedef struct vfs {
197 struct vfs *vfs_next; /* next VFS in VFS list */
198 struct vfs *vfs_prev; /* prev VFS in VFS list */
211 struct vfs *vfs_list; /* sync list pointer */
212 struct vfs *vfs_hash; /* hash list pointer */
214 uint_t vfs_count; /* vfs reference count */
227 struct vfs *vfs_zone_next; /* next VFS visible in zone */
228 struct vfs *vfs_zone_prev; /* prev VFS visible in zone */
243 #define VFS_RDONLY 0x01 /* read-only vfs */
244 #define VFS_NOMNTTAB 0x02 /* vfs not seen in mnttab */
249 #define VFS_PXFS 0x80 /* clustering: global fs proxy vfs */
319 * VFS_OPS defines all the vfs operations. It is used to define
337 VFS_OPS; /* Signature of all vfs operations (vfsops) */
428 * Private vfs data, NOT to be used by a file system implementation.
434 /* Counted array - Bitmap of vfs features */
474 struct vfs **);
475 int dounmount(struct vfs *, int, cred_t *);
476 int vfs_lock(struct vfs *);
477 int vfs_rlock(struct vfs *);
478 void vfs_lock_wait(struct vfs *);
479 void vfs_rlock_wait(struct vfs *);
480 void vfs_unlock(struct vfs *);
481 int vfs_lock_held(struct vfs *);
482 struct _kthread *vfs_lock_owner(struct vfs *);
486 void vfs_add(vnode_t *, struct vfs *, int);
487 void vfs_remove(struct vfs *);
506 void vfs_clearmntopt(struct vfs *, const char *);
507 void vfs_setmntopt(struct vfs *, const char *, const char *, int);
508 void vfs_setresource(struct vfs *, const char *, uint32_t);
509 void vfs_setmntpoint(struct vfs *, const char *, uint32_t);
510 refstr_t *vfs_getresource(const struct vfs *);
511 refstr_t *vfs_getmntpoint(const struct vfs *);
512 int vfs_optionisset(const struct vfs *, const char *, char **);
520 void vfs_addmip(dev_t, struct vfs *);
521 void vfs_delmip(struct vfs *);
523 int vfs_devmounting(dev_t, struct vfs *);
525 struct vfs *getvfs(fsid_t *);
526 struct vfs *vfs_dev2vfsp(dev_t);
527 struct vfs *vfs_mntpoint2vfsp(const char *);
541 void vfs_list_add(struct vfs *);
542 void vfs_list_remove(struct vfs *);
564 extern vfsops_t *EIO_vfsops; /* operations for vfs being torn-down */
567 * The following variables are private to the the kernel's vfs layer. File
570 extern struct vfs *rootvfs; /* ptr to root vfs structure */
572 struct vfs *rvfs_head; /* head vfs in chain */