Lines Matching refs:OCFS2_I
75 unsigned int flags = OCFS2_I(inode)->ip_attr; in ocfs2_set_inode_flags()
180 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_iget()
199 (unsigned long long)OCFS2_I(inode)->ip_blkno); in ocfs2_iget()
216 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_find_actor()
245 OCFS2_I(inode)->ip_blkno = args->fi_blkno; in ocfs2_init_locked_inode()
253 lockdep_set_class(&OCFS2_I(inode)->ip_alloc_sem, in ocfs2_init_locked_inode()
256 lockdep_set_class(&OCFS2_I(inode)->ip_alloc_sem, in ocfs2_init_locked_inode()
288 OCFS2_I(inode)->ip_clusters = le32_to_cpu(fe->i_clusters); in ocfs2_populate_inode()
289 OCFS2_I(inode)->ip_attr = le32_to_cpu(fe->i_attr); in ocfs2_populate_inode()
290 OCFS2_I(inode)->ip_dyn_features = le16_to_cpu(fe->i_dyn_features); in ocfs2_populate_inode()
314 if (OCFS2_I(inode)->ip_blkno != le64_to_cpu(fe->i_blkno)) in ocfs2_populate_inode()
317 (unsigned long long)OCFS2_I(inode)->ip_blkno, in ocfs2_populate_inode()
322 trace_ocfs2_populate_inode(OCFS2_I(inode)->ip_blkno, in ocfs2_populate_inode()
325 OCFS2_I(inode)->ip_flags |= OCFS2_INODE_SYSTEM_FILE; in ocfs2_populate_inode()
330 OCFS2_I(inode)->ip_flags |= OCFS2_INODE_BITMAP; in ocfs2_populate_inode()
332 OCFS2_I(inode)->ip_flags |= OCFS2_INODE_BITMAP; in ocfs2_populate_inode()
357 OCFS2_I(inode)->ip_dir_lock_gen = 1; in ocfs2_populate_inode()
382 ocfs2_inode_lock_res_init(&OCFS2_I(inode)->ip_inode_lockres, in ocfs2_populate_inode()
385 ocfs2_inode_lock_res_init(&OCFS2_I(inode)->ip_open_lockres, in ocfs2_populate_inode()
389 ocfs2_inode_lock_res_init(&OCFS2_I(inode)->ip_rw_lockres, in ocfs2_populate_inode()
395 OCFS2_I(inode)->ip_last_used_slot = 0; in ocfs2_populate_inode()
396 OCFS2_I(inode)->ip_last_used_group = 0; in ocfs2_populate_inode()
399 ocfs2_resv_set_type(&OCFS2_I(inode)->ip_la_data_resv, in ocfs2_populate_inode()
451 (unsigned long long)OCFS2_I(inode)->ip_blkno, can_lock); in ocfs2_read_locked_inode()
463 ocfs2_inode_lock_res_init(&OCFS2_I(inode)->ip_inode_lockres, in ocfs2_read_locked_inode()
467 ocfs2_inode_lock_res_init(&OCFS2_I(inode)->ip_open_lockres, in ocfs2_read_locked_inode()
674 if (!(OCFS2_I(inode)->ip_flags & OCFS2_INODE_SKIP_ORPHAN_DIR)) { in ocfs2_remove_inode()
759 if (!(OCFS2_I(inode)->ip_flags & OCFS2_INODE_SKIP_ORPHAN_DIR)) { in ocfs2_wipe_inode()
826 if (OCFS2_I(inode)->ip_flags & OCFS2_INODE_SKIP_ORPHAN_DIR) in ocfs2_wipe_inode()
844 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_inode_is_valid_to_delete()
894 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_query_inode_wipe()
988 (unsigned long long)OCFS2_I(inode)->ip_blkno, sync_data); in ocfs2_cleanup_delete_inode()
1002 (unsigned long long)OCFS2_I(inode)->ip_blkno, in ocfs2_delete_inode()
1008 if (is_bad_inode(inode) || !OCFS2_I(inode)->ip_blkno) in ocfs2_delete_inode()
1097 OCFS2_I(inode)->ip_flags |= OCFS2_INODE_DELETED; in ocfs2_delete_inode()
1115 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_clear_inode()
1217 (OCFS2_I(inode)->ip_flags & OCFS2_INODE_MAYBE_ORPHANED)) { in ocfs2_evict_inode()
1230 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_drop_inode()
1255 inode ? (unsigned long long)OCFS2_I(inode)->ip_blkno : 0ULL, in ocfs2_inode_revalidate()
1256 inode ? (unsigned long long)OCFS2_I(inode)->ip_flags : 0); in ocfs2_inode_revalidate()
1263 spin_lock(&OCFS2_I(inode)->ip_lock); in ocfs2_inode_revalidate()
1264 if (OCFS2_I(inode)->ip_flags & OCFS2_INODE_DELETED) { in ocfs2_inode_revalidate()
1265 spin_unlock(&OCFS2_I(inode)->ip_lock); in ocfs2_inode_revalidate()
1269 spin_unlock(&OCFS2_I(inode)->ip_lock); in ocfs2_inode_revalidate()
1296 trace_ocfs2_mark_inode_dirty((unsigned long long)OCFS2_I(inode)->ip_blkno); in ocfs2_mark_inode_dirty()
1305 spin_lock(&OCFS2_I(inode)->ip_lock); in ocfs2_mark_inode_dirty()
1306 fe->i_clusters = cpu_to_le32(OCFS2_I(inode)->ip_clusters); in ocfs2_mark_inode_dirty()
1307 ocfs2_get_inode_flags(OCFS2_I(inode)); in ocfs2_mark_inode_dirty()
1308 fe->i_attr = cpu_to_le32(OCFS2_I(inode)->ip_attr); in ocfs2_mark_inode_dirty()
1309 fe->i_dyn_features = cpu_to_le16(OCFS2_I(inode)->ip_dyn_features); in ocfs2_mark_inode_dirty()
1310 spin_unlock(&OCFS2_I(inode)->ip_lock); in ocfs2_mark_inode_dirty()
1338 spin_lock(&OCFS2_I(inode)->ip_lock); in ocfs2_refresh_inode()
1340 OCFS2_I(inode)->ip_clusters = le32_to_cpu(fe->i_clusters); in ocfs2_refresh_inode()
1341 OCFS2_I(inode)->ip_attr = le32_to_cpu(fe->i_attr); in ocfs2_refresh_inode()
1342 OCFS2_I(inode)->ip_dyn_features = le16_to_cpu(fe->i_dyn_features); in ocfs2_refresh_inode()
1360 spin_unlock(&OCFS2_I(inode)->ip_lock); in ocfs2_refresh_inode()
1573 OCFS2_I(inode)->ip_blkno, in ocfs2_filecheck_read_inode_block_full()
1578 OCFS2_I(inode)->ip_blkno, in ocfs2_filecheck_read_inode_block_full()
1595 rc = ocfs2_read_blocks(INODE_CACHE(inode), OCFS2_I(inode)->ip_blkno, in ocfs2_read_inode_block_full()