lib/ovs-atomic.h
/* Initializes 'refcount'.  The reference count is initially 1. */
Initializes 'refcount'.  The reference count is initially 1.
Initializes ' refcount ' . The reference count is initially 1 .
static inline void
ovs_refcount_init(struct ovs_refcount *refcount)
{
    atomic_init(&refcount->count, 1u);
}
static inline void ovs_refcount_init ( struct ovs_refcount * refcount ) { atomic_init ( & refcount -> count , 1u ) ; }
Initializes 'refcount'.
Initializes ' refcount ' .