Lines Matching refs:type
29 int type,
36 static inline int is_global_system_inode(int type) in is_global_system_inode() argument
38 return type >= OCFS2_FIRST_ONLINE_SYSTEM_INODE && in is_global_system_inode()
39 type <= OCFS2_LAST_GLOBAL_SYSTEM_INODE; in is_global_system_inode()
43 int type, in get_local_system_inode() argument
50 BUG_ON(type < OCFS2_FIRST_LOCAL_SYSTEM_INODE || in get_local_system_inode()
51 type > OCFS2_LAST_LOCAL_SYSTEM_INODE); in get_local_system_inode()
85 (type - OCFS2_FIRST_LOCAL_SYSTEM_INODE); in get_local_system_inode()
91 int type, in ocfs2_get_system_file_inode() argument
98 if (is_global_system_inode(type)) { in ocfs2_get_system_file_inode()
99 arr = &(osb->global_system_inodes[type]); in ocfs2_get_system_file_inode()
101 arr = get_local_system_inode(osb, type, slot); in ocfs2_get_system_file_inode()
114 inode = _ocfs2_get_system_file_inode(osb, type, slot); in ocfs2_get_system_file_inode()
126 int type, in _ocfs2_get_system_file_inode() argument
136 type, slot); in _ocfs2_get_system_file_inode()
144 inode = ocfs2_iget(osb, blkno, OCFS2_FI_FLAG_SYSFILE, type); in _ocfs2_get_system_file_inode()
151 if (type == LOCAL_USER_QUOTA_SYSTEM_INODE || in _ocfs2_get_system_file_inode()
152 type == LOCAL_GROUP_QUOTA_SYSTEM_INODE || in _ocfs2_get_system_file_inode()
153 type == JOURNAL_SYSTEM_INODE) { in _ocfs2_get_system_file_inode()
161 ocfs2_system_inodes[type].si_name, in _ocfs2_get_system_file_inode()
162 &ocfs2_sysfile_cluster_lock_key[type], 0); in _ocfs2_get_system_file_inode()