• Home
  • Raw
  • Download

Lines Matching refs:oi

629 	struct ocfs2_inode_info *oi = OCFS2_I(inode);  in ocfs2_file_lock_res_init()  local
632 ocfs2_build_lock_name(OCFS2_LOCK_TYPE_FLOCK, oi->ip_blkno, in ocfs2_file_lock_res_init()
1865 struct ocfs2_inode_info *oi = OCFS2_I(inode); in __ocfs2_stuff_meta_lvb() local
1866 struct ocfs2_lock_res *lockres = &oi->ip_inode_lockres; in __ocfs2_stuff_meta_lvb()
1878 if (oi->ip_flags & OCFS2_INODE_DELETED) { in __ocfs2_stuff_meta_lvb()
1885 lvb->lvb_iclusters = cpu_to_be32(oi->ip_clusters); in __ocfs2_stuff_meta_lvb()
1896 lvb->lvb_iattr = cpu_to_be32(oi->ip_attr); in __ocfs2_stuff_meta_lvb()
1897 lvb->lvb_idynfeatures = cpu_to_be16(oi->ip_dyn_features); in __ocfs2_stuff_meta_lvb()
1915 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_refresh_inode_from_lvb() local
1916 struct ocfs2_lock_res *lockres = &oi->ip_inode_lockres; in ocfs2_refresh_inode_from_lvb()
1926 spin_lock(&oi->ip_lock); in ocfs2_refresh_inode_from_lvb()
1927 oi->ip_clusters = be32_to_cpu(lvb->lvb_iclusters); in ocfs2_refresh_inode_from_lvb()
1930 oi->ip_attr = be32_to_cpu(lvb->lvb_iattr); in ocfs2_refresh_inode_from_lvb()
1931 oi->ip_dyn_features = be16_to_cpu(lvb->lvb_idynfeatures); in ocfs2_refresh_inode_from_lvb()
1935 if (S_ISLNK(inode->i_mode) && !oi->ip_clusters) in ocfs2_refresh_inode_from_lvb()
1950 spin_unlock(&oi->ip_lock); in ocfs2_refresh_inode_from_lvb()
2028 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_inode_lock_update() local
2029 struct ocfs2_lock_res *lockres = &oi->ip_inode_lockres; in ocfs2_inode_lock_update()
2038 spin_lock(&oi->ip_lock); in ocfs2_inode_lock_update()
2039 if (oi->ip_flags & OCFS2_INODE_DELETED) { in ocfs2_inode_lock_update()
2042 (unsigned long long)oi->ip_blkno, oi->ip_flags); in ocfs2_inode_lock_update()
2043 spin_unlock(&oi->ip_lock); in ocfs2_inode_lock_update()
2047 spin_unlock(&oi->ip_lock); in ocfs2_inode_lock_update()
2060 (unsigned long long)oi->ip_blkno); in ocfs2_inode_lock_update()
2085 (unsigned long long)oi->ip_blkno, in ocfs2_inode_lock_update()
2091 (unsigned long long)oi->ip_blkno, in ocfs2_inode_lock_update()
3403 struct ocfs2_inode_info *oi = OCFS2_I(dl->dl_inode); in ocfs2_dentry_convert_worker() local
3424 spin_lock(&oi->ip_lock); in ocfs2_dentry_convert_worker()
3425 oi->ip_flags |= OCFS2_INODE_MAYBE_ORPHANED; in ocfs2_dentry_convert_worker()
3426 spin_unlock(&oi->ip_lock); in ocfs2_dentry_convert_worker()