HomeSort by: relevance | last modified time | path
    Searched refs:refcount (Results 1 - 25 of 537) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/mit/libcbor/dist/docs/doxygen/search/
all_d.js 4 ['refcount',['refcount',['../structcbor__item__t.html#a6bb24fe655f086c6aa9a66d427e09cca',1,'cbor_item_t']]],
variables_d.js 4 ['refcount',['refcount',['../structcbor__item__t.html#a6bb24fe655f086c6aa9a66d427e09cca',1,'cbor_item_t']]],
  /src/sys/external/bsd/drm2/include/linux/
refcount.h 1 /* $NetBSD: refcount.h,v 1.3 2021/12/19 11:52:08 riastradh Exp $ */
36 typedef struct refcount refcount_t;
38 struct refcount { struct
43 refcount_set(struct refcount *rc, int n)
49 refcount_inc(struct refcount *rc)
55 refcount_inc_not_zero(struct refcount *rc)
70 refcount_dec_and_test(struct refcount *rc)
84 refcount_dec_and_lock_irqsave(struct refcount *rc, struct spinlock *lock,
92 refcount_dec_and_mutex_lock(struct refcount *rc, struct mutex *lock)
  /src/external/lgpl2/userspace-rcu/dist/include/urcu/
ref.h 22 long refcount; /* ATOMIC */ member in struct:urcu_ref
27 uatomic_set(&ref->refcount, val);
40 old = uatomic_read(&ref->refcount);
46 res = uatomic_cmpxchg(&ref->refcount, old, _new);
63 long res = uatomic_sub_return(&ref->refcount, 1);
76 * count. False is also returned in case incrementing the refcount would
83 old = uatomic_read(&ref->refcount);
88 res = uatomic_cmpxchg(&ref->refcount, old, _new);
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/
ehalloc.d 62 t.refcount() = 1;
88 auto refcount = t.refcount();
89 if (refcount == 0)
92 if (refcount == 1)
95 t.refcount() = --refcount;
96 if (refcount > 1)
  /src/external/gpl3/gcc.old/dist/libphobos/testsuite/libphobos.exceptions/
refcounted.d 30 assert(e.refcount == 2);
42 assert(e.refcount == 2); // "Owned by e" + 1
54 assert(e.refcount == 2); // "Owned by e" + 1
86 assert(first.refcount == 2);
87 assert(second.refcount == 3);
88 assert(third.refcount == 3);
  /src/external/mpl/bind/dist/fuzz/
dns_qp.c 22 #include <isc/refcount.h>
55 uint32_t refcount; member in struct:__anon23969
66 item[ival].refcount++;
73 item[ival].refcount--;
142 uint32_t refcount = item[i].refcount; local
154 ASSERT(item[i].refcount == 1);
159 ASSERT(item[i].refcount == 0);
171 ASSERT(refcount == 0);
172 ASSERT(item[i].refcount == 1)
    [all...]
  /src/external/gpl3/gdb.old/dist/gdbsupport/
refcounted-object.h 31 /* Increase the refcount. */
38 /* Decrease the refcount. */
45 int refcount () const { return m_refcount; } function in class:refcounted_object
71 deletes the object once the refcount reaches 0.. */
82 if (obj->refcount () == 0)
  /src/external/gpl3/gdb/dist/gdbsupport/
refcounted-object.h 31 /* Increase the refcount. */
38 /* Decrease the refcount. */
45 int refcount () const { return m_refcount; } function in class:refcounted_object
71 deletes the object once the refcount reaches 0.. */
82 if (obj->refcount () == 0)
  /src/external/gpl3/binutils/dist/bfd/
elf-strtab.c 36 unsigned int refcount; member in struct:elf_strtab_hash_entry
85 ret->refcount = 0;
161 entry->refcount++;
190 ++tab->array[idx]->refcount;
200 BFD_ASSERT (tab->array[idx]->refcount > 0);
201 --tab->array[idx]->refcount;
207 return tab->array[idx]->refcount;
216 tab->array[idx]->refcount = 0;
224 unsigned int refcount[1]; member in struct:strtab_save
233 size = sizeof (*save) + (tab->size - 1) * sizeof (save->refcount[0])
    [all...]
  /src/external/gpl3/binutils.old/dist/bfd/
elf-strtab.c 36 unsigned int refcount; member in struct:elf_strtab_hash_entry
85 ret->refcount = 0;
161 entry->refcount++;
190 ++tab->array[idx]->refcount;
200 BFD_ASSERT (tab->array[idx]->refcount > 0);
201 --tab->array[idx]->refcount;
207 return tab->array[idx]->refcount;
216 tab->array[idx]->refcount = 0;
224 unsigned int refcount[1]; member in struct:strtab_save
233 size = sizeof (*save) + (tab->size - 1) * sizeof (save->refcount[0])
    [all...]
  /src/external/gpl3/gdb.old/dist/bfd/
elf-strtab.c 36 unsigned int refcount; member in struct:elf_strtab_hash_entry
85 ret->refcount = 0;
161 entry->refcount++;
190 ++tab->array[idx]->refcount;
200 BFD_ASSERT (tab->array[idx]->refcount > 0);
201 --tab->array[idx]->refcount;
207 return tab->array[idx]->refcount;
216 tab->array[idx]->refcount = 0;
224 unsigned int refcount[1]; member in struct:strtab_save
233 size = sizeof (*save) + (tab->size - 1) * sizeof (save->refcount[0])
    [all...]
  /src/external/gpl3/gdb/dist/bfd/
elf-strtab.c 36 unsigned int refcount; member in struct:elf_strtab_hash_entry
85 ret->refcount = 0;
161 entry->refcount++;
190 ++tab->array[idx]->refcount;
200 BFD_ASSERT (tab->array[idx]->refcount > 0);
201 --tab->array[idx]->refcount;
207 return tab->array[idx]->refcount;
216 tab->array[idx]->refcount = 0;
224 unsigned int refcount[1]; member in struct:strtab_save
233 size = sizeof (*save) + (tab->size - 1) * sizeof (save->refcount[0])
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/core/
amdgpu_dc_sink.c 77 kref_get(&sink->refcount);
82 struct dc_sink *sink = container_of(kref, struct dc_sink, refcount);
89 kref_put(&sink->refcount, dc_sink_free);
102 kref_init(&sink->refcount);
amdgpu_dc_surface.c 122 kref_init(&plane_state->refcount);
187 kref_get(&plane_state->refcount);
192 struct dc_plane_state *plane_state = container_of(kref, struct dc_plane_state, refcount);
199 kref_put(&plane_state->refcount, dc_plane_state_free);
204 kref_get(&gamma->refcount);
209 struct dc_gamma *gamma = container_of(kref, struct dc_gamma, refcount);
215 kref_put(&(*gamma)->refcount, dc_gamma_free);
226 kref_init(&gamma->refcount);
235 kref_get(&tf->refcount);
240 struct dc_transfer_func *tf = container_of(kref, struct dc_transfer_func, refcount);
    [all...]
  /src/sys/modules/lua/
luavar.h 39 int refcount; member in struct:lua_module
  /src/external/ibm-public/postfix/dist/src/global/
mypwd.h 20 int refcount; member in struct:mypasswd
mypwd.c 143 mypwd->refcount = 0;
194 mypwd->refcount++;
225 mypwd->refcount += 2;
258 mypwd->refcount++;
288 mypwd->refcount += 2;
296 if (mypwd->refcount < 1)
297 msg_panic("mypwfree: refcount %d", mypwd->refcount);
302 if (--mypwd->refcount == 0) {
349 msg_info("lookup %s %s/%d refcount=%d name_cache=%d uid_cache=%d"
    [all...]
  /src/external/cddl/osnet/dist/uts/common/fs/zfs/
zfeature.c 247 uint64_t refcount; local
259 feature->fi_guid, sizeof (uint64_t), 1, &refcount);
266 *res = refcount;
296 feature_sync(spa_t *spa, zfeature_info_t *feature, uint64_t refcount,
304 sizeof (uint64_t), 1, &refcount, tx));
318 atomic_swap_64(refcount_cache, refcount));
320 *refcount_cache = refcount;
324 if (refcount == 0)
382 uint64_t refcount; local
394 VERIFY3U(feature_get_refcount(spa, feature, &refcount), !=, ENOTSUP)
461 uint64_t refcount; local
476 uint64_t refcount; local
    [all...]
  /src/sys/external/bsd/drm2/dist/include/drm/
drm_syncobj.h 43 * @refcount: Reference count of this object.
45 struct kref refcount; member in struct:drm_syncobj
80 kref_get(&obj->refcount);
90 kref_put(&obj->refcount, drm_syncobj_free);
  /src/lib/libform/
field_types.c 99 new->refcount = 0;
194 if (fieldtype->refcount > 0)
202 fieldtype->link->next->refcount--;
203 fieldtype->link->prev->refcount--;
270 type1->refcount++;
271 type2->refcount++;
  /src/external/mpl/bind/dist/tests/isc/
radix_test.c 56 isc_refcount_destroy(&prefix.refcount);
66 isc_refcount_destroy(&prefix.refcount);
76 isc_refcount_destroy(&prefix.refcount);
104 isc_refcount_destroy(&prefix.refcount);
114 isc_refcount_destroy(&prefix.refcount);
125 isc_refcount_destroy(&prefix.refcount);
  /src/external/mpl/dhcp/bind/dist/lib/dns/
iptable.c 39 isc_refcount_init(&tab->refcount, 1);
77 isc_refcount_destroy(&pfx.refcount);
100 isc_refcount_destroy(&pfx.refcount);
149 isc_refcount_increment(&source->refcount);
159 if (isc_refcount_decrement(&tab->refcount) == 1) {
160 isc_refcount_destroy(&tab->refcount);
  /src/external/ibm-public/postfix/dist/src/qmgr/
qmgr_peer.c 89 peer->refcount = 0;
105 if (peer->refcount != 0)
106 msg_panic("%s: refcount: %d", myname, peer->refcount);
  /src/sys/external/bsd/drm2/dist/drm/i915/display/
intel_dsb.h 27 long refcount; member in struct:intel_dsb

Completed in 57 milliseconds

1 2 3 4 5 6 7 8 91011>>