Home
last modified time | relevance | path

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

12

/netbsd-src/external/bsd/am-utils/dist/amd/
H A Dmntfs.c63 mntfs *
64 dup_mntfs(mntfs *mf) in dup_mntfs()
78 init_mntfs(mntfs *mf, am_ops *ops, am_opts *mo, char *mp, char *info, char *auto_opts, char *mopts,… in init_mntfs()
106 static mntfs *
109 mntfs *mf = ALLOC(struct mntfs); in alloc_mntfs()
120 mntfs *
123 mntfs *mf; in locate_mntfs()
127 ITER(mf, mntfs, &mfhead) { in locate_mntfs()
202 mntfs *
205 mntfs *mf = locate_mntfs(ops, mo, mp, info, auto_opts, mopts, remopts); in find_mntfs()
[all …]
H A Damd.h212 typedef struct mntfs mntfs; typedef
242 typedef int (*vfs_init) (mntfs *);
243 typedef int (*vmount_fs) (am_node *, mntfs *);
244 typedef int (*vumount_fs) (am_node *, mntfs *);
249 typedef void (*vmounted) (mntfs *);
250 typedef void (*vumounted) (mntfs *);
251 typedef fserver *(*vffserver) (mntfs *);
252 typedef wchan_t (*vget_wchan) (mntfs *);
422 struct mntfs { struct
447 mntfs *al_mnt;
[all …]
H A Dops_TEMPLATE.c61 static int foofs_init(mntfs *mf);
62 static int foofs_mount(am_node *mp, mntfs *mf);
63 static int foofs_umount(am_node *mp, mntfs *mf);
67 static void foofs_mounted(am_node *am, mntfs *mf);
68 static void foofs_umounted(am_node *mp, mntfs *mf);
69 static fserver *foofs_ffserver(mntfs *mf);
121 foofs_init(mntfs *mf) in foofs_init()
153 foofs_fmount(mntfs *mf) in foofs_fmount()
185 foofs_fumount(mntfs *mf) in foofs_fumount()
258 foofs_mounted(mntfs *mf) in foofs_mounted()
[all …]
H A Damfs_nfsl.c59 static int amfs_nfsl_init(mntfs *mf);
60 static int amfs_nfsl_mount(am_node *mp, mntfs *mf);
61 static int amfs_nfsl_umount(am_node *mp, mntfs *mf);
62 static void amfs_nfsl_umounted(mntfs *mf);
63 static fserver *amfs_nfsl_ffserver(mntfs *mf);
137 amfs_nfsl_init(mntfs *mf) in amfs_nfsl_init()
156 amfs_nfsl_mount(am_node *mp, mntfs *mf) in amfs_nfsl_mount()
175 amfs_nfsl_umount(am_node *mp, mntfs *mf) in amfs_nfsl_umount()
196 amfs_nfsl_umounted(mntfs *mf) in amfs_nfsl_umounted()
213 amfs_nfsl_ffserver(mntfs *mf) in amfs_nfsl_ffserver()
H A Dops_ext.c54 static int ext2_mount(am_node *am, mntfs *mf);
55 static int ext3_mount(am_node *am, mntfs *mf);
56 static int ext4_mount(am_node *am, mntfs *mf);
57 static int ext_umount(am_node *am, mntfs *mf);
184 ext_mount(am_node *am, mntfs *mf, char *mount_type, in ext_mount()
202 ext2_mount(am_node *am, mntfs *mf) in ext2_mount()
208 ext3_mount(am_node *am, mntfs *mf) in ext3_mount()
214 ext4_mount(am_node *am, mntfs *mf) in ext4_mount()
220 ext_umount(am_node *am, mntfs *mf) in ext_umount()
H A Damfs_nfsx.c59 mntfs *n_mnt;
72 static int amfs_nfsx_mount(am_node *am, mntfs *mf);
73 static int amfs_nfsx_umount(am_node *am, mntfs *mf);
74 static int amfs_nfsx_init(mntfs *mf);
165 mntfs *m = nx->nx_v[i].n_mnt; in amfs_nfsx_prfree()
176 amfs_nfsx_init(mntfs *mf) in amfs_nfsx_init()
275 mntfs *m = n->n_mnt; in amfs_nfsx_init()
303 mntfs *mf = (mntfs *) arg; in amfs_nfsx_cont()
354 mntfs *mf = (mntfs *) mv; in try_amfs_nfsx_mount()
366 amfs_nfsx_remount(am_node *am, mntfs *mf, int fg) in amfs_nfsx_remount()
[all …]
H A Damfs_program.c54 static int amfs_program_mount(am_node *am, mntfs *mf);
55 static int amfs_program_umount(am_node *am, mntfs *mf);
56 static int amfs_program_init(mntfs *mf);
111 amfs_program_init(mntfs *mf) in amfs_program_init()
200 amfs_program_mount(am_node *am, mntfs *mf) in amfs_program_mount()
207 amfs_program_umount(am_node *am, mntfs *mf) in amfs_program_umount()
H A Damfs_linkx.c53 static int amfs_linkx_mount(am_node *mp, mntfs *mf);
54 static int amfs_linkx_umount(am_node *mp, mntfs *mf);
82 amfs_linkx_mount(am_node *mp, mntfs *mf) in amfs_linkx_mount()
108 amfs_linkx_umount(am_node *mp, mntfs *mf) in amfs_linkx_umount()
H A Dops_cachefs.c54 static int cachefs_init(mntfs *mf);
55 static int cachefs_mount(am_node *am, mntfs *mf);
56 static int cachefs_umount(am_node *am, mntfs *mf);
109 cachefs_init(mntfs *mf) in cachefs_init()
208 cachefs_mount(am_node *am, mntfs *mf) in cachefs_mount()
233 cachefs_umount(am_node *am, mntfs *mf) in cachefs_umount()
H A Damfs_link.c53 static int amfs_link_mount(am_node *mp, mntfs *mf);
54 static int amfs_link_umount(am_node *mp, mntfs *mf);
121 amfs_link_mount(am_node *mp, mntfs *mf) in amfs_link_mount()
128 amfs_link_umount(am_node *mp, mntfs *mf) in amfs_link_umount()
H A Damfs_error.c57 static int amfs_error_mount(am_node *am, mntfs *mf);
58 static int amfs_error_umount(am_node *am, mntfs *mf);
98 amfs_error_mount(am_node *am, mntfs *mf) in amfs_error_mount()
105 amfs_error_umount(am_node *am, mntfs *mf) in amfs_error_umount()
H A Dops_lofs.c54 static int lofs_mount(am_node *am, mntfs *mf);
55 static int lofs_umount(am_node *am, mntfs *mf);
136 lofs_mount(am_node *am, mntfs *mf) in lofs_mount()
152 lofs_umount(am_node *am, mntfs *mf) in lofs_umount()
H A Dops_xfs.c54 static int xfs_mount(am_node *am, mntfs *mf);
55 static int xfs_umount(am_node *am, mntfs *mf);
147 xfs_mount(am_node *am, mntfs *mf) in xfs_mount()
164 xfs_umount(am_node *am, mntfs *mf) in xfs_umount()
H A Dops_efs.c54 static int efs_mount(am_node *am, mntfs *mf);
55 static int efs_umount(am_node *am, mntfs *mf);
150 efs_mount(am_node *am, mntfs *mf) in efs_mount()
167 efs_umount(am_node *am, mntfs *mf) in efs_umount()
H A Dops_ufs.c54 static int ufs_mount(am_node *am, mntfs *mf);
55 static int ufs_umount(am_node *am, mntfs *mf);
160 ufs_mount(am_node *am, mntfs *mf) in ufs_mount()
177 ufs_umount(am_node *am, mntfs *mf) in ufs_umount()
H A Damfs_host.c57 static int amfs_host_init(mntfs *mf);
58 static int amfs_host_mount(am_node *am, mntfs *mf);
59 static int amfs_host_umount(am_node *am, mntfs *mf);
60 static void amfs_host_umounted(mntfs *mf);
135 amfs_host_init(mntfs *mf) in amfs_host_init()
174 do_mount(am_nfs_handle_t *fhp, char *mntdir, char *fs_name, mntfs *mf) in do_mount()
303 amfs_host_mount(am_node *am, mntfs *mf) in amfs_host_mount()
538 amfs_host_umount(am_node *am, mntfs *mf) in amfs_host_umount()
634 amfs_host_umounted(mntfs *mf) in amfs_host_umounted()
H A Dops_tmpfs.c54 static int tmpfs_mount(am_node *am, mntfs *mf);
55 static int tmpfs_umount(am_node *am, mntfs *mf);
171 tmpfs_mount(am_node *am, mntfs *mf) in tmpfs_mount()
188 tmpfs_umount(am_node *am, mntfs *mf) in tmpfs_umount()
H A Dops_cdfs.c54 static int cdfs_mount(am_node *am, mntfs *mf);
55 static int cdfs_umount(am_node *am, mntfs *mf);
222 cdfs_mount(am_node *am, mntfs *mf) in cdfs_mount()
238 cdfs_umount(am_node *am, mntfs *mf) in cdfs_umount()
H A Dautil.c161 mntfs *mf = mp->am_al->al_mnt; in forcibly_timeout_mp()
194 mf_mounted(mntfs *mf, bool_t call_free_opts) in mf_mounted()
244 mntfs *mf = mp->am_al->al_mnt; in am_mounted()
389 amfs_mkcacheref(mntfs *mf) in amfs_mkcacheref()
412 mntfs *mf; in next_nonerror_node()
447 amfs_mount(am_node *mp, mntfs *mf, char *opts) in amfs_mount()
658 mntfs *mf = mp->am_al->al_mnt; in am_unmounted()
722 mntfs *mf_parent = mp_parent->am_al->al_mnt; in am_unmounted()
H A Dops_lustre.c46 static int lustre_mount(am_node *am, mntfs *mf);
47 static int lustre_umount(am_node *am, mntfs *mf);
157 lustre_mount(am_node *am, mntfs *mf) in lustre_mount()
199 lustre_umount(am_node *am, mntfs *mf) in lustre_umount()
H A Dops_pcfs.c54 static int pcfs_mount(am_node *am, mntfs *mf);
55 static int pcfs_umount(am_node *am, mntfs *mf);
202 pcfs_mount(am_node *am, mntfs *mf) in pcfs_mount()
219 pcfs_umount(am_node *am, mntfs *mf) in pcfs_umount()
H A Dops_nfs.c105 static int nfs_init(mntfs *mf);
107 static int nfs_mount(am_node *am, mntfs *mf);
108 static int nfs_umount(am_node *am, mntfs *mf);
109 static void nfs_umounted(mntfs *mf);
347 prime_nfs_fhandle_cache(char *path, fserver *fs, am_nfs_handle_t *fhbuf, mntfs *mf) in prime_nfs_fhandle_cache()
731 nfs_init(mntfs *mf) in nfs_init()
781 mount_nfs_fh(am_nfs_handle_t *fhp, char *mntdir, char *fs_name, mntfs *mf) in mount_nfs_fh()
947 nfs_mount(am_node *am, mntfs *mf) in nfs_mount()
982 nfs_umount(am_node *am, mntfs *mf) in nfs_umount()
1024 mntfs *new_mf; in nfs_umount()
[all …]
H A Damfs_generic.c89 static am_loc *amfs_lookup_one_location(am_node *new_mp, mntfs *mf, char *ivec,
96 static char *amfs_parse_defaults(am_node *mp, mntfs *mf, char *def_opts);
108 mntfs *mf; in amfs_lookup_node()
251 amfs_lookup_one_location(am_node *new_mp, mntfs *mf, char *ivec, in amfs_lookup_one_location()
257 mntfs *new_mf; in amfs_lookup_one_location()
365 mntfs* mf; /* The mntfs for the map of our parent */ in amfs_lookup_loc()
509 mntfs *mf = mp->am_al->al_mnt; in amfs_cont()
716 mntfs *mf; in amfs_bgmount()
980 amfs_parse_defaults(am_node *mp, mntfs *mf, char *def_opts) in amfs_parse_defaults()
1203 amfs_generic_mounted(mntfs *mf) in amfs_generic_mounted()
[all …]
H A Dops_udf.c54 static int udf_mount(am_node *am, mntfs *mf);
55 static int udf_umount(am_node *am, mntfs *mf);
251 udf_mount(am_node *am, mntfs *mf) in udf_mount()
268 udf_umount(am_node *am, mntfs *mf) in udf_umount()
H A Damq_subr.c474 mntfs *mf; in xdr_amq_mount_info_qelem()
480 for (mf = AM_LAST(mntfs, qhead); mf != HEAD(mntfs, qhead); mf = PREV(mntfs, mf)) { in xdr_amq_mount_info_qelem()
490 for (mf = AM_LAST(mntfs, qhead); mf != HEAD(mntfs, qhead); mf = PREV(mntfs, mf)) { in xdr_amq_mount_info_qelem()

12