/xnu-2782.1.97/bsd/sys/ |
H A D | mount.h | 382 typedef struct mount * mount_t; typedef in typeref:struct:mount 728 extern int VFS_MOUNT(mount_t, vnode_t, user_addr_t, vfs_context_t); 729 extern int VFS_START(mount_t, int, vfs_context_t); 730 extern int VFS_UNMOUNT(mount_t, int, vfs_context_t); 731 extern int VFS_ROOT(mount_t, vnode_t *, vfs_context_t); 732 extern int VFS_QUOTACTL(mount_t, int, uid_t, caddr_t, vfs_context_t); 733 extern int VFS_GETATTR(mount_t, struct vfs_attr *, vfs_context_t); 734 extern int VFS_SETATTR(mount_t, struct vfs_attr *, vfs_context_t); 735 extern int VFS_SYNC(mount_t, int, vfs_context_t); 736 extern int VFS_VGET(mount_t, ino64_ [all...] |
H A D | mount_internal.h | 302 int (*vfc_mountroot)(mount_t, vnode_t, vfs_context_t); /* if != NULL, routine to mount root */ 420 void mount_lock_init(mount_t); 421 void mount_lock_destroy(mount_t); 422 void mount_lock(mount_t); 423 void mount_lock_spin(mount_t); 424 void mount_unlock(mount_t); 425 void mount_lock_renames(mount_t); 426 void mount_unlock_renames(mount_t); 427 void mount_ref(mount_t, int); 428 void mount_drop(mount_t, in [all...] |
H A D | systm.h | 182 void throttle_info_get_last_io_time(mount_t mp, struct timeval *tv); 183 void update_last_io_time(mount_t mp); 220 void throttle_info_mount_ref(mount_t mp, void * throttle_info); 221 void throttle_info_mount_rel(mount_t mp);
|
H A D | kernel_types.h | 59 typedef struct mount * mount_t; typedef in typeref:struct:mount 107 typedef struct mount * mount_t; typedef in typeref:struct:mount
|
H A D | ubc_internal.h | 161 __private_extern__ int ubc_umount(mount_t mp); 168 __private_extern__ uint32_t cluster_max_io_size(mount_t, int);
|
H A D | vnode_internal.h | 174 mount_t v_mount; /* ptr to vfs we are in */ 588 void vfs_nested_trigger_unmounts(mount_t, int, vfs_context_t);
|
H A D | cprotect.h | 303 int cp_fs_protected (mount_t);
|
H A D | namei.h | 265 void cache_purgevfs(mount_t mp);
|
/xnu-2782.1.97/bsd/miscfs/mockfs/ |
H A D | mockfs_fsnode.h | 63 mount_t mnt; /* The mount that this node belongs to */ 76 int mockfs_fsnode_create(mount_t mp, uint8_t type, mockfs_fsnode_t * fsnpp);
|
H A D | mockfs_vfsops.c | 46 int mockfs_mountroot(mount_t mp, vnode_t rvp, __unused vfs_context_t ctx); 52 int mockfs_root(mount_t mp, vnode_t * vpp, __unused vfs_context_t ctx); 66 int mockfs_mountroot(mount_t mp, vnode_t rvp, __unused vfs_context_t ctx) 200 int mockfs_root(mount_t mp, vnode_t * vpp, __unused vfs_context_t ctx)
|
H A D | mockfs_fsnode.c | 57 int mockfs_fsnode_create(mount_t mp, uint8_t type, mockfs_fsnode_t * fsnpp)
|
/xnu-2782.1.97/bsd/vfs/ |
H A D | vfs_conf.c | 91 extern int mfs_mountroot(mount_t, vnode_t, vfs_context_t); /* dead */ 93 extern int hfs_mountroot(mount_t, vnode_t, vfs_context_t); 102 extern int mockfs_mountroot(mount_t, vnode_t, vfs_context_t); 109 typedef int (*mountroot_t)(mount_t, vnode_t, vfs_context_t);
|
H A D | kpi_vfs.c | 126 #undef mount_t macro 175 VFS_MOUNT(mount_t mp, vnode_t devvp, user_addr_t data, vfs_context_t ctx) 198 VFS_START(mount_t mp, int flags, vfs_context_t ctx) 211 VFS_UNMOUNT(mount_t mp, int flags, vfs_context_t ctx) 241 VFS_ROOT(mount_t mp, struct vnode ** vpp, vfs_context_t ctx) 258 VFS_QUOTACTL(mount_t mp, int cmd, uid_t uid, caddr_t datap, vfs_context_t ctx) 271 VFS_GETATTR(mount_t mp, struct vfs_attr *vfa, vfs_context_t ctx) 288 VFS_SETATTR(mount_t mp, struct vfs_attr *vfa, vfs_context_t ctx) 305 VFS_SYNC(mount_t mp, int flags, vfs_context_t ctx) 322 VFS_VGET(mount_t m [all...] |
H A D | vfs_subr.c | 211 static int unmount_callback(mount_t, __unused void *); 213 static void insmntque(vnode_t vp, mount_t mp); 216 static void vnode_iterate_setup(mount_t); 217 int vnode_umount_preflight(mount_t, vnode_t, int); 218 static int vnode_iterate_prepare(mount_t); 219 static int vnode_iterate_reloadq(mount_t); 220 static void vnode_iterate_clear(mount_t); 221 static mount_t vfs_getvfs_locked(fsid_t *); 233 static int vnode_resolver_create(mount_t, vnode_t, struct vnode_trigger_param *, boolean_t external); 504 vnode_iterate_setup(mount_t m [all...] |
H A D | vfs_init.c | 531 mount_lock_init(mount_t mp) 539 mount_lock_destroy(mount_t mp)
|
H A D | vfs_syscalls.c | 147 static int getfsstat_callback(mount_t mp, void * arg); 150 static int sync_callback(mount_t, void *); 174 static int authorize_devpath_and_update_mntfromname(mount_t mp, user_addr_t devpath, vnode_t *devvpp, vfs_context_t ctx); 175 static int place_mount_and_checkdirs(mount_t mp, vnode_t vp, vfs_context_t ctx); 176 static void undo_place_on_covered_vp(mount_t mp, vnode_t vp); 177 static int mount_begin_update(mount_t mp, vfs_context_t ctx, int flags); 178 static void mount_end_update(mount_t mp); 226 vfs_iskernelmount(mount_t mp) 622 * Allocate and initialize the filesystem (mount_t) 1045 vp->v_mountedhere = (mount_t) [all...] |
/xnu-2782.1.97/bsd/kern/ |
H A D | imageboot.c | 138 mount_t new_rootfs; 162 mount_t old_rootfs;
|
/xnu-2782.1.97/bsd/nfs/ |
H A D | nfs.h | 1183 int nfs_request_create(nfsnode_t, mount_t, struct nfsm_chain *, int, thread_t, kauth_cred_t, struct nfsreq **); 1191 int nfs_request(nfsnode_t, mount_t, struct nfsm_chain *, int, vfs_context_t, struct nfsreq_secinfo_args *, struct nfsm_chain *, u_int64_t *, int *); 1192 int nfs_request2(nfsnode_t, mount_t, struct nfsm_chain *, int, thread_t, kauth_cred_t, struct nfsreq_secinfo_args *, int, struct nfsm_chain *, u_int64_t *, int *); 1193 int nfs_request_gss(mount_t, struct nfsm_chain *, thread_t, kauth_cred_t, int, struct nfs_gss_clnt_ctx *, struct nfsm_chain *, int *); 1194 int nfs_request_async(nfsnode_t, mount_t, struct nfsm_chain *, int, thread_t, kauth_cred_t, struct nfsreq_secinfo_args *, int, struct nfsreq_cbinfo *, struct nfsreq **); 1355 int nfs3_getattr_rpc(nfsnode_t, mount_t, u_char *, size_t, int, vfs_context_t, struct nfs_vattr *, u_int64_t *); 1356 int nfs4_getattr_rpc(nfsnode_t, mount_t, u_char *, size_t, int, vfs_context_t, struct nfs_vattr *, u_int64_t *);
|
H A D | nfs_node.c | 139 int nfs_case_insensitive(mount_t); 142 nfs_case_insensitive(mount_t mp) 188 mount_t mp, 203 mount_t mp2; 601 mount_t mp; 868 mount_t mp = vnode_mount(vp); 1331 nfs_mount_is_dirty(mount_t mp)
|
H A D | nfs_vfsops.c | 179 int mountnfs(char *, mount_t, vfs_context_t, vnode_t *); 180 static int nfs_mount_diskless(struct nfs_dlmount *, const char *, int, vnode_t *, mount_t *, vfs_context_t); 182 static int nfs_mount_diskless_private(struct nfs_dlmount *, const char *, int, vnode_t *, mount_t *, vfs_context_t); 193 int nfs_vfs_mount(mount_t, vnode_t, user_addr_t, vfs_context_t); 194 int nfs_vfs_start(mount_t, int, vfs_context_t); 195 int nfs_vfs_unmount(mount_t, int, vfs_context_t); 196 int nfs_vfs_root(mount_t, vnode_t *, vfs_context_t); 197 int nfs_vfs_quotactl(mount_t, int, uid_t, caddr_t, vfs_context_t); 198 int nfs_vfs_getattr(mount_t, struct vfs_attr *, vfs_context_t); 199 int nfs_vfs_sync(mount_t, in [all...] |
H A D | nfsmount.h | 218 int (*nf_getattr_rpc)(nfsnode_t, mount_t, u_char *, size_t, int, vfs_context_t, struct nfs_vattr *, u_int64_t *); 266 mount_t nm_mountp; /* VFS structure for this filesystem */
|
H A D | nfsnode.h | 581 mount_t n_mount; /* associated mount (NHINIT) */ 829 int nfs_nget(mount_t,nfsnode_t,struct componentname *,u_char *,int,struct nfs_vattr *,u_int64_t *,uint32_t,int,nfsnode_t*); 830 int nfs_mount_is_dirty(mount_t);
|
/xnu-2782.1.97/bsd/miscfs/devfs/ |
H A D | devfs_vfsops.c | 94 static int devfs_vfs_getattr(mount_t mp, struct vfs_attr *fsap, vfs_context_t ctx); 297 devfs_vfs_getattr(__unused mount_t mp, struct vfs_attr *fsap, __unused vfs_context_t ctx)
|
/xnu-2782.1.97/bsd/miscfs/specfs/ |
H A D | spec_vnops.c | 1410 throttle_info_mount_ref(mount_t mp, void *throttle_info) 1468 throttle_info_mount_rel(mount_t mp) 1476 throttle_info_get_last_io_time(mount_t mp, struct timeval *tv) 1491 update_last_io_time(mount_t mp) 1599 throttle_io_will_be_throttled(__unused int lowpri_window_msecs, mount_t mp) 1836 void *throttle_info_update_by_mount(mount_t mp) 1966 mount_t mp;
|
/xnu-2782.1.97/bsd/hfs/ |
H A D | hfs_cprotect.c | 59 static int cp_root_major_vers(mount_t mp); 64 static int cp_lock_vfs_callback(mount_t, void *); 423 cp_fs_protected (mount_t mnt) 1375 cp_root_major_vers(mount_t mp) 1661 cp_lock_vfs_callback(mount_t mp, void *arg)
|