Lines Matching refs:xblk
2874 struct ocfs2_xattr_block *xblk; in ocfs2_create_xattr_block() local
2909 xblk = (struct ocfs2_xattr_block *)new_bh->b_data; in ocfs2_create_xattr_block()
2910 memset(xblk, 0, inode->i_sb->s_blocksize); in ocfs2_create_xattr_block()
2911 strcpy((void *)xblk, OCFS2_XATTR_BLOCK_SIGNATURE); in ocfs2_create_xattr_block()
2912 xblk->xb_suballoc_slot = cpu_to_le16(ctxt->meta_ac->ac_alloc_slot); in ocfs2_create_xattr_block()
2913 xblk->xb_suballoc_loc = cpu_to_le64(suballoc_loc); in ocfs2_create_xattr_block()
2914 xblk->xb_suballoc_bit = cpu_to_le16(suballoc_bit_start); in ocfs2_create_xattr_block()
2915 xblk->xb_fs_generation = in ocfs2_create_xattr_block()
2917 xblk->xb_blkno = cpu_to_le64(first_blkno); in ocfs2_create_xattr_block()
2919 struct ocfs2_xattr_tree_root *xr = &xblk->xb_attrs.xb_root; in ocfs2_create_xattr_block()
2926 xblk->xb_flags = cpu_to_le16(OCFS2_XATTR_INDEXED); in ocfs2_create_xattr_block()
2960 struct ocfs2_xattr_block *xblk = NULL; in ocfs2_xattr_block_set() local
2973 xblk = (struct ocfs2_xattr_block *)xs->xattr_bh->b_data; in ocfs2_xattr_block_set()
2974 xs->header = &xblk->xb_attrs.xb_header; in ocfs2_xattr_block_set()
2976 xs->end = (void *)xblk + inode->i_sb->s_blocksize; in ocfs2_xattr_block_set()
2979 xblk = (struct ocfs2_xattr_block *)xs->xattr_bh->b_data; in ocfs2_xattr_block_set()
2981 if (!(le16_to_cpu(xblk->xb_flags) & OCFS2_XATTR_INDEXED)) { in ocfs2_xattr_block_set()
2997 if (le16_to_cpu(xblk->xb_flags) & OCFS2_XATTR_INDEXED) in ocfs2_xattr_block_set()