Home
last modified time | relevance | path

Searched refs:INDEX_BLOCK (Results 1 – 8 of 8) sorted by relevance

/third_party/ntfs-3g/libntfs-3g/
Dindex.c83 static int ntfs_ib_write(ntfs_index_context *icx, INDEX_BLOCK *ib) in ntfs_ib_write()
460 int ntfs_index_block_inconsistent(const INDEX_BLOCK *ib, u32 block_size, in ntfs_index_block_inconsistent()
464 + offsetof(INDEX_BLOCK, index); in ntfs_index_block_inconsistent()
688 static int ntfs_ib_read(ntfs_index_context *icx, VCN vcn, INDEX_BLOCK *dst) in ntfs_ib_read()
706 if (ntfs_index_block_inconsistent((INDEX_BLOCK*)dst, icx->block_size, in ntfs_ib_read()
775 INDEX_BLOCK *ib = NULL; in ntfs_index_lookup()
904 static INDEX_BLOCK *ntfs_ib_alloc(VCN ib_vcn, u32 ib_size, in ntfs_ib_alloc()
907 INDEX_BLOCK *ib; in ntfs_ib_alloc()
917 ib->usa_ofs = const_cpu_to_le16(sizeof(INDEX_BLOCK)); in ntfs_ib_alloc()
929 (sizeof(INDEX_BLOCK) - ih_size)); in ntfs_ib_alloc()
[all …]
Ddir.c410 if (ntfs_index_block_inconsistent((INDEX_BLOCK*)ia, index_block_size, in ntfs_inode_lookup_by_name()
1354 if (ntfs_index_block_inconsistent((INDEX_BLOCK*)ia, index_block_size, in ntfs_readdir()
/third_party/ntfs-3g/include/ntfs-3g/
Dindex.h126 INDEX_BLOCK *ib;
142 extern int ntfs_index_block_inconsistent(const INDEX_BLOCK *ib, u32 block_size,
Dlayout.h2173 } __attribute__((__packed__)) INDEX_BLOCK; typedef
2175 typedef INDEX_BLOCK INDEX_ALLOCATION;
Dattrib.h276 INDEX_BLOCK index_blk;
/third_party/ntfs-3g/ntfsprogs/
Dplaylog.c392 const INDEX_BLOCK *indx; in sanity_indx()
397 indx = (const INDEX_BLOCK*)buffer; in sanity_indx()
398 k = offsetof(INDEX_BLOCK, index) + in sanity_indx()
633 INDEX_BLOCK *indx; in write_protected()
670 indx = (INDEX_BLOCK*)buffer; in write_protected()
1488 INDEX_BLOCK *indx; in update_index()
1500 indx = (INDEX_BLOCK*)(buffer in update_index()
1755 const INDEX_BLOCK *indx; in check_full_index()
1759 indx = (const INDEX_BLOCK*)((const char*)&action->record in check_full_index()
1763 indx = (const INDEX_BLOCK*)((const char*)&action->record in check_full_index()
[all …]
Dmkntfs.c2577 static int make_room_for_index_entry_in_index_block(INDEX_BLOCK *idx, in make_room_for_index_entry_in_index_block()
2597 (char*)pos > (char*)idx + sizeof(INDEX_BLOCK) - in make_room_for_index_entry_in_index_block()
2600 (char*)pos + size > (char*)idx + sizeof(INDEX_BLOCK) - in make_room_for_index_entry_in_index_block()
3019 static int insert_file_link_in_dir_index(INDEX_BLOCK *idx, leMFT_REF file_ref, in insert_file_link_in_dir_index()
3272 static int create_hardlink(INDEX_BLOCK *idx, const leMFT_REF ref_parent, in create_hardlink()
4266 i = sizeof(INDEX_BLOCK) - sizeof(INDEX_HEADER) + in mkntfs_sync_index_record()
Dntfsinfo.c1892 static s32 ntfs_dump_index_block(INDEX_BLOCK *ib, INDEX_ATTR_TYPE type, in ntfs_dump_index_block()