Lines Matching refs:xblk
2872 struct ocfs2_xattr_block *xblk; in ocfs2_create_xattr_block() local
2907 xblk = (struct ocfs2_xattr_block *)new_bh->b_data; in ocfs2_create_xattr_block()
2908 memset(xblk, 0, inode->i_sb->s_blocksize); in ocfs2_create_xattr_block()
2909 strcpy((void *)xblk, OCFS2_XATTR_BLOCK_SIGNATURE); in ocfs2_create_xattr_block()
2910 xblk->xb_suballoc_slot = cpu_to_le16(ctxt->meta_ac->ac_alloc_slot); in ocfs2_create_xattr_block()
2911 xblk->xb_suballoc_loc = cpu_to_le64(suballoc_loc); in ocfs2_create_xattr_block()
2912 xblk->xb_suballoc_bit = cpu_to_le16(suballoc_bit_start); in ocfs2_create_xattr_block()
2913 xblk->xb_fs_generation = in ocfs2_create_xattr_block()
2915 xblk->xb_blkno = cpu_to_le64(first_blkno); in ocfs2_create_xattr_block()
2917 struct ocfs2_xattr_tree_root *xr = &xblk->xb_attrs.xb_root; in ocfs2_create_xattr_block()
2924 xblk->xb_flags = cpu_to_le16(OCFS2_XATTR_INDEXED); in ocfs2_create_xattr_block()
2958 struct ocfs2_xattr_block *xblk = NULL; in ocfs2_xattr_block_set() local
2971 xblk = (struct ocfs2_xattr_block *)xs->xattr_bh->b_data; in ocfs2_xattr_block_set()
2972 xs->header = &xblk->xb_attrs.xb_header; in ocfs2_xattr_block_set()
2974 xs->end = (void *)xblk + inode->i_sb->s_blocksize; in ocfs2_xattr_block_set()
2977 xblk = (struct ocfs2_xattr_block *)xs->xattr_bh->b_data; in ocfs2_xattr_block_set()
2979 if (!(le16_to_cpu(xblk->xb_flags) & OCFS2_XATTR_INDEXED)) { in ocfs2_xattr_block_set()
2995 if (le16_to_cpu(xblk->xb_flags) & OCFS2_XATTR_INDEXED) in ocfs2_xattr_block_set()