Searched refs:runlist (Results 1 – 13 of 13) sorted by relevance
/fs/ntfs/ |
D | runlist.c | 1485 int ntfs_rl_truncate_nolock(const ntfs_volume *vol, runlist *const runlist, in ntfs_rl_truncate_nolock() argument 1492 BUG_ON(!runlist); in ntfs_rl_truncate_nolock() 1494 rl = runlist->rl; in ntfs_rl_truncate_nolock() 1497 runlist->rl = NULL; in ntfs_rl_truncate_nolock() 1513 runlist->rl = rl; in ntfs_rl_truncate_nolock() 1537 old_size = trl - runlist->rl + 1; in ntfs_rl_truncate_nolock() 1555 int new_size = rl - runlist->rl + 1; in ntfs_rl_truncate_nolock() 1556 rl = ntfs_rl_realloc(runlist->rl, old_size, new_size); in ntfs_rl_truncate_nolock() 1564 runlist->rl = rl; in ntfs_rl_truncate_nolock() 1573 if ((rl > runlist->rl) && ((rl - 1)->lcn == LCN_HOLE)) in ntfs_rl_truncate_nolock() [all …]
|
D | runlist.h | 43 } runlist; typedef 45 static inline void ntfs_init_runlist(runlist *rl) in ntfs_init_runlist() 81 runlist *const runlist, const s64 new_length); 83 int ntfs_rl_punch_nolock(const ntfs_volume *vol, runlist *const runlist,
|
D | attrib.c | 173 rl = ntfs_mapping_pairs_decompress(ni->vol, a, ni->runlist.rl); in ntfs_map_runlist_nolock() 177 ni->runlist.rl = rl; in ntfs_map_runlist_nolock() 288 down_write(&ni->runlist.lock); in ntfs_map_runlist() 290 if (likely(ntfs_rl_vcn_to_lcn(ni->runlist.rl, vcn) <= in ntfs_map_runlist() 293 up_write(&ni->runlist.lock); in ntfs_map_runlist() 340 if (!ni->runlist.rl) { in ntfs_attr_vcn_to_lcn_nolock() 350 lcn = ntfs_rl_vcn_to_lcn(ni->runlist.rl, vcn); in ntfs_attr_vcn_to_lcn_nolock() 362 up_read(&ni->runlist.lock); in ntfs_attr_vcn_to_lcn_nolock() 363 down_write(&ni->runlist.lock); in ntfs_attr_vcn_to_lcn_nolock() 364 if (unlikely(ntfs_rl_vcn_to_lcn(ni->runlist.rl, vcn) != in ntfs_attr_vcn_to_lcn_nolock() [all …]
|
D | aops.c | 186 BUG_ON(!ni->runlist.rl && !ni->mft_no && !NInoAttr(ni)); in ntfs_read_block() 248 down_read(&ni->runlist.lock); in ntfs_read_block() 249 rl = ni->runlist.rl; in ntfs_read_block() 282 up_read(&ni->runlist.lock); in ntfs_read_block() 288 up_read(&ni->runlist.lock); in ntfs_read_block() 328 up_read(&ni->runlist.lock); in ntfs_read_block() 704 down_read(&ni->runlist.lock); in ntfs_write_block() 705 rl = ni->runlist.rl; in ntfs_write_block() 760 up_read(&ni->runlist.lock); in ntfs_write_block() 766 up_read(&ni->runlist.lock); in ntfs_write_block() [all …]
|
D | mft.c | 537 runlist.lock); in ntfs_sync_mft_mirror() 538 rl = NTFS_I(vol->mftmirr_ino)->runlist.rl; in ntfs_sync_mft_mirror() 574 up_read(&NTFS_I(vol->mftmirr_ino)->runlist.lock); in ntfs_sync_mft_mirror() 729 down_read(&NTFS_I(vol->mft_ino)->runlist.lock); in write_mft_record_nolock() 730 rl = NTFS_I(vol->mft_ino)->runlist.rl; in write_mft_record_nolock() 761 up_read(&NTFS_I(vol->mft_ino)->runlist.lock); in write_mft_record_nolock() 1300 down_write(&mftbmp_ni->runlist.lock); in ntfs_mft_bitmap_extend_allocation_nolock() 1307 up_write(&mftbmp_ni->runlist.lock); in ntfs_mft_bitmap_extend_allocation_nolock() 1328 up_write(&mftbmp_ni->runlist.lock); in ntfs_mft_bitmap_extend_allocation_nolock() 1354 up_write(&mftbmp_ni->runlist.lock); in ntfs_mft_bitmap_extend_allocation_nolock() [all …]
|
D | file.c | 830 down_read(&ni->runlist.lock); in ntfs_prepare_pages_for_non_resident_write() 832 rl = ni->runlist.rl; in ntfs_prepare_pages_for_non_resident_write() 859 up_write(&ni->runlist.lock); in ntfs_prepare_pages_for_non_resident_write() 862 up_read(&ni->runlist.lock); in ntfs_prepare_pages_for_non_resident_write() 884 up_read(&ni->runlist.lock); in ntfs_prepare_pages_for_non_resident_write() 885 down_write(&ni->runlist.lock); in ntfs_prepare_pages_for_non_resident_write() 966 up_read(&ni->runlist.lock); in ntfs_prepare_pages_for_non_resident_write() 967 down_write(&ni->runlist.lock); in ntfs_prepare_pages_for_non_resident_write() 975 while (--rl2 >= ni->runlist.rl) { in ntfs_prepare_pages_for_non_resident_write() 990 rl = ntfs_runlists_merge(ni->runlist.rl, rl2); in ntfs_prepare_pages_for_non_resident_write() [all …]
|
D | inode.h | 55 runlist runlist; /* If state has the NI_NonResident bit set, member 87 runlist attr_list_rl; /* Run list for the attribute list value. */
|
D | compress.c | 602 down_read(&ni->runlist.lock); in ntfs_read_compressed_block() 603 rl = ni->runlist.rl; in ntfs_read_compressed_block() 629 up_read(&ni->runlist.lock); in ntfs_read_compressed_block() 647 up_read(&ni->runlist.lock); in ntfs_read_compressed_block() 926 up_read(&ni->runlist.lock); in ntfs_read_compressed_block() 932 up_read(&ni->runlist.lock); in ntfs_read_compressed_block()
|
D | logfile.c | 745 down_write(&log_ni->runlist.lock); in ntfs_empty_logfile() 746 rl = log_ni->runlist.rl; in ntfs_empty_logfile() 755 rl = log_ni->runlist.rl; in ntfs_empty_logfile() 821 up_write(&log_ni->runlist.lock); in ntfs_empty_logfile() 844 up_write(&log_ni->runlist.lock); in ntfs_empty_logfile()
|
D | inode.c | 376 ntfs_init_runlist(&ni->runlist); in __ntfs_init_inode() 2041 nrl = ntfs_mapping_pairs_decompress(vol, a, ni->runlist.rl); in ntfs_read_inode_mount() 2048 ni->runlist.rl = nrl; in ntfs_read_inode_mount() 2169 lockdep_set_class(&ni->runlist.lock, &mft_ni_runlist_lock_key); in ntfs_read_inode_mount() 2189 down_write(&ni->runlist.lock); in __ntfs_clear_inode() 2190 if (ni->runlist.rl) { in __ntfs_clear_inode() 2191 ntfs_free(ni->runlist.rl); in __ntfs_clear_inode() 2192 ni->runlist.rl = NULL; in __ntfs_clear_inode() 2194 up_write(&ni->runlist.lock); in __ntfs_clear_inode() 2379 down_write(&ni->runlist.lock); in ntfs_truncate() [all …]
|
D | Makefile | 7 index.o inode.o mft.o mst.o namei.o runlist.o super.o sysctl.o \
|
D | attrib.h | 64 extern int load_attribute_list(ntfs_volume *vol, runlist *rl, u8 *al_start,
|
D | super.c | 1178 down_read(&mirr_ni->runlist.lock); in check_mft_mirror() 1179 rl = mirr_ni->runlist.rl; in check_mft_mirror() 1187 up_read(&mirr_ni->runlist.lock); in check_mft_mirror() 1191 up_read(&mirr_ni->runlist.lock); in check_mft_mirror() 1805 lockdep_set_class(&NTFS_I(vol->mftbmp_ino)->runlist.lock, in load_system_files() 1831 lockdep_set_class(&NTFS_I(vol->lcnbmp_ino)->runlist.lock, in load_system_files()
|