Home
last modified time | relevance | path

Searched refs:i_auth_cap (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/fs/ceph/
Dcaps.c691 WARN_ON(cap != ci->i_auth_cap); in ceph_add_cap()
750 if (!ci->i_auth_cap || in ceph_add_cap()
751 ceph_seq_cmp(ci->i_auth_cap->mseq, mseq) < 0) { in ceph_add_cap()
752 if (ci->i_auth_cap && in ceph_add_cap()
753 ci->i_auth_cap->session != cap->session) in ceph_add_cap()
755 ci->i_auth_cap = cap; in ceph_add_cap()
759 WARN_ON(ci->i_auth_cap == cap); in ceph_add_cap()
831 if (ci->i_auth_cap) { in __ceph_caps_issued()
832 cap = ci->i_auth_cap; in __ceph_caps_issued()
1099 if (cap == ci->i_auth_cap) in __ceph_caps_mds_wanted()
[all …]
Dfile.c294 (!(wanted & CEPH_CAP_ANY_WR) || ci->i_auth_cap)) { in ceph_renew_caps()
380 (((fmode & CEPH_FILE_MODE_WR) == 0) || ci->i_auth_cap)) { in ceph_open()
459 if (!ci->i_auth_cap) in try_prep_async_create()
463 if (xa_empty(&ci->i_auth_cap->session->s_delegated_inos)) in try_prep_async_create()
483 ino = ceph_get_deleg_ino(ci->i_auth_cap->session); in try_prep_async_create()
504 if (ci->i_auth_cap) in restore_deleg_ino()
505 s = ceph_get_mds_session(ci->i_auth_cap->session); in restore_deleg_ino()
Dinode.c257 if (ci->i_auth_cap) in ceph_fill_dirfrag()
258 diri_auth = ci->i_auth_cap->mds; in ceph_fill_dirfrag()
473 ci->i_auth_cap = NULL; in ceph_alloc_inode()
Dsuper.h353 struct ceph_cap *i_auth_cap; /* authoritative cap, if any */ member
Dmds_client.c1118 cap = ci->i_auth_cap; in __choose_mds()
1129 cap == ci->i_auth_cap ? "auth " : "", cap); in __choose_mds()
1594 if (!ci->i_auth_cap) { in remove_session_caps_cb()
1938 if (cap == ci->i_auth_cap) { in trim_caps_cb()