Lines Matching refs:xblk
2870 struct ocfs2_xattr_block *xblk; in ocfs2_create_xattr_block() local
2905 xblk = (struct ocfs2_xattr_block *)new_bh->b_data; in ocfs2_create_xattr_block()
2906 memset(xblk, 0, inode->i_sb->s_blocksize); in ocfs2_create_xattr_block()
2907 strcpy((void *)xblk, OCFS2_XATTR_BLOCK_SIGNATURE); in ocfs2_create_xattr_block()
2908 xblk->xb_suballoc_slot = cpu_to_le16(ctxt->meta_ac->ac_alloc_slot); in ocfs2_create_xattr_block()
2909 xblk->xb_suballoc_loc = cpu_to_le64(suballoc_loc); in ocfs2_create_xattr_block()
2910 xblk->xb_suballoc_bit = cpu_to_le16(suballoc_bit_start); in ocfs2_create_xattr_block()
2911 xblk->xb_fs_generation = in ocfs2_create_xattr_block()
2913 xblk->xb_blkno = cpu_to_le64(first_blkno); in ocfs2_create_xattr_block()
2915 struct ocfs2_xattr_tree_root *xr = &xblk->xb_attrs.xb_root; in ocfs2_create_xattr_block()
2922 xblk->xb_flags = cpu_to_le16(OCFS2_XATTR_INDEXED); in ocfs2_create_xattr_block()
2956 struct ocfs2_xattr_block *xblk = NULL; in ocfs2_xattr_block_set() local
2969 xblk = (struct ocfs2_xattr_block *)xs->xattr_bh->b_data; in ocfs2_xattr_block_set()
2970 xs->header = &xblk->xb_attrs.xb_header; in ocfs2_xattr_block_set()
2972 xs->end = (void *)xblk + inode->i_sb->s_blocksize; in ocfs2_xattr_block_set()
2975 xblk = (struct ocfs2_xattr_block *)xs->xattr_bh->b_data; in ocfs2_xattr_block_set()
2977 if (!(le16_to_cpu(xblk->xb_flags) & OCFS2_XATTR_INDEXED)) { in ocfs2_xattr_block_set()
2993 if (le16_to_cpu(xblk->xb_flags) & OCFS2_XATTR_INDEXED) in ocfs2_xattr_block_set()