mp                132 include/sys/prex.h int	mutex_init(mutex_t *mp);
mp                133 include/sys/prex.h int	mutex_destroy(mutex_t *mp);
mp                134 include/sys/prex.h int	mutex_trylock(mutex_t *mp);
mp                135 include/sys/prex.h int	mutex_lock(mutex_t *mp);
mp                136 include/sys/prex.h int	mutex_unlock(mutex_t *mp);
mp                140 include/sys/prex.h int	cond_wait(cond_t *cp, mutex_t *mp);
mp                137 sys/sync/cond.c cond_wait(cond_t *cp, mutex_t *mp)
mp                159 sys/sync/cond.c 	if ((error = mutex_unlock(mp)) != 0) {
mp                172 sys/sync/cond.c 		error = mutex_lock(mp);
mp                 94 sys/sync/mutex.c mutex_init(mutex_t *mp)
mp                110 sys/sync/mutex.c 	if (copyout(&m, mp, sizeof(m))) {
mp                139 sys/sync/mutex.c mutex_destroy(mutex_t *mp)
mp                144 sys/sync/mutex.c 	if (copyin(mp, &m, sizeof(mp))) {
mp                187 sys/sync/mutex.c mutex_lock(mutex_t *mp)
mp                193 sys/sync/mutex.c 	if ((error = mutex_copyin(mp, &m)) != 0) {
mp                241 sys/sync/mutex.c mutex_trylock(mutex_t *mp)
mp                247 sys/sync/mutex.c 	if ((error = mutex_copyin(mp, &m)) != 0) {
mp                273 sys/sync/mutex.c mutex_unlock(mutex_t *mp)
mp                279 sys/sync/mutex.c 	if ((error = mutex_copyin(mp, &m)) != 0) {
mp                 49 usr/server/fs/arfs/arfs_vfsops.c static int arfs_mount	(mount_t mp, char *dev, int flags, void *data);
mp                 50 usr/server/fs/arfs/arfs_vfsops.c static int arfs_unmount	(mount_t mp);
mp                 71 usr/server/fs/arfs/arfs_vfsops.c arfs_mount(mount_t mp, char *dev, int flags, void *data)
mp                 84 usr/server/fs/arfs/arfs_vfsops.c 	error = device_read((device_t)mp->m_dev, buf, &size, 0);
mp                 98 usr/server/fs/arfs/arfs_vfsops.c 	mp->m_flags |= MNT_RDONLY;
mp                105 usr/server/fs/arfs/arfs_vfsops.c arfs_unmount(mount_t mp)
mp                118 usr/server/fs/arfs/arfs_vnops.c arfs_readblk(mount_t mp, int blkno)
mp                126 usr/server/fs/arfs/arfs_vnops.c 	if ((error = bread(mp->m_dev, blkno, &bp)) != 0)
mp                131 usr/server/fs/arfs/arfs_vnops.c 	if ((error = bread(mp->m_dev, blkno + 1, &bp)) != 0)
mp                150 usr/server/fs/arfs/arfs_vnops.c 	mount_t mp;
mp                160 usr/server/fs/arfs/arfs_vnops.c 	mp = vp->v_mount;
mp                165 usr/server/fs/arfs/arfs_vnops.c 		if (arfs_readblk(mp, blkno) != 0)
mp                211 usr/server/fs/arfs/arfs_vnops.c 	mount_t mp;
mp                218 usr/server/fs/arfs/arfs_vnops.c 	mp = vp->v_mount;
mp                239 usr/server/fs/arfs/arfs_vnops.c 		if ((error = bread(mp->m_dev, blkno, &bp)) != 0)
mp                290 usr/server/fs/arfs/arfs_vnops.c 	mount_t mp;
mp                297 usr/server/fs/arfs/arfs_vnops.c 	mp = vp->v_mount;
mp                302 usr/server/fs/arfs/arfs_vnops.c 		if ((error = arfs_readblk(mp, blkno)) != 0)
mp                 47 usr/server/fs/fatfs/fatfs_vfsops.c static int fatfs_mount	(mount_t mp, char *dev, int flags, void *data);
mp                 48 usr/server/fs/fatfs/fatfs_vfsops.c static int fatfs_unmount(mount_t mp);
mp                 50 usr/server/fs/fatfs/fatfs_vfsops.c static int fatfs_vget	(mount_t mp, vnode_t vp);
mp                136 usr/server/fs/fatfs/fatfs_vfsops.c fatfs_mount(mount_t mp, char *dev, int flags, void *data)
mp                148 usr/server/fs/fatfs/fatfs_vfsops.c 	fmp->dev = mp->m_dev;
mp                166 usr/server/fs/fatfs/fatfs_vfsops.c 	mp->m_data = fmp;
mp                167 usr/server/fs/fatfs/fatfs_vfsops.c 	vp = mp->m_root;
mp                183 usr/server/fs/fatfs/fatfs_vfsops.c fatfs_unmount(mount_t mp)
mp                187 usr/server/fs/fatfs/fatfs_vfsops.c 	fmp = mp->m_data;
mp                200 usr/server/fs/fatfs/fatfs_vfsops.c fatfs_vget(mount_t mp, vnode_t vp)
mp                 39 usr/server/fs/ramfs/ramfs_vfsops.c static int ramfs_mount(mount_t mp, char *dev, int flags, void *data);
mp                 40 usr/server/fs/ramfs/ramfs_vfsops.c static int ramfs_unmount(mount_t mp);
mp                 61 usr/server/fs/ramfs/ramfs_vfsops.c ramfs_mount(mount_t mp, char *dev, int flags, void *data)
mp                 71 usr/server/fs/ramfs/ramfs_vfsops.c 	mp->m_root->v_data = np;
mp                 83 usr/server/fs/ramfs/ramfs_vfsops.c ramfs_unmount(mount_t mp)
mp                147 usr/server/fs/vfs/vfs.h int	 vfs_findroot(char *path, mount_t *mp, char **root);
mp                148 usr/server/fs/vfs/vfs.h void	 vfs_busy(mount_t mp);
mp                149 usr/server/fs/vfs/vfs.h void	 vfs_unbusy(mount_t mp);
mp                 56 usr/server/fs/vfs/vfs_lookup.c 	mount_t mp;
mp                 66 usr/server/fs/vfs/vfs_lookup.c 	if (vfs_findroot(path, &mp, &p))
mp                 70 usr/server/fs/vfs/vfs_lookup.c 	vp = vn_lookup(mp, node);
mp                 81 usr/server/fs/vfs/vfs_lookup.c 	if ((dvp = mp->m_root) == NULL)
mp                106 usr/server/fs/vfs/vfs_lookup.c 		vp = vn_lookup(mp, node);
mp                108 usr/server/fs/vfs/vfs_lookup.c 			vp = vget(mp, node);
mp                 92 usr/server/fs/vfs/vfs_mount.c 	mount_t mp;
mp                123 usr/server/fs/vfs/vfs_mount.c 		mp = list_entry(n, struct mount, m_link);
mp                124 usr/server/fs/vfs/vfs_mount.c 		if (!strcmp(mp->m_path, dir) ||
mp                125 usr/server/fs/vfs/vfs_mount.c 		    (device && mp->m_dev == (dev_t)device)) {
mp                133 usr/server/fs/vfs/vfs_mount.c 	if (!(mp = malloc(sizeof(struct mount)))) {
mp                137 usr/server/fs/vfs/vfs_mount.c 	mp->m_count = 0;
mp                138 usr/server/fs/vfs/vfs_mount.c 	mp->m_op = fs->vs_op;
mp                139 usr/server/fs/vfs/vfs_mount.c 	mp->m_flags = flags;
mp                140 usr/server/fs/vfs/vfs_mount.c 	mp->m_dev = (dev_t)device;
mp                141 usr/server/fs/vfs/vfs_mount.c 	strlcpy(mp->m_path, dir, sizeof(mp->m_path));
mp                160 usr/server/fs/vfs/vfs_mount.c 	mp->m_covered = vp_covered;
mp                165 usr/server/fs/vfs/vfs_mount.c 	if ((vp = vget(mp, "/")) == NULL) {
mp                172 usr/server/fs/vfs/vfs_mount.c 	mp->m_root = vp;
mp                177 usr/server/fs/vfs/vfs_mount.c 	if ((error = VFS_MOUNT(mp, dev, flags, data)) != 0)
mp                180 usr/server/fs/vfs/vfs_mount.c 	if (mp->m_flags & MNT_RDONLY)
mp                193 usr/server/fs/vfs/vfs_mount.c 	list_insert(&mount_list, &mp->m_link);
mp                203 usr/server/fs/vfs/vfs_mount.c 	free(mp);
mp                214 usr/server/fs/vfs/vfs_mount.c 	mount_t mp;
mp                225 usr/server/fs/vfs/vfs_mount.c 		mp = list_entry(n, struct mount, m_link);
mp                226 usr/server/fs/vfs/vfs_mount.c 		if (!strcmp(path, mp->m_path))
mp                236 usr/server/fs/vfs/vfs_mount.c 	if (mp->m_covered == NULL) {
mp                240 usr/server/fs/vfs/vfs_mount.c 	if ((error = VFS_UNMOUNT(mp)) != 0)
mp                242 usr/server/fs/vfs/vfs_mount.c 	list_remove(&mp->m_link);
mp                245 usr/server/fs/vfs/vfs_mount.c 	vrele(mp->m_covered);
mp                248 usr/server/fs/vfs/vfs_mount.c 	vflush(mp);
mp                251 usr/server/fs/vfs/vfs_mount.c 	binval(mp->m_dev);
mp                253 usr/server/fs/vfs/vfs_mount.c 	if (mp->m_dev)
mp                254 usr/server/fs/vfs/vfs_mount.c 		device_close((device_t)mp->m_dev);
mp                255 usr/server/fs/vfs/vfs_mount.c 	free(mp);
mp                264 usr/server/fs/vfs/vfs_mount.c 	mount_t mp;
mp                271 usr/server/fs/vfs/vfs_mount.c 		mp = list_entry(n, struct mount, m_link);
mp                272 usr/server/fs/vfs/vfs_mount.c 		VFS_SYNC(mp);
mp                312 usr/server/fs/vfs/vfs_mount.c vfs_findroot(char *path, mount_t *mp, char **root)
mp                339 usr/server/fs/vfs/vfs_mount.c 	*mp = m;
mp                347 usr/server/fs/vfs/vfs_mount.c vfs_busy(mount_t mp)
mp                351 usr/server/fs/vfs/vfs_mount.c 	mp->m_count++;
mp                360 usr/server/fs/vfs/vfs_mount.c vfs_unbusy(mount_t mp)
mp                364 usr/server/fs/vfs/vfs_mount.c 	mp->m_count--;
mp                385 usr/server/fs/vfs/vfs_mount.c 	mount_t mp;
mp                394 usr/server/fs/vfs/vfs_mount.c 		mp = list_entry(n, struct mount, m_link);
mp                395 usr/server/fs/vfs/vfs_mount.c 		dprintf("%8x %5d %s\n", mp->m_dev, mp->m_count, mp->m_path);
mp                 89 usr/server/fs/vfs/vfs_vnode.c vn_hash(mount_t mp, char *path)
mp                 97 usr/server/fs/vfs/vfs_vnode.c 	return (val ^ (u_int)mp) & (VNODE_BUCKETS - 1);
mp                105 usr/server/fs/vfs/vfs_vnode.c vn_lookup(mount_t mp, char *path)
mp                111 usr/server/fs/vfs/vfs_vnode.c 	head = &vnode_table[vn_hash(mp, path)];
mp                114 usr/server/fs/vfs/vfs_vnode.c 		if (vp->v_mount == mp &&
mp                161 usr/server/fs/vfs/vfs_vnode.c vget(mount_t mp, char *path)
mp                178 usr/server/fs/vfs/vfs_vnode.c 	vp->v_mount = mp;
mp                180 usr/server/fs/vfs/vfs_vnode.c 	vp->v_op = mp->m_op->vfs_vnops;
mp                188 usr/server/fs/vfs/vfs_vnode.c 	if ((error = VFS_VGET(mp, vp)) != 0) {
mp                199 usr/server/fs/vfs/vfs_vnode.c 	list_insert(&vnode_table[vn_hash(mp, path)], &vp->v_link);
mp                323 usr/server/fs/vfs/vfs_vnode.c vflush(mount_t mp)
mp                334 usr/server/fs/vfs/vfs_vnode.c 			if (vp->v_mount == mp) {
mp                428 usr/server/fs/vfs/vfs_vnode.c 	mount_t mp;
mp                441 usr/server/fs/vfs/vfs_vnode.c 			mp = vp->v_mount;
mp                444 usr/server/fs/vfs/vfs_vnode.c 				(u_int)mp, type[vp->v_type], vp->v_refcnt,
mp                446 usr/server/fs/vfs/vfs_vnode.c 				(strlen(mp->m_path) == 1) ? "\0" : mp->m_path,