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

/osnet-11/usr/src/lib/libntfs/common/include/ntfs/
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);
71 const runlist_element *rl, const VCN start_vcn);
78 const VCN start_vcn, VCN *const stop_vcn);
80 extern int ntfs_rl_truncate(runlist **arl, const VCN start_vcn);
H A Dindex.h34 #define VCN_INDEX_ROOT_PARENT ((VCN)-2)
52 * @ib_vcn: VCN from which @ib where read from
59 * @vcn_size_bits: VCN size bits for this index block
72 * and @ib_vcn point to the index allocation block and VCN where it's placed,
99 VCN ib_vcn;
102 VCN parent_vcn[MAX_PARENT_VCN];
123 extern VCN ntfs_ie_get_vcn(INDEX_ENTRY *ie);
H A Dattrib.h93 const VCN lowest_vcn, const u8 *val, const u32 val_len,
301 extern int ntfs_attr_map_runlist(ntfs_attr *na, VCN vcn);
302 extern int ntfs_attr_map_runlist_range(ntfs_attr *na, VCN from_vcn, VCN to_vcn);
305 extern LCN ntfs_attr_vcn_to_lcn(ntfs_attr *na, const VCN vcn);
306 extern runlist_element *ntfs_attr_find_vcn(ntfs_attr *na, const VCN vcn);
321 ntfschar *name, u8 name_len, VCN lowest_vcn, int dataruns_size,
337 extern int ntfs_attr_update_mapping_pairs(ntfs_attr *na, VCN from_vcn);
H A Dtypes.h82 * and VCN, to allow for type checking and better code readability.
84 typedef s64 VCN; typedef
H A Dlogfile.h426 VCN target_vcn;
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dindex.c72 static s64 ntfs_ib_vcn_to_pos(ntfs_index_context *icx, VCN vcn)
77 static VCN ntfs_ib_pos_to_vcn(ntfs_index_context *icx, s64 pos)
82 static int ntfs_ib_write(ntfs_index_context *icx, VCN vcn, void *buf)
199 return (leVCN *)((u8 *)ie + le16_to_cpu(ie->length) - sizeof(VCN));
205 VCN ntfs_ie_get_vcn(INDEX_ENTRY *ie)
346 static void ntfs_ie_set_vcn(INDEX_ENTRY *ie, VCN vcn)
387 size -= sizeof(VCN);
398 static int ntfs_ia_check(ntfs_index_context *icx, INDEX_BLOCK *ib, VCN vcn)
414 ntfs_log_error("Corrupt index block: VCN (%lld) is different "
415 "from expected VCN (
[all...]
H A Drunlist.c309 /* Adjust the VCN of the first run after the insertion ... */
508 VCN marker_vcn = 0;
736 VCN vcn; /* Current vcn. */
751 sle64_to_cpu(attr->u.nonres.lowest_vcn) < (VCN)0) {
775 rl->vcn = (VCN)0;
894 VCN max_cluster;
976 LCN ntfs_rl_vcn_to_lcn(const runlist_element *rl, const VCN vcn)
980 if (vcn < (VCN)0)
1305 const runlist_element *rl, const VCN start_vcn)
1475 const VCN start_vc
[all...]
H A Dcompress.c266 runlist_element *rl, VCN cb_start_vcn, int cb_clusters)
328 VCN start_vcn, vcn, end_vcn;
H A Dattrib.c497 int ntfs_attr_map_runlist(ntfs_attr *na, VCN vcn)
542 int ntfs_attr_map_runlist_range(ntfs_attr *na, VCN from_vcn, VCN to_vcn)
618 VCN next_vcn, last_vcn, highest_vcn;
739 LCN ntfs_attr_vcn_to_lcn(ntfs_attr *na, const VCN vcn)
789 runlist_element *ntfs_attr_find_vcn(ntfs_attr *na, const VCN vcn)
1040 VCN update_from = -1;
1205 VCN cur_vcn, from_vcn;
1876 const VCN lowest_vcn, const u8 *val, const u32 val_len,
2287 const VCN lowest_vc
[all...]
H A Dlcnalloc.c103 runlist *ntfs_cluster_alloc(ntfs_volume *vol, VCN start_vcn, s64 count,
754 int ntfs_cluster_free(ntfs_volume *vol, ntfs_attr *na, VCN start_vcn, s64 count)
H A Dmft.c80 VCN m;
137 VCN m;
891 VCN old_last_vcn;
H A Dvolume.c181 VCN next_vcn, last_vcn, highest_vcn;
H A Ddir.c106 VCN vcn;
297 ntfs_log_debug("Actual VCN (0x%llx) of index buffer is "
298 "different from expected VCN (0x%llx).\n",
305 ntfs_log_debug("Index buffer (VCN 0x%llx) of directory inode "
317 ntfs_log_debug("Size of index buffer (VCN 0x%llx) of directory "
963 ntfs_log_debug("Actual VCN (0x%llx) of index buffer is "
964 "different from expected VCN (0x%llx) in "
972 ntfs_log_debug("Index buffer (VCN 0x%llx) of directory inode "
983 ntfs_log_debug("Size of index buffer (VCN 0x%llx) of directory "
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dntfsresize.c196 VCN mft_highest_vcn; /* used for relocating the $MFT */
602 static void rl_set(runlist *rl, VCN vcn, LCN lcn, s64 len)
1629 VCN highest_vcn, lowest_vcn;
1720 VCN highest_vcn;
1793 static void rl_expand(runlist **rl, const VCN last_vcn)
1826 static void rl_truncate(runlist **rl, const VCN last_vcn)
1829 VCN vcn;
H A Dmkntfs.c757 VCN vcn = 0LL;
1084 const VCN lowest_vcn __attribute__((unused)), const u8 *val,
1123 VCN highest_vcn;
2141 /* Now fixup empty index root with pointer to index allocation VCN 0. */
2144 if (le16_to_cpu(re->length) < sizeof(INDEX_ENTRY_HEADER) + sizeof(VCN))
2145 re->length = cpu_to_le16(le16_to_cpu(re->length) + sizeof(VCN));
2158 /* Set VCN pointer to 0LL. */
2159 *(leVCN*)((char*)re + le16_to_cpu(re->length) - sizeof(VCN)) = 0;

Completed in 89 milliseconds