Home
last modified time | relevance | path

Searched refs:mf_mount (Results 1 – 25 of 25) sorted by relevance

/freebsd-12.1/contrib/amd/amd/
H A Dmntfs.c84 mf->mf_mount = xstrdup(mp); in init_mntfs()
133 if (STREQ(mf->mf_mount, mp) && in locate_mntfs()
155 dlog("Restarting filesystem %s", mf->mf_mount); in locate_mntfs()
242 XFREE(mf->mf_mount); in uninit_mntfs()
334 mf->mf_mount, mf->mf_refc, mf->mf_flags); in free_mntfs()
341 mf->mf_mount, mf->mf_refc, mf->mf_flags); in free_mntfs()
359 mf->mf_ops->fs_type, mf->mf_mount); in free_mntfs()
369 dlog("Discarding remount hook for %s", mf->mf_mount); in free_mntfs()
372 mf->mf_mount, mf->mf_ops->fs_type); in free_mntfs()
375 dlog("mntfs reference for %s still active", mf->mf_mount); in free_mntfs()
[all …]
H A Damfs_nfsx.c319 plog(XLOG_ERROR, "mount for %s got signal %d", n->n_mnt->mf_mount, term); in amfs_nfsx_cont()
326 plog(XLOG_ERROR, "%s: mount (amfs_nfsx_cont): %m", n->n_mnt->mf_mount); in amfs_nfsx_cont()
392 if (!mkdirs(m->mf_mount, 0555)) in amfs_nfsx_remount()
396 dlog("calling underlying mount on %s", m->mf_mount); in amfs_nfsx_remount()
410 dlog("underlying fmount of %s failed: %s", m->mf_mount, strerror(n->n_error)); in amfs_nfsx_remount()
459 dlog("calling underlying fumount on %s", m->mf_mount); in amfs_nfsx_umount()
481 plog(XLOG_USER, "amfs_nfsx: remount of %s failed: %m", mf->mf_mount); in amfs_nfsx_umount()
490 dlog("calling underlying umounted on %s", m->mf_mount); in amfs_nfsx_umount()
496 (void) rmdirs(m->mf_mount); in amfs_nfsx_umount()
H A Damfs_host.c96 make_mntpt(char *mntpt, size_t l, const exports ex, const char *mf_mount) in make_mntpt() argument
100 xstrlcpy(mntpt, mf_mount, l); in make_mntpt()
102 xsnprintf(mntpt, l, "%s%s", mf_mount, ex->ex_dir); in make_mntpt()
108 xsnprintf(mntpt, l, "%s/%c%%", mf_mount, ex->ex_dir[0]); in make_mntpt()
110 xsnprintf(mntpt, l, "%s/%s", mf_mount, ex->ex_dir); in make_mntpt()
333 mlist = read_mtab(mf->mf_mount, mnttab_file_name); in amfs_host_mount()
424 make_mntpt(mntpt, sizeof(mntpt), ex, mf->mf_mount); in amfs_host_mount()
488 make_mntpt(mntpt, sizeof(mntpt), ex, mf->mf_mount); in amfs_host_mount()
545 mntlist *mlist = read_mtab(mf->mf_mount, mnttab_file_name); in amfs_host_umount()
572 if (directory_prefix(mf->mf_mount, dir)) { in amfs_host_umount()
H A Dautil.c222 dlog("Restarted filesystem %s, flags 0x%x", mf->mf_mount, mf->mf_flags); in mf_mounted()
234 mf->mf_ops->fs_type, mf->mf_mount); in mf_mounted()
287 if (mf->mf_mount[0] == '/' && mf->mf_mount[1] == '\0') in am_mounted()
304 mp->am_fattr.na_size = strlen(mp->am_link ? mp->am_link : mf->mf_mount); in am_mounted()
398 mf->mf_mount); in amfs_mkcacheref()
450 char *dir = mf->mf_mount; in amfs_mount()
699 plog(XLOG_INFO, "removing mountpoint directory '%s'", mf->mf_mount); in am_unmounted()
700 rmdirs(mf->mf_mount); in am_unmounted()
H A Damfs_root.c90 mf->mf_mount = strealloc(mf->mf_mount, pid_fsname); in amfs_root_mount()
H A Damfs_generic.c191 expanded_fname, mf->mf_mount, in amfs_lookup_node()
796 mf->mf_fo->fs_mtab, mf->mf_mount, p->fs_type, in amfs_bgmount()
817 dlog("Mount of %s delayed by %lds", mf->mf_mount, (long) (i - now + cp->start)); in amfs_bgmount()
826 plog(XLOG_INFO, "creating mountpoint directory '%s'", mf->mf_mount); in amfs_bgmount()
827 this_error = mkdirs(mf->mf_mount, 0555); in amfs_bgmount()
844 dlog("backgrounding mount of \"%s\"", mf->mf_mount); in amfs_bgmount()
854 dlog("foreground mount of \"%s\" ...", mf->mf_mount); in amfs_bgmount()
900 rmdirs(mf->mf_mount); in amfs_bgmount()
991 dlog("map %s map_defaults override: %s", mf->mf_mount, mm->cfm->cfm_defaults); in amfs_parse_defaults()
H A Dops_nfs.c966 mf->mf_mount, in nfs_mount()
986 error = UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in nfs_umount()
1004 error = UMOUNT_FS(mf->mf_mount, mnttab_file_name, new_unmount_flags); in nfs_umount()
1023 int len = strlen(mf->mf_mount); in nfs_umount()
1033 if (NSTREQ(mf->mf_mount, new_mf->mf_mount, len) && in nfs_umount()
1034 new_mf->mf_mount[len] == '/') { in nfs_umount()
1037 UMOUNT_FS(new_mf->mf_mount, mnttab_file_name, new_unmount_flags); in nfs_umount()
1042 error = UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in nfs_umount()
H A Dops_lofs.c139 error = mount_lofs(mf->mf_mount, mf->mf_info, mf->mf_mopts, on_autofs); in lofs_mount()
154 return UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in lofs_umount()
H A Dops_xfs.c150 error = mount_xfs(mf->mf_mount, mf->mf_info, mf->mf_mopts, on_autofs); in xfs_mount()
166 return UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in xfs_umount()
H A Dmap.c504 STREQ(mp->am_al->al_mnt->mf_mount, dir)) in find_ap_recursive()
746 plog(XLOG_INFO, "on-exit attempt to unmount %s", mf->mf_mount); in umount_exported()
814 mp->am_path, mf->mf_mount, mf->mf_info, mf->mf_flags); in unmount_node()
828 dlog("%s: unmount: %m", mf->mf_mount); in unmount_node()
875 plog(XLOG_STATS, "\"%s\" on %s still active", mp->am_path, mf->mf_mount); in free_map_if_success()
909 mp->am_path, mf->mf_mount, (int) mf->mf_flags); in unmount_mp()
945 dlog("\"%s\" on %s timed out", mp->am_path, mf->mf_mount); in unmount_mp()
H A Dops_efs.c153 error = mount_efs(mf->mf_mount, mf->mf_info, mf->mf_mopts, on_autofs); in efs_mount()
169 return UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in efs_umount()
H A Dops_ufs.c163 error = mount_ufs(mf->mf_mount, mf->mf_info, mf->mf_mopts, on_autofs); in ufs_mount()
179 return UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in ufs_umount()
H A Dops_tmpfs.c174 error = mount_tmpfs(mf->mf_mount, mf->mf_info, mf->mf_mopts, on_autofs); in tmpfs_mount()
190 return UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in tmpfs_umount()
H A Dops_ext.c188 error = mount_ext(mf->mf_mount, mf->mf_info, mf->mf_mopts, on_autofs, in ext_mount()
222 return UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in ext_umount()
H A Dops_cdfs.c225 error = mount_cdfs(mf->mf_mount, mf->mf_info, mf->mf_mopts, on_autofs); in cdfs_mount()
240 return UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in cdfs_umount()
H A Dops_cachefs.c211 error = mount_cachefs(mf->mf_mount, in cachefs_mount()
236 error = UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in cachefs_umount()
H A Dops_lustre.c170 mnt.mnt_dir = mf->mf_mount; in lustre_mount()
201 return UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in lustre_umount()
H A Dops_pcfs.c205 error = mount_pcfs(mf->mf_mount, mf->mf_info, mf->mf_mopts, on_autofs); in pcfs_mount()
221 return UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in pcfs_umount()
H A Dops_udf.c255 error = mount_udf(mf->mf_mount, mf->mf_info, mf->mf_mopts, on_autofs); in udf_mount()
271 return UMOUNT_FS(mf->mf_mount, mnttab_file_name, unmount_flags); in udf_umount()
H A Damfs_toplvl.c150 mf->mf_mount); in amfs_toplvl_init()
151 error = umount2_fs(mf->mf_mount, AMU_UMOUNT_FORCE | AMU_UMOUNT_DETACH); in amfs_toplvl_init()
H A Damfs_linkx.c91 ln = mf->mf_mount; in amfs_linkx_mount()
H A Damq_subr.c279 mountpoint = (mp->am_link ? mp->am_link : mp->am_al->al_mnt->mf_mount); in amqproc_pawd_1_svc()
340 if (!xdr_amq_string(xdrs, mp->am_link ? &mp->am_link : &mp->am_al->al_mnt->mf_mount)) { in xdr_amq_mount_tree_node()
496 if (!xdr_amq_string(xdrs, &mf->mf_mount)) { in xdr_amq_mount_info_qelem()
H A Damd.h424 char *mf_mount; /* "/a/kiska/home/kiska" */ member
H A Dnfs_subr.c119 ln = mp->am_al->al_mnt->mf_mount; in do_readlink()
295 dlog("Quick reply sent for %s", mp->am_al->al_mnt->mf_mount); in nfs_quick_reply()
/freebsd-12.1/contrib/amd/
H A DChangeLog6191 mf->mf_real_mount instead of mf->mf_mount
6194 rmdirs() on mf->mf_real_mount instead of mf->mf_mount