Lines Matching refs:osb
26 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb,
40 static struct inode **get_local_system_inode(struct ocfs2_super *osb,
51 spin_lock(&osb->osb_lock);
52 local_system_inodes = osb->local_system_inodes;
53 spin_unlock(&osb->osb_lock);
59 osb->max_slots),
71 spin_lock(&osb->osb_lock);
72 if (osb->local_system_inodes) {
75 local_system_inodes = osb->local_system_inodes;
77 osb->local_system_inodes = local_system_inodes;
78 spin_unlock(&osb->osb_lock);
88 struct inode *ocfs2_get_system_file_inode(struct ocfs2_super *osb,
97 arr = &(osb->global_system_inodes[type]);
99 arr = get_local_system_inode(osb, type, slot);
101 mutex_lock(&osb->system_file_mutex);
105 mutex_unlock(&osb->system_file_mutex);
112 inode = _ocfs2_get_system_file_inode(osb, type, slot);
119 mutex_unlock(&osb->system_file_mutex);
123 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb,
136 status = ocfs2_lookup_ino_from_name(osb->sys_root_inode, namebuf,
142 inode = ocfs2_iget(osb, blkno, OCFS2_FI_FLAG_SYSFILE, type);