Searched refs:mount_t (Results 1 - 25 of 40) sorted by relevance

12

/xnu-2422.115.4/bsd/sys/
H A Dmount_internal.h298 int (*vfc_mountroot)(mount_t, vnode_t, vfs_context_t); /* if != NULL, routine to mount root */
411 void mount_lock_init(mount_t);
412 void mount_lock_destroy(mount_t);
413 void mount_lock(mount_t);
414 void mount_lock_spin(mount_t);
415 void mount_unlock(mount_t);
416 void mount_lock_renames(mount_t);
417 void mount_unlock_renames(mount_t);
418 void mount_ref(mount_t, int);
419 void mount_drop(mount_t, in
[all...]
H A Dmount.h383 typedef struct mount * mount_t; typedef in typeref:struct:mount
713 extern int VFS_MOUNT(mount_t, vnode_t, user_addr_t, vfs_context_t);
714 extern int VFS_START(mount_t, int, vfs_context_t);
715 extern int VFS_UNMOUNT(mount_t, int, vfs_context_t);
716 extern int VFS_ROOT(mount_t, vnode_t *, vfs_context_t);
717 extern int VFS_QUOTACTL(mount_t, int, uid_t, caddr_t, vfs_context_t);
718 extern int VFS_GETATTR(mount_t, struct vfs_attr *, vfs_context_t);
719 extern int VFS_SETATTR(mount_t, struct vfs_attr *, vfs_context_t);
720 extern int VFS_SYNC(mount_t, int, vfs_context_t);
721 extern int VFS_VGET(mount_t, ino64_
[all...]
H A Dsystm.h189 void throttle_info_get_last_io_time(mount_t mp, struct timeval *tv);
190 void update_last_io_time(mount_t mp);
227 void throttle_info_mount_ref(mount_t mp, void * throttle_info);
228 void throttle_info_mount_rel(mount_t mp);
H A Dkernel_types.h59 typedef struct mount * mount_t; typedef in typeref:struct:mount
107 typedef struct mount * mount_t; typedef in typeref:struct:mount
H A Dubc_internal.h159 __private_extern__ int ubc_umount(mount_t mp);
166 __private_extern__ uint32_t cluster_max_io_size(mount_t, int);
H A Dcprotect.h247 int cp_fs_protected (mount_t);
H A Dvnode_internal.h174 mount_t v_mount; /* ptr to vfs we are in */
542 void vfs_nested_trigger_unmounts(mount_t, int, vfs_context_t);
H A Dnamei.h266 void cache_purgevfs(mount_t mp);
H A Dvnode.h850 mount_t vnode_mountedhere(vnode_t vp);
858 mount_t vnode_mount(vnode_t);
/xnu-2422.115.4/bsd/miscfs/mockfs/
H A Dmockfs_fsnode.h63 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 Dmockfs_vfsops.c46 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 Dmockfs_fsnode.c57 int mockfs_fsnode_create(mount_t mp, uint8_t type, mockfs_fsnode_t * fsnpp)
/xnu-2422.115.4/bsd/vfs/
H A Dvfs_conf.c91 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 Dkpi_vfs.c126 #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 Dvfs_subr.c207 static void insmntque(vnode_t vp, mount_t mp);
210 static void vnode_iterate_setup(mount_t);
211 int vnode_umount_preflight(mount_t, vnode_t, int);
212 static int vnode_iterate_prepare(mount_t);
213 static int vnode_iterate_reloadq(mount_t);
214 static void vnode_iterate_clear(mount_t);
215 static mount_t vfs_getvfs_locked(fsid_t *);
227 static int vnode_resolver_create(mount_t, vnode_t, struct vnode_trigger_param *, boolean_t external);
498 vnode_iterate_setup(mount_t mp)
510 vnode_umount_preflight(mount_t m
[all...]
H A Dvfs_init.c497 mount_lock_init(mount_t mp)
505 mount_lock_destroy(mount_t mp)
H A Dvfs_fslog.c282 mount_t mp;
/xnu-2422.115.4/bsd/kern/
H A Dimageboot.c138 mount_t new_rootfs;
162 mount_t old_rootfs;
/xnu-2422.115.4/bsd/nfs/
H A Dnfsmount.h218 int (*nf_getattr_rpc)(nfsnode_t, mount_t, u_char *, size_t, int, vfs_context_t, struct nfs_vattr *, u_int64_t *);
265 mount_t nm_mountp; /* VFS structure for this filesystem */
H A Dnfs.h1162 int nfs_request_create(nfsnode_t, mount_t, struct nfsm_chain *, int, thread_t, kauth_cred_t, struct nfsreq **);
1170 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 *);
1171 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 *);
1172 int nfs_request_gss(mount_t, struct nfsm_chain *, thread_t, kauth_cred_t, int, struct nfs_gss_clnt_ctx *, struct nfsm_chain *, int *);
1173 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 **);
1334 int nfs3_getattr_rpc(nfsnode_t, mount_t, u_char *, size_t, int, vfs_context_t, struct nfs_vattr *, u_int64_t *);
1335 int nfs4_getattr_rpc(nfsnode_t, mount_t, u_char *, size_t, int, vfs_context_t, struct nfs_vattr *, u_int64_t *);
H A Dnfs_node.c139 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 Dnfs_vfsops.c177 int mountnfs(char *, mount_t, vfs_context_t, vnode_t *);
178 static int nfs_mount_diskless(struct nfs_dlmount *, const char *, int, vnode_t *, mount_t *, vfs_context_t);
180 static int nfs_mount_diskless_private(struct nfs_dlmount *, const char *, int, vnode_t *, mount_t *, vfs_context_t);
190 int nfs_vfs_mount(mount_t, vnode_t, user_addr_t, vfs_context_t);
191 int nfs_vfs_start(mount_t, int, vfs_context_t);
192 int nfs_vfs_unmount(mount_t, int, vfs_context_t);
193 int nfs_vfs_root(mount_t, vnode_t *, vfs_context_t);
194 int nfs_vfs_quotactl(mount_t, int, uid_t, caddr_t, vfs_context_t);
195 int nfs_vfs_getattr(mount_t, struct vfs_attr *, vfs_context_t);
196 int nfs_vfs_sync(mount_t, in
[all...]
/xnu-2422.115.4/bsd/miscfs/devfs/
H A Ddevfs_vfsops.c94 static int devfs_vfs_getattr(mount_t mp, struct vfs_attr *fsap, vfs_context_t ctx);
308 devfs_vfs_getattr(__unused mount_t mp, struct vfs_attr *fsap, __unused vfs_context_t ctx)
/xnu-2422.115.4/bsd/miscfs/specfs/
H A Dspec_vnops.c1391 throttle_info_mount_ref(mount_t mp, void *throttle_info)
1449 throttle_info_mount_rel(mount_t mp)
1457 throttle_info_get_last_io_time(mount_t mp, struct timeval *tv)
1472 update_last_io_time(mount_t mp)
1580 throttle_io_will_be_throttled(__unused int lowpri_window_msecs, mount_t mp)
1809 void *throttle_info_update_by_mount(mount_t mp)
1920 mount_t mp;
/xnu-2422.115.4/bsd/hfs/
H A Dhfs_cprotect.c54 static int cp_root_major_vers(mount_t mp);
59 static int cp_lock_vfs_callback(mount_t, void *);
405 cp_fs_protected (mount_t mnt)
1320 cp_root_major_vers(mount_t mp)
1606 cp_lock_vfs_callback(mount_t mp, void *arg)

Completed in 471 milliseconds

12