/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ntfs-3g-2009.3.8/include/ntfs-3g/ |
H A D | lcnalloc.h | 28 #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 D | runlist.h | 2 * 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 D | Makefile.am | 27 runlist.h \
|
H A D | Makefile.in | 56 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 D | Makefile | 67 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 307 runlist.h \
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ntfs/ |
H A D | runlist.h | 2 * 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:__anon16912 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 D | Makefile | 6 index.o inode.o mft.o mst.o namei.o runlist.o super.o sysctl.o \
|
H A D | runlist.c | 2 * 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 D | attrib.c | 39 * ntfs_map_runlist_nolock - map (a part of) a runlist of an ntfs inode 40 * @ni: ntfs inode for which to map (part of) a runlist 41 * @vcn: map runlist part containing this vcn 44 * Map the part of a runlist containing the @vcn of the ntfs inode @ni. 48 * runlist fragments and allows their mapping. If you do not have the mft 65 * of bounds of the runlist. 67 * Note the runlist can be NULL after this function returns if @vcn is zero and 68 * the attribute has zero allocated size, i.e. there simply is no runlist. 77 * Locking: - The runlist described by @ni must be locked for writing on entry 78 * and is locked on return. Note the runlist wil 710 load_attribute_list(ntfs_volume *vol, runlist *runlist, u8 *al_start, const s64 size, const s64 initialized_size) argument [all...] |
H A D | inode.h | 38 #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 D | aops.c | 39 #include "runlist.h" 206 /* $MFT/$DATA must have its complete runlist in memory at all times. */ 207 BUG_ON(!ni->runlist.rl && !ni->mft_no && !NInoAttr(ni)); 229 * on due to the runlist being incomplete and if the page is being 269 down_read(&ni->runlist.lock); 270 rl = ni->runlist.rl; 296 /* If first try and runlist unmapped, map and retry. */ 300 * Attempt to map runlist, dropping lock for 303 up_read(&ni->runlist.lock); 309 up_read(&ni->runlist [all...] |
H A D | attrib.h | 31 #include "runlist.h" 78 extern int load_attribute_list(ntfs_volume *vol, runlist *rl, u8 *al_start,
|
H A D | mft.c | 540 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 D | file.c | 276 * determined from the runlist. This would greatly reduce the 610 * cache, there is no need to check the runlist again. The 741 down_read(&ni->runlist.lock); 743 rl = ni->runlist.rl; 765 * runlist as the map cache will be used from 770 up_write(&ni->runlist.lock); 773 up_read(&ni->runlist.lock); 781 * If it is not a hole and not out of bounds, the runlist is 786 /* Attempt to map runlist. */ 789 * We need the runlist locke [all...] |
H A D | compress.c | 561 * We have the runlist, and all the destination pages we need to fill. 579 down_read(&ni->runlist.lock); 580 rl = ni->runlist.rl; 603 * Attempt to map runlist, dropping lock for the 606 up_read(&ni->runlist.lock); 624 up_read(&ni->runlist.lock); 903 up_read(&ni->runlist.lock); 909 up_read(&ni->runlist.lock);
|
H A D | logfile.c | 748 * by the runlist by hand. 758 down_write(&log_ni->runlist.lock); 759 rl = log_ni->runlist.rl; 764 ntfs_error(sb, "Failed to map runlist fragment (error " 768 rl = log_ni->runlist.rl; 771 /* Seek to the runlist element containing @vcn. */ 781 * runlist will have been updated. 834 up_write(&log_ni->runlist.lock); 849 up_write(&log_ni->runlist.lock);
|
H A D | inode.c | 370 * 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 1894 /* Setup the runlist. */ 2011 * the result into the existing runlist. No need for locking 2015 nrl = ntfs_mapping_pairs_decompress(vol, a, ni->runlist.rl); 2022 ni->runlist.rl = nrl; 2054 * We have got the first extent of the runlist for 2126 ntfs_error(sb, "Failed to load the complete runlist fo [all...] |
H A D | super.c | 1044 * Note, this function also results in the mft mirror runlist being completely 1046 * should it find an unmapped runlist element. 1140 /* Construct the mft mirror runlist by hand. */ 1150 * mapped the full runlist for it. 1153 down_read(&mirr_ni->runlist.lock); 1154 rl = mirr_ni->runlist.rl; 1162 up_read(&mirr_ni->runlist.lock); 1166 up_read(&mirr_ni->runlist.lock); 1782 lockdep_set_class(&NTFS_I(vol->mftbmp_ino)->runlist.lock, 1808 lockdep_set_class(&NTFS_I(vol->lcnbmp_ino)->runlist [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/ |
H A D | Makefile.am | 39 runlist.c \
|
H A D | lcnalloc.c | 42 #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 D | Makefile.in | 69 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 D | runlist.c | 2 * 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 D | Makefile | 79 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 \ 324 runlist.c security.c unistr.c volume.c $(am__append_1) \ 453 include ./$(DEPDIR)/libntfs_3g_la-runlist.Plo 607 libntfs_3g_la-runlist.lo: runlist.c 608 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 D | attrib.c | 54 #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 D | dir.c | 1513 runlist *rl; 1519 ntfs_log_error("Failed to decompress runlist. "
|