Lines Matching refs:ntfs_log
77 * ntfs_log
80 static struct ntfs_logging ntfs_log = {
106 return ntfs_log.levels;
121 old = ntfs_log.levels;
122 ntfs_log.levels |= levels;
138 old = ntfs_log.levels;
139 ntfs_log.levels &= (~levels);
153 return ntfs_log.flags;
168 old = ntfs_log.flags;
169 ntfs_log.flags |= flags;
185 old = ntfs_log.flags;
186 ntfs_log.flags &= (~flags);
290 ntfs_log.handler = handler;
296 ntfs_log.handler = ntfs_log_handler_null;
310 * main logging handler (as defined in the global logging struct @ntfs_log).
323 if (!(ntfs_log.levels & level)) /* Don't log this message */
328 ret = ntfs_log.handler(function, file, line, level, data, format, args);
436 if ((ntfs_log.flags & NTFS_LOG_FLAG_ONLYNAME) &&
440 if (ntfs_log.flags & NTFS_LOG_FLAG_PREFIX) /* Prefix the output */
443 if (ntfs_log.flags & NTFS_LOG_FLAG_FILENAME) /* Source filename */
446 if (ntfs_log.flags & NTFS_LOG_FLAG_LINE) /* Source line number */
449 if ((ntfs_log.flags & NTFS_LOG_FLAG_FUNCTION) || /* Source function */
586 * with "--log-". Options cause log levels to be enabled in @ntfs_log (the