HomeSort by: relevance | last modified time | path
    Searched defs:rc_count (Results 1 - 2 of 2) sorted by relevancy

  /src/sys/external/bsd/drm2/include/linux/
refcount.h 39 atomic_t rc_count; member in struct:refcount
45 atomic_set(&rc->rc_count, n);
51 atomic_inc(&rc->rc_count);
60 old = atomic_read(&rc->rc_count);
64 } while (atomic_cmpxchg(&rc->rc_count, old, new) != old);
75 old = atomic_read(&rc->rc_count);
78 } while (atomic_cmpxchg(&rc->rc_count, old, new) != old);
88 return atomic_dec_and_lock_irqsave(&rc->rc_count, lock, *flagsp);
97 old = atomic_read(&rc->rc_count);
101 if (atomic_dec_return(&rc->rc_count) == 0
    [all...]
  /src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
refcount.h 59 uint64_t rc_count; member in struct:refcount
87 uint64_t rc_count; member in struct:refcount
90 #define refcount_create(rc) ((rc)->rc_count = 0)
91 #define refcount_create_untracked(rc) ((rc)->rc_count = 0)
92 #define refcount_create_tracked(rc) ((rc)->rc_count = 0)
93 #define refcount_destroy(rc) ((rc)->rc_count = 0)
94 #define refcount_destroy_many(rc, number) ((rc)->rc_count = 0)
95 #define refcount_is_zero(rc) ((rc)->rc_count == 0)
96 #define refcount_count(rc) ((rc)->rc_count)
97 #define refcount_add(rc, holder) atomic_inc_64_nv(&(rc)->rc_count)
    [all...]

Completed in 38 milliseconds