Lines Matching refs:ctx
239 char *parse_mount_options(ntfs_fuse_context_t *ctx,
252 ctx->secure_flags = 0;
254 ctx->efs_raw = FALSE;
256 ctx->compression = DEFAULT_COMPRESSION;
299 ctx->ro = TRUE;
302 ctx->rw = TRUE;
305 ctx->atime = ATIME_DISABLED;
308 ctx->atime = ATIME_ENABLED;
311 ctx->atime = ATIME_RELATIVE;
316 ctx->dmtime = intarg*10000000LL;
320 ctx->silent = FALSE; /* cancel default silent */
334 ctx->dmask = ctx->fmask = intarg;
338 ctx->fmask = intarg;
342 ctx->dmask = intarg;
346 ctx->uid = intarg;
350 ctx->gid = intarg;
354 ctx->show_sys_files = TRUE;
357 ctx->hide_hid_files = TRUE;
360 ctx->hide_dot_files = TRUE;
363 ctx->windows_names = TRUE;
367 ctx->ignore_case = TRUE;
375 ctx->compression = TRUE;
378 ctx->compression = FALSE;
381 ctx->silent = TRUE;
384 ctx->recover = TRUE;
387 ctx->recover = FALSE;
390 ctx->hiberfile = TRUE;
393 ctx->sync = TRUE;
397 ctx->big_writes = TRUE;
421 ctx->streams = NF_STREAMS_INTERFACE_NONE;
423 ctx->streams = NF_STREAMS_INTERFACE_XATTR;
425 ctx->streams = NF_STREAMS_INTERFACE_OPENXATTR;
427 ctx->streams = NF_STREAMS_INTERFACE_WINDOWS;
439 ctx->streams = NF_STREAMS_INTERFACE_OPENXATTR;
441 ctx->streams = NF_STREAMS_INTERFACE_XATTR;
448 ctx->debug = TRUE;
453 ctx->no_detach = TRUE;
469 ctx->inherit = TRUE;
476 ctx->secure_flags |= (1 << SECURITY_ADDSECURIDS);
483 ctx->secure_flags |= (1 << SECURITY_STATICGRPS);
486 ctx->usermap_path = strdup(val);
487 if (!ctx->usermap_path) {
496 ctx->xattrmap_path = strdup(val);
497 if (!ctx->xattrmap_path) {
505 ctx->efs_raw = TRUE;
509 ctx->posix_nlink = TRUE;
513 ctx->special_files = NTFS_FILES_INTERIX;
515 ctx->special_files = NTFS_FILES_WSL;
558 if (ctx->atime == ATIME_RELATIVE && ntfs_strappend(&ret, "relatime,"))
560 else if (ctx->atime == ATIME_ENABLED && ntfs_strappend(&ret, "atime,"))
562 else if (ctx->atime == ATIME_DISABLED && ntfs_strappend(&ret, "noatime,"))
570 ctx->secure_flags |= (1 << SECURITY_DEFAULT);
572 ctx->secure_flags |= (1 << SECURITY_ACL);
574 ctx->secure_flags |= (1 << SECURITY_WANTED);
575 if (ctx->ro) {
576 ctx->secure_flags &= ~(1 << SECURITY_ADDSECURIDS);
577 ctx->hiberfile = FALSE;
578 ctx->rw = FALSE;
798 int register_reparse_plugin(ntfs_fuse_context_t *ctx, le32 tag,
810 plugin->next = ctx->plugins;
811 ctx->plugins = plugin;
827 const struct plugin_operations *select_reparse_plugin(ntfs_fuse_context_t *ctx,
842 for (plugin=ctx->plugins; plugin && (plugin->tag != seltag);
865 if (ops && register_reparse_plugin(ctx,
874 if (!(ctx->errors_logged & ERR_PLUGIN)) {
880 ctx->errors_logged |= ERR_PLUGIN;
891 void close_reparse_plugins(ntfs_fuse_context_t *ctx)
893 while (ctx->plugins) {
896 next = ctx->plugins->next;
897 if (ctx->plugins->handle)
898 dlclose(ctx->plugins->handle);
899 free(ctx->plugins);
900 ctx->plugins = next;
916 BOOL user_xattrs_allowed(ntfs_fuse_context_t *ctx __attribute__((unused)),
935 ops = select_reparse_plugin(ctx, ni, &reparse);