Lines Matching defs:di
2638 struct ocfs2_dinode *di = NULL;
2646 di = (struct ocfs2_dinode *) di_bh->b_data;
2651 if (unlikely(di->i_flags & cpu_to_le32(OCFS2_DIO_ORPHANED_FL))) {
2711 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data;
2717 le16_to_cpu(di->i_dio_orphaned_slot));
2740 BUG_ON(!(di->i_flags & cpu_to_le32(OCFS2_DIO_ORPHANED_FL)));
2758 di->i_flags &= ~cpu_to_le32(OCFS2_DIO_ORPHANED_FL);
2759 di->i_dio_orphaned_slot = 0;
2789 struct ocfs2_dinode *dir_di, *di;
2875 di = (struct ocfs2_dinode *)di_bh->b_data;
2876 di->i_flags &= ~cpu_to_le32(OCFS2_ORPHANED_FL);
2877 di->i_orphaned_slot = 0;
2879 ocfs2_set_links_count(di, inode->i_nlink);