Lines Matching refs:type
27 int type,
34 static inline int is_global_system_inode(int type) in is_global_system_inode() argument
36 return type >= OCFS2_FIRST_ONLINE_SYSTEM_INODE && in is_global_system_inode()
37 type <= OCFS2_LAST_GLOBAL_SYSTEM_INODE; in is_global_system_inode()
41 int type, in get_local_system_inode() argument
48 BUG_ON(type < OCFS2_FIRST_LOCAL_SYSTEM_INODE || in get_local_system_inode()
49 type > OCFS2_LAST_LOCAL_SYSTEM_INODE); in get_local_system_inode()
83 (type - OCFS2_FIRST_LOCAL_SYSTEM_INODE); in get_local_system_inode()
89 int type, in ocfs2_get_system_file_inode() argument
96 if (is_global_system_inode(type)) { in ocfs2_get_system_file_inode()
97 arr = &(osb->global_system_inodes[type]); in ocfs2_get_system_file_inode()
99 arr = get_local_system_inode(osb, type, slot); in ocfs2_get_system_file_inode()
112 inode = _ocfs2_get_system_file_inode(osb, type, slot); in ocfs2_get_system_file_inode()
124 int type, in _ocfs2_get_system_file_inode() argument
134 type, slot); in _ocfs2_get_system_file_inode()
142 inode = ocfs2_iget(osb, blkno, OCFS2_FI_FLAG_SYSFILE, type); in _ocfs2_get_system_file_inode()
149 if (type == LOCAL_USER_QUOTA_SYSTEM_INODE || in _ocfs2_get_system_file_inode()
150 type == LOCAL_GROUP_QUOTA_SYSTEM_INODE || in _ocfs2_get_system_file_inode()
151 type == JOURNAL_SYSTEM_INODE) { in _ocfs2_get_system_file_inode()
159 ocfs2_system_inodes[type].si_name, in _ocfs2_get_system_file_inode()
160 &ocfs2_sysfile_cluster_lock_key[type], 0); in _ocfs2_get_system_file_inode()