Lines Matching refs:osb
28 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb,
42 static struct inode **get_local_system_inode(struct ocfs2_super *osb,
53 spin_lock(&osb->osb_lock);
54 local_system_inodes = osb->local_system_inodes;
55 spin_unlock(&osb->osb_lock);
61 osb->max_slots),
73 spin_lock(&osb->osb_lock);
74 if (osb->local_system_inodes) {
77 local_system_inodes = osb->local_system_inodes;
79 osb->local_system_inodes = local_system_inodes;
80 spin_unlock(&osb->osb_lock);
90 struct inode *ocfs2_get_system_file_inode(struct ocfs2_super *osb,
99 arr = &(osb->global_system_inodes[type]);
101 arr = get_local_system_inode(osb, type, slot);
103 mutex_lock(&osb->system_file_mutex);
107 mutex_unlock(&osb->system_file_mutex);
114 inode = _ocfs2_get_system_file_inode(osb, type, slot);
121 mutex_unlock(&osb->system_file_mutex);
125 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb,
138 status = ocfs2_lookup_ino_from_name(osb->sys_root_inode, namebuf,
144 inode = ocfs2_iget(osb, blkno, OCFS2_FI_FLAG_SYSFILE, type);