Lines Matching refs:xblk
2866 struct ocfs2_xattr_block *xblk;
2901 xblk = (struct ocfs2_xattr_block *)new_bh->b_data;
2902 memset(xblk, 0, inode->i_sb->s_blocksize);
2903 strcpy((void *)xblk, OCFS2_XATTR_BLOCK_SIGNATURE);
2904 xblk->xb_suballoc_slot = cpu_to_le16(ctxt->meta_ac->ac_alloc_slot);
2905 xblk->xb_suballoc_loc = cpu_to_le64(suballoc_loc);
2906 xblk->xb_suballoc_bit = cpu_to_le16(suballoc_bit_start);
2907 xblk->xb_fs_generation =
2909 xblk->xb_blkno = cpu_to_le64(first_blkno);
2911 struct ocfs2_xattr_tree_root *xr = &xblk->xb_attrs.xb_root;
2918 xblk->xb_flags = cpu_to_le16(OCFS2_XATTR_INDEXED);
2952 struct ocfs2_xattr_block *xblk = NULL;
2965 xblk = (struct ocfs2_xattr_block *)xs->xattr_bh->b_data;
2966 xs->header = &xblk->xb_attrs.xb_header;
2968 xs->end = (void *)xblk + inode->i_sb->s_blocksize;
2971 xblk = (struct ocfs2_xattr_block *)xs->xattr_bh->b_data;
2973 if (!(le16_to_cpu(xblk->xb_flags) & OCFS2_XATTR_INDEXED)) {
2989 if (le16_to_cpu(xblk->xb_flags) & OCFS2_XATTR_INDEXED)