Lines Matching +full:1 +full:ma
10 * 1. Redistributions of source code must retain the above copyright
85 MODULE_DEPEND(smbfs, libiconv, 1, 1, 2);
86 MODULE_DEPEND(smbfs, libmchain, 1, 1, 1);
91 smbfs_cmount(struct mntarg *ma, void * data, uint64_t flags) in smbfs_cmount() argument
105 ma = mount_argf(ma, "dev", "%d", args.dev); in smbfs_cmount()
106 ma = mount_argb(ma, args.flags & SMBFS_MOUNT_SOFT, "nosoft"); in smbfs_cmount()
107 ma = mount_argb(ma, args.flags & SMBFS_MOUNT_INTR, "nointr"); in smbfs_cmount()
108 ma = mount_argb(ma, args.flags & SMBFS_MOUNT_STRONG, "nostrong"); in smbfs_cmount()
109 ma = mount_argb(ma, args.flags & SMBFS_MOUNT_HAVE_NLS, "nohave_nls"); in smbfs_cmount()
110 ma = mount_argb(ma, !(args.flags & SMBFS_MOUNT_NO_LONG), "nolong"); in smbfs_cmount()
111 ma = mount_arg(ma, "rootpath", args.root_path, -1); in smbfs_cmount()
112 ma = mount_argf(ma, "uid", "%d", args.uid); in smbfs_cmount()
113 ma = mount_argf(ma, "gid", "%d", args.gid); in smbfs_cmount()
114 ma = mount_argf(ma, "file_mode", "%d", args.file_mode); in smbfs_cmount()
115 ma = mount_argf(ma, "dir_mode", "%d", args.dir_mode); in smbfs_cmount()
116 ma = mount_argf(ma, "caseopt", "%d", args.caseopt); in smbfs_cmount()
118 error = kernel_mount(ma, flags); in smbfs_cmount()
156 if (1 != vfs_scanopt(mp->mnt_optnew, "fd", "%d", &v)) { in smbfs_mount()
177 if (1 != vfs_scanopt(mp->mnt_optnew, in smbfs_mount()
183 if (1 != vfs_scanopt(mp->mnt_optnew, "uid", "%d", &v)) { in smbfs_mount()
190 if (1 != vfs_scanopt(mp->mnt_optnew, "gid", "%d", &v)) { in smbfs_mount()
197 if (1 != vfs_scanopt(mp->mnt_optnew, "file_mode", "%d", &v)) { in smbfs_mount()
204 if (1 != vfs_scanopt(mp->mnt_optnew, "dir_mode", "%d", &v)) { in smbfs_mount()
220 if (pc < pe-1) { in smbfs_mount()
223 if (pc < pe - 1) { in smbfs_mount()
281 /* There is 1 extra root vnode reference from smbfs_mount(). */ in smbfs_unmount()
282 error = vflush(mp, 1, flags, td); in smbfs_unmount()