Searched refs:s_cap_gen (Results 1 – 5 of 5) sorted by relevance
193 atomic_t s_cap_gen; /* inc each time we get mds stale msg */ member
841 atomic_set(&s->s_cap_gen, 1); in register_session()1789 if (cap->cap_gen < atomic_read(&cap->session->s_cap_gen)) { in wake_up_session_cb()3655 atomic_inc(&session->s_cap_gen); in handle_session()3924 cap->cap_gen = atomic_read(&cap->session->s_cap_gen); in reconnect_caps_cb()4164 atomic_inc(&session->s_cap_gen); in send_mds_reconnect()4549 di->lease_gen == atomic_read(&session->s_cap_gen) && in handle_lease()
648 gen = atomic_read(&session->s_cap_gen); in ceph_add_cap()770 gen = atomic_read(&cap->session->s_cap_gen); in __cap_is_valid()1151 cap->cap_gen == atomic_read(&session->s_cap_gen))) { in __ceph_remove_cap()3339 bool was_stale = cap->cap_gen < atomic_read(&session->s_cap_gen); in handle_cap_grant()3391 cap->cap_gen = atomic_read(&session->s_cap_gen); in handle_cap_grant()
1130 if (di->lease_gen == atomic_read(&session->s_cap_gen) && in __update_dentry_lease()1141 di->lease_gen = atomic_read(&session->s_cap_gen); in __update_dentry_lease()
1629 gen = atomic_read(&session->s_cap_gen); in __dentry_lease_is_valid()