Home
last modified time | relevance | path

Searched refs:index_block_size (Results 1 – 4 of 4) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Ddir.c264 u32 index_block_size; in ntfs_inode_lookup_by_name() local
289 index_block_size = le32_to_cpu(ir->index_block_size); in ntfs_inode_lookup_by_name()
290 if (index_block_size < NTFS_BLOCK_SIZE || in ntfs_inode_lookup_by_name()
291 index_block_size & (index_block_size - 1)) { in ntfs_inode_lookup_by_name()
293 (unsigned)index_block_size); in ntfs_inode_lookup_by_name()
380 ia = ntfs_malloc(index_block_size); in ntfs_inode_lookup_by_name()
387 if (vol->cluster_size <= index_block_size) { in ntfs_inode_lookup_by_name()
400 index_block_size, ia); in ntfs_inode_lookup_by_name()
410 if (ntfs_index_block_inconsistent((INDEX_BLOCK*)ia, index_block_size, in ntfs_inode_lookup_by_name()
1116 u32 index_block_size; in ntfs_readdir() local
[all …]
H A Dlayout.h2132 /* 8*/ le32 index_block_size; /* Size of index block in bytes (in member
H A Dindex.c793 icx->block_size = le32_to_cpu(ir->index_block_size); in ntfs_index_lookup()
1101 ib = ntfs_ib_alloc(ib_vcn, le32_to_cpu(ir->index_block_size), LEAF_NODE); in ntfs_ir_to_ib()
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dmkntfs.c1969 const u32 index_block_size) in add_attr_index_root() argument
1989 r->index_block_size = cpu_to_le32(index_block_size); in add_attr_index_root()
1990 if (index_block_size >= g_vol->cluster_size) { in add_attr_index_root()
1991 if (index_block_size % g_vol->cluster_size) { in add_attr_index_root()
1997 r->clusters_per_index_block = index_block_size / in add_attr_index_root()
2000 if (index_block_size & (index_block_size - 1)) { in add_attr_index_root()
2006 if (index_block_size < (u32)opts.sector_size) { in add_attr_index_root()
2012 r->clusters_per_index_block = index_block_size in add_attr_index_root()
2135 int i, err, index_block_size; in upgrade_to_large_index() local
2170 index_block_size = le32_to_cpu(r->index_block_size); in upgrade_to_large_index()
[all …]