Home
last modified time | relevance | path

Searched refs:mount (Results 1 – 25 of 51) sorted by relevance

123

/xnu-11215/bsd/miscfs/routefs/
H A Droutefs_ops.c51 static int routefs_start(__unused struct mount *mp, __unused int flags, __unused vfs_context_t ctx);
52 static int routefs_unmount( struct mount *mp, int mntflags, __unused vfs_context_t ctx);
53 static int routefs_root(struct mount *mp, struct vnode **vpp, __unused vfs_context_t ctx);
54 static int routefs_statfs( struct mount *mp, struct vfsstatfs *sbp, __unused vfs_context_t ctx);
56 static int routefs_sync(__unused struct mount *mp, __unused int waitfor, __unused vfs_context_t ctx…
82 routefs_mount(struct mount *mp, __unused vnode_t devvp, user_addr_t data, vfs_context_t ctx) in routefs_mount()
171 routefs_start(__unused struct mount *mp, __unused int flags, __unused vfs_context_t ctx) in routefs_start()
180 routefs_unmount( struct mount *mp, int mntflags, __unused vfs_context_t ctx) in routefs_unmount()
215 routefs_root(struct mount *mp, struct vnode **vpp, __unused vfs_context_t ctx) in routefs_root()
257 routefs_statfs( struct mount *mp, struct vfsstatfs *sbp, __unused vfs_context_t ctx) in routefs_statfs()
[all …]
/xnu-11215/security/
H A Dmac_framework.h101 struct mount;
187 void mac_devfs_label_update(struct mount *mp, struct devnode *de,
222 int mac_mount_check_fsctl(vfs_context_t ctx, struct mount *mp,
224 int mac_mount_check_getattr(vfs_context_t ctx, struct mount *mp,
230 int mac_mount_check_quotactl(vfs_context_t ctx, struct mount *mp,
244 int mac_mount_check_setattr(vfs_context_t ctx, struct mount *mp,
249 void mac_mount_label_destroy(struct mount *mp);
253 void mac_mount_label_init(struct mount *);
254 struct label *mac_mount_label(struct mount *);
547 void mac_vnode_label_associate_singlelabel(struct mount *mp,
[all …]
H A Dmac_vfs.c148 mac_mount_label_init(struct mount *mp) in mac_mount_label_init()
158 mac_mount_label(struct mount *mp) in mac_mount_label()
164 mac_mount_label_destroy(struct mount *mp) in mac_mount_label_destroy()
2485 mac_mount_check_stat(vfs_context_t ctx, struct mount *mount) in mac_mount_check_stat() argument
2500 VFS_KERNEL_DEBUG_START1(86, mount); in mac_mount_check_stat()
2501 MAC_CHECK(mount_check_stat, cred, mount, mac_mount_label(mount)); in mac_mount_check_stat()
2502 VFS_KERNEL_DEBUG_END1(86, mount); in mac_mount_check_stat()
2508 mac_mount_check_label_update(vfs_context_t ctx, struct mount *mount) in mac_mount_check_label_update() argument
2523 VFS_KERNEL_DEBUG_START1(87, mount); in mac_mount_check_label_update()
2524 MAC_CHECK(mount_check_label_update, cred, mount, mac_mount_label(mount)); in mac_mount_check_label_update()
[all …]
H A Dmac_policy.h103 struct mount;
666 struct mount *mp,
1215 struct mount *mp,
1238 struct mount *mp,
1257 struct mount *mp,
1295 struct mount *mp
1312 struct mount *mp,
1330 struct mount *mp,
1348 struct mount *mp,
1391 struct mount *mp,
[all …]
H A Dmac_vfs_subr.c45 vnode_label(struct mount *mp, struct vnode *dvp, struct vnode *vp, in vnode_label()
/xnu-11215/bsd/sys/
H A Dmount.h606 int (*vfs_start)(struct mount *mp, int flags, vfs_context_t context);
618 int (*vfs_unmount)(struct mount *mp, int mntflags, vfs_context_t context);
630 int (*vfs_root)(struct mount *mp, struct vnode **vpp, vfs_context_t context);
654 int (*vfs_getattr)(struct mount *mp, struct vfs_attr *vfa, vfs_context_t context);
666 int (*vfs_sync)(struct mount *mp, int waitfor, vfs_context_t context);
743 int (*vfs_setattr)(struct mount *mp, struct vfs_attr *vfa, vfs_context_t context);
760 int (*vfs_ioctl)(struct mount *mp, u_long command, caddr_t data,
894 int vfs_iterate(int flags, int (*callout)(struct mount *, void *), void *arg);
1270 void vfs_getnewfsid(struct mount *mp);
1451 void vfs_get_statfs64(struct mount *mp, struct statfs64 *sfs);
[all …]
H A Dmount_internal.h108 struct mount { struct
109 TAILQ_ENTRY(mount) mnt_list; /* mount list */
235 extern struct mount * const dead_mountp;
425 extern TAILQ_HEAD(mntlist, mount) mountlist;
458 int safedounmount(struct mount *, int, vfs_context_t);
459 int dounmount(struct mount *, int, int, vfs_context_t);
460 void dounmount_submounts(struct mount *, int, vfs_context_t);
H A Dkernel_types.h64 __CCT_DECLARE_CONSTRAINED_PTR_TYPES(struct mount, mount);
137 typedef struct mount * mount_t;
138 __CCT_DECLARE_CONSTRAINED_PTR_TYPES(struct mount, mount);
H A Dfsevents.h161 void fsevent_unmount(struct mount *mp, vfs_context_t ctx);
/xnu-11215/bsd/miscfs/devfs/
H A Ddevfs_vfsops.c94 static int devfs_statfs( struct mount *mp, struct vfsstatfs *sbp, vfs_context_t ctx);
172 devfs_mount(struct mount *mp, __unused vnode_t devvp, __unused user_addr_t data, vfs_context_t ctx) in devfs_mount()
195 devfs_mp_p->mount = mp; in devfs_mount()
233 devfs_start(__unused struct mount *mp, __unused int flags, __unused vfs_context_t ctx) in devfs_start()
242 devfs_unmount( struct mount *mp, int mntflags, __unused vfs_context_t ctx) in devfs_unmount()
273 devfs_root(struct mount *mp, struct vnode **vpp, __unused vfs_context_t ctx) in devfs_root()
287 devfs_statfs( struct mount *mp, struct vfsstatfs *sbp, __unused vfs_context_t ctx) in devfs_statfs()
442 devfs_sync(__unused struct mount *mp, __unused int waitfor, __unused vfs_context_t ctx) in devfs_sync()
449 devfs_vget(__unused struct mount *mp, __unused ino64_t ino, __unused struct vnode **vpp, __unused v… in devfs_vget()
460 devfs_fhtovp(__unused struct mount *mp, __unused int fhlen, __unused unsigned char *fhp, __unused s… in devfs_fhtovp()
H A DREADME26 When you mount the devfs somewhere (you can mount it multiple times in
35 The back plane has a mount structure and all that stuff, but it is in
71 I see 'mount -u' as a possible solution to recovering a broken dev tree.
72 (though umount+mount would do the same)
78 may want different permissions or owners on the chroot mount of the DEVFS
102 a mount -u might be considered to be a request to 'refresh' the
103 plane that controls to the mount being updated.. that would have the
H A Dfdesc.h101 extern int fdesc_allocvp(fdntype, int, struct mount *, struct vnode **, enum vtype, int);
116 extern int fdesc_root(struct mount *, struct vnode **, vfs_context_t);
H A Ddevfsdefs.h194 struct mount * mount;/* vfs mount struct for this fs */ member
H A Ddevfs_proto.h49 int devfs_mount(struct mount *mp, vnode_t devvp, user_addr_t data,
/xnu-11215/bsd/miscfs/bindfs/
H A Dbind_subr.c93 static int bind_hashins(struct mount *, struct bind_node *, struct vnode **);
129 bind_hashget(struct mount * mp, struct vnode * lowervp, struct vnode ** vpp) in bind_hashget()
183 bind_hashins(struct mount * mp, struct bind_node * xp, struct vnode ** vpp) in bind_hashins()
260 …struct mount * mp, struct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct compone… in bind_getnewvnode()
307 …struct mount * mp, struct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct compone… in bind_nodeget()
H A Dbindfs.h132 …struct mount * mp, struct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct compone…
133 int bind_hashget(struct mount * mp, struct vnode * lowervp, struct vnode ** vpp);
135 …struct mount * mp, struct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct compone…
H A Dbind_vfsops.c108 bindfs_mount(struct mount * mp, __unused vnode_t devvp, user_addr_t user_data, vfs_context_t ctx) in bindfs_mount()
310 bindfs_unmount(struct mount * mp, int mntflags, __unused vfs_context_t ctx) in bindfs_unmount()
371 bindfs_root(struct mount * mp, struct vnode ** vpp, __unused vfs_context_t ctx) in bindfs_root()
393 bindfs_vfs_getattr(struct mount * mp, struct vfs_attr * vfap, vfs_context_t ctx) in bindfs_vfs_getattr()
525 bindfs_sync(__unused struct mount * mp, __unused int waitfor, __unused vfs_context_t ctx) in bindfs_sync()
533 bindfs_vfs_start(__unused struct mount * mp, __unused int flags, __unused vfs_context_t ctx) in bindfs_vfs_start()
/xnu-11215/bsd/sys/_types/
H A D_mount_t.h31 struct mount;
32 typedef struct mount * mount_t;
/xnu-11215/bsd/miscfs/mockfs/
H A Dmockfs_vfsops.c49 int mockfs_unmount(__unused struct mount *mp, __unused int mntflags, __unused vfs_context_t ctx);
51 int mockfs_sync(__unused struct mount *mp, __unused int waitfor, __unused vfs_context_t ctx);
156 mockfs_unmount(struct mount *mp, int mntflags, __unused vfs_context_t ctx) in mockfs_unmount()
223 mockfs_sync(__unused struct mount *mp, __unused int waitfor, __unused vfs_context_t ctx) in mockfs_sync()
/xnu-11215/bsd/miscfs/nullfs/
H A Dnull_subr.c96 static int null_hashins(struct mount *, struct null_node *, struct vnode **);
136 null_hashget(struct mount * mp, struct vnode * lowervp, struct vnode ** vpp) in null_hashget()
187 null_hashins(struct mount * mp, struct null_node * xp, struct vnode ** vpp) in null_hashins()
266 …struct mount * mp, struct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct compone… in null_getnewvnode()
313 …struct mount * mp, struct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct compone… in null_nodeget()
H A Dnullfs.h144 …struct mount * mp, struct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct compone…
145 int null_hashget(struct mount * mp, struct vnode * lowervp, struct vnode ** vpp);
147 …struct mount * mp, struct vnode * lowervp, struct vnode * dvp, struct vnode ** vpp, struct compone…
H A Dnull_vfsops.c108 nullfs_mount(struct mount * mp, __unused vnode_t devvp, user_addr_t user_data, vfs_context_t ctx) in nullfs_mount()
328 nullfs_unmount(struct mount * mp, int mntflags, __unused vfs_context_t ctx) in nullfs_unmount()
395 nullfs_root(struct mount * mp, struct vnode ** vpp, __unused vfs_context_t ctx) in nullfs_root()
417 nullfs_vfs_getattr(struct mount * mp, struct vfs_attr * vfap, vfs_context_t ctx) in nullfs_vfs_getattr()
552 nullfs_sync(__unused struct mount * mp, __unused int waitfor, __unused vfs_context_t ctx) in nullfs_sync()
563 nullfs_vfs_start(__unused struct mount * mp, __unused int flags, __unused vfs_context_t ctx) in nullfs_vfs_start()
/xnu-11215/iokit/IOKit/
H A DIOBSD.h53 struct mount;
62 extern void IOBSDMountChange(struct mount *mp, uint32_t op);
H A DIOPolledInterface.h264 struct mount *
273 extern void IOPolledFileMountChange(struct mount * mp, uint32_t op);
/xnu-11215/bsd/vfs/
H A Dvfs_init.c110 KALLOC_TYPE_DEFINE(mount_zone, struct mount, KT_DEFAULT);
304 static struct mount dead_mount_store;
305 struct mount * const dead_mountp = &dead_mount_store;
315 struct mount * mp; in vfsinit()

123