Lines Matching refs:OCFS2_SB

399 		spin_lock(&OCFS2_SB(bucket->bu_inode->i_sb)->osb_xattr_lock);  in ocfs2_read_xattr_bucket()
404 spin_unlock(&OCFS2_SB(bucket->bu_inode->i_sb)->osb_xattr_lock); in ocfs2_read_xattr_bucket()
438 spin_lock(&OCFS2_SB(bucket->bu_inode->i_sb)->osb_xattr_lock); in ocfs2_xattr_bucket_journal_dirty()
442 spin_unlock(&OCFS2_SB(bucket->bu_inode->i_sb)->osb_xattr_lock); in ocfs2_xattr_bucket_journal_dirty()
501 if (le32_to_cpu(xb->xb_fs_generation) != OCFS2_SB(sb)->fs_generation) { in ocfs2_validate_xattr_block()
541 u32 hash = OCFS2_SB(inode->i_sb)->uuid_hash; in ocfs2_xattr_name_hash()
579 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_calc_security_init()
619 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_calc_xattr_init()
887 if (OCFS2_SB(sb)->s_mount_opt & OCFS2_MOUNT_NOUSERXATTR) in ocfs2_xattr_list_entry()
1029 if (!ocfs2_supports_xattr(OCFS2_SB(dentry->d_sb))) in ocfs2_listxattr()
1300 if (!ocfs2_supports_xattr(OCFS2_SB(inode->i_sb))) in ocfs2_xattr_get_nolock()
2355 ret = ocfs2_reserve_new_metadata_blocks(OCFS2_SB(inode->i_sb), in ocfs2_lock_xattr_remove_allocators()
2371 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_remove_value_outside()
2491 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_xattr_free_block()
2572 if (!ocfs2_supports_xattr(OCFS2_SB(inode->i_sb))) in ocfs2_xattr_remove()
2579 ret = ocfs2_lock_refcount_tree(OCFS2_SB(inode->i_sb), in ocfs2_xattr_remove()
2609 handle = ocfs2_start_trans((OCFS2_SB(inode->i_sb)), in ocfs2_xattr_remove()
2633 ocfs2_commit_trans(OCFS2_SB(inode->i_sb), handle); in ocfs2_xattr_remove()
2636 ocfs2_unlock_refcount_tree(OCFS2_SB(inode->i_sb), ref_tree, 1); in ocfs2_xattr_remove()
2645 unsigned int xattrsize = OCFS2_SB(inode->i_sb)->s_xattr_inline_size; in ocfs2_xattr_has_space_inline()
2703 (xs->end - OCFS2_SB(inode->i_sb)->s_xattr_inline_size); in ocfs2_xattr_ibody_find()
2725 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_xattr_ibody_init()
2916 cpu_to_le32(OCFS2_SB(inode->i_sb)->fs_generation); in ocfs2_create_xattr_block()
3223 OCFS2_SB(inode->i_sb)->s_clustersize) { in ocfs2_calc_xattr_set_need()
3259 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_init_xattr_set_ctxt()
3482 if (!ocfs2_supports_xattr(OCFS2_SB(inode->i_sb))) in ocfs2_xattr_set_handle()
3539 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_xattr_set()
3976 u32 bpc = ocfs2_xattr_buckets_per_cluster(OCFS2_SB(inode->i_sb)); in ocfs2_iterate_xattr_buckets()
4511 int num_buckets = ocfs2_xattr_buckets_per_cluster(OCFS2_SB(sb)); in ocfs2_mv_xattr_bucket_cross_cluster()
4518 BUG_ON(OCFS2_XATTR_BUCKET_SIZE == OCFS2_SB(sb)->s_clustersize); in ocfs2_mv_xattr_bucket_cross_cluster()
4875 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_mv_xattr_buckets()
4981 BUG_ON(OCFS2_XATTR_BUCKET_SIZE < OCFS2_SB(inode->i_sb)->s_clustersize); in ocfs2_divide_xattr_cluster()
5035 if (ocfs2_xattr_buckets_per_cluster(OCFS2_SB(inode->i_sb)) > 1) { in ocfs2_adjust_xattr_cross_cluster()
5103 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_add_new_xattr_cluster()
5193 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_extend_xattr_bucket()
5273 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_add_new_xattr_bucket()
5418 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_rm_xattr_cluster()
5654 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_delete_xattr_in_bucket()
5770 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_prepare_refcount_xattr()
6051 if (ocfs2_meta_ecc(OCFS2_SB(inode->i_sb))) in ocfs2_xattr_bucket_value_refcount()
6461 struct ocfs2_super *osb = OCFS2_SB(args->old_inode->i_sb); in ocfs2_reflink_xattr_inline()
6536 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_create_empty_xattr_block()
6574 struct ocfs2_super *osb = OCFS2_SB(args->new_inode->i_sb); in ocfs2_reflink_xattr_block()
6740 struct ocfs2_super *osb = OCFS2_SB(args->reflink->old_inode->i_sb); in ocfs2_lock_reflink_xattr_rec_allocators()
6921 ocfs2_xattr_buckets_per_cluster(OCFS2_SB(inode->i_sb)); in ocfs2_reflink_xattr_buckets()
6990 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_reflink_xattr_rec()
7129 ret = ocfs2_lock_refcount_tree(OCFS2_SB(old_inode->i_sb), in ocfs2_reflink_xattrs()
7176 ocfs2_unlock_refcount_tree(OCFS2_SB(old_inode->i_sb), in ocfs2_reflink_xattrs()
7181 ocfs2_schedule_truncate_log_flush(OCFS2_SB(old_inode->i_sb), 1); in ocfs2_reflink_xattrs()
7182 ocfs2_run_deallocs(OCFS2_SB(old_inode->i_sb), &dealloc); in ocfs2_reflink_xattrs()
7281 if (!ocfs2_supports_xattr(OCFS2_SB(dir->i_sb))) in ocfs2_init_security_get()
7353 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_xattr_user_get()
7367 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_xattr_user_set()