/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/lib/ |
H A D | kref.c | 24 atomic_set(&kref->refcount, 1); 29 * kref_get - increment refcount for object. 34 WARN_ON(!atomic_read(&kref->refcount)); 35 atomic_inc(&kref->refcount); 40 * kref_put - decrement refcount for object. 47 * Decrement the refcount, and if 0, call release(). 58 if (atomic_dec_and_test(&kref->refcount)) {
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ |
H A D | kref.h | 21 atomic_t refcount; member in struct:kref
|
H A D | iocontext.h | 35 atomic_long_t refcount; member in struct:io_context 65 if (ioc && atomic_long_inc_not_zero(&ioc->refcount)) {
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavutil/ |
H A D | buffer_internal.h | 42 volatile int refcount; member in struct:AVBuffer 80 * be one reference. Each buffer requested by the caller increases refcount 82 * refcount reaches zero when the buffer has been uninited AND all the 86 volatile int refcount; member in struct:AVBufferPool
|
H A D | buffer.c | 42 buf->refcount = 1; 100 avpriv_atomic_int_add_and_fetch(&buf->buffer->refcount, 1); 114 if (!avpriv_atomic_int_add_and_fetch(&b->refcount, -1)) { 125 return avpriv_atomic_int_get(&buf->buffer->refcount) == 1; 135 return buf->buffer->refcount; 215 avpriv_atomic_int_set(&pool->refcount, 1); 245 if (!avpriv_atomic_int_add_and_fetch(&pool->refcount, -1)) 294 if (!avpriv_atomic_int_add_and_fetch(&pool->refcount, -1)) 323 avpriv_atomic_int_add_and_fetch(&pool->refcount, 1); 336 if (!buf && pool->refcount < [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpu/drm/ |
H A D | drm_global.c | 39 int refcount; member in struct:drm_global_item 52 item->refcount = 0; 62 BUG_ON(item->refcount != 0); 73 if (item->refcount == 0) { 86 ++item->refcount; 103 BUG_ON(item->refcount == 0); 105 if (--item->refcount == 0) {
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/libatalk/adouble/ |
H A D | ad_private.h | 29 if (--(*lock->refcount) < 1)free(lock->refcount); \
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/core/ |
H A D | iwcm.h | 55 atomic_t refcount; member in struct:iwcm_id_private
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/mach-ns9xxx/ |
H A D | clock.h | 28 unsigned long refcount; member in struct:clk
|
H A D | clock.c | 54 ++ret->refcount; 65 --clk->refcount; 144 ++clk->parent->refcount; 158 if (clk->usage || clk->refcount) 164 --clk->parent->refcount; 184 seq_printf(s, "%s.%d: usage=%lu refcount=%lu rate=%lu\n", 185 p->name, p->id, p->usage, p->refcount,
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/dbus-1.6.8/dbus/ |
H A D | dbus-resources.c | 56 int refcount; /**< reference count */ member in struct:DBusCounter 96 counter->refcount = 1; 102 * Increments refcount of the counter 110 _dbus_assert (counter->refcount > 0); 112 counter->refcount += 1; 118 * Decrements refcount of the counter and possibly 126 _dbus_assert (counter->refcount > 0); 128 counter->refcount -= 1; 130 if (counter->refcount == 0)
|
H A D | dbus-message-private.h | 62 int refcount; /**< Reference count. */ member in struct:DBusMessageLoader 99 DBusAtomic refcount; /**< Reference count */ member in struct:DBusMessage
|
H A D | dbus-credentials.c | 49 int refcount; member in struct:DBusCredentials 78 creds->refcount = 1; 111 * Increment refcount on credentials. 118 _dbus_assert (credentials->refcount > 0); 119 credentials->refcount += 1; 123 * Decrement refcount on credentials. 130 _dbus_assert (credentials->refcount > 0); 132 credentials->refcount -= 1; 133 if (credentials->refcount == 0)
|
H A D | dbus-dataslot.h | 49 int refcount; /**< Number of uses of the slot */ member in struct:DBusAllocatedSlot
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavfilter/ |
H A D | formats.c | 33 for(i = 0; i < a->refcount; i ++) { 34 ret->refs[ret->refcount] = a->refs[i]; 35 *ret->refs[ret->refcount++] = ret; 71 ret->refs = av_malloc(sizeof(AVFilterFormats**)*(a->refcount+b->refcount)); 142 f->refs = av_realloc(f->refs, sizeof(AVFilterFormats**) * ++f->refcount); 143 f->refs[f->refcount-1] = ref; 149 for(i = 0; i < (*ref)->refcount; i ++) 166 sizeof(AVFilterFormats**) * ((*ref)->refcount-idx-1)); 168 if(!--(*ref)->refcount) { [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/block/ |
H A D | blk-ioc.c | 39 BUG_ON(atomic_long_read(&ioc->refcount) == 0); 41 if (atomic_long_dec_and_test(&ioc->refcount)) { 90 atomic_long_set(&ret->refcount, 1); 109 * This returned IO context doesn't have a specifically elevated refcount, 150 } while (!atomic_long_inc_not_zero(&ret->refcount)); 162 BUG_ON(atomic_long_read(&src->refcount) == 0); 163 atomic_long_inc(&src->refcount);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpu/drm/nouveau/ |
H A D | nouveau_fence.c | 37 struct kref refcount; member in struct:nouveau_fence 54 container_of(ref, struct nouveau_fence, refcount); 84 kref_put(&fence->refcount, nouveau_fence_del); 103 kref_init(&fence->refcount); 141 kref_get(&fence->refcount); 159 kref_put(&fence->refcount, nouveau_fence_del); 168 kref_get(&fence->refcount); 242 kref_put(&fence->refcount, nouveau_fence_del);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/integrity/ima/ |
H A D | ima_iint.c | 42 kref_get(&iint->refcount); 76 /* iint_free - called when the iint refcount goes to zero */ 80 refcount); 98 kref_init(&iint->refcount); 106 kref_put(&iint->refcount, iint_free); 137 kref_init(&iint->refcount);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/batman-adv/ |
H A D | vis.h | 33 struct kref refcount; member in struct:vis_info
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavfilter/ |
H A D | formats.h | 68 unsigned refcount; ///< number of references to this list member in struct:AVFilterFormats 91 unsigned refcount; ///< number of references to this list member in struct:AVFilterChannelLayouts
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/ipath/ |
H A D | ipath_verbs_mcast.c | 62 atomic_inc(&qp->refcount); 73 if (atomic_dec_and_test(&qp->refcount)) 96 atomic_set(&mcast->refcount, 0); 141 atomic_inc(&mcast->refcount); 224 atomic_inc(&mcast->refcount); 343 wait_event(mcast->wait, atomic_read(&mcast->refcount) <= 1); 347 atomic_dec(&mcast->refcount); 348 wait_event(mcast->wait, !atomic_read(&mcast->refcount));
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/qib/ |
H A D | qib_verbs_mcast.c | 51 atomic_inc(&qp->refcount); 62 if (atomic_dec_and_test(&qp->refcount)) 85 atomic_set(&mcast->refcount, 0); 131 atomic_inc(&mcast->refcount); 213 atomic_inc(&mcast->refcount); 347 wait_event(mcast->wait, atomic_read(&mcast->refcount) <= 1); 351 atomic_dec(&mcast->refcount); 352 wait_event(mcast->wait, !atomic_read(&mcast->refcount));
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/mod_db4/ |
H A D | utils.c | 284 int refcount = 0; local 289 refcount = (int) mm_hash_find(ref_counts, path, pathlen); 290 refcount++; 291 mm_hash_update(ref_counts, path, pathlen, (void *)refcount); 293 return refcount; 298 int refcount = 0; local 303 refcount = (int) mm_hash_find(ref_counts, path, pathlen); 304 if(refcount > 0) refcount--; 305 mm_hash_update(ref_counts, path, pathlen, (void *)refcount); 312 int refcount = 0; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpu/drm/ttm/ |
H A D | ttm_object.c | 65 struct kref refcount; member in struct:ttm_object_file 120 kref_get(&tfile->refcount); 127 container_of(kref, struct ttm_object_file, refcount); 138 kref_put(&tfile->refcount, ttm_object_file_destroy); 159 kref_init(&base->refcount); 184 container_of(kref, struct ttm_base_object, refcount); 209 (void)kref_put(&base->refcount, &ttm_release_base); 227 kref_get(&base->refcount); 291 kref_get(&base->refcount); 395 kref_init(&tfile->refcount); [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/ |
H A D | mbuf.c | 74 ret->refcount = 1; 84 if (--mb->refcount <= 0) 109 ++item->buffer->refcount;
|