Searched refs:VCN (Results 1 - 25 of 30) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ntfs/
H A Drunlist.h43 VCN vcn; /* vcn = Starting virtual cluster number. */
79 extern LCN ntfs_rl_vcn_to_lcn(const runlist_element *rl, const VCN vcn);
84 const VCN vcn);
87 const runlist_element *rl, const VCN first_vcn,
88 const VCN last_vcn);
92 const VCN first_vcn, const VCN last_vcn, VCN *const stop_vcn);
98 const VCN start, const s64 length);
H A Dlcnalloc.h44 const VCN start_vcn, const s64 count, const LCN start_lcn,
48 extern s64 __ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn,
107 static inline s64 ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn,
H A Dattrib.h63 extern int ntfs_map_runlist_nolock(ntfs_inode *ni, VCN vcn,
65 extern int ntfs_map_runlist(ntfs_inode *ni, VCN vcn);
67 extern LCN ntfs_attr_vcn_to_lcn_nolock(ntfs_inode *ni, const VCN vcn,
71 const VCN vcn, ntfs_attr_search_ctx *ctx);
75 const VCN lowest_vcn, const u8 *val, const u32 val_len,
H A Dtypes.h41 * and VCN, to allow for type checking and better code readability.
43 typedef s64 VCN; typedef
H A Drunlist.c338 /* Adjust the VCN of the first run after the insertion... */
541 VCN marker_vcn = 0;
718 VCN vcn; /* Current vcn. */
732 attr->data.non_resident.lowest_vcn) < (VCN)0) {
880 VCN max_cluster;
970 LCN ntfs_rl_vcn_to_lcn(const runlist_element *rl, const VCN vcn)
1019 runlist_element *ntfs_rl_find_vcn_nolock(runlist_element *rl, const VCN vcn)
1098 const runlist_element *rl, const VCN first_vcn,
1099 const VCN last_vcn)
1291 const VCN first_vc
[all...]
H A Daops.c188 VCN vcn;
263 vcn = (VCN)iblock << blocksize_bits >>
265 vcn_ofs = ((VCN)iblock << blocksize_bits) &
553 VCN vcn;
699 vcn = (VCN)block << blocksize_bits;
999 VCN vcn;
1005 vcn = (VCN)block << bh_size_bits;
H A Dattrib.c84 int ntfs_map_runlist_nolock(ntfs_inode *ni, VCN vcn, ntfs_attr_search_ctx *ctx)
86 VCN end_vcn;
114 VCN allocated_size_vcn;
298 int ntfs_map_runlist(ntfs_inode *ni, VCN vcn)
341 LCN ntfs_attr_vcn_to_lcn_nolock(ntfs_inode *ni, const VCN vcn,
464 runlist_element *ntfs_attr_find_vcn_nolock(ntfs_inode *ni, const VCN vcn,
859 const IGNORE_CASE_BOOL ic, const VCN lowest_vcn,
1181 const VCN lowest_vcn, const u8 *val, const u32 val_len,
1854 VCN vcn;
H A Dcompress.c459 VCN vcn;
462 VCN start_vcn = (((s64)index << PAGE_CACHE_SHIFT) & ~cb_size_mask) >>
468 VCN end_vcn = ((((s64)(index + 1UL) << PAGE_CACHE_SHIFT) + cb_size - 1)
H A Dlcnalloc.c72 runlist_element *ntfs_cluster_alloc(ntfs_volume *vol, const VCN start_vcn,
775 s64 __ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn, s64 count,
856 VCN vcn;
H A Dindex.c122 VCN vcn, old_vcn;
306 ntfs_error(sb, "Actual VCN (0x%llx) of index buffer is "
307 "different from expected VCN (0x%llx). Inode "
316 ntfs_error(sb, "Index buffer (VCN 0x%llx) of inode 0x%lx has "
327 ntfs_error(sb, "Index buffer (VCN 0x%llx) of inode 0x%lx "
336 ntfs_error(sb, "Size of index buffer (VCN 0x%llx) of inode "
H A Dfile.c483 VCN vcn, highest_vcn = 0, cpos, cend, bh_cpos, bh_cend;
555 VCN cdelta;
1784 VCN last_vcn;
1937 VCN vcn;
H A Dmft.c528 VCN vcn;
534 vcn = ((VCN)mft_no << vol->mft_record_size_bits) +
717 VCN vcn;
723 vcn = ((VCN)ni->mft_no << vol->mft_record_size_bits) +
1711 VCN old_last_vcn;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ntfs-3g-2009.3.8/include/ntfs-3g/
H A Dlcnalloc.h41 extern runlist *ntfs_cluster_alloc(ntfs_volume *vol, VCN start_vcn, s64 count,
46 extern int ntfs_cluster_free(ntfs_volume *vol, ntfs_attr *na, VCN start_vcn,
H A Drunlist.h47 VCN vcn; /* vcn = Starting virtual cluster number. */
52 extern LCN ntfs_rl_vcn_to_lcn(const runlist_element *rl, const VCN vcn);
68 const runlist_element *rl, const VCN start_vcn);
75 const VCN start_vcn, VCN *const stop_vcn);
77 extern int ntfs_rl_truncate(runlist **arl, const VCN start_vcn);
H A Dindex.h34 #define VCN_INDEX_ROOT_PARENT ((VCN)-2)
53 * @new_vcn: new VCN if we need to create a new index block
57 * @vcn_size_bits: VCN size bits for this index block
70 * point to the index allocation block and VCN where it's placed,
98 VCN parent_vcn[MAX_PARENT_VCN]; /* entry's parent nodes */
119 extern VCN ntfs_ie_get_vcn(INDEX_ENTRY *ie);
H A Dtypes.h64 * and VCN, to allow for type checking and better code readability.
66 typedef s64 VCN; typedef
H A Dattrib.h92 const VCN lowest_vcn, const u8 *val, const u32 val_len,
270 extern int ntfs_attr_map_runlist(ntfs_attr *na, VCN vcn);
273 extern LCN ntfs_attr_vcn_to_lcn(ntfs_attr *na, const VCN vcn);
274 extern runlist_element *ntfs_attr_find_vcn(ntfs_attr *na, const VCN vcn);
289 ntfschar *name, u8 name_len, VCN lowest_vcn, int dataruns_size,
305 extern int ntfs_attr_update_mapping_pairs(ntfs_attr *na, VCN from_vcn);
H A Dlogfile.h382 VCN target_vcn;
H A Dlayout.h765 /* 16*/ VCN lowest_vcn; /* Lowest valid virtual cluster number
770 /* 24*/ VCN highest_vcn; /* Highest valid vcn of this extent of
1028 /* 8*/ VCN lowest_vcn; /* Lowest virtual cluster number of this portion
2134 /* 16*/ VCN index_block_vcn; /* Virtual cluster number of the index block. */
2316 and the optional subnode VCN. See below. */
2344 VCN vcn; If INDEX_ENTRY_NODE bit in ie_flags is set, the last
2353 (char*)ie + le16_to_cpu(ie->length) - sizeof(VCN)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/
H A Dindex.c71 static s64 ntfs_ib_vcn_to_pos(ntfs_index_context *icx, VCN vcn)
76 static VCN ntfs_ib_pos_to_vcn(ntfs_index_context *icx, s64 pos)
192 static VCN *ntfs_ie_get_vcn_addr(INDEX_ENTRY *ie)
194 return (VCN *)((u8 *)ie + le16_to_cpu(ie->length) - sizeof(VCN));
200 VCN ntfs_ie_get_vcn(INDEX_ENTRY *ie)
337 static void ntfs_ie_set_vcn(INDEX_ENTRY *ie, VCN vcn)
378 size -= sizeof(VCN);
389 static int ntfs_ia_check(ntfs_index_context *icx, INDEX_BLOCK *ib, VCN vcn)
405 ntfs_log_error("Corrupt index block: VCN (
[all...]
H A Drunlist.c307 /* Adjust the VCN of the first run after the insertion ... */
478 VCN marker_vcn = 0;
748 VCN vcn; /* Current vcn. */
763 sle64_to_cpu(attr->lowest_vcn) < (VCN)0) {
787 rl->vcn = (VCN)0;
906 VCN max_cluster;
999 LCN ntfs_rl_vcn_to_lcn(const runlist_element *rl, const VCN vcn)
1003 if (vcn < (VCN)0)
1270 const runlist_element *rl, const VCN start_vcn)
1444 const VCN start_vc
[all...]
H A Dcompress.c267 VCN cb_start_vcn, int cb_clusters)
329 VCN start_vcn, vcn, end_vcn;
H A Dlcnalloc.c182 runlist *ntfs_cluster_alloc(ntfs_volume *vol, VCN start_vcn, s64 count,
571 int ntfs_cluster_free(ntfs_volume *vol, ntfs_attr *na, VCN start_vcn, s64 count)
H A Dattrib.c511 int ntfs_attr_map_runlist(ntfs_attr *na, VCN vcn)
560 VCN next_vcn, last_vcn, highest_vcn;
672 LCN ntfs_attr_vcn_to_lcn(ntfs_attr *na, const VCN vcn)
722 runlist_element *ntfs_attr_find_vcn(ntfs_attr *na, const VCN vcn)
858 ntfs_log_perror("%s: Failed to find VCN #1", __FUNCTION__);
874 ntfs_log_perror("%s: Failed to find VCN #2",
1017 runlist_element **rl, VCN *update_from)
1024 VCN cur_vcn, from_vcn;
1161 VCN update_from = -1;
1301 ntfs_log_perror("%s: Failed to find VCN #
[all...]
H A Dmft.c82 VCN m;
144 VCN m;
965 VCN old_last_vcn;

Completed in 305 milliseconds

12