Home
last modified time | relevance | path

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

/Linux-v5.4/fs/ceph/
Dcaps.c673 WARN_ON(cap != ci->i_auth_cap); in ceph_add_cap()
732 if (!ci->i_auth_cap || in ceph_add_cap()
733 ceph_seq_cmp(ci->i_auth_cap->mseq, mseq) < 0) { in ceph_add_cap()
734 ci->i_auth_cap = cap; in ceph_add_cap()
738 WARN_ON(ci->i_auth_cap == cap); in ceph_add_cap()
813 if (ci->i_auth_cap) { in __ceph_caps_issued()
814 cap = ci->i_auth_cap; in __ceph_caps_issued()
998 if (cap == ci->i_auth_cap) in __ceph_caps_mds_wanted()
1063 if (ci->i_auth_cap == cap) in __ceph_remove_cap()
1064 ci->i_auth_cap = NULL; in __ceph_remove_cap()
[all …]
Dinode.c249 if (ci->i_auth_cap) in ceph_fill_dirfrag()
250 diri_auth = ci->i_auth_cap->mds; in ceph_fill_dirfrag()
464 ci->i_auth_cap = NULL; in ceph_alloc_inode()
Dsuper.h345 struct ceph_cap *i_auth_cap; /* authoritative cap, if any */ member
Dfile.c298 (!(wanted & CEPH_CAP_ANY_WR) || ci->i_auth_cap)) { in ceph_renew_caps()
388 (((fmode & CEPH_FILE_MODE_WR) == 0) || ci->i_auth_cap)) { in ceph_open()
Dmds_client.c999 cap = ci->i_auth_cap; in __choose_mds()
1010 cap == ci->i_auth_cap ? "auth " : "", cap); in __choose_mds()
1393 if (!ci->i_auth_cap) { in remove_session_caps_cb()
1741 if (cap == ci->i_auth_cap) { in trim_caps_cb()