Searched refs:runlist (Results 1 - 7 of 7) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dlcnalloc.h28 #include "runlist.h"
41 extern runlist *ntfs_cluster_alloc(ntfs_volume *vol, VCN start_vcn, s64 count,
44 extern int ntfs_cluster_free_from_rl(ntfs_volume *vol, runlist *rl);
H A Drunlist.h2 * runlist.h - Exports for runlist handling. Originated from the Linux-NTFS project.
30 typedef runlist_element runlist; typedef
80 extern int ntfs_rl_truncate(runlist **arl, const VCN start_vcn);
82 extern int ntfs_rl_sparse(runlist *rl);
83 extern s64 ntfs_rl_get_compressed_size(ntfs_volume *vol, runlist *rl);
H A Dlcnalloc.c43 #include "runlist.h"
209 * On success return a runlist describing the allocated cluster(s).
235 runlist *ntfs_cluster_alloc(ntfs_volume *vol, VCN start_vcn, s64 count,
243 runlist *rl = NULL, *trl;
264 /* Return empty runlist if @count == 0 */
357 if ((rlpos + 2) * (int)sizeof(runlist) >= rlsize) {
533 /* Add runlist terminator element. */
559 /* Add runlist terminator element. */
572 * ntfs_cluster_free_from_rl - free clusters from runlist
574 * @rl: runlist fro
[all...]
H A Drunlist.c2 * runlist.c - Run list handling code. Originated from the Linux-NTFS project.
53 * ntfs_rl_mm - runlist memmove
70 * ntfs_rl_mc - runlist memory copy
90 * @rl: original runlist
91 * @old_size: number of runlist elements in the original runlist @rl
92 * @new_size: number of runlist elements we need space for
115 * Extend a runlist by some entry count
116 * The runlist may have to be reallocated
118 * Returns the reallocated runlist
[all...]
H A Dattrib.c59 #include "runlist.h"
151 runlist *rl;
197 /* Decompress the mapping pairs array into a runlist. */
205 * reach the last cluster in the runlist as the buffer will
214 /* Now load all clusters in the runlist into b. */
603 * ntfs_attr_map_runlist - map (a part of) a runlist of an ntfs attribute
604 * @na: ntfs attribute for which to map (part of) a runlist
605 * @vcn: map runlist part containing this vcn
607 * Map the part of a runlist containing the @vcn of the ntfs attribute @na.
632 /* Decode the runlist
[all...]
H A Ddir.c2110 runlist *rl;
2116 ntfs_log_error("Failed to decompress runlist. "
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dmkntfs.c131 #include "runlist.h"
186 static runlist *g_rl_mft = NULL;
187 static runlist *g_rl_mft_bmp = NULL;
188 static runlist *g_rl_mftmirr = NULL;
189 static runlist *g_rl_logfile = NULL;
190 static runlist *g_rl_boot = NULL;
191 static runlist *g_rl_bad = NULL;
580 * ntfs_rlwrite - Write to disk the clusters contained in the runlist @rl
593 static s64 ntfs_rlwrite(struct ntfs_device *dev, const runlist *rl,
739 static void deallocate_scattered_clusters(const runlist *r
[all...]

Completed in 163 milliseconds