Home
last modified time | relevance | path

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

/linux/fs/ceph/
H A Dcaps.c711 WARN_ON(cap != ci->i_auth_cap); in ceph_add_cap()
753 if (!ci->i_auth_cap || in ceph_add_cap()
754 ceph_seq_cmp(ci->i_auth_cap->mseq, mseq) < 0) { in ceph_add_cap()
755 if (ci->i_auth_cap && in ceph_add_cap()
756 ci->i_auth_cap->session != cap->session) in ceph_add_cap()
758 ci->i_auth_cap = cap; in ceph_add_cap()
762 WARN_ON(ci->i_auth_cap == cap); in ceph_add_cap()
837 if (ci->i_auth_cap) { in __ceph_caps_issued()
838 cap = ci->i_auth_cap; in __ceph_caps_issued()
1095 if (cap == ci->i_auth_cap) in __ceph_caps_mds_wanted()
[all …]
H A Dfile.c312 (!(wanted & CEPH_CAP_ANY_WR) || ci->i_auth_cap)) { in ceph_renew_caps()
437 (((fmode & CEPH_FILE_MODE_WR) == 0) || ci->i_auth_cap)) { in ceph_open()
516 if (!ci->i_auth_cap) in try_prep_async_create()
520 if (xa_empty(&ci->i_auth_cap->session->s_delegated_inos)) in try_prep_async_create()
540 ino = ceph_get_deleg_ino(ci->i_auth_cap->session); in try_prep_async_create()
562 if (ci->i_auth_cap) in restore_deleg_ino()
563 s = ceph_get_mds_session(ci->i_auth_cap->session); in restore_deleg_ino()
H A Dinode.c392 if (ci->i_auth_cap) in ceph_fill_dirfrag()
393 diri_auth = ci->i_auth_cap->mds; in ceph_fill_dirfrag()
614 ci->i_auth_cap = NULL; in ceph_alloc_inode()
H A Dmds_client.c1411 cap = ci->i_auth_cap; in __choose_mds()
1422 cap == ci->i_auth_cap ? "auth " : "", cap); in __choose_mds()
2188 if (cap == ci->i_auth_cap) { in trim_caps_cb()
3551 cap = ci->i_auth_cap; in __do_request()