Searched refs:start_vcn (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/fs/ntfs/ |
H A D | lcnalloc.h | 30 const VCN start_vcn, const s64 count, const LCN start_lcn, 34 extern s64 __ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn, 40 * @start_vcn: vcn in the runlist of @ni at which to start freeing clusters 44 * Free @count clusters starting at the cluster @start_vcn in the runlist 47 * If @count is -1, all clusters from @start_vcn to the end of the runlist are 49 * @start_vcn = 0 and @count = -1. 93 static inline s64 ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn, in ntfs_cluster_free() argument 96 return __ntfs_cluster_free(ni, start_vcn, count, ctx, false); in ntfs_cluster_free()
|
H A D | lcnalloc.c | 61 * @start_vcn: vcn to use for the first allocated cluster 73 * @start_vcn specifies the vcn of the first allocated cluster. This makes 132 runlist_element *ntfs_cluster_alloc(ntfs_volume *vol, const VCN start_vcn, in ntfs_cluster_alloc() argument 149 ntfs_debug("Entering for start_vcn 0x%llx, count 0x%llx, start_lcn " in ntfs_cluster_alloc() 150 "0x%llx, zone %s_ZONE.", (unsigned long long)start_vcn, in ntfs_cluster_alloc() 157 BUG_ON(start_vcn < 0); in ntfs_cluster_alloc() 393 rl[rlpos].vcn = start_vcn; in ntfs_cluster_alloc() 778 * @start_vcn: vcn in the runlist of @ni at which to start freeing clusters 783 * Free @count clusters starting at the cluster @start_vcn in the runlist 786 * If @count is -1, all clusters from @start_vcn t 835 __ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn, s64 count, ntfs_attr_search_ctx *ctx, const bool is_rollback) __ntfs_cluster_free() argument [all...] |
H A D | compress.c | 481 VCN start_vcn = (((s64)index << PAGE_SHIFT) & ~cb_size_mask) >> in ntfs_read_compressed_block() local 490 unsigned int nr_cbs = (end_vcn - start_vcn) << vol->cluster_size_bits in ntfs_read_compressed_block() 495 * guarantees of start_vcn and end_vcn, no need to round up here. in ntfs_read_compressed_block() 497 unsigned int nr_pages = (end_vcn - start_vcn) << in ntfs_read_compressed_block() 535 offset = start_vcn << vol->cluster_size_bits >> PAGE_SHIFT; in ntfs_read_compressed_block() 596 for (vcn = start_vcn, start_vcn += cb_clusters; vcn < start_vcn; in ntfs_read_compressed_block() 730 if (vcn == start_vcn - cb_clusters) { in ntfs_read_compressed_block() 773 } else if (vcn == start_vcn) { in ntfs_read_compressed_block() [all...] |
/kernel/linux/linux-6.6/fs/ntfs/ |
H A D | lcnalloc.h | 30 const VCN start_vcn, const s64 count, const LCN start_lcn, 34 extern s64 __ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn, 40 * @start_vcn: vcn in the runlist of @ni at which to start freeing clusters 44 * Free @count clusters starting at the cluster @start_vcn in the runlist 47 * If @count is -1, all clusters from @start_vcn to the end of the runlist are 49 * @start_vcn = 0 and @count = -1. 93 static inline s64 ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn, in ntfs_cluster_free() argument 96 return __ntfs_cluster_free(ni, start_vcn, count, ctx, false); in ntfs_cluster_free()
|
H A D | lcnalloc.c | 61 * @start_vcn: vcn to use for the first allocated cluster 73 * @start_vcn specifies the vcn of the first allocated cluster. This makes 132 runlist_element *ntfs_cluster_alloc(ntfs_volume *vol, const VCN start_vcn, in ntfs_cluster_alloc() argument 149 ntfs_debug("Entering for start_vcn 0x%llx, count 0x%llx, start_lcn " in ntfs_cluster_alloc() 150 "0x%llx, zone %s_ZONE.", (unsigned long long)start_vcn, in ntfs_cluster_alloc() 157 BUG_ON(start_vcn < 0); in ntfs_cluster_alloc() 393 rl[rlpos].vcn = start_vcn; in ntfs_cluster_alloc() 778 * @start_vcn: vcn in the runlist of @ni at which to start freeing clusters 783 * Free @count clusters starting at the cluster @start_vcn in the runlist 786 * If @count is -1, all clusters from @start_vcn t 835 __ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn, s64 count, ntfs_attr_search_ctx *ctx, const bool is_rollback) __ntfs_cluster_free() argument [all...] |
H A D | compress.c | 481 VCN start_vcn = (((s64)index << PAGE_SHIFT) & ~cb_size_mask) >> in ntfs_read_compressed_block() local 490 unsigned int nr_cbs = (end_vcn - start_vcn) << vol->cluster_size_bits in ntfs_read_compressed_block() 495 * guarantees of start_vcn and end_vcn, no need to round up here. in ntfs_read_compressed_block() 497 unsigned int nr_pages = (end_vcn - start_vcn) << in ntfs_read_compressed_block() 535 offset = start_vcn << vol->cluster_size_bits >> PAGE_SHIFT; in ntfs_read_compressed_block() 596 for (vcn = start_vcn, start_vcn += cb_clusters; vcn < start_vcn; in ntfs_read_compressed_block() 730 if (vcn == start_vcn - cb_clusters) { in ntfs_read_compressed_block() 773 } else if (vcn == start_vcn) { in ntfs_read_compressed_block() [all...] |
Completed in 5 milliseconds