Home
last modified time | relevance | path

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

/Linux-v5.10/fs/ceph/
Dmds_client.h191 unsigned long s_cap_ttl; /* when session caps expire */ member
Dmds_client.c741 s->s_cap_ttl = jiffies - 1; in register_session()
1785 if (time_after_eq(jiffies, session->s_cap_ttl) && in send_renew_caps()
1786 time_after_eq(session->s_cap_ttl, session->s_renew_requested)) in send_renew_caps()
1836 was_stale = is_renew && time_after_eq(jiffies, session->s_cap_ttl); in renewed_caps()
1838 session->s_cap_ttl = session->s_renew_requested + in renewed_caps()
1842 if (time_before(jiffies, session->s_cap_ttl)) { in renewed_caps()
1850 session->s_mds, session->s_cap_ttl, was_stale ? "stale" : "fresh", in renewed_caps()
1851 time_before(jiffies, session->s_cap_ttl) ? "stale" : "fresh"); in renewed_caps()
3425 session->s_cap_ttl = jiffies - 1; in handle_session()
Ddir.c1541 ttl = session->s_cap_ttl; in __dentry_lease_is_valid()
Dcaps.c790 ttl = cap->session->s_cap_ttl; in __cap_is_valid()