Lines Matching refs:INDEX_BLOCK
83 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()
1092 static INDEX_BLOCK *ntfs_ir_to_ib(INDEX_ROOT *ir, VCN ib_vcn) in ntfs_ir_to_ib()
1094 INDEX_BLOCK *ib; in ntfs_ir_to_ib()
1142 static int ntfs_ib_copy_tail(ntfs_index_context *icx, INDEX_BLOCK *src, in ntfs_ib_copy_tail()
1148 INDEX_BLOCK *dst; in ntfs_ib_copy_tail()
1171 static int ntfs_ib_cut_tail(ntfs_index_context *icx, INDEX_BLOCK *ib, in ntfs_ib_cut_tail()
1225 INDEX_BLOCK *ib = NULL; in ntfs_ir_reparent()
1464 static int ntfs_ib_split(ntfs_index_context *icx, INDEX_BLOCK *ib);
1472 INDEX_BLOCK *ib; in ntfs_ib_insert()
1516 static int ntfs_ib_split(ntfs_index_context *icx, INDEX_BLOCK *ib) in ntfs_ib_split()
1664 INDEX_ENTRY *ie, INDEX_BLOCK *ib) in ntfs_ih_takeout()
1730 INDEX_BLOCK *ib) in ntfs_ih_reparent_end()
1746 INDEX_BLOCK *ib = NULL; in ntfs_index_rm_leaf()
1802 INDEX_BLOCK *ib = NULL; in ntfs_index_rm_node()
2051 ictx->ib = (INDEX_BLOCK*)ntfs_malloc(ictx->block_size); in ntfs_index_walk_down()
2092 ictx->ib = (INDEX_BLOCK*)NULL; in ntfs_index_walk_up()