Lines Matching defs:ntfs_log
78 * ntfs_log
81 static struct ntfs_logging ntfs_log = {
107 return ntfs_log.levels;
122 old = ntfs_log.levels;
123 ntfs_log.levels |= levels;
139 old = ntfs_log.levels;
140 ntfs_log.levels &= (~levels);
154 return ntfs_log.flags;
169 old = ntfs_log.flags;
170 ntfs_log.flags |= flags;
186 old = ntfs_log.flags;
187 ntfs_log.flags &= (~flags);
291 ntfs_log.handler = handler;
297 ntfs_log.handler = ntfs_log_handler_null;
311 * main logging handler (as defined in the global logging struct @ntfs_log).
324 if (!(ntfs_log.levels & level)) /* Don't log this message */
329 ret = ntfs_log.handler(function, file, line, level, data, format, args);
460 if ((ntfs_log.flags & NTFS_LOG_FLAG_ONLYNAME) &&
464 if (ntfs_log.flags & NTFS_LOG_FLAG_PREFIX) /* Prefix the output */
467 if (ntfs_log.flags & NTFS_LOG_FLAG_FILENAME) /* Source filename */
470 if (ntfs_log.flags & NTFS_LOG_FLAG_LINE) /* Source line number */
473 if ((ntfs_log.flags & NTFS_LOG_FLAG_FUNCTION) || /* Source function */
610 * with "--log-". Options cause log levels to be enabled in @ntfs_log (the