Searched refs:i_auth_cap (Results 1 – 6 of 6) sorted by relevance
712 WARN_ON(cap != ci->i_auth_cap); in ceph_add_cap()754 if (!ci->i_auth_cap || in ceph_add_cap()755 ceph_seq_cmp(ci->i_auth_cap->mseq, mseq) < 0) { in ceph_add_cap()756 if (ci->i_auth_cap && in ceph_add_cap()757 ci->i_auth_cap->session != cap->session) in ceph_add_cap()759 ci->i_auth_cap = cap; in ceph_add_cap()763 WARN_ON(ci->i_auth_cap == cap); in ceph_add_cap()838 if (ci->i_auth_cap) { in __ceph_caps_issued()839 cap = ci->i_auth_cap; in __ceph_caps_issued()1096 if (cap == ci->i_auth_cap) in __ceph_caps_mds_wanted()[all …]
331 (!(wanted & CEPH_CAP_ANY_WR) || ci->i_auth_cap)) { in ceph_renew_caps() 455 (((fmode & CEPH_FILE_MODE_WR) == 0) || ci->i_auth_cap)) { in ceph_open() 534 if (!ci->i_auth_cap) in try_prep_async_create() 538 if (xa_empty(&ci->i_auth_cap->session->s_delegated_inos)) in try_prep_async_create() 558 ino = ceph_get_deleg_ino(ci->i_auth_cap->session); in try_prep_async_create() 580 if (ci->i_auth_cap) in restore_deleg_ino() 581 s = ceph_get_mds_session(ci->i_auth_cap->session); in restore_deleg_ino()
349 ci->i_auth_cap ? ci->i_auth_cap->session->s_mds : -1); in ceph_vxattrcb_auth_mds()
438 if (ci->i_auth_cap) in ceph_fill_dirfrag()439 diri_auth = ci->i_auth_cap->mds; in ceph_fill_dirfrag()661 ci->i_auth_cap = NULL; in ceph_alloc_inode()
422 struct ceph_cap *i_auth_cap; /* authoritative cap, if any */ member
1457 cap = ci->i_auth_cap; in __choose_mds() 1468 cap == ci->i_auth_cap ? "auth " : "", cap); in __choose_mds() 2234 if (cap == ci->i_auth_cap) { in trim_caps_cb() 3659 cap = ci->i_auth_cap; in __do_request()