Home
last modified time | relevance | path

Searched refs:s_cap_ttl (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/fs/ceph/
Dmds_client.h194 unsigned long s_cap_ttl; /* when session caps expire. protected by s_mutex */ member
Dmds_client.c842 s->s_cap_ttl = jiffies - 1; in register_session()
1820 if (time_after_eq(jiffies, session->s_cap_ttl) && in send_renew_caps()
1821 time_after_eq(session->s_cap_ttl, session->s_renew_requested)) in send_renew_caps()
1871 was_stale = is_renew && time_after_eq(jiffies, session->s_cap_ttl); in renewed_caps()
1873 session->s_cap_ttl = session->s_renew_requested + in renewed_caps()
1877 if (time_before(jiffies, session->s_cap_ttl)) { in renewed_caps()
1885 session->s_mds, session->s_cap_ttl, was_stale ? "stale" : "fresh", in renewed_caps()
1886 time_before(jiffies, session->s_cap_ttl) ? "stale" : "fresh"); in renewed_caps()
3656 session->s_cap_ttl = jiffies - 1; in handle_session()
Ddir.c1630 ttl = session->s_cap_ttl; in __dentry_lease_is_valid()
Dcaps.c771 ttl = cap->session->s_cap_ttl; in __cap_is_valid()