Searched refs:runlist (Results 1 – 13 of 13) sorted by relevance
/linux-2.6.39/fs/ntfs/ |
D | runlist.h | 57 } runlist; typedef 59 static inline void ntfs_init_runlist(runlist *rl) in ntfs_init_runlist() 95 runlist *const runlist, const s64 new_length); 97 int ntfs_rl_punch_nolock(const ntfs_volume *vol, runlist *const runlist,
|
D | runlist.c | 1499 int ntfs_rl_truncate_nolock(const ntfs_volume *vol, runlist *const runlist, in ntfs_rl_truncate_nolock() argument 1506 BUG_ON(!runlist); in ntfs_rl_truncate_nolock() 1508 rl = runlist->rl; in ntfs_rl_truncate_nolock() 1511 runlist->rl = NULL; in ntfs_rl_truncate_nolock() 1527 runlist->rl = rl; in ntfs_rl_truncate_nolock() 1551 old_size = trl - runlist->rl + 1; in ntfs_rl_truncate_nolock() 1569 int new_size = rl - runlist->rl + 1; in ntfs_rl_truncate_nolock() 1570 rl = ntfs_rl_realloc(runlist->rl, old_size, new_size); in ntfs_rl_truncate_nolock() 1578 runlist->rl = rl; in ntfs_rl_truncate_nolock() 1587 if ((rl > runlist->rl) && ((rl - 1)->lcn == LCN_HOLE)) in ntfs_rl_truncate_nolock() [all …]
|
D | attrib.c | 187 rl = ntfs_mapping_pairs_decompress(ni->vol, a, ni->runlist.rl); in ntfs_map_runlist_nolock() 191 ni->runlist.rl = rl; in ntfs_map_runlist_nolock() 302 down_write(&ni->runlist.lock); in ntfs_map_runlist() 304 if (likely(ntfs_rl_vcn_to_lcn(ni->runlist.rl, vcn) <= in ntfs_map_runlist() 307 up_write(&ni->runlist.lock); in ntfs_map_runlist() 354 if (!ni->runlist.rl) { in ntfs_attr_vcn_to_lcn_nolock() 364 lcn = ntfs_rl_vcn_to_lcn(ni->runlist.rl, vcn); in ntfs_attr_vcn_to_lcn_nolock() 376 up_read(&ni->runlist.lock); in ntfs_attr_vcn_to_lcn_nolock() 377 down_write(&ni->runlist.lock); in ntfs_attr_vcn_to_lcn_nolock() 378 if (unlikely(ntfs_rl_vcn_to_lcn(ni->runlist.rl, vcn) != in ntfs_attr_vcn_to_lcn_nolock() [all …]
|
D | aops.c | 207 BUG_ON(!ni->runlist.rl && !ni->mft_no && !NInoAttr(ni)); in ntfs_read_block() 269 down_read(&ni->runlist.lock); in ntfs_read_block() 270 rl = ni->runlist.rl; in ntfs_read_block() 303 up_read(&ni->runlist.lock); in ntfs_read_block() 309 up_read(&ni->runlist.lock); in ntfs_read_block() 349 up_read(&ni->runlist.lock); in ntfs_read_block() 725 down_read(&ni->runlist.lock); in ntfs_write_block() 726 rl = ni->runlist.rl; in ntfs_write_block() 781 up_read(&ni->runlist.lock); in ntfs_write_block() 787 up_read(&ni->runlist.lock); in ntfs_write_block() [all …]
|
D | mft.c | 546 runlist.lock); in ntfs_sync_mft_mirror() 547 rl = NTFS_I(vol->mftmirr_ino)->runlist.rl; in ntfs_sync_mft_mirror() 583 up_read(&NTFS_I(vol->mftmirr_ino)->runlist.lock); in ntfs_sync_mft_mirror() 734 down_read(&NTFS_I(vol->mft_ino)->runlist.lock); in write_mft_record_nolock() 735 rl = NTFS_I(vol->mft_ino)->runlist.rl; in write_mft_record_nolock() 766 up_read(&NTFS_I(vol->mft_ino)->runlist.lock); in write_mft_record_nolock() 1305 down_write(&mftbmp_ni->runlist.lock); in ntfs_mft_bitmap_extend_allocation_nolock() 1312 up_write(&mftbmp_ni->runlist.lock); in ntfs_mft_bitmap_extend_allocation_nolock() 1333 up_write(&mftbmp_ni->runlist.lock); in ntfs_mft_bitmap_extend_allocation_nolock() 1359 up_write(&mftbmp_ni->runlist.lock); in ntfs_mft_bitmap_extend_allocation_nolock() [all …]
|
D | inode.h | 69 runlist runlist; /* If state has the NI_NonResident bit set, member 101 runlist attr_list_rl; /* Run list for the attribute list value. */
|
D | file.c | 741 down_read(&ni->runlist.lock); in ntfs_prepare_pages_for_non_resident_write() 743 rl = ni->runlist.rl; in ntfs_prepare_pages_for_non_resident_write() 770 up_write(&ni->runlist.lock); in ntfs_prepare_pages_for_non_resident_write() 773 up_read(&ni->runlist.lock); in ntfs_prepare_pages_for_non_resident_write() 795 up_read(&ni->runlist.lock); in ntfs_prepare_pages_for_non_resident_write() 796 down_write(&ni->runlist.lock); in ntfs_prepare_pages_for_non_resident_write() 877 up_read(&ni->runlist.lock); in ntfs_prepare_pages_for_non_resident_write() 878 down_write(&ni->runlist.lock); in ntfs_prepare_pages_for_non_resident_write() 886 while (--rl2 >= ni->runlist.rl) { in ntfs_prepare_pages_for_non_resident_write() 901 rl = ntfs_runlists_merge(ni->runlist.rl, rl2); in ntfs_prepare_pages_for_non_resident_write() [all …]
|
D | compress.c | 618 down_read(&ni->runlist.lock); in ntfs_read_compressed_block() 619 rl = ni->runlist.rl; in ntfs_read_compressed_block() 645 up_read(&ni->runlist.lock); in ntfs_read_compressed_block() 663 up_read(&ni->runlist.lock); in ntfs_read_compressed_block() 946 up_read(&ni->runlist.lock); in ntfs_read_compressed_block() 952 up_read(&ni->runlist.lock); in ntfs_read_compressed_block()
|
D | logfile.c | 758 down_write(&log_ni->runlist.lock); in ntfs_empty_logfile() 759 rl = log_ni->runlist.rl; in ntfs_empty_logfile() 768 rl = log_ni->runlist.rl; in ntfs_empty_logfile() 834 up_write(&log_ni->runlist.lock); in ntfs_empty_logfile() 857 up_write(&log_ni->runlist.lock); in ntfs_empty_logfile()
|
D | Makefile | 6 index.o inode.o mft.o mst.o namei.o runlist.o super.o sysctl.o \
|
D | inode.c | 402 ntfs_init_runlist(&ni->runlist); in __ntfs_init_inode() 2052 nrl = ntfs_mapping_pairs_decompress(vol, a, ni->runlist.rl); in ntfs_read_inode_mount() 2059 ni->runlist.rl = nrl; in ntfs_read_inode_mount() 2179 lockdep_set_class(&ni->runlist.lock, &mft_ni_runlist_lock_key); in ntfs_read_inode_mount() 2199 down_write(&ni->runlist.lock); in __ntfs_clear_inode() 2200 if (ni->runlist.rl) { in __ntfs_clear_inode() 2201 ntfs_free(ni->runlist.rl); in __ntfs_clear_inode() 2202 ni->runlist.rl = NULL; in __ntfs_clear_inode() 2204 up_write(&ni->runlist.lock); in __ntfs_clear_inode() 2391 down_write(&ni->runlist.lock); in ntfs_truncate() [all …]
|
D | attrib.h | 78 extern int load_attribute_list(ntfs_volume *vol, runlist *rl, u8 *al_start,
|
D | super.c | 1164 down_read(&mirr_ni->runlist.lock); in check_mft_mirror() 1165 rl = mirr_ni->runlist.rl; in check_mft_mirror() 1173 up_read(&mirr_ni->runlist.lock); in check_mft_mirror() 1177 up_read(&mirr_ni->runlist.lock); in check_mft_mirror() 1793 lockdep_set_class(&NTFS_I(vol->mftbmp_ino)->runlist.lock, in load_system_files() 1819 lockdep_set_class(&NTFS_I(vol->lcnbmp_ino)->runlist.lock, in load_system_files()
|