Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd.h575 atomic_t ibp_refcount; /* # users */ member
650 atomic_read(&(peer)->ibp_refcount)); \
651 atomic_inc(&(peer)->ibp_refcount); \
658 atomic_read(&(peer)->ibp_refcount)); \
659 LASSERT_ATOMIC_POS(&(peer)->ibp_refcount); \
660 if (atomic_dec_and_test(&(peer)->ibp_refcount)) \
Do2iblnd.c344 atomic_set(&peer->ibp_refcount, 1); /* 1 ref for caller */ in kiblnd_create_peer()
369 LASSERT(atomic_read(&peer->ibp_refcount) == 0); in kiblnd_destroy_peer()
406 atomic_read(&peer->ibp_refcount), in kiblnd_find_peer_locked()
449 *count = atomic_read(&peer->ibp_refcount); in kiblnd_get_peer_info()