Lines Matching +full:record +full:- +full:size
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * logfile.h - Defines for NTFS kernel journal ($LogFile) handling. Part of
4 * the Linux-NTFS project.
6 * Copyright (c) 2000-2005 Anton Altaparmakov
28 * These are followed by log records organized in pages headed by a log record
29 * header going up to log file size. Not all pages contain log records when a
37 * versions <= 1.x, including 0.-1. (Yes, that is a minus one in there!) We
55 /* 0 NTFS_RECORD; -- Unfolded here as gcc doesn't like unnamed structs. */
66 /* 16*/ le32 system_page_size; /* Byte size of system pages when the log file
68 2. Use this to calculate the required size
72 /* 20*/ le32 log_page_size; /* Byte size of log file pages, has to be >=
74 and is used when the system page size is
76 set to the system page size instead. */
79 to 8-byte boundary. When creating, set this
97 * These are the so far known RESTART_AREA_* flags (16-bit) which contain
108 * Log file restart area record. The offset of this record is found by adding
123 /* 10*/ le16 client_free_list; /* The index of the first free log client record
132 record is free and thus the logfile is
139 /* 12*/ le16 client_in_use_list;/* The index of the first in-use log client
140 record in the array of log client records.
142 in-use log client records in the array. If
152 client record is in use. On WinXP and
173 number. This is calculated as 67 - the
175 size in bytes and this can be used in with
185 sizeof(log client record)). */
186 /* 22*/ le16 client_array_offset;/* Offset from the start of this record to
187 the first log client record if versions are
190 to 8-bytes boundary. If the versions do not
193 ~7, i.e. rounded up to first 8-byte
195 has to be aligned to an 8-byte boundary.
199 * sizeof(log client record)) has to be <=
202 following this record. On WinXP and
204 are 16 extra bytes between this record and
206 the RESTART_AREA record is actually bigger
208 /* 24*/ sle64 file_size; /* Usable byte size of the log file. If the
220 log record pages. */
222 the log record header. On create set to
224 /* 36*/ le16 log_record_header_length;/* Byte size of the log record header.
232 /* 38*/ le16 log_page_data_offset;/* Offset to the start of data in a log record
235 sequence array of the log record page. */
242 /* 44*/ le32 reserved; /* Reserved/alignment to 8-byte boundary. */
247 * Log client record. The offset of this record is found by adding the offset
260 /* 16*/ le16 prev_client; /* The offset to the previous log client record
263 client record, i.e. this is the first one.
265 /* 18*/ le16 next_client; /* The offset to the next log client record in