Home
last modified time | relevance | path

Searched refs:unmount_flags (Results 1 – 17 of 17) sorted by relevance

/freebsd-12.1/contrib/amd/conf/umount/
H A Dumount_bsd44.c52 umount_fs(char *mntdir, const char *mnttabname, u_int unmount_flags) in umount_fs() argument
79 if (unmount_flags & AMU_UMOUNT_FORCE) { in umount_fs()
80 error = umount2_fs(mntdir, unmount_flags); in umount_fs()
101 umount2_fs(const char *mntdir, u_int unmount_flags) in umount2_fs() argument
105 if (unmount_flags & AMU_UMOUNT_FORCE) { in umount2_fs()
/freebsd-12.1/contrib/amd/amd/
H A Damfs_toplvl.c258 int unmount_flags = (mf->mf_flags & MFF_ON_AUTOFS) ? AMU_UMOUNT_AUTOFS : 0; in amfs_toplvl_umount() local
285 error = UMOUNT_FS(mp->am_path, mnttab_file_name, unmount_flags); in amfs_toplvl_umount()
308 unmount_flags |= AMU_UMOUNT_FORCE; in amfs_toplvl_umount()
312 unmount_flags |= AMU_UMOUNT_DETACH; in amfs_toplvl_umount()
H A Dops_udf.c268 int unmount_flags; in udf_umount() local
270 unmount_flags = (mf->mf_flags & MFF_ON_AUTOFS) ? AMU_UMOUNT_AUTOFS : 0; in udf_umount()
271 return UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in udf_umount()
H A Dops_lofs.c152 int unmount_flags = (mf->mf_flags & MFF_ON_AUTOFS) ? AMU_UMOUNT_AUTOFS : 0; in lofs_umount() local
154 return UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in lofs_umount()
H A Dops_xfs.c164 int unmount_flags = (mf->mf_flags & MFF_ON_AUTOFS) ? AMU_UMOUNT_AUTOFS : 0; in xfs_umount() local
166 return UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in xfs_umount()
H A Dops_efs.c167 int unmount_flags = (mf->mf_flags & MFF_ON_AUTOFS) ? AMU_UMOUNT_AUTOFS : 0; in efs_umount() local
169 return UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in efs_umount()
H A Dops_ufs.c177 int unmount_flags = (mf->mf_flags & MFF_ON_AUTOFS) ? AMU_UMOUNT_AUTOFS : 0; in ufs_umount() local
179 return UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in ufs_umount()
H A Dops_tmpfs.c188 int unmount_flags = (mf->mf_flags & MFF_ON_AUTOFS) ? AMU_UMOUNT_AUTOFS : 0; in tmpfs_umount() local
190 return UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in tmpfs_umount()
H A Dops_ext.c220 int unmount_flags = (mf->mf_flags & MFF_ON_AUTOFS) ? AMU_UMOUNT_AUTOFS : 0; in ext_umount() local
222 return UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in ext_umount()
H A Dops_cdfs.c238 int unmount_flags = (mf->mf_flags & MFF_ON_AUTOFS) ? AMU_UMOUNT_AUTOFS : 0; in cdfs_umount() local
240 return UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in cdfs_umount()
H A Dops_cachefs.c233 int unmount_flags = (mf->mf_flags & MFF_ON_AUTOFS) ? AMU_UMOUNT_AUTOFS : 0; in cachefs_umount() local
236 error = UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in cachefs_umount()
H A Dops_lustre.c199 int unmount_flags = (mf->mf_flags & MFF_ON_AUTOFS) ? AMU_UMOUNT_AUTOFS : 0; in lustre_umount() local
201 return UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in lustre_umount()
H A Dops_pcfs.c219 int unmount_flags = (mf->mf_flags & MFF_ON_AUTOFS) ? AMU_UMOUNT_AUTOFS : 0; in pcfs_umount() local
221 return UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in pcfs_umount()
H A Dops_nfs.c982 int unmount_flags, new_unmount_flags, error; in nfs_umount() local
985 unmount_flags = (mf->mf_flags & MFF_ON_AUTOFS) ? AMU_UMOUNT_AUTOFS : 0; in nfs_umount()
986 error = UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in nfs_umount()
1003 new_unmount_flags = unmount_flags | AMU_UMOUNT_FORCE | AMU_UMOUNT_DETACH; in nfs_umount()
1042 error = UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in nfs_umount()
H A Damfs_host.c539 int unmount_flags = (mf->mf_flags & MFF_ON_AUTOFS) ? AMU_UMOUNT_AUTOFS : 0; in amfs_host_umount() local
578 error = UMOUNT_FS(dir, mnttab_file_name, unmount_flags); in amfs_host_umount()
H A Damfs_generic.c1220 int unmount_flags = (mf->mf_flags & MFF_ON_AUTOFS) ? AMU_UMOUNT_AUTOFS : 0; in amfs_generic_umount() local
1222 error = UMOUNT_FS(mp->am_path, mnttab_file_name, unmount_flags); in amfs_generic_umount()
/freebsd-12.1/contrib/amd/include/
H A Dam_utils.h142 #define UMOUNT_FS(dir, mtb_name, unmount_flags) umount_fs(dir, mtb_name, unmount_flags) argument
144 extern int umount_fs(char *mntdir, const char *mnttabname, u_int unmount_flags);
146 extern int umount2_fs(const char *mntdir, u_int unmount_flags);