Searched refs:xblk (Results 1 – 2 of 2) sorted by relevance
107 struct qnx4_xblk *xblk = NULL; in qnx4_block_map() local127 xblk = (struct qnx4_xblk*)bh->b_data; in qnx4_block_map()128 if ( memcmp( xblk->xblk_signature, "IamXblk", 7 ) ) { in qnx4_block_map()133 if ( offset < le32_to_cpu(xblk->xblk_xtnts[ix].xtnt_size) ) { in qnx4_block_map()135 block = le32_to_cpu(xblk->xblk_xtnts[ix].xtnt_blk) + offset - 1; in qnx4_block_map()138 offset -= le32_to_cpu(xblk->xblk_xtnts[ix].xtnt_size); in qnx4_block_map()139 if ( ++ix >= xblk->xblk_num_xtnts ) { in qnx4_block_map()140 i_xblk = le32_to_cpu(xblk->xblk_next_xblk); in qnx4_block_map()
2856 struct ocfs2_xattr_block *xblk; in ocfs2_create_xattr_block() local2885 xblk = (struct ocfs2_xattr_block *)new_bh->b_data; in ocfs2_create_xattr_block()2886 memset(xblk, 0, inode->i_sb->s_blocksize); in ocfs2_create_xattr_block()2887 strcpy((void *)xblk, OCFS2_XATTR_BLOCK_SIGNATURE); in ocfs2_create_xattr_block()2888 xblk->xb_suballoc_slot = cpu_to_le16(ctxt->meta_ac->ac_alloc_slot); in ocfs2_create_xattr_block()2889 xblk->xb_suballoc_loc = cpu_to_le64(suballoc_loc); in ocfs2_create_xattr_block()2890 xblk->xb_suballoc_bit = cpu_to_le16(suballoc_bit_start); in ocfs2_create_xattr_block()2891 xblk->xb_fs_generation = in ocfs2_create_xattr_block()2893 xblk->xb_blkno = cpu_to_le64(first_blkno); in ocfs2_create_xattr_block()2895 struct ocfs2_xattr_tree_root *xr = &xblk->xb_attrs.xb_root; in ocfs2_create_xattr_block()[all …]