Lines Matching refs:runlist
132 #include "runlist.h"
190 static runlist *g_rl_mft = NULL;
191 static runlist *g_rl_mft_bmp = NULL;
192 static runlist *g_rl_mftmirr = NULL;
193 static runlist *g_rl_logfile = NULL;
194 static runlist *g_rl_boot = NULL;
195 static runlist *g_rl_bad = NULL;
881 * ntfs_rlwrite - Write to disk the clusters contained in the runlist @rl
894 static s64 ntfs_rlwrite(struct ntfs_device *dev, const runlist *rl,
1040 static void deallocate_scattered_clusters(const runlist *rl)
1046 /* Iterate over all runs in the runlist @rl. */
1060 * Allocate @clusters and create a runlist of the allocated clusters.
1062 * Return the allocated runlist. Caller has to free the runlist when finished
1070 static runlist * allocate_scattered_clusters(s64 clusters)
1072 runlist *rl = NULL, *rlt;
1092 if ((rlpos + 2) * (int)sizeof(runlist) >= rlsize) {
1137 /* Free the runlist. */
1424 * specified by the runlist @rl. The clusters specified by @rl are assumed to
1432 const runlist *rl, const u8 *val, const s64 val_len)
1532 * split up runlist into extents and place each in an extension
1629 runlist *rl = NULL;
1725 * split up runlist into extents and place each in an extension
1868 * split up runlist into extents and place each in an extension
2181 * specified by the runlist @rl. The clusters specified by @rl are assumed to
2188 const ATTR_FLAGS flags, const runlist *rl,
2394 * specified by the runlist @rl. The clusters specified by @rl are assumed to
2401 const runlist *rl, const u8 *bitmap, const u32 bitmap_len)
3909 /* Create runlist for mft bitmap. */
3910 g_rl_mft_bmp = ntfs_malloc(2 * sizeof(runlist));
3974 /* Create runlist for mft. */
3975 g_rl_mft = ntfs_malloc(2 * sizeof(runlist));
3994 /* Create runlist for mft mirror. */
3995 g_rl_mftmirr = ntfs_malloc(2 * sizeof(runlist));
4029 /* Create runlist for log file. */
4030 g_rl_logfile = ntfs_malloc(2 * sizeof(runlist));
4105 /* Create runlist for $Boot. */
4106 g_rl_boot = ntfs_malloc(2 * sizeof(runlist));
4130 /* Create runlist for $BadClus, $DATA named stream $Bad. */
4131 g_rl_bad = ntfs_malloc(2 * sizeof(runlist));
4139 * sparse runlist entry.
4236 runlist *rl_index = NULL;
4255 ntfs_log_error("Failed to decompress runlist of $INDEX_ALLOCATION "
5048 /* Create runlist for $BadClus, $DATA named stream $Bad. */
5094 runlist *rl = ntfs_mapping_pairs_decompress(g_vol, a, NULL);