Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ceph/
Dmds_client.h180 refcount_t s_ref; member
401 refcount_inc(&s->s_ref); in ceph_get_mds_session()
Dmds_client.c402 if (refcount_inc_not_zero(&s->s_ref)) { in get_session()
404 refcount_read(&s->s_ref)-1, refcount_read(&s->s_ref)); in get_session()
415 refcount_read(&s->s_ref), refcount_read(&s->s_ref)-1); in ceph_put_mds_session()
416 if (refcount_dec_and_test(&s->s_ref)) { in ceph_put_mds_session()
435 refcount_read(&session->s_ref)); in __ceph_lookup_mds_session()
510 refcount_set(&s->s_ref, 1); in register_session()
521 refcount_inc(&s->s_ref); /* one ref to sessions[], one to caller */ in register_session()
4135 dout("mdsc con_get %p ok (%d)\n", s, refcount_read(&s->s_ref)); in con_get()
4146 dout("mdsc con_put %p (%d)\n", s, refcount_read(&s->s_ref) - 1); in con_put()