Lines Matching refs:OCFS2_I
73 unsigned int flags = OCFS2_I(inode)->ip_attr; in ocfs2_set_inode_flags()
178 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_iget()
197 (unsigned long long)OCFS2_I(inode)->ip_blkno); in ocfs2_iget()
214 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_find_actor()
243 OCFS2_I(inode)->ip_blkno = args->fi_blkno; in ocfs2_init_locked_inode()
251 lockdep_set_class(&OCFS2_I(inode)->ip_alloc_sem, in ocfs2_init_locked_inode()
254 lockdep_set_class(&OCFS2_I(inode)->ip_alloc_sem, in ocfs2_init_locked_inode()
286 OCFS2_I(inode)->ip_clusters = le32_to_cpu(fe->i_clusters); in ocfs2_populate_inode()
287 OCFS2_I(inode)->ip_attr = le32_to_cpu(fe->i_attr); in ocfs2_populate_inode()
288 OCFS2_I(inode)->ip_dyn_features = le16_to_cpu(fe->i_dyn_features); in ocfs2_populate_inode()
312 if (OCFS2_I(inode)->ip_blkno != le64_to_cpu(fe->i_blkno)) in ocfs2_populate_inode()
315 (unsigned long long)OCFS2_I(inode)->ip_blkno, in ocfs2_populate_inode()
320 trace_ocfs2_populate_inode(OCFS2_I(inode)->ip_blkno, in ocfs2_populate_inode()
323 OCFS2_I(inode)->ip_flags |= OCFS2_INODE_SYSTEM_FILE; in ocfs2_populate_inode()
328 OCFS2_I(inode)->ip_flags |= OCFS2_INODE_BITMAP; in ocfs2_populate_inode()
330 OCFS2_I(inode)->ip_flags |= OCFS2_INODE_BITMAP; in ocfs2_populate_inode()
355 OCFS2_I(inode)->ip_dir_lock_gen = 1; in ocfs2_populate_inode()
380 ocfs2_inode_lock_res_init(&OCFS2_I(inode)->ip_inode_lockres, in ocfs2_populate_inode()
383 ocfs2_inode_lock_res_init(&OCFS2_I(inode)->ip_open_lockres, in ocfs2_populate_inode()
387 ocfs2_inode_lock_res_init(&OCFS2_I(inode)->ip_rw_lockres, in ocfs2_populate_inode()
393 OCFS2_I(inode)->ip_last_used_slot = 0; in ocfs2_populate_inode()
394 OCFS2_I(inode)->ip_last_used_group = 0; in ocfs2_populate_inode()
397 ocfs2_resv_set_type(&OCFS2_I(inode)->ip_la_data_resv, in ocfs2_populate_inode()
449 (unsigned long long)OCFS2_I(inode)->ip_blkno, can_lock); in ocfs2_read_locked_inode()
461 ocfs2_inode_lock_res_init(&OCFS2_I(inode)->ip_inode_lockres, in ocfs2_read_locked_inode()
465 ocfs2_inode_lock_res_init(&OCFS2_I(inode)->ip_open_lockres, in ocfs2_read_locked_inode()
672 if (!(OCFS2_I(inode)->ip_flags & OCFS2_INODE_SKIP_ORPHAN_DIR)) { in ocfs2_remove_inode()
757 if (!(OCFS2_I(inode)->ip_flags & OCFS2_INODE_SKIP_ORPHAN_DIR)) { in ocfs2_wipe_inode()
824 if (OCFS2_I(inode)->ip_flags & OCFS2_INODE_SKIP_ORPHAN_DIR) in ocfs2_wipe_inode()
842 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_inode_is_valid_to_delete()
892 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_query_inode_wipe()
986 (unsigned long long)OCFS2_I(inode)->ip_blkno, sync_data); in ocfs2_cleanup_delete_inode()
1000 (unsigned long long)OCFS2_I(inode)->ip_blkno, in ocfs2_delete_inode()
1006 if (is_bad_inode(inode) || !OCFS2_I(inode)->ip_blkno) in ocfs2_delete_inode()
1095 OCFS2_I(inode)->ip_flags |= OCFS2_INODE_DELETED; in ocfs2_delete_inode()
1113 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_clear_inode()
1215 (OCFS2_I(inode)->ip_flags & OCFS2_INODE_MAYBE_ORPHANED)) { in ocfs2_evict_inode()
1228 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_drop_inode()
1253 inode ? (unsigned long long)OCFS2_I(inode)->ip_blkno : 0ULL, in ocfs2_inode_revalidate()
1254 inode ? (unsigned long long)OCFS2_I(inode)->ip_flags : 0); in ocfs2_inode_revalidate()
1261 spin_lock(&OCFS2_I(inode)->ip_lock); in ocfs2_inode_revalidate()
1262 if (OCFS2_I(inode)->ip_flags & OCFS2_INODE_DELETED) { in ocfs2_inode_revalidate()
1263 spin_unlock(&OCFS2_I(inode)->ip_lock); in ocfs2_inode_revalidate()
1267 spin_unlock(&OCFS2_I(inode)->ip_lock); in ocfs2_inode_revalidate()
1294 trace_ocfs2_mark_inode_dirty((unsigned long long)OCFS2_I(inode)->ip_blkno); in ocfs2_mark_inode_dirty()
1303 spin_lock(&OCFS2_I(inode)->ip_lock); in ocfs2_mark_inode_dirty()
1304 fe->i_clusters = cpu_to_le32(OCFS2_I(inode)->ip_clusters); in ocfs2_mark_inode_dirty()
1305 ocfs2_get_inode_flags(OCFS2_I(inode)); in ocfs2_mark_inode_dirty()
1306 fe->i_attr = cpu_to_le32(OCFS2_I(inode)->ip_attr); in ocfs2_mark_inode_dirty()
1307 fe->i_dyn_features = cpu_to_le16(OCFS2_I(inode)->ip_dyn_features); in ocfs2_mark_inode_dirty()
1308 spin_unlock(&OCFS2_I(inode)->ip_lock); in ocfs2_mark_inode_dirty()
1336 spin_lock(&OCFS2_I(inode)->ip_lock); in ocfs2_refresh_inode()
1338 OCFS2_I(inode)->ip_clusters = le32_to_cpu(fe->i_clusters); in ocfs2_refresh_inode()
1339 OCFS2_I(inode)->ip_attr = le32_to_cpu(fe->i_attr); in ocfs2_refresh_inode()
1340 OCFS2_I(inode)->ip_dyn_features = le16_to_cpu(fe->i_dyn_features); in ocfs2_refresh_inode()
1358 spin_unlock(&OCFS2_I(inode)->ip_lock); in ocfs2_refresh_inode()
1571 OCFS2_I(inode)->ip_blkno, in ocfs2_filecheck_read_inode_block_full()
1576 OCFS2_I(inode)->ip_blkno, in ocfs2_filecheck_read_inode_block_full()
1593 rc = ocfs2_read_blocks(INODE_CACHE(inode), OCFS2_I(inode)->ip_blkno, in ocfs2_read_inode_block_full()