• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/

Lines Matching refs:VCN

71 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 (%lld) is different "
406 "from expected VCN (%lld) in inode %llu\n",
415 ntfs_log_error("Corrupt index block : VCN (%lld) of inode %llu "
484 VCN *vcn, INDEX_ENTRY **ie_out)
584 static int ntfs_ib_read(ntfs_index_context *icx, VCN vcn, INDEX_BLOCK *dst)
664 VCN old_vcn, vcn;
749 ntfs_log_debug("Descend into node with VCN %lld\n", (long long)vcn);
794 static INDEX_BLOCK *ntfs_ib_alloc(VCN ib_vcn, u32 ib_size,
856 static s64 ntfs_ibm_vcn_to_pos(ntfs_index_context *icx, VCN vcn)
887 static int ntfs_ibm_modify(ntfs_index_context *icx, VCN vcn, int set)
935 static int ntfs_ibm_set(ntfs_index_context *icx, VCN vcn)
940 static int ntfs_ibm_clear(ntfs_index_context *icx, VCN vcn)
945 static VCN ntfs_ibm_get_free(ntfs_index_context *icx)
956 return (VCN)-1;
976 vcn = (VCN)-1;
982 static INDEX_BLOCK *ntfs_ir_to_ib(INDEX_ROOT *ir, VCN ib_vcn)
1033 INDEX_ENTRY *median, VCN new_vcn)
1116 VCN new_ib_vcn;
1154 ie->length = cpu_to_le16(sizeof(INDEX_ENTRY_HEADER) + sizeof(VCN));
1252 old->length = cpu_to_le16(le16_to_cpu(old->length) + sizeof(VCN));
1263 static int ntfs_ih_insert(INDEX_HEADER *ih, INDEX_ENTRY *orig_ie, VCN new_vcn,
1268 VCN old_vcn;
1293 static VCN ntfs_icx_parent_vcn(ntfs_index_context *icx)
1298 static VCN ntfs_icx_parent_pos(ntfs_index_context *icx)
1305 VCN new_vcn)
1319 new_size += sizeof(VCN);
1339 static int ntfs_ib_insert(ntfs_index_context *icx, INDEX_ENTRY *ie, VCN new_vcn)
1344 VCN old_vcn;
1359 /* FIXME: sizeof(VCN) should be included only if ie has no VCN */
1360 if (idx_size + le16_to_cpu(ie->length) + sizeof(VCN) > allocated_size) {
1388 VCN new_vcn;
1570 ie->length = cpu_to_le16(le16_to_cpu(ie->length) - sizeof(VCN));
1572 ih->index_length = cpu_to_le32(le32_to_cpu(ih->index_length) - sizeof(VCN));
1655 VCN vcn;