Searched refs:s_cap_gen (Results 1 – 5 of 5) sorted by relevance
204 atomic_t s_cap_gen; /* inc each time we get mds stale msg */ member
997 atomic_set(&s->s_cap_gen, 1); in register_session()1963 if (cap && cap->cap_gen < atomic_read(&cap->session->s_cap_gen)) in wake_up_session_cb()4055 atomic_inc(&session->s_cap_gen); in handle_session()4336 cap->cap_gen = atomic_read(&cap->session->s_cap_gen); in reconnect_caps_cb()4576 atomic_inc(&session->s_cap_gen); in send_mds_reconnect()4962 di->lease_gen == atomic_read(&session->s_cap_gen) && in handle_lease()
650 gen = atomic_read(&session->s_cap_gen); in ceph_add_cap()772 gen = atomic_read(&cap->session->s_cap_gen); in __cap_is_valid()1153 cap->cap_gen == atomic_read(&session->s_cap_gen))) { in __ceph_remove_cap()3422 bool was_stale = cap->cap_gen < atomic_read(&session->s_cap_gen); in handle_cap_grant()3482 cap->cap_gen = atomic_read(&session->s_cap_gen); in handle_cap_grant()
1339 if (di->lease_gen == atomic_read(&session->s_cap_gen) && in __update_dentry_lease()1350 di->lease_gen = atomic_read(&session->s_cap_gen); in __update_dentry_lease()
1744 gen = atomic_read(&session->s_cap_gen); in __dentry_lease_is_valid()