| /freebsd-12.1/contrib/amd/amd/ |
| H A D | amfs_toplvl.c | 178 if (stat(mp->am_path, &stb) < 0) { in amfs_toplvl_mount() 181 plog(XLOG_WARNING, "%s is not a directory", mp->am_path); in amfs_toplvl_mount() 274 if (lstat(mp->am_path, &stb) < 0) { in amfs_toplvl_umount() 276 dlog("lstat(%s): %m", mp->am_path); in amfs_toplvl_umount() 280 plog(XLOG_ERROR, "amfs_toplvl_umount: %s is not a directory, aborting.", mp->am_path); in amfs_toplvl_umount() 285 error = UMOUNT_FS(mp->am_path, mnttab_file_name, unmount_flags); in amfs_toplvl_umount() 296 plog(XLOG_WARNING, "amfs_toplvl_unmount retrying %s in 1s", mp->am_path); in amfs_toplvl_umount() 307 dlog("enabling forced unmounts for toplvl node %s", mp->am_path); in amfs_toplvl_umount() 311 dlog("enabling detached unmounts for toplvl node %s", mp->am_path); in amfs_toplvl_umount()
|
| H A D | map.c | 153 if (STREQ(mp->am_path, path)) in path_to_exported_ap() 213 new_mp->am_path = str3cat(new_mp->am_path, in get_ap_child() 216 : mp->am_path, in get_ap_child() 218 dlog("setting path to %s", new_mp->am_path); in get_ap_child() 411 mp->am_path = xstrdup(dir); in init_map() 468 mp->am_path); in free_map() 472 XFREE(mp->am_path); in free_map() 500 if (STREQ(mp->am_path, dir)) in find_ap_recursive() 795 mp->am_path, strerror(error)); in mount_node() 814 mp->am_path, mf->mf_mount, mf->mf_info, mf->mf_flags); in unmount_node() [all …]
|
| H A D | amfs_generic.c | 133 dlog(".. in %s gives %s", mp->am_path, mp->am_parent->am_path); in amfs_lookup_node() 204 dlog("matched %s in %s", expanded_fname, new_mp->am_path); in amfs_lookup_node() 268 p = ops_match(fs_opts, ivec, def_opts, new_mp->am_path, in amfs_lookup_one_location() 285 mp_dir = new_mp->am_path; in amfs_lookup_one_location() 509 dlog("amfs_cont: '%s'", mp->am_path); in amfs_cont() 573 plog(XLOG_ERROR, "%s: mount (amfs_cont): %m", mp->am_path); in amfs_cont() 593 dlog("Mounting %s returned success", cp->mp->am_path); in amfs_cont() 612 dlog("Commencing retry for mount of %s", mp->am_path); in amfs_retry() 875 dlog("Arranging to retry mount of %s", mp->am_path); in amfs_bgmount() 1029 pt = ops_match(&ap, *sp, "", mp->am_path, "/defaults", in amfs_parse_defaults() [all …]
|
| H A D | autil.c | 171 … plog(XLOG_WARNING, "node %s is currently being unmounted, ignoring timeout request", mp->am_path); in forcibly_timeout_mp() 173 plog(XLOG_WARNING, "ignoring timeout request for active node %s", mp->am_path); in forcibly_timeout_mp() 177 plog(XLOG_INFO, "\"%s\" forcibly timed out", mp->am_path); in forcibly_timeout_mp() 260 mp->am_path = str3cat(mp->am_path, mp->am_parent->am_path, "/", "."); in am_mounted() 293 plog(XLOG_INFO, "%s set to never timeout", mp->am_path); in am_mounted() 296 plog(XLOG_INFO, "%s set to timeout in %d seconds", mp->am_path, mp->am_timeo); in am_mounted() 637 plog(XLOG_WARNING, "Mount %s failed (%m); force unmount.", mp->am_path); in amfs_mount() 638 if ((error = UMOUNT_FS(mp->am_path, mnttab_file_name, in amfs_mount() 640 plog(XLOG_WARNING, "Forced umount %s failed: %m.", mp->am_path); in amfs_mount()
|
| H A D | nfs_subr.c | 162 mp->am_path, in nfsproc_getattr_2_svc() 528 plog(XLOG_DEBUG, "\treaddir(%s)", mp->am_path); in nfsproc_readdir_2_svc() 560 plog(XLOG_DEBUG, "\tstat_fs(%s)", mp->am_path); in nfsproc_statfs_2_svc() 665 orig_ap->am_path, orig_ap->am_al->al_mnt->mf_info); in validate_ap() 862 pathlen = strlen(mp->am_path); in mp_to_fh() 904 pathlen = strlen(mp->am_path); in mp_to_fh3() 1108 mp->am_path, in am_nfs3_getattr_3_svc() 1608 plog(XLOG_DEBUG, "\treaddir_3(%s)", mp->am_path); in am_nfs3_readdir_3_svc() 1696 plog(XLOG_DEBUG, "\tfsstat_3(%s)", mp->am_path); in am_nfs3_fsstat_3_svc() 1767 plog(XLOG_DEBUG, "\tfsinfo_3(%s)", mp->am_path); in am_nfs3_fsinfo_3_svc() [all …]
|
| H A D | amfs_direct.c | 94 xp = amfs_generic_lookup_child(mp, mp->am_path + 1, &rc, VLOOK_CREATE); in amfs_direct_readlink()
|
| H A D | readdir.c | 316 dlog("%s: End of readdir in %s", __func__, mp->am_path); in amfs_readdir_browsable() 435 dlog("%s: End of readdir in %s", __func__, mp->am_path); in amfs_readdir() 747 dlog("%s: End of readdir in %s", __func__, mp->am_path); in amfs_readdir3_browsable() 860 dlog("%s: End of readdir in %s", __func__, mp->am_path); in amfs_readdir3()
|
| H A D | amq_subr.c | 287 xstrlcpy(tmp_buf, mp->am_path, sizeof(tmp_buf)); in amqproc_pawd_1_svc() 337 if (!xdr_amq_string(xdrs, &mp->am_path)) { in xdr_amq_mount_tree_node()
|
| H A D | amd.h | 503 char *am_path; /* "/home/kiska": path of this node's mount point */ member
|
| /freebsd-12.1/contrib/amd/ |
| H A D | ChangeLog | 5954 * amd/amfs_auto.c (amfs_auto_lookup_one_mntfs): strdup am_path
|