• Home
  • Raw
  • Download

Lines Matching refs:OCFS2_SB

405 		spin_lock(&OCFS2_SB(bucket->bu_inode->i_sb)->osb_xattr_lock);  in ocfs2_read_xattr_bucket()
410 spin_unlock(&OCFS2_SB(bucket->bu_inode->i_sb)->osb_xattr_lock); in ocfs2_read_xattr_bucket()
444 spin_lock(&OCFS2_SB(bucket->bu_inode->i_sb)->osb_xattr_lock); in ocfs2_xattr_bucket_journal_dirty()
448 spin_unlock(&OCFS2_SB(bucket->bu_inode->i_sb)->osb_xattr_lock); in ocfs2_xattr_bucket_journal_dirty()
507 if (le32_to_cpu(xb->xb_fs_generation) != OCFS2_SB(sb)->fs_generation) { in ocfs2_validate_xattr_block()
547 u32 hash = OCFS2_SB(inode->i_sb)->uuid_hash; in ocfs2_xattr_name_hash()
585 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_calc_security_init()
625 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_calc_xattr_init()
893 if (OCFS2_SB(sb)->s_mount_opt & OCFS2_MOUNT_NOUSERXATTR) in ocfs2_xattr_list_entry()
1035 if (!ocfs2_supports_xattr(OCFS2_SB(dentry->d_sb))) in ocfs2_listxattr()
1297 if (!ocfs2_supports_xattr(OCFS2_SB(inode->i_sb))) in ocfs2_xattr_get_nolock()
2353 ret = ocfs2_reserve_new_metadata_blocks(OCFS2_SB(inode->i_sb), in ocfs2_lock_xattr_remove_allocators()
2369 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_remove_value_outside()
2489 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_xattr_free_block()
2570 if (!ocfs2_supports_xattr(OCFS2_SB(inode->i_sb))) in ocfs2_xattr_remove()
2577 ret = ocfs2_lock_refcount_tree(OCFS2_SB(inode->i_sb), in ocfs2_xattr_remove()
2607 handle = ocfs2_start_trans((OCFS2_SB(inode->i_sb)), in ocfs2_xattr_remove()
2631 ocfs2_commit_trans(OCFS2_SB(inode->i_sb), handle); in ocfs2_xattr_remove()
2634 ocfs2_unlock_refcount_tree(OCFS2_SB(inode->i_sb), ref_tree, 1); in ocfs2_xattr_remove()
2643 unsigned int xattrsize = OCFS2_SB(inode->i_sb)->s_xattr_inline_size; in ocfs2_xattr_has_space_inline()
2701 (xs->end - OCFS2_SB(inode->i_sb)->s_xattr_inline_size); in ocfs2_xattr_ibody_find()
2723 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_xattr_ibody_init()
2914 cpu_to_le32(OCFS2_SB(inode->i_sb)->fs_generation); in ocfs2_create_xattr_block()
3221 OCFS2_SB(inode->i_sb)->s_clustersize) { in ocfs2_calc_xattr_set_need()
3257 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_init_xattr_set_ctxt()
3480 if (!ocfs2_supports_xattr(OCFS2_SB(inode->i_sb))) in ocfs2_xattr_set_handle()
3537 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_xattr_set()
3974 u32 bpc = ocfs2_xattr_buckets_per_cluster(OCFS2_SB(inode->i_sb)); in ocfs2_iterate_xattr_buckets()
4518 int num_buckets = ocfs2_xattr_buckets_per_cluster(OCFS2_SB(sb)); in ocfs2_mv_xattr_bucket_cross_cluster()
4525 BUG_ON(OCFS2_XATTR_BUCKET_SIZE == OCFS2_SB(sb)->s_clustersize); in ocfs2_mv_xattr_bucket_cross_cluster()
4882 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_mv_xattr_buckets()
4988 BUG_ON(OCFS2_XATTR_BUCKET_SIZE < OCFS2_SB(inode->i_sb)->s_clustersize); in ocfs2_divide_xattr_cluster()
5042 if (ocfs2_xattr_buckets_per_cluster(OCFS2_SB(inode->i_sb)) > 1) { in ocfs2_adjust_xattr_cross_cluster()
5110 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_add_new_xattr_cluster()
5200 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_extend_xattr_bucket()
5280 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_add_new_xattr_bucket()
5425 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_rm_xattr_cluster()
5661 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_delete_xattr_in_bucket()
5777 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_prepare_refcount_xattr()
6058 if (ocfs2_meta_ecc(OCFS2_SB(inode->i_sb))) in ocfs2_xattr_bucket_value_refcount()
6468 struct ocfs2_super *osb = OCFS2_SB(args->old_inode->i_sb); in ocfs2_reflink_xattr_inline()
6552 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_create_empty_xattr_block()
6590 struct ocfs2_super *osb = OCFS2_SB(args->new_inode->i_sb); in ocfs2_reflink_xattr_block()
6756 struct ocfs2_super *osb = OCFS2_SB(args->reflink->old_inode->i_sb); in ocfs2_lock_reflink_xattr_rec_allocators()
6937 ocfs2_xattr_buckets_per_cluster(OCFS2_SB(inode->i_sb)); in ocfs2_reflink_xattr_buckets()
7006 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_reflink_xattr_rec()
7145 ret = ocfs2_lock_refcount_tree(OCFS2_SB(old_inode->i_sb), in ocfs2_reflink_xattrs()
7192 ocfs2_unlock_refcount_tree(OCFS2_SB(old_inode->i_sb), in ocfs2_reflink_xattrs()
7197 ocfs2_schedule_truncate_log_flush(OCFS2_SB(old_inode->i_sb), 1); in ocfs2_reflink_xattrs()
7198 ocfs2_run_deallocs(OCFS2_SB(old_inode->i_sb), &dealloc); in ocfs2_reflink_xattrs()
7283 if (!ocfs2_supports_xattr(OCFS2_SB(dir->i_sb))) in ocfs2_init_security_get()
7348 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_xattr_user_get()
7361 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_xattr_user_set()