Home
last modified time | relevance | path

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

/linux-4.1.27/fs/xfs/libxfs/
Dxfs_da_format.c487 struct xfs_dir3_leaf_hdr *hdr3 = (struct xfs_dir3_leaf_hdr *)from; in xfs_dir3_leaf_hdr_from_disk() local
489 to->forw = be32_to_cpu(hdr3->info.hdr.forw); in xfs_dir3_leaf_hdr_from_disk()
490 to->back = be32_to_cpu(hdr3->info.hdr.back); in xfs_dir3_leaf_hdr_from_disk()
491 to->magic = be16_to_cpu(hdr3->info.hdr.magic); in xfs_dir3_leaf_hdr_from_disk()
492 to->count = be16_to_cpu(hdr3->count); in xfs_dir3_leaf_hdr_from_disk()
493 to->stale = be16_to_cpu(hdr3->stale); in xfs_dir3_leaf_hdr_from_disk()
504 struct xfs_dir3_leaf_hdr *hdr3 = (struct xfs_dir3_leaf_hdr *)to; in xfs_dir3_leaf_hdr_to_disk() local
509 hdr3->info.hdr.forw = cpu_to_be32(from->forw); in xfs_dir3_leaf_hdr_to_disk()
510 hdr3->info.hdr.back = cpu_to_be32(from->back); in xfs_dir3_leaf_hdr_to_disk()
511 hdr3->info.hdr.magic = cpu_to_be16(from->magic); in xfs_dir3_leaf_hdr_to_disk()
[all …]
Dxfs_attr_leaf.c111 struct xfs_attr3_leaf_hdr *hdr3; in xfs_attr3_leaf_firstused_from_disk() local
114 hdr3 = (struct xfs_attr3_leaf_hdr *) from; in xfs_attr3_leaf_firstused_from_disk()
115 to->firstused = be16_to_cpu(hdr3->firstused); in xfs_attr3_leaf_firstused_from_disk()
138 struct xfs_attr3_leaf_hdr *hdr3; in xfs_attr3_leaf_firstused_to_disk() local
156 hdr3 = (struct xfs_attr3_leaf_hdr *) to; in xfs_attr3_leaf_firstused_to_disk()
157 hdr3->firstused = cpu_to_be16(firstused); in xfs_attr3_leaf_firstused_to_disk()
175 struct xfs_attr3_leaf_hdr *hdr3 = (struct xfs_attr3_leaf_hdr *)from; in xfs_attr3_leaf_hdr_from_disk() local
177 to->forw = be32_to_cpu(hdr3->info.hdr.forw); in xfs_attr3_leaf_hdr_from_disk()
178 to->back = be32_to_cpu(hdr3->info.hdr.back); in xfs_attr3_leaf_hdr_from_disk()
179 to->magic = be16_to_cpu(hdr3->info.hdr.magic); in xfs_attr3_leaf_hdr_from_disk()
[all …]
Dxfs_dir2_data.c218 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_verify() local
221 if (hdr3->magic != cpu_to_be32(XFS_DIR3_DATA_MAGIC)) in xfs_dir3_data_verify()
223 if (!uuid_equal(&hdr3->uuid, &mp->m_sb.sb_uuid)) in xfs_dir3_data_verify()
225 if (be64_to_cpu(hdr3->blkno) != bp->b_bn) in xfs_dir3_data_verify()
228 if (hdr3->magic != cpu_to_be32(XFS_DIR2_DATA_MAGIC)) in xfs_dir3_data_verify()
287 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_write_verify() local
299 hdr3->lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_data_write_verify()
602 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_init() local
604 memset(hdr3, 0, sizeof(*hdr3)); in xfs_dir3_data_init()
605 hdr3->magic = cpu_to_be32(XFS_DIR3_DATA_MAGIC); in xfs_dir3_data_init()
[all …]
Dxfs_dir2_block.c65 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_verify() local
68 if (hdr3->magic != cpu_to_be32(XFS_DIR3_BLOCK_MAGIC)) in xfs_dir3_block_verify()
70 if (!uuid_equal(&hdr3->uuid, &mp->m_sb.sb_uuid)) in xfs_dir3_block_verify()
72 if (be64_to_cpu(hdr3->blkno) != bp->b_bn) in xfs_dir3_block_verify()
75 if (hdr3->magic != cpu_to_be32(XFS_DIR2_BLOCK_MAGIC)) in xfs_dir3_block_verify()
105 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_write_verify() local
117 hdr3->lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_block_write_verify()
150 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_init() local
156 memset(hdr3, 0, sizeof(*hdr3)); in xfs_dir3_block_init()
157 hdr3->magic = cpu_to_be32(XFS_DIR3_BLOCK_MAGIC); in xfs_dir3_block_init()
[all …]
Dxfs_dir2_node.c92 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_verify() local
94 if (hdr3->magic != cpu_to_be32(XFS_DIR3_FREE_MAGIC)) in xfs_dir3_free_verify()
96 if (!uuid_equal(&hdr3->uuid, &mp->m_sb.sb_uuid)) in xfs_dir3_free_verify()
98 if (be64_to_cpu(hdr3->blkno) != bp->b_bn) in xfs_dir3_free_verify()
132 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_write_verify() local
144 hdr3->lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_free_write_verify()
223 struct xfs_dir3_free_hdr *hdr3 = bp->b_addr; in xfs_dir3_free_get_buf() local
227 hdr3->hdr.blkno = cpu_to_be64(bp->b_bn); in xfs_dir3_free_get_buf()
228 hdr3->hdr.owner = cpu_to_be64(dp->i_ino); in xfs_dir3_free_get_buf()
229 uuid_copy(&hdr3->hdr.uuid, &mp->m_sb.sb_uuid); in xfs_dir3_free_get_buf()
Dxfs_da_btree.c144 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_da3_node_verify() local
149 if (!uuid_equal(&hdr3->info.uuid, &mp->m_sb.sb_uuid)) in xfs_da3_node_verify()
151 if (be64_to_cpu(hdr3->info.blkno) != bp->b_bn) in xfs_da3_node_verify()
183 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_da3_node_write_verify() local
195 hdr3->info.lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_da3_node_write_verify()
322 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_da3_node_create() local
325 hdr3->info.blkno = cpu_to_be64(bp->b_bn); in xfs_da3_node_create()
326 hdr3->info.owner = cpu_to_be64(args->dp->i_ino); in xfs_da3_node_create()
327 uuid_copy(&hdr3->info.uuid, &mp->m_sb.sb_uuid); in xfs_da3_node_create()
Dxfs_dir2_leaf.c199 struct xfs_dir3_leaf_hdr *hdr3 = bp->b_addr; in __write_verify() local
211 hdr3->info.lsn = cpu_to_be64(bip->bli_item.li_lsn); in __write_verify()
/linux-4.1.27/arch/arm/kernel/
Datags_parse.c45 struct tag_header hdr3; member