Searched refs:mount (Results 1 - 25 of 84) sorted by relevance

1234

/xnu-2422.115.4/bsd/hfs/
H A Dhfs_quota.h79 struct mount;
92 int hfs_getquota(struct mount *, u_int32_t, int, caddr_t);
93 int hfs_qsync(struct mount *mp);
94 int hfs_quotaoff(struct proc *, struct mount *, int);
95 int hfs_quotaon(struct proc *, struct mount *, int, caddr_t);
96 int hfs_quotastat(struct mount *, int, caddr_t);
97 int hfs_setquota(struct mount *, u_int32_t, int, caddr_t);
98 int hfs_setuse(struct mount *, u_int32_t, int, caddr_t);
H A Dhfs_mount.h38 #include <sys/mount.h>
42 * Arguments to mount HFS-based filesystems
54 char *fspec; /* block special device to mount */
68 #define HFSFSMNT_WRAPPER 0x2 /* mount HFS wrapper (if it exists) */
H A Dhfs_notification.c34 #include <sys/mount.h>
88 struct mount *mp = vnode_mount (hfsmp->hfs_backingfs_rootvp);
H A Dhfs_attrlist.h99 mode_t obj_mode, struct mount *mp,
/xnu-2422.115.4/bsd/sys/
H A Dfsgetpath.h33 #include <sys/mount.h>
H A Dfslog.h33 #include <sys/mount.h>
84 void fslog_fs_corrupt(struct mount *mnt);
H A Dkernel_types.h58 struct mount;
59 typedef struct mount * mount_t;
107 typedef struct mount * mount_t;
H A Dmount_internal.h61 * @(#)mount.h 8.21 (Berkeley) 5/20/95
85 #include <sys/mount.h>
106 struct mount { struct
107 TAILQ_ENTRY(mount) mnt_list; /* mount list */
108 int32_t mnt_count; /* reference on the mount */
109 lck_mtx_t mnt_mlock; /* mutex that protects mount point */
113 struct vnodelst mnt_vnodelist; /* list of vnodes this mount */
114 struct vnodelst mnt_workerqueue; /* list of vnodes this mount */
115 struct vnodelst mnt_newvnodes; /* list of vnodes this mount */
[all...]
H A Dmount.h61 * @(#)mount.h 8.21 (Berkeley) 5/20/95
114 uint32_t f_flags; /* copy of mount exported flags */ \
151 long f_flags; /* copy of mount exported flags */
175 uint64_t f_flags; /* copy of mount exported flags */
293 * NFS export related mount flags.
329 * but the 'mount' program may need changing to handle this.
345 #define MNT_UPDATE 0x00010000 /* not a real mount, just an update */
360 #define VFS_NUMMNTOPS 1 /* int: total num of vfs mount/unmount operations */
364 * mount specific header files.
382 struct mount;
[all...]
H A Dfsevents.h151 void fsevent_unmount(struct mount *mp);
/xnu-2422.115.4/bsd/miscfs/devfs/
H A Ddevfs_vfsops.c93 static int devfs_statfs( struct mount *mp, struct vfsstatfs *sbp, vfs_context_t ctx);
106 * We take the oportunity to mount the hidden DEVFS layer, so that
150 * mp - pointer to 'mount' structure
151 * path - addr in user space of mount point (ie /usr or whatever)
152 * data - addr in user space of mount params including the
164 devfs_mount(struct mount *mp, __unused vnode_t devvp, __unused user_addr_t data, vfs_context_t ctx)
166 struct devfsmount *devfs_mp_p; /* devfs specific mount info */
181 * Well, it's not an update, it's a real mount request.
191 devfs_mp_p->mount = mp;
228 devfs_start(__unused struct mount *m
[all...]
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 Ddevfs_proto.h49 int devfs_mount(struct mount *mp, vnode_t devvp, user_addr_t data,
H A Ddevfsdefs.h145 struct devfsmount * dn_dvm; /* the mount structure for this 'plane' */
192 * DEVFS specific per/mount information, used to link a monted fs to a
197 struct mount * mount; /* vfs mount struct for this fs */ member in struct:devfsmount
/xnu-2422.115.4/bsd/miscfs/mockfs/
H A Dmockfs_vfsops.c51 int mockfs_unmount(__unused struct mount *mp, __unused int mntflags, __unused vfs_context_t ctx);
53 int mockfs_sync(__unused struct mount *mp, __unused int waitfor, __unused vfs_context_t ctx);
58 * Given a mount (mp) and a vnode for the root device (rvp), builds a fake filesystem for rvp. This consists
147 * Given a mount (mp), and associated flags (mntflags), performs the necessary teardown to destroy the mount.
151 int mockfs_unmount(struct mount *mp, int mntflags, __unused vfs_context_t ctx)
162 * Reclaim the vnodes for the mount (forcibly, if requested; given that mockfs only support mountroot
176 * need to teardown the mockfs_mnt data now, so that VFS can cleanup the mount structure. Note
196 * Given a mount (mp), returns the root vnode (*vpp) for that mount wit
[all...]
/xnu-2422.115.4/security/
H A Dmac_framework.h106 struct mount;
189 void mac_devfs_label_update(struct mount *mp, struct devnode *de,
264 int mac_mount_check_fsctl(vfs_context_t ctx, struct mount *mp,
266 int mac_mount_check_getattr(vfs_context_t ctx, struct mount *mp,
268 int mac_mount_check_label_update(vfs_context_t ctx, struct mount *mp);
271 int mac_mount_check_remount(vfs_context_t ctx, struct mount *mp);
272 int mac_mount_check_setattr(vfs_context_t ctx, struct mount *mp,
274 int mac_mount_check_stat(vfs_context_t ctx, struct mount *mp);
275 int mac_mount_check_umount(vfs_context_t ctx, struct mount *mp);
276 void mac_mount_label_associate(vfs_context_t ctx, struct mount *m
[all...]
H A Dmac_vfs.c121 mac_mount_label_init(struct mount *mp)
188 mac_mount_label_destroy(struct mount *mp)
262 error = MAC_INTERNALIZE(mount, label, string);
273 error = MAC_EXTERNALIZE(mount, label, elements, outbuf, outbuflen);
288 mac_devfs_label_update(struct mount *mp, struct devnode *de,
300 mac_vnode_label_associate(struct mount *mp, struct vnode *vp, vfs_context_t ctx)
328 mac_vnode_label_associate_devfs(struct mount *mp, struct devnode *de,
341 mac_vnode_label_associate_extattr(struct mount *mp, struct vnode *vp)
352 mac_vnode_label_associate_singlelabel(struct mount *mp, struct vnode *vp)
363 mac_vnode_notify_create(vfs_context_t ctx, struct mount *m
1489 mac_mount_check_stat(vfs_context_t ctx, struct mount *mount) argument
1505 mac_mount_check_label_update(vfs_context_t ctx, struct mount *mount) argument
[all...]
H A Dmac_vfs_subr.c33 #include <sys/mount.h>
45 vnode_label(struct mount *mp, struct vnode *dvp, struct vnode *vp,
H A Dmac_sysv_sem.c68 #include <sys/mount.h>
H A Dmac_sysv_shm.c70 #include <sys/mount.h>
H A Dmac_policy.h102 struct mount;
599 @param fullpath Path relative to mount (e.g. /dev) of new device file
617 @param fullpath Path relative to mount (e.g. /dev) of new directory
666 @param mp Devfs mount point
677 struct mount *mp,
1694 @param mp The mount point
1695 @param label Label associated with the mount point
1711 struct mount *mp,
1718 @param mp The mount structure of the file system
1731 struct mount *m
[all...]
/xnu-2422.115.4/bsd/nfs/
H A Dnfs_lock.h71 #include <sys/mount.h>
/xnu-2422.115.4/bsd/vfs/
H A Dvfs_init.c284 /* vars for mount lock */
289 /* vars for mount list lock */
297 struct mount * dead_mountp;
309 struct mount * mp;
350 /* Allocate mount point related lock structures */
352 /* Allocate mount list lock group attribute and group */
355 mnt_list_lck_grp = lck_grp_alloc_init("mount list", mnt_list_lck_grp_attr);
357 /* Allocate mount list lock attribute */
360 /* Allocate mount list lock */
364 /* allocate mount loc
[all...]
H A Dvfs_journal.h150 struct mount *fsmount; // mount of the file system
250 struct mount *fsmount);
271 struct mount *fsmount);
276 * is not clean for some reason then you should not mount the
/xnu-2422.115.4/libsyscall/wrappers/libproc/
H A Dlibproc.h30 #include <sys/mount.h>

Completed in 168 milliseconds

1234