23 #ifndef _LINUX_NTFS_LOGFILE_H
24 #define _LINUX_NTFS_LOGFILE_H
60 #define MaxLogFileSize 0x100000000ULL
61 #define DefaultLogPageSize 4096
62 #define MinLogRecordPages 48
80 le32 system_page_size;
91 le16 restart_area_offset;
107 #define LOGFILE_NO_CLIENT cpu_to_le16(0xffff)
108 #define LOGFILE_NO_CLIENT_CPU 0xffff
119 typedef le16 RESTART_AREA_FLAGS;
137 le16 client_free_list;
153 le16 client_in_use_list;
170 RESTART_AREA_FLAGS
flags;
186 le32 seq_number_bits;
192 le16 restart_area_length;
200 le16 client_array_offset;
235 le32 last_lsn_data_length;
238 le16 log_record_header_length;
246 le16 log_page_data_offset;
250 le32 restart_log_open_count;
268 leLSN client_restart_lsn;
291 le32 client_name_length;
299 extern
bool ntfs_check_logfile(
struct inode *log_vi,
300 RESTART_PAGE_HEADER **
rp);
302 extern
bool ntfs_is_logfile_clean(
struct inode *log_vi,
303 const RESTART_PAGE_HEADER *rp);
305 extern
bool ntfs_empty_logfile(
struct inode *log_vi);