Home
last modified time | relevance | path

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

/fs/ceph/
Dmds_client.h191 refcount_t s_ref; member
462 refcount_inc(&s->s_ref); in ceph_get_mds_session()
Dmds_client.c542 if (refcount_inc_not_zero(&s->s_ref)) { in get_session()
544 refcount_read(&s->s_ref)-1, refcount_read(&s->s_ref)); in get_session()
555 refcount_read(&s->s_ref), refcount_read(&s->s_ref)-1); in ceph_put_mds_session()
556 if (refcount_dec_and_test(&s->s_ref)) { in ceph_put_mds_session()
643 refcount_set(&s->s_ref, 1); in register_session()
656 refcount_inc(&s->s_ref); /* one ref to sessions[], one to caller */ in register_session()
4625 dout("mdsc con_get %p ok (%d)\n", s, refcount_read(&s->s_ref)); in con_get()
4636 dout("mdsc con_put %p (%d)\n", s, refcount_read(&s->s_ref) - 1); in con_put()