Lines Matching refs:xblk
2855 struct ocfs2_xattr_block *xblk; in ocfs2_create_xattr_block() local
2890 xblk = (struct ocfs2_xattr_block *)new_bh->b_data; in ocfs2_create_xattr_block()
2891 memset(xblk, 0, inode->i_sb->s_blocksize); in ocfs2_create_xattr_block()
2892 strcpy((void *)xblk, OCFS2_XATTR_BLOCK_SIGNATURE); in ocfs2_create_xattr_block()
2893 xblk->xb_suballoc_slot = cpu_to_le16(ctxt->meta_ac->ac_alloc_slot); in ocfs2_create_xattr_block()
2894 xblk->xb_suballoc_loc = cpu_to_le64(suballoc_loc); in ocfs2_create_xattr_block()
2895 xblk->xb_suballoc_bit = cpu_to_le16(suballoc_bit_start); in ocfs2_create_xattr_block()
2896 xblk->xb_fs_generation = in ocfs2_create_xattr_block()
2898 xblk->xb_blkno = cpu_to_le64(first_blkno); in ocfs2_create_xattr_block()
2900 struct ocfs2_xattr_tree_root *xr = &xblk->xb_attrs.xb_root; in ocfs2_create_xattr_block()
2907 xblk->xb_flags = cpu_to_le16(OCFS2_XATTR_INDEXED); in ocfs2_create_xattr_block()
2941 struct ocfs2_xattr_block *xblk = NULL; in ocfs2_xattr_block_set() local
2954 xblk = (struct ocfs2_xattr_block *)xs->xattr_bh->b_data; in ocfs2_xattr_block_set()
2955 xs->header = &xblk->xb_attrs.xb_header; in ocfs2_xattr_block_set()
2957 xs->end = (void *)xblk + inode->i_sb->s_blocksize; in ocfs2_xattr_block_set()
2960 xblk = (struct ocfs2_xattr_block *)xs->xattr_bh->b_data; in ocfs2_xattr_block_set()
2962 if (!(le16_to_cpu(xblk->xb_flags) & OCFS2_XATTR_INDEXED)) { in ocfs2_xattr_block_set()
2978 if (le16_to_cpu(xblk->xb_flags) & OCFS2_XATTR_INDEXED) in ocfs2_xattr_block_set()