/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | statvfs.c | 43 #include <sys/vfs.h> 67 us2v(register struct statfs* ufs, register struct stat* st, register struct statvfs* vfs) 69 memset(vfs, 0, sizeof(*vfs)); 70 vfs->f_bsize = vfs->f_frsize = ufs->f_bsize; 71 vfs->f_blocks = ufs->f_blocks; 72 vfs->f_bfree = ufs->f_bfree; 73 vfs->f_bavail = 79 vfs [all...] |
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | statfs.c | 30 #include <sys/vfs.h>
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | vfs.h | 85 typedef struct vfs { struct 86 struct vfs *vfs_next; /* next VFS in VFS list */ 102 #define VFS_RDONLY 0x01 /* read-only vfs */ 103 #define VFS_MLOCK 0x02 /* lock vfs so that subtree is stable */ 133 int (*vfs_mount)(struct vfs *, struct vnode *, struct mounta *, 135 int (*vfs_unmount)(struct vfs *, struct cred *); 136 int (*vfs_root)(struct vfs *, struct vnode **); 137 int (*vfs_statvfs)(struct vfs *, struct statvfs64 *); 138 int (*vfs_sync)(struct vfs *, short, struct cred *); 139 int (*vfs_vget)(struct vfs *, struc [all...] |
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | statfs.c | 31 #include <sys/vfs.h>
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | sync.c | 34 #include <sys/vfs.h>
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | llib-lnfs | 38 #include <sys/vfs.h>
|
/illumos-gate/usr/src/uts/common/sys/fs/ |
H A D | lofs_info.h | 62 struct vfs *li_realvfs; /* real vfs of mount */ 63 struct vfs *li_mountvfs; /* loopback vfs */ 64 struct vnode *li_rootvp; /* root vnode of this vfs */ 77 /* inheritable mount flags - propagated from real vfs to loopback */ 95 * lfsnodes are allocated as new real vfs's are encountered 97 * It contains a new vfs which is paired with the real vfs 98 * so that vfs op [all...] |
H A D | pxfs_ki.h | 32 #include <sys/vfs.h>
|
H A D | hsfs_impl.h | 48 uint_t lbn, uint_t off, struct vfs *vfsp); 50 extern int hs_remakenode(uint_t lbn, uint_t off, struct vfs *vfsp, 57 struct vfs *vfsp); 73 extern int hs_synchash(struct vfs *vfsp);
|
H A D | ufs_panic.h | 33 #include <sys/vfs.h> 90 struct vfs *uf_vfsp; /* ptr to vfs */
|
H A D | namenode.h | 83 extern struct vfs namevfs;
|
/illumos-gate/usr/src/cmd/mdb/common/modules/lofs/ |
H A D | lofs.c | 30 #include <sys/vfs.h> 49 struct vfs vfs; local 73 (void) mdb_vread(&vfs, sizeof (vfs), vfsp); 74 if (lofsfstype != vfs.vfs_fstype) { 75 vfsp = (uintptr_t)vfs.vfs_next; 79 (uintptr_t)vfs.vfs_data); 81 vfsp = (uintptr_t)vfs.vfs_next; 97 (void) mdb_vread(&vfs, sizeo 234 vfs_t vfs; local [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | vfs.h | 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 { struct 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_has [all...] |
H A D | vfs_opreg.h | 31 #include <sys/vfs.h> 49 VFS_OPS; /* Signatures of all vfs operations (vfsops) */ 69 * one for vnode operations (vn_ops_table[]) and one for vfs operations 87 * Generic operations vector types (used for vfs/vnode ops registration).
|
H A D | policy.h | 69 struct vfs; 94 int secpolicy_fs_config(const cred_t *, const struct vfs *); 95 int secpolicy_fs_linkdir(const cred_t *, const struct vfs *); 96 int secpolicy_fs_minfree(const cred_t *, const struct vfs *); 97 int secpolicy_fs_mount(cred_t *, vnode_t *, struct vfs *); 98 int secpolicy_fs_quota(const cred_t *, const struct vfs *); 99 int secpolicy_fs_unmount(cred_t *, struct vfs *); 173 void secpolicy_fs_mount_clearopts(cred_t *, struct vfs *);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/smbfs/ |
H A D | smbfs.c | 32 #include <sys/vfs.h> 77 uintptr_t vfsops; /* filter by vfs ops pointer */ 84 const vfs_t *vfs = data; local 89 if (cbd->vfsops && cbd->vfsops != (uintptr_t)vfs->vfs_op) { 99 mdb_printf(" %-p", (uintptr_t)vfs->vfs_data); 104 ta = (uintptr_t)vfs->vfs_mntpt; 113 (uintptr_t)vfs->vfs_data) == -1) { 115 (uintptr_t)vfs->vfs_data); 131 vfs_t *vfs; local 152 if (mdb_walk("genunix`vfs", smbfs_vfs_c [all...] |
/illumos-gate/usr/src/cmd/krb5/kdestroy/ |
H A D | krpc_sys.c | 10 #include <sys/vfs.h>
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | vfs_conf.c | 31 #include <sys/vfs.h>
|
/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | vfs.h | 59 struct vfs { struct 60 struct vfs *vfs_next; /* next vfs in vfs list */ 61 struct vfsops *vfs_op; /* operations on vfs */ 71 * vfs flags. 72 * VFS_MLOCK lock the vfs so that name lookup cannot proceed past the vfs. 75 #define VFS_RDONLY 0x01 /* read only vfs */ 76 #define VFS_MLOCK 0x02 /* lock vfs s [all...] |
/illumos-gate/usr/src/uts/common/fs/devfs/ |
H A D | devfs_vfsops.c | 42 #include <sys/vfs.h> 63 * devfs vfs operations. 65 static int devfs_mount(struct vfs *, struct vnode *, struct mounta *, 67 static int devfs_unmount(struct vfs *, int, struct cred *); 68 static int devfs_root(struct vfs *, struct vnode **); 69 static int devfs_statvfs(struct vfs *, struct statvfs64 *); 70 static int devfs_mountroot(struct vfs *, enum whymountroot); 149 cmn_err(CE_WARN, "devfsinit: bad vfs ops template"); 177 devfs_mount(struct vfs *vfsp, struct vnode *mvp, struct mounta *uap, 204 * Create and initialize the vfs [all...] |
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumpfstab.c | 99 struct vfstab vfs; local 117 while ((status = getvfsent(tp, &vfs)) == 0) { 118 if (vfs.vfs_fstype == (char *)0 || 119 strcmp(vfs.vfs_fstype, MNTTYPE_42) != 0) 123 mnt->mnt_fsname = mntstrdup(vfs.vfs_special); 124 mnt->mnt_dir = mntstrdup(vfs.vfs_mountp); 125 mnt->mnt_type = mntstrdup(vfs.vfs_fstype); 126 mnt->mnt_opts = mntstrdup(vfs.vfs_mntopts);
|
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_vfs.c | 25 #include <sys/vfs.h> 52 static struct vfs fake_rootvfs; 53 struct vfs *rootvfs = NULL; 97 * Query a vfs for a feature. 113 struct vfs * 171 vfs_getmntpoint(const struct vfs *vfsp)
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/netstrategy/ |
H A D | netstrategy.c | 109 static struct statvfs vfs; local 112 if (statvfs("/", &vfs) < 0) { 115 if (strncmp(vfs.f_basetype, "nfs", sizeof ("nfs") - 1) == 0) 116 vfs.f_basetype[sizeof ("nfs") - 1] = '\0'; 117 return (vfs.f_basetype);
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | nfssys.c | 41 #include <sys/vfs.h>
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | rpcsys.c | 37 #include <sys/vfs.h>
|