Searched refs:mf (Results 1 - 25 of 183) sorted by relevance

12345678

/freebsd-11-stable/contrib/amd/amd/
H A Dmntfs.c62 dup_mntfs(mntfs *mf) argument
64 if (mf->mf_refc == 0) {
65 if (mf->mf_cid)
66 untimeout(mf->mf_cid);
67 mf->mf_cid = 0;
69 mf->mf_refc++;
71 return mf;
76 init_mntfs(mntfs *mf, am_ops *ops, am_opts *mo, char *mp, char *info, char *auto_opts, char *mopts, char *remopts) argument
78 mf->mf_ops = ops;
79 mf
107 mntfs *mf = ALLOC(struct mntfs); local
121 mntfs *mf; local
203 mntfs *mf = locate_mntfs(ops, mo, mp, info, auto_opts, mopts, remopts); local
229 uninit_mntfs(mntfs *mf) argument
263 mntfs *mf = v; local
290 mntfs *mf; local
322 mntfs *mf = (mntfs *) arg; local
383 realloc_mntfs(mntfs *mf, am_ops *ops, am_opts *mo, char *mp, char *info, char *auto_opts, char *mopts, char *remopts) argument
[all...]
H A Damfs_root.c53 static int amfs_root_mount(am_node *mp, mntfs *mf);
88 amfs_root_mount(am_node *mp, mntfs *mf) argument
90 mf->mf_mount = strealloc(mf->mf_mount, pid_fsname);
91 mf->mf_private = (opaque_t) mapc_find(mf->mf_info, "", NULL, NULL);
92 mf->mf_prfree = mapc_free;
H A Damfs_nfsl.c57 static int amfs_nfsl_init(mntfs *mf);
58 static int amfs_nfsl_mount(am_node *mp, mntfs *mf);
59 static int amfs_nfsl_umount(am_node *mp, mntfs *mf);
60 static void amfs_nfsl_umounted(mntfs *mf);
61 static fserver *amfs_nfsl_ffserver(mntfs *mf);
135 amfs_nfsl_init(mntfs *mf) argument
138 if (mf->mf_flags & MFF_NFSLINK) {
140 ret = amfs_link_ops.fs_init(mf);
143 ret = nfs_ops.fs_init(mf);
154 amfs_nfsl_mount(am_node *mp, mntfs *mf) argument
173 amfs_nfsl_umount(am_node *mp, mntfs *mf) argument
194 amfs_nfsl_umounted(mntfs *mf) argument
211 amfs_nfsl_ffserver(mntfs *mf) argument
[all...]
H A Damfs_auto.c63 static int amfs_auto_mount(am_node *mp, mntfs *mf);
98 amfs_auto_mount(am_node *mp, mntfs *mf) argument
115 if (mf->mf_info[0] == '.' && mf->mf_info[1] == '\0')
116 mf->mf_info = strealloc(mf->mf_info, mp->am_parent->am_al->al_mnt->mf_info);
129 if (mf->mf_fo->opt_pref) {
131 if (STREQ(mf->mf_fo->opt_pref, "null")) {
137 mp->am_pref = xstrdup(mf->mf_fo->opt_pref);
152 if (mf
[all...]
H A Damfs_program.c52 static int amfs_program_mount(am_node *am, mntfs *mf);
53 static int amfs_program_umount(am_node *am, mntfs *mf);
54 static int amfs_program_init(mntfs *mf);
109 amfs_program_init(mntfs *mf) argument
112 if (mf->mf_private != NULL)
115 if (mf->mf_fo == NULL)
119 if (mf->mf_fo->opt_unmount != NULL)
120 mf->mf_private = (opaque_t) xstrdup(mf->mf_fo->opt_unmount);
122 mf
197 amfs_program_mount(am_node *am, mntfs *mf) argument
204 amfs_program_umount(am_node *am, mntfs *mf) argument
[all...]
H A Damfs_linkx.c51 static int amfs_linkx_mount(am_node *mp, mntfs *mf);
52 static int amfs_linkx_umount(am_node *mp, mntfs *mf);
80 amfs_linkx_mount(am_node *mp, mntfs *mf) argument
91 ln = mf->mf_mount;
106 amfs_linkx_umount(am_node *mp, mntfs *mf) argument
H A Dops_ext.c52 static int ext2_mount(am_node *am, mntfs *mf);
53 static int ext3_mount(am_node *am, mntfs *mf);
54 static int ext4_mount(am_node *am, mntfs *mf);
55 static int ext_umount(am_node *am, mntfs *mf);
182 ext_mount(am_node *am, mntfs *mf, char *mount_type, argument
185 int on_autofs = mf->mf_flags & MFF_ON_AUTOFS;
188 error = mount_ext(mf->mf_mount, mf->mf_info, mf->mf_mopts, on_autofs,
200 ext2_mount(am_node *am, mntfs *mf) argument
206 ext3_mount(am_node *am, mntfs *mf) argument
212 ext4_mount(am_node *am, mntfs *mf) argument
218 ext_umount(am_node *am, mntfs *mf) argument
[all...]
H A Dautil.c159 mntfs *mf = mp->am_al->al_mnt; local
163 if (mf && ((mp->am_flags & AMF_ROOT) ||
164 (mf->mf_flags & (MFF_MOUNTING | MFF_UNMOUNTING)))) {
170 if (mf->mf_flags & MFF_UNMOUNTING)
192 mf_mounted(mntfs *mf, bool_t call_free_opts) argument
195 int wasmounted = mf->mf_flags & MFF_MOUNTED;
203 mf->mf_flags |= MFF_MOUNTED;
204 mf->mf_error = 0;
209 if (mf->mf_ops->mounted)
210 mf
242 mntfs *mf = mp->am_al->al_mnt; local
387 amfs_mkcacheref(mntfs *mf) argument
410 mntfs *mf; local
445 amfs_mount(am_node *mp, mntfs *mf, char *opts) argument
656 mntfs *mf = mp->am_al->al_mnt; local
[all...]
H A Dops_ufs.c52 static int ufs_mount(am_node *am, mntfs *mf);
53 static int ufs_umount(am_node *am, mntfs *mf);
158 ufs_mount(am_node *am, mntfs *mf) argument
160 int on_autofs = mf->mf_flags & MFF_ON_AUTOFS;
163 error = mount_ufs(mf->mf_mount, mf->mf_info, mf->mf_mopts, on_autofs);
175 ufs_umount(am_node *am, mntfs *mf) argument
177 int unmount_flags = (mf->mf_flags & MFF_ON_AUTOFS) ? AMU_UMOUNT_AUTOFS : 0;
179 return UMOUNT_FS(mf
[all...]
H A Dops_xfs.c52 static int xfs_mount(am_node *am, mntfs *mf);
53 static int xfs_umount(am_node *am, mntfs *mf);
145 xfs_mount(am_node *am, mntfs *mf) argument
147 int on_autofs = mf->mf_flags & MFF_ON_AUTOFS;
150 error = mount_xfs(mf->mf_mount, mf->mf_info, mf->mf_mopts, on_autofs);
162 xfs_umount(am_node *am, mntfs *mf) argument
164 int unmount_flags = (mf->mf_flags & MFF_ON_AUTOFS) ? AMU_UMOUNT_AUTOFS : 0;
166 return UMOUNT_FS(mf
[all...]
H A Dops_efs.c52 static int efs_mount(am_node *am, mntfs *mf);
53 static int efs_umount(am_node *am, mntfs *mf);
148 efs_mount(am_node *am, mntfs *mf) argument
150 int on_autofs = mf->mf_flags & MFF_ON_AUTOFS;
153 error = mount_efs(mf->mf_mount, mf->mf_info, mf->mf_mopts, on_autofs);
165 efs_umount(am_node *am, mntfs *mf) argument
167 int unmount_flags = (mf->mf_flags & MFF_ON_AUTOFS) ? AMU_UMOUNT_AUTOFS : 0;
169 return UMOUNT_FS(mf
[all...]
H A Dops_lofs.c52 static int lofs_mount(am_node *am, mntfs *mf);
53 static int lofs_umount(am_node *am, mntfs *mf);
134 lofs_mount(am_node *am, mntfs *mf) argument
136 int on_autofs = mf->mf_flags & MFF_ON_AUTOFS;
139 error = mount_lofs(mf->mf_mount, mf->mf_info, mf->mf_mopts, on_autofs);
150 lofs_umount(am_node *am, mntfs *mf) argument
152 int unmount_flags = (mf->mf_flags & MFF_ON_AUTOFS) ? AMU_UMOUNT_AUTOFS : 0;
154 return UMOUNT_FS(mf
[all...]
H A Dops_TEMPLATE.c59 static int foofs_init(mntfs *mf);
60 static int foofs_mount(am_node *mp, mntfs *mf);
61 static int foofs_umount(am_node *mp, mntfs *mf);
65 static void foofs_mounted(am_node *am, mntfs *mf);
66 static void foofs_umounted(am_node *mp, mntfs *mf);
67 static fserver *foofs_ffserver(mntfs *mf);
119 foofs_init(mntfs *mf) argument
151 foofs_fmount(mntfs *mf) argument
183 foofs_fumount(mntfs *mf) argument
256 foofs_mounted(mntfs *mf) argument
284 foofs_ffserver(mntfs *mf) argument
296 foofs_get_wchan(mntfs *mf) argument
[all...]
H A Dops_cachefs.c52 static int cachefs_init(mntfs *mf);
53 static int cachefs_mount(am_node *am, mntfs *mf);
54 static int cachefs_umount(am_node *am, mntfs *mf);
107 cachefs_init(mntfs *mf) argument
112 if (!mf->mf_private) {
113 mf->mf_private = (voidp) xstrdup(mf->mf_fo->opt_cachedir);
114 mf->mf_prfree = (void (*)(voidp)) free;
206 cachefs_mount(am_node *am, mntfs *mf) argument
208 int on_autofs = mf
231 cachefs_umount(am_node *am, mntfs *mf) argument
[all...]
H A Damfs_error.c55 static int amfs_error_mount(am_node *am, mntfs *mf);
56 static int amfs_error_umount(am_node *am, mntfs *mf);
96 amfs_error_mount(am_node *am, mntfs *mf) argument
103 amfs_error_umount(am_node *am, mntfs *mf) argument
H A Damfs_link.c51 static int amfs_link_mount(am_node *mp, mntfs *mf);
52 static int amfs_link_umount(am_node *mp, mntfs *mf);
119 amfs_link_mount(am_node *mp, mntfs *mf) argument
126 amfs_link_umount(am_node *mp, mntfs *mf) argument
H A Damfs_nfsx.c70 static int amfs_nfsx_mount(am_node *am, mntfs *mf);
71 static int amfs_nfsx_umount(am_node *am, mntfs *mf);
72 static int amfs_nfsx_init(mntfs *mf);
174 amfs_nfsx_init(mntfs *mf) argument
185 nx = (struct amfs_nfsx *) mf->mf_private;
194 info = xstrdup(mf->mf_info);
218 mf->mf_private = (opaque_t) nx;
219 mf->mf_prfree = amfs_nfsx_prfree;
227 char *fs = mf->mf_fo->opt_fs;
249 nx->nx_v[i].n_mnt = find_mntfs(&nfs_ops, mf
301 mntfs *mf = (mntfs *) arg; local
352 mntfs *mf = (mntfs *) mv; local
364 amfs_nfsx_remount(am_node *am, mntfs *mf, int fg) argument
425 amfs_nfsx_mount(am_node *am, mntfs *mf) argument
437 amfs_nfsx_umount(am_node *am, mntfs *mf) argument
[all...]
H A Dmap.c189 mntfs *mf = mp->am_al->al_mnt; local
214 (mf->mf_fsflags & FS_DIRECT)
701 mntfs *mf; local
712 mf = mp->am_al->al_mnt;
713 if (mf->mf_flags & MFF_UNMOUNTING) {
723 if (!(mf->mf_fsflags & FS_DIRECTORY))
733 (mf->mf_flags & MFF_RESTART)) {
742 if (mf->mf_server &&
743 (mf->mf_server->fs_flags & (FSF_DOWN | FSF_VALID)) != FSF_VALID)
744 mf
782 mntfs *mf = mp->am_al->al_mnt; local
804 mntfs *mf = mp->am_al->al_mnt; local
839 mntfs *mf = mp->am_al->al_mnt; local
905 mntfs *mf = mp->am_al->al_mnt; local
982 mntfs *mf; local
[all...]
/freebsd-11-stable/contrib/xz/src/liblzma/lz/
H A Dlz_encoder.c31 lzma_mf mf; member in struct:__anon4457
40 /// mf->buffer is a sliding input window, which keeps mf->keep_size_before
46 move_window(lzma_mf *mf) argument
49 // like LZMA use the lowest bits of mf->read_pos to know the
52 assert(mf->read_pos > mf->keep_size_before);
54 = (mf->read_pos - mf->keep_size_before) & ~UINT32_C(15);
56 assert(mf
193 lz_encoder_prepare(lzma_mf *mf, const lzma_allocator *allocator, const lzma_lz_options *lz_options) argument
371 lz_encoder_init(lzma_mf *mf, const lzma_allocator *allocator, const lzma_lz_options *lz_options) argument
467 lzma_mf mf = { local
[all...]
H A Dlz_encoder_mf.c23 lzma_mf_find(lzma_mf *mf, uint32_t *count_ptr, lzma_match *matches) argument
28 const uint32_t count = mf->find(mf, matches);
38 assert(matches[i].len <= mf->nice_len);
39 assert(matches[i].dist < mf->read_pos);
40 assert(memcmp(mf_ptr(mf) - 1,
41 mf_ptr(mf) - matches[i].dist - 2,
52 if (len_best == mf->nice_len) {
57 uint32_t limit = mf_avail(mf) + 1;
58 if (limit > mf
108 normalize(lzma_mf *mf) argument
150 move_pos(lzma_mf *mf) argument
178 move_pending(lzma_mf *mf) argument
305 lzma_mf_hc3_find(lzma_mf *mf, lzma_match *matches) argument
338 lzma_mf_hc3_skip(lzma_mf *mf, uint32_t amount) argument
366 lzma_mf_hc4_find(lzma_mf *mf, lzma_match *matches) argument
417 lzma_mf_hc4_skip(lzma_mf *mf, uint32_t amount) argument
587 lzma_mf_bt2_find(lzma_mf *mf, lzma_match *matches) argument
601 lzma_mf_bt2_skip(lzma_mf *mf, uint32_t amount) argument
620 lzma_mf_bt3_find(lzma_mf *mf, lzma_match *matches) argument
653 lzma_mf_bt3_skip(lzma_mf *mf, uint32_t amount) argument
675 lzma_mf_bt4_find(lzma_mf *mf, lzma_match *matches) argument
726 lzma_mf_bt4_skip(lzma_mf *mf, uint32_t amount) argument
[all...]
H A Dlz_encoder.h92 uint32_t (*find)(lzma_mf *mf, lzma_match *matches);
97 void (*skip)(lzma_mf *mf, uint32_t num);
198 lzma_mf *restrict mf, uint8_t *restrict out,
221 mf_ptr(const lzma_mf *mf) argument
223 return mf->buffer + mf->read_pos;
229 mf_avail(const lzma_mf *mf) argument
231 return mf->write_pos - mf->read_pos;
238 mf_unencoded(const lzma_mf *mf) argument
252 mf_position(const lzma_mf *mf) argument
267 mf_skip(lzma_mf *mf, uint32_t amount) argument
279 mf_read(lzma_mf *mf, uint8_t *out, size_t *out_pos, size_t out_size, size_t *left) argument
[all...]
/freebsd-11-stable/contrib/gcclibs/libmudflap/
H A DMakefile.am27 nobase_libsubinclude_HEADERS = mf-runtime.h
31 mf-runtime.c \
32 mf-heuristics.c \
33 mf-hooks1.c \
34 mf-hooks2.c
42 pth/mf-runtime.lo: mf-runtime.c mf-runtime.h mf-impl.h
43 $(LTCOMPILE) -DLIBMUDFLAPTH -c $(srcdir)/mf
[all...]
/freebsd-11-stable/sys/fs/msdosfs/
H A Dmsdosfs_fileno.c87 struct msdosfs_fileno *mf, *next; local
89 for (mf = RB_MIN(msdosfs_filenotree, &pmp->pm_filenos); mf != NULL;
90 mf = next) {
91 next = RB_NEXT(msdosfs_filenotree, &pmp->pm_filenos, mf);
92 RB_REMOVE(msdosfs_filenotree, &pmp->pm_filenos, mf);
93 free(mf, M_MSDOSFSFILENO);
102 struct msdosfs_fileno key, *mf, *tmf; local
114 mf = RB_FIND(msdosfs_filenotree, &pmp->pm_filenos, &key);
115 if (mf !
[all...]
/freebsd-11-stable/contrib/ntp/adjtimed/
H A DMakefile.am21 include $(top_srcdir)/bincheck.mf
22 include $(top_srcdir)/sntp/check-libntp.mf
23 include $(top_srcdir)/depsver.mf
24 include $(top_srcdir)/includes.mf
/freebsd-11-stable/contrib/ntp/clockstuff/
H A DMakefile.am18 include $(top_srcdir)/sntp/check-libntp.mf
19 include $(top_srcdir)/depsver.mf
20 include $(top_srcdir)/includes.mf

Completed in 110 milliseconds

12345678