| /src/usr.bin/showmount/ |
| H A D | showmount.c | 63 struct mountlist { struct 64 struct mountlist *ml_left; argument 65 struct mountlist *ml_right; argument 81 static struct mountlist *mntdump; argument 85 void print_dump(struct mountlist *); 87 int xdr_mntdump(XDR *, struct mountlist **); 259 xdr_mntdump(XDR *xdrsp, struct mountlist **mlp) in xdr_mntdump() 261 register struct mountlist *mp; in xdr_mntdump() 262 register struct mountlist *tp; in xdr_mntdump() 263 register struct mountlist **otp; in xdr_mntdump() [all …]
|
| /src/include/rpcsvc/ |
| H A D | mount.x | 109 typedef struct mountbody *mountlist; typedef 113 mountlist ml_next; 167 mountlist 225 mountlist
|
| /src/sys/kern/ |
| H A D | vfs_mountroot.c | 237 if (VFS_ROOT(TAILQ_FIRST(&mountlist), LK_EXCLUSIVE, &rootvnode)) in set_rootvnode() 286 TAILQ_INSERT_HEAD(&mountlist, mp, mnt_list); in vfs_mountroot_devfs() 316 mporoot = TAILQ_FIRST(&mountlist); in vfs_mountroot_shuffle() 317 TAILQ_REMOVE(&mountlist, mpdevfs, mnt_list); in vfs_mountroot_shuffle() 319 TAILQ_REMOVE(&mountlist, mpnroot, mnt_list); in vfs_mountroot_shuffle() 320 TAILQ_INSERT_HEAD(&mountlist, mpnroot, mnt_list); in vfs_mountroot_shuffle() 322 TAILQ_INSERT_TAIL(&mountlist, mpdevfs, mnt_list); in vfs_mountroot_shuffle() 1098 mp = TAILQ_FIRST(&mountlist); in vfs_mountroot()
|
| H A D | kern_shutdown.c | 594 TAILQ_REMOVE(&mountlist, mp, mnt_list); in kern_reroot() 595 TAILQ_REMOVE(&mountlist, devmp, mnt_list); in kern_reroot() 609 TAILQ_INSERT_HEAD(&mountlist, devmp, mnt_list); in kern_reroot() 628 TAILQ_INSERT_TAIL(&mountlist, mp, mnt_list); in kern_reroot()
|
| H A D | vfs_mount.c | 117 struct mntlist mountlist = TAILQ_HEAD_INITIALIZER(mountlist); variable 1291 TAILQ_INSERT_TAIL(&mountlist, mp, mnt_list); in vfs_domount_first() 1795 TAILQ_FOREACH_REVERSE(mp, &mountlist, mntlist, mnt_list) { in kern_unmount() 2403 TAILQ_REMOVE(&mountlist, mp, mnt_list); in dounmount() 3134 TAILQ_FOREACH_REVERSE(mp, &mountlist, mntlist, mnt_list) { in suspend_all_fs() 3202 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in resume_all_fs()
|
| H A D | vfs_export.c | 463 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in vfs_exjail_delete()
|
| H A D | vfs_subr.c | 983 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in vfs_getvfs() 1032 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in vfs_busyfs() 4710 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in DB_SHOW_COMMAND_FLAGS() 4746 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in DB_SHOW_COMMAND() 5111 TAILQ_FOREACH_REVERSE_SAFE(mp, &mountlist, mntlist, mnt_list, tmp) { in vfs_unmountall()
|
| H A D | vfs_syscalls.c | 140 for (mp = TAILQ_FIRST(&mountlist); mp != NULL; mp = nmp) { in kern_sync() 448 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in kern_getfsstat() 468 for (mp = TAILQ_FIRST(&mountlist); mp != NULL; mp = nmp) { in kern_getfsstat() 498 for (mp = TAILQ_FIRST(&mountlist); mp != NULL; mp = nmp) { in kern_getfsstat()
|
| H A D | kern_lockf.c | 2559 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in sysctl_kern_lockf_run()
|
| H A D | vfs_bio.c | 1475 TAILQ_REMOVE(&mountlist, in bufshutdown()
|
| /src/contrib/netbsd-tests/kernel/ |
| H A D | t_umountstress.sh | 121 atf_test_case mountlist cleanup 208 atf_add_test_case mountlist
|
| /src/usr.sbin/mountd/ |
| H A D | mountd.c | 85 struct mountlist { struct 89 SLIST_ENTRY(mountlist) next; argument 276 static SLIST_HEAD(, mountlist) mlhead = SLIST_HEAD_INITIALIZER(&mlhead); 1437 struct mountlist *mlp; in xdr_mlist() 3749 struct mountlist *mlp; in get_mountlist() 3768 mlp = (struct mountlist *)malloc(sizeof (*mlp)); in get_mountlist() 3769 if (mlp == (struct mountlist *)NULL) in get_mountlist() 3784 struct mountlist *mlp, *mlp2; in del_mlist() 3792 SLIST_REMOVE(&mlhead, mlp, mountlist, next); in del_mlist() 3811 struct mountlist *mlp; in add_mlist() [all …]
|
| /src/sys/security/mac_ddb/ |
| H A D | mac_ddb.c | 135 TAILQ_FOREACH(mp, &mountlist, mnt_list) in db_show_ffs_valid()
|
| /src/sys/contrib/openzfs/module/os/freebsd/spl/ |
| H A D | spl_vfs.c | 247 TAILQ_INSERT_TAIL(&mountlist, mp, mnt_list); in mount_snapshot()
|
| /src/sys/fs/tmpfs/ |
| H A D | tmpfs_vfsops.c | 736 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in DB_SHOW_COMMAND()
|
| /src/sys/sys/ |
| H A D | mount.h | 1072 extern TAILQ_HEAD(mntlist, mount) mountlist; /* mounted filesystem list */
|
| /src/sys/fs/nfsclient/ |
| H A D | nfs_clport.c | 1369 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in nfssvc_nfscl()
|
| /src/sys/ufs/ffs/ |
| H A D | ffs_vfsops.c | 2458 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in DB_SHOW_COMMAND()
|
| /src/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_vfsops.c | 2402 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in zfsvfs_update_fromname()
|
| /src/sys/geom/journal/ |
| H A D | g_journal.c | 2847 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in g_journal_do_switch()
|
| /src/sys/fs/nfsserver/ |
| H A D | nfs_nfsdstate.c | 7865 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in nfsrv_deldsserver()
|