Searched refs:s_ref (Results 1 – 2 of 2) sorted by relevance
139 atomic_t s_ref; member322 atomic_inc(&s->s_ref); in ceph_get_mds_session()
322 if (atomic_inc_not_zero(&s->s_ref)) { in get_session()324 atomic_read(&s->s_ref)-1, atomic_read(&s->s_ref)); in get_session()335 atomic_read(&s->s_ref), atomic_read(&s->s_ref)-1); in ceph_put_mds_session()336 if (atomic_dec_and_test(&s->s_ref)) { in ceph_put_mds_session()357 atomic_read(&session->s_ref)); in __ceph_lookup_mds_session()409 atomic_set(&s->s_ref, 1); in register_session()437 atomic_inc(&s->s_ref); /* one ref to sessions[], one to caller */ in register_session()3337 dout("mdsc con_get %p ok (%d)\n", s, atomic_read(&s->s_ref)); in con_get()3348 dout("mdsc con_put %p (%d)\n", s, atomic_read(&s->s_ref) - 1); in con_put()