• Home
  • Raw
  • Download

Lines Matching refs:di

1098 	struct ceph_dentry_info *di = ceph_dentry(dentry);  in __update_dentry_lease()  local
1112 di->flags |= CEPH_DENTRY_PRIMARY_LINK; in __update_dentry_lease()
1114 di->flags &= ~CEPH_DENTRY_PRIMARY_LINK; in __update_dentry_lease()
1116 di->lease_shared_gen = atomic_read(&ceph_inode(dir)->i_shared_gen); in __update_dentry_lease()
1118 __ceph_dentry_dir_lease_touch(di); in __update_dentry_lease()
1122 if (di->lease_gen == atomic_read(&session->s_cap_gen) && in __update_dentry_lease()
1123 time_before(ttl, di->time)) in __update_dentry_lease()
1126 if (di->lease_session && di->lease_session != session) { in __update_dentry_lease()
1127 *old_lease_session = di->lease_session; in __update_dentry_lease()
1128 di->lease_session = NULL; in __update_dentry_lease()
1131 if (!di->lease_session) in __update_dentry_lease()
1132 di->lease_session = ceph_get_mds_session(session); in __update_dentry_lease()
1133 di->lease_gen = atomic_read(&session->s_cap_gen); in __update_dentry_lease()
1134 di->lease_seq = le32_to_cpu(lease->seq); in __update_dentry_lease()
1135 di->lease_renew_after = half_ttl; in __update_dentry_lease()
1136 di->lease_renew_from = 0; in __update_dentry_lease()
1137 di->time = ttl; in __update_dentry_lease()
1139 __ceph_dentry_lease_touch(di); in __update_dentry_lease()
1218 struct ceph_dentry_info *di = ceph_dentry(realdn); in splice_dentry() local
1223 di->time = jiffies; in splice_dentry()
1224 di->lease_shared_gen = 0; in splice_dentry()
1225 di->offset = 0; in splice_dentry()
1724 struct ceph_dentry_info *di = ceph_dentry(dn); in ceph_readdir_prepopulate() local
1729 if (di->offset > 0 && in ceph_readdir_prepopulate()
1730 di->lease_shared_gen == in ceph_readdir_prepopulate()
1733 di->offset = 0; in ceph_readdir_prepopulate()