Lines Matching refs:dst
688 static int ntfs_ib_read(ntfs_index_context *icx, VCN vcn, INDEX_BLOCK *dst)
696 ret = ntfs_attr_mst_pread(icx->ia_na, pos, 1, icx->block_size, (u8 *)dst);
706 if (ntfs_index_block_inconsistent((INDEX_BLOCK*)dst, icx->block_size,
1148 INDEX_BLOCK *dst;
1152 dst = ntfs_ib_alloc(new_vcn, icx->block_size,
1154 if (!dst)
1161 memcpy(ntfs_ie_get_first(&dst->index), ie_head, tail_size);
1163 dst->index.index_length = cpu_to_le32(tail_size +
1164 le32_to_cpu(dst->index.entries_offset));
1165 ret = ntfs_ib_write(icx, dst);
1167 free(dst);