Lines Matching refs:type
43 int type,
50 static inline int is_global_system_inode(int type) in is_global_system_inode() argument
52 return type >= OCFS2_FIRST_ONLINE_SYSTEM_INODE && in is_global_system_inode()
53 type <= OCFS2_LAST_GLOBAL_SYSTEM_INODE; in is_global_system_inode()
57 int type, in get_local_system_inode() argument
64 BUG_ON(type < OCFS2_FIRST_LOCAL_SYSTEM_INODE || in get_local_system_inode()
65 type > OCFS2_LAST_LOCAL_SYSTEM_INODE); in get_local_system_inode()
99 (type - OCFS2_FIRST_LOCAL_SYSTEM_INODE); in get_local_system_inode()
105 int type, in ocfs2_get_system_file_inode() argument
112 if (is_global_system_inode(type)) { in ocfs2_get_system_file_inode()
113 arr = &(osb->global_system_inodes[type]); in ocfs2_get_system_file_inode()
115 arr = get_local_system_inode(osb, type, slot); in ocfs2_get_system_file_inode()
126 inode = _ocfs2_get_system_file_inode(osb, type, slot); in ocfs2_get_system_file_inode()
137 int type, in _ocfs2_get_system_file_inode() argument
147 type, slot); in _ocfs2_get_system_file_inode()
155 inode = ocfs2_iget(osb, blkno, OCFS2_FI_FLAG_SYSFILE, type); in _ocfs2_get_system_file_inode()
162 if (type == LOCAL_USER_QUOTA_SYSTEM_INODE || in _ocfs2_get_system_file_inode()
163 type == LOCAL_GROUP_QUOTA_SYSTEM_INODE || in _ocfs2_get_system_file_inode()
164 type == JOURNAL_SYSTEM_INODE) { in _ocfs2_get_system_file_inode()
172 ocfs2_system_inodes[type].si_name, in _ocfs2_get_system_file_inode()
173 &ocfs2_sysfile_cluster_lock_key[type], 0); in _ocfs2_get_system_file_inode()