Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A 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 …]
H A Dindex.h126 INDEX_BLOCK *ib;
142 extern int ntfs_index_block_inconsistent(const INDEX_BLOCK *ib, u32 block_size,
H A Dattrib.h276 INDEX_BLOCK index_blk;
H A Dlayout.h2173 } __attribute__((__packed__)) INDEX_BLOCK; typedef
2175 typedef INDEX_BLOCK INDEX_ALLOCATION;
H A Ddir.c410 if (ntfs_index_block_inconsistent((INDEX_BLOCK*)ia, index_block_size, in ntfs_inode_lookup_by_name()
1357 if (ntfs_index_block_inconsistent((INDEX_BLOCK*)ia, index_block_size, in ntfs_readdir()
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dmkntfs.c2276 static int make_room_for_index_entry_in_index_block(INDEX_BLOCK *idx, in make_room_for_index_entry_in_index_block()
2296 (char*)pos > (char*)idx + sizeof(INDEX_BLOCK) - in make_room_for_index_entry_in_index_block()
2299 (char*)pos + size > (char*)idx + sizeof(INDEX_BLOCK) - in make_room_for_index_entry_in_index_block()
2718 static int insert_file_link_in_dir_index(INDEX_BLOCK *idx, leMFT_REF file_ref, in insert_file_link_in_dir_index()
2971 static int create_hardlink(INDEX_BLOCK *idx, const leMFT_REF ref_parent, in create_hardlink()
3946 i = sizeof(INDEX_BLOCK) - sizeof(INDEX_HEADER) + in mkntfs_sync_index_record()