Home
last modified time | relevance | path

Searched refs:s_ref (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/fs/ceph/
Dmds_client.h189 refcount_t s_ref; member
Dmds_client.c652 if (refcount_inc_not_zero(&s->s_ref)) { in ceph_get_mds_session()
654 refcount_read(&s->s_ref)-1, refcount_read(&s->s_ref)); in ceph_get_mds_session()
668 refcount_read(&s->s_ref), refcount_read(&s->s_ref)-1); in ceph_put_mds_session()
669 if (refcount_dec_and_test(&s->s_ref)) { in ceph_put_mds_session()
758 refcount_set(&s->s_ref, 1); in register_session()
773 refcount_inc(&s->s_ref); /* one ref to sessions[], one to caller */ in register_session()