Lines Matching refs:mo
115 struct mount_opts *mo = data;
123 return fuse_opt_add_opt(&mo->kernel_opts, arg);
262 struct mount_opts *mo;
264 mo = (struct mount_opts*) malloc(sizeof(struct mount_opts));
265 if (mo == NULL)
268 memset(mo, 0, sizeof(struct mount_opts));
271 fuse_opt_parse(args, mo, fuse_mount_opts, fuse_mount_opt_proc) == -1)
274 return mo;
277 destroy_mount_opts(mo);
281 void destroy_mount_opts(struct mount_opts *mo)
283 free(mo->kernel_opts);
284 free(mo);
287 int fuse_kern_mount(const char *mountpoint, struct mount_opts *mo)
294 return fuse_mount_core(mountpoint, mo->kernel_opts);