Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd.h615 atomic_t ibp_refcount; /* # users */ member
687 atomic_read (&(peer)->ibp_refcount)); \
688 atomic_inc(&(peer)->ibp_refcount); \
695 atomic_read (&(peer)->ibp_refcount)); \
696 LASSERT_ATOMIC_POS(&(peer)->ibp_refcount); \
697 if (atomic_dec_and_test(&(peer)->ibp_refcount)) \
Do2iblnd.c343 atomic_set(&peer->ibp_refcount, 1); /* 1 ref for caller */ in kiblnd_create_peer()
368 LASSERT(atomic_read(&peer->ibp_refcount) == 0); in kiblnd_destroy_peer()
405 atomic_read(&peer->ibp_refcount), in kiblnd_find_peer_locked()
448 *count = atomic_read(&peer->ibp_refcount); in kiblnd_get_peer_info()