/freebsd/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 …]
|
/freebsd/include/rpcsvc/ |
H A D | mount.x | 109 typedef struct mountbody *mountlist; typedef 113 mountlist ml_next; 167 mountlist 225 mountlist
|
/freebsd/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 | 599 TAILQ_REMOVE(&mountlist, mp, mnt_list); in kern_reroot() 600 TAILQ_REMOVE(&mountlist, devmp, mnt_list); in kern_reroot() 614 TAILQ_INSERT_HEAD(&mountlist, devmp, mnt_list); in kern_reroot() 633 TAILQ_INSERT_TAIL(&mountlist, mp, mnt_list); in kern_reroot()
|
H A D | vfs_mount.c | 118 struct mntlist mountlist = TAILQ_HEAD_INITIALIZER(mountlist); variable 1280 TAILQ_INSERT_TAIL(&mountlist, mp, mnt_list); in vfs_domount_first() 1779 TAILQ_FOREACH_REVERSE(mp, &mountlist, mntlist, mnt_list) { in kern_unmount() 2387 TAILQ_REMOVE(&mountlist, mp, mnt_list); in dounmount() 3118 TAILQ_FOREACH_REVERSE(mp, &mountlist, mntlist, mnt_list) { in suspend_all_fs() 3186 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 | 987 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in vfs_getvfs() 1036 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in vfs_busyfs() 4678 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in DB_SHOW_COMMAND_FLAGS() 4714 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in DB_SHOW_COMMAND() 5078 TAILQ_FOREACH_REVERSE_SAFE(mp, &mountlist, mntlist, mnt_list, tmp) { in vfs_unmountall()
|
H A D | vfs_syscalls.c | 141 for (mp = TAILQ_FIRST(&mountlist); mp != NULL; mp = nmp) { in kern_sync() 451 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in kern_getfsstat() 471 for (mp = TAILQ_FIRST(&mountlist); mp != NULL; mp = nmp) { in kern_getfsstat() 501 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 | 1463 TAILQ_REMOVE(&mountlist, in bufshutdown()
|
/freebsd/contrib/netbsd-tests/kernel/ |
H A D | t_umountstress.sh | 121 atf_test_case mountlist cleanup 208 atf_add_test_case mountlist
|
/freebsd/usr.sbin/mountd/ |
H A D | mountd.c | 84 struct mountlist { struct 88 SLIST_ENTRY(mountlist) next; argument 271 static SLIST_HEAD(, mountlist) mlhead = SLIST_HEAD_INITIALIZER(&mlhead); 1411 struct mountlist *mlp; in xdr_mlist() 3714 struct mountlist *mlp; in get_mountlist() 3733 mlp = (struct mountlist *)malloc(sizeof (*mlp)); in get_mountlist() 3734 if (mlp == (struct mountlist *)NULL) in get_mountlist() 3749 struct mountlist *mlp, *mlp2; in del_mlist() 3757 SLIST_REMOVE(&mlhead, mlp, mountlist, next); in del_mlist() 3776 struct mountlist *mlp; in add_mlist() [all …]
|
/freebsd/sys/security/mac_ddb/ |
H A D | mac_ddb.c | 135 TAILQ_FOREACH(mp, &mountlist, mnt_list) in db_show_ffs_valid()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_vfs.c | 246 TAILQ_INSERT_TAIL(&mountlist, mp, mnt_list); in mount_snapshot()
|
/freebsd/sys/fs/tmpfs/ |
H A D | tmpfs_vfsops.c | 740 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in DB_SHOW_COMMAND()
|
/freebsd/sys/sys/ |
H A D | mount.h | 1062 extern TAILQ_HEAD(mntlist, mount) mountlist; /* mounted filesystem list */
|
/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clport.c | 1359 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in nfssvc_nfscl()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_vfsops.c | 2276 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in zfsvfs_update_fromname()
|
/freebsd/sys/ufs/ffs/ |
H A D | ffs_vfsops.c | 2604 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in DB_SHOW_COMMAND()
|
/freebsd/sys/geom/journal/ |
H A D | g_journal.c | 2847 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in g_journal_do_switch()
|
/freebsd/sys/fs/nfsserver/ |
H A D | nfs_nfsdstate.c | 7841 TAILQ_FOREACH(mp, &mountlist, mnt_list) { in nfsrv_deldsserver()
|