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

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ntfs-3g-2009.3.8/include/ntfs-3g/
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
77 extern int ntfs_rl_truncate(runlist **arl, const VCN start_vcn);
79 extern int ntfs_rl_sparse(runlist *rl);
80 extern s64 ntfs_rl_get_compressed_size(ntfs_volume *vol, runlist *rl);
H A DMakefile.am27 runlist.h \
H A DMakefile.in56 logging.h mft.h misc.h mst.h ntfstime.h runlist.h security.h \
62 runlist.h security.h support.h types.h unistr.h volume.h
239 runlist.h \
H A DMakefile67 logging.h mft.h misc.h mst.h ntfstime.h runlist.h security.h \
73 runlist.h security.h support.h types.h unistr.h volume.h
291 runlist.h \
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/ntfs/
H A Drunlist.h2 * runlist.h - Defines for runlist handling in NTFS Linux kernel driver.
49 * runlist - in memory vcn to lcn mapping array including a read/write lock
50 * @rl: pointer to an array of runlist elements
57 } runlist; typedef in typeref:struct:__anon7597
59 static inline void ntfs_init_runlist(runlist *rl)
95 runlist *const runlist, const s64 new_length);
97 int ntfs_rl_punch_nolock(const ntfs_volume *vol, runlist *const runlist,
[all...]
H A DMakefile6 index.o inode.o mft.o mst.o namei.o runlist.o super.o sysctl.o \
H A Drunlist.c2 * runlist.c - NTFS runlist handling code. Part of the Linux-NTFS project.
30 * ntfs_rl_mm - runlist memmove
32 * It is up to the caller to serialize access to the runlist @base.
42 * ntfs_rl_mc - runlist memory copy
56 * @rl: original runlist
57 * @old_size: number of runlist elements in the original runlist @rl
58 * @new_size: number of runlist elements we need space for
64 * It is up to the caller to serialize access to the runlist
1447 ntfs_rl_truncate_nolock(const ntfs_volume *vol, runlist *const runlist, const s64 new_length) argument
1592 ntfs_rl_punch_nolock(const ntfs_volume *vol, runlist *const runlist, const VCN start, const s64 length) argument
[all...]
H A Dattrib.c38 * ntfs_map_runlist_nolock - map (a part of) a runlist of an ntfs inode
39 * @ni: ntfs inode for which to map (part of) a runlist
40 * @vcn: map runlist part containing this vcn
43 * Map the part of a runlist containing the @vcn of the ntfs inode @ni.
47 * runlist fragments and allows their mapping. If you do not have the mft
64 * of bounds of the runlist.
66 * Note the runlist can be NULL after this function returns if @vcn is zero and
67 * the attribute has zero allocated size, i.e. there simply is no runlist.
76 * Locking: - The runlist described by @ni must be locked for writing on entry
77 * and is locked on return. Note the runlist wil
712 load_attribute_list(ntfs_volume *vol, runlist *runlist, u8 *al_start, const s64 size, const s64 initialized_size) argument
[all...]
H A Dinode.h38 #include "runlist.h"
69 runlist runlist; /* If state has the NI_NonResident bit set, member in struct:_ntfs_inode
70 the runlist of the unnamed data attribute
74 If runlist.rl is NULL, the runlist has not
80 runlist.rl is always NULL.*/
101 runlist attr_list_rl; /* Run list for the attribute list value. */
H A Daops.c38 #include "runlist.h"
201 /* $MFT/$DATA must have its complete runlist in memory at all times. */
202 BUG_ON(!ni->runlist.rl && !ni->mft_no && !NInoAttr(ni));
224 * on due to the runlist being incomplete and if the page is being
264 down_read(&ni->runlist.lock);
265 rl = ni->runlist.rl;
291 /* If first try and runlist unmapped, map and retry. */
295 * Attempt to map runlist, dropping lock for
298 up_read(&ni->runlist.lock);
304 up_read(&ni->runlist
[all...]
H A Dattrib.h31 #include "runlist.h"
78 extern int load_attribute_list(ntfs_volume *vol, runlist *rl, u8 *al_start,
H A Dmft.c540 runlist.lock);
541 rl = NTFS_I(vol->mftmirr_ino)->runlist.rl;
543 * $MFTMirr always has the whole of its runlist
577 up_read(&NTFS_I(vol->mftmirr_ino)->runlist.lock);
728 down_read(&NTFS_I(vol->mft_ino)->runlist.lock);
729 rl = NTFS_I(vol->mft_ino)->runlist.rl;
760 up_read(&NTFS_I(vol->mft_ino)->runlist.lock);
1267 * - This function takes NTFS_I(vol->mftbmp_ino)->runlist.lock for
1299 down_write(&mftbmp_ni->runlist.lock);
1306 up_write(&mftbmp_ni->runlist
[all...]
H A Dfile.c280 * determined from the runlist. This would greatly reduce the
621 * cache, there is no need to check the runlist again. The
754 down_read(&ni->runlist.lock);
756 rl = ni->runlist.rl;
778 * runlist as the map cache will be used from
783 up_write(&ni->runlist.lock);
786 up_read(&ni->runlist.lock);
794 * If it is not a hole and not out of bounds, the runlist is
799 /* Attempt to map runlist. */
802 * We need the runlist locke
[all...]
H A Dcompress.c550 * We have the runlist, and all the destination pages we need to fill.
568 down_read(&ni->runlist.lock);
569 rl = ni->runlist.rl;
592 * Attempt to map runlist, dropping lock for the
595 up_read(&ni->runlist.lock);
613 up_read(&ni->runlist.lock);
892 up_read(&ni->runlist.lock);
898 up_read(&ni->runlist.lock);
H A Dinode.c370 * The attribute runlist lock has separate locking rules from the
371 * normal runlist lock, so split the two lock-classes:
395 ntfs_init_runlist(&ni->runlist);
722 * Setup the runlist. No need for locking as we have
1897 /* Setup the runlist. */
2015 * the result into the existing runlist. No need for locking
2019 nrl = ntfs_mapping_pairs_decompress(vol, a, ni->runlist.rl);
2026 ni->runlist.rl = nrl;
2058 * We have got the first extent of the runlist for
2130 ntfs_error(sb, "Failed to load the complete runlist fo
[all...]
H A Dsuper.c1030 * Note, this function also results in the mft mirror runlist being completely
1032 * should it find an unmapped runlist element.
1126 /* Construct the mft mirror runlist by hand. */
1136 * mapped the full runlist for it.
1139 down_read(&mirr_ni->runlist.lock);
1140 rl = mirr_ni->runlist.rl;
1148 up_read(&mirr_ni->runlist.lock);
1152 up_read(&mirr_ni->runlist.lock);
1768 lockdep_set_class(&NTFS_I(vol->mftbmp_ino)->runlist.lock,
1794 lockdep_set_class(&NTFS_I(vol->lcnbmp_ino)->runlist
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/
H A DMakefile.am39 runlist.c \
H A Dlcnalloc.c42 #include "runlist.h"
156 * On success return a runlist describing the allocated cluster(s).
182 runlist *ntfs_cluster_alloc(ntfs_volume *vol, VCN start_vcn, s64 count,
190 runlist *rl = NULL, *trl;
211 /* Return empty runlist if @count == 0 */
301 if ((rlpos + 2) * (int)sizeof(runlist) >= rlsize) {
475 /* Add runlist terminator element. */
501 /* Add runlist terminator element. */
514 * ntfs_cluster_free_from_rl - free clusters from runlist
516 * @rl: runlist fro
[all...]
H A DMakefile.in69 misc.c mst.c runlist.c security.c unistr.c volume.c win32_io.c \
82 libntfs_3g_la-mst.lo libntfs_3g_la-runlist.lo \
257 runlist.c security.c unistr.c volume.c $(am__append_1) \
386 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libntfs_3g_la-runlist.Plo@am__quote@
540 libntfs_3g_la-runlist.lo: runlist.c
541 @am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libntfs_3g_la_CFLAGS) $(CFLAGS) -MT libntfs_3g_la-runlist.lo -MD -MP -MF "$(DEPDIR)/libntfs_3g_la-runlist.Tpo" -c -o libntfs_3g_la-runlist.lo `test -f 'runlist
[all...]
H A Drunlist.c2 * runlist.c - Run list handling code. Originated from the Linux-NTFS project.
52 * ntfs_rl_mm - runlist memmove
69 * ntfs_rl_mc - runlist memory copy
89 * @rl: original runlist
90 * @old_size: number of runlist elements in the original runlist @rl
91 * @new_size: number of runlist elements we need space for
115 * @dst: original runlist
116 * @src: new runlist to test for mergeability with @dst
151 * @dst: original, destination runlist
[all...]
H A DMakefile79 misc.c mst.c runlist.c security.c unistr.c volume.c win32_io.c \
92 libntfs_3g_la-mst.lo libntfs_3g_la-runlist.lo \
308 runlist.c security.c unistr.c volume.c $(am__append_1) \
437 include ./$(DEPDIR)/libntfs_3g_la-runlist.Plo
591 libntfs_3g_la-runlist.lo: runlist.c
592 if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libntfs_3g_la_CFLAGS) $(CFLAGS) -MT libntfs_3g_la-runlist.lo -MD -MP -MF "$(DEPDIR)/libntfs_3g_la-runlist.Tpo" -c -o libntfs_3g_la-runlist.lo `test -f 'runlist
[all...]
H A Dattrib.c54 #include "runlist.h"
129 runlist *rl;
175 /* Decompress the mapping pairs array into a runlist. */
183 * reach the last cluster in the runlist as the buffer will
192 /* Now load all clusters in the runlist into b. */
503 * ntfs_attr_map_runlist - map (a part of) a runlist of an ntfs attribute
504 * @na: ntfs attribute for which to map (part of) a runlist
505 * @vcn: map runlist part containing this vcn
507 * Map the part of a runlist containing the @vcn of the ntfs attribute @na.
532 /* Decode the runlist
[all...]
H A Ddir.c1513 runlist *rl;
1519 ntfs_log_error("Failed to decompress runlist. "

Completed in 218 milliseconds