Lines Matching refs:xblk
2861 struct ocfs2_xattr_block *xblk; in ocfs2_create_xattr_block() local
2896 xblk = (struct ocfs2_xattr_block *)new_bh->b_data; in ocfs2_create_xattr_block()
2897 memset(xblk, 0, inode->i_sb->s_blocksize); in ocfs2_create_xattr_block()
2898 strcpy((void *)xblk, OCFS2_XATTR_BLOCK_SIGNATURE); in ocfs2_create_xattr_block()
2899 xblk->xb_suballoc_slot = cpu_to_le16(ctxt->meta_ac->ac_alloc_slot); in ocfs2_create_xattr_block()
2900 xblk->xb_suballoc_loc = cpu_to_le64(suballoc_loc); in ocfs2_create_xattr_block()
2901 xblk->xb_suballoc_bit = cpu_to_le16(suballoc_bit_start); in ocfs2_create_xattr_block()
2902 xblk->xb_fs_generation = in ocfs2_create_xattr_block()
2904 xblk->xb_blkno = cpu_to_le64(first_blkno); in ocfs2_create_xattr_block()
2906 struct ocfs2_xattr_tree_root *xr = &xblk->xb_attrs.xb_root; in ocfs2_create_xattr_block()
2913 xblk->xb_flags = cpu_to_le16(OCFS2_XATTR_INDEXED); in ocfs2_create_xattr_block()
2947 struct ocfs2_xattr_block *xblk = NULL; in ocfs2_xattr_block_set() local
2960 xblk = (struct ocfs2_xattr_block *)xs->xattr_bh->b_data; in ocfs2_xattr_block_set()
2961 xs->header = &xblk->xb_attrs.xb_header; in ocfs2_xattr_block_set()
2963 xs->end = (void *)xblk + inode->i_sb->s_blocksize; in ocfs2_xattr_block_set()
2966 xblk = (struct ocfs2_xattr_block *)xs->xattr_bh->b_data; in ocfs2_xattr_block_set()
2968 if (!(le16_to_cpu(xblk->xb_flags) & OCFS2_XATTR_INDEXED)) { in ocfs2_xattr_block_set()
2984 if (le16_to_cpu(xblk->xb_flags) & OCFS2_XATTR_INDEXED) in ocfs2_xattr_block_set()