Lines Matching refs:ntfs_log
81 static struct ntfs_logging ntfs_log = { variable
107 return ntfs_log.levels; in ntfs_log_get_levels()
122 old = ntfs_log.levels; in ntfs_log_set_levels()
123 ntfs_log.levels |= levels; in ntfs_log_set_levels()
139 old = ntfs_log.levels; in ntfs_log_clear_levels()
140 ntfs_log.levels &= (~levels); in ntfs_log_clear_levels()
154 return ntfs_log.flags; in ntfs_log_get_flags()
169 old = ntfs_log.flags; in ntfs_log_set_flags()
170 ntfs_log.flags |= flags; in ntfs_log_set_flags()
186 old = ntfs_log.flags; in ntfs_log_clear_flags()
187 ntfs_log.flags &= (~flags); in ntfs_log_clear_flags()
291 ntfs_log.handler = handler; in ntfs_log_set_handler()
297 ntfs_log.handler = ntfs_log_handler_null; in ntfs_log_set_handler()
324 if (!(ntfs_log.levels & level)) /* Don't log this message */ in ntfs_log_redirect()
329 ret = ntfs_log.handler(function, file, line, level, data, format, args); in ntfs_log_redirect()
460 if ((ntfs_log.flags & NTFS_LOG_FLAG_ONLYNAME) && in ntfs_log_handler_fprintf()
464 if (ntfs_log.flags & NTFS_LOG_FLAG_PREFIX) /* Prefix the output */ in ntfs_log_handler_fprintf()
467 if (ntfs_log.flags & NTFS_LOG_FLAG_FILENAME) /* Source filename */ in ntfs_log_handler_fprintf()
470 if (ntfs_log.flags & NTFS_LOG_FLAG_LINE) /* Source line number */ in ntfs_log_handler_fprintf()
473 if ((ntfs_log.flags & NTFS_LOG_FLAG_FUNCTION) || /* Source function */ in ntfs_log_handler_fprintf()