HomeSort by relevance Sort by last modified time
    Searched defs:refcount (Results 1 - 25 of 114) sorted by null

1 2 3 4 5

  /external/kernel-headers/original/linux/
kref.h 24 atomic_t refcount; member in struct:kref
dmaengine.h 69 * @refcount: local_t used for open-coded "bigref" counting
75 local_t refcount; member in struct:dma_chan_percpu
88 * @refcount: kref, used in "bigref" slow-mode
104 struct kref refcount; member in struct:dma_chan
118 kref_get(&chan->refcount);
120 local_inc(&(per_cpu_ptr(chan->local, get_cpu())->refcount));
128 kref_put(&chan->refcount, dma_chan_cleanup);
130 local_dec(&(per_cpu_ptr(chan->local, get_cpu())->refcount));
165 * @refcount: reference count
183 struct kref refcount; member in struct:dma_device
    [all...]
  /external/dbus/dbus/
dbus-userdb.h 45 int refcount; /**< Reference count */ member in struct:DBusUserDatabase
dbus-dataslot.h 49 int refcount; /**< Number of uses of the slot */ member in struct:DBusAllocatedSlot
dbus-resources.c 56 int refcount; /**< reference count */ member in struct:DBusCounter
90 counter->refcount = 1;
103 * Increments refcount of the counter
111 _dbus_assert (counter->refcount > 0);
113 counter->refcount += 1;
119 * Decrements refcount of the counter and possibly
127 _dbus_assert (counter->refcount > 0);
129 counter->refcount -= 1;
131 if (counter->refcount == 0)
dbus-message-private.h 62 int refcount; /**< Reference count. */ member in struct:DBusMessageLoader
99 DBusAtomic refcount; /**< Reference count */ member in struct:DBusMessage
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)
dbus-server-protected.h 57 DBusAtomic refcount; /**< Reference count. */ member in struct:DBusServer
dbus-timeout.c 42 int refcount; /**< Reference count */ member in struct:DBusTimeout
74 timeout->refcount = 1;
95 timeout->refcount += 1;
110 _dbus_assert (timeout->refcount > 0);
112 timeout->refcount -= 1;
113 if (timeout->refcount == 0)
dbus-transport-protected.h 82 int refcount; /**< Reference count. */ member in struct:DBusTransport
dbus-keyring.c 113 int refcount; /**< Reference count */ member in struct:DBusKeyring
140 keyring->refcount = 1;
671 keyring->refcount += 1;
677 * Decrements refcount and finalizes if it reaches
685 keyring->refcount -= 1;
687 if (keyring->refcount == 0)
dbus-pending-call.c 63 DBusAtomic refcount; /**< reference count */ member in struct:DBusPendingCall
135 _dbus_atomic_inc (&pending->refcount);
375 _dbus_atomic_inc (&pending->refcount);
436 old_refcount = _dbus_atomic_dec (&pending->refcount);
534 _dbus_atomic_inc (&pending->refcount);
552 last_unref = (_dbus_atomic_dec (&pending->refcount) == 1);
692 * to be already allocated, and its refcount is incremented.
716 * someone else reallocates the slot). When the refcount on the
dbus-watch.c 42 int refcount; /**< Reference count */ member in struct:DBusWatch
91 watch->refcount = 1;
112 watch->refcount += 1;
127 _dbus_assert (watch->refcount > 0);
129 watch->refcount -= 1;
130 if (watch->refcount == 0)
  /frameworks/av/media/libstagefright/
MediaBuffer.cpp 186 int MediaBuffer::refcount() const { function in class:android::MediaBuffer
  /development/tools/emulator/opengl/shared/OpenglCodecCommon/
GLSharedGroup.h 97 int refcount; member in struct:ShaderData
  /external/dbus/bus/
policy.h 48 int refcount; member in struct:BusPolicyRule
  /external/e2fsprogs/lib/ext2fs/
ext2fsP.h 70 int refcount; member in struct:ext2_inode_cache
ext2_io.h 52 int refcount; member in struct:struct_io_channel
101 #define io_channel_bumpcount(c) ((c)->refcount++)
  /sdk/emulator/opengl/shared/OpenglCodecCommon/
GLSharedGroup.h 97 int refcount; member in struct:ShaderData
  /external/compiler-rt/BlocksRuntime/
runtime.c 246 _Byref_flag_initial_value = BLOCK_IS_GC; // no refcount
284 /* Copy, or bump refcount, of a block. If really copying, call the copy helper if present. */
303 // Tell collector to hang on this - it will bump the GC refcount version
317 // reset refcount
328 // Under GC want allocation with refcount 1 so we ask for "true" if wantsOne
335 // reset refcount
416 int refcount; local
427 refcount = shared_struct->flags & BLOCK_REFCOUNT_MASK;
428 if (refcount <= 0) {
467 // Tell GC we no longer have our own refcounts. GC will decr its refcount
    [all...]
  /external/e2fsprogs/e2fsck/
ea_refcount.c 22 * reference counts. Once the refcount has dropped to zero, it is
38 void ea_refcount_free(ext2_refcount_t refcount)
40 if (!refcount)
43 if (refcount->list)
44 ext2fs_free_mem(&refcount->list);
45 ext2fs_free_mem(&refcount);
50 ext2_refcount_t refcount; local
54 retval = ext2fs_get_mem(sizeof(struct ea_refcount), &refcount);
57 memset(refcount, 0, sizeof(struct ea_refcount));
61 refcount->size = size
396 ext2_refcount_t refcount; local
    [all...]
  /external/opencv/cxcore/include/
cxcore.hpp 49 CvImage() : image(0), refcount(0) {}
53 refcount = image ? new int(1) : 0;
58 refcount = image ? new int(1) : 0;
61 CvImage( const CvImage& img ) : image(img.image), refcount(img.refcount)
63 if( refcount ) ++(*refcount);
66 CvImage( const char* filename, const char* imgname=0, int color=-1 ) : image(0), refcount(0)
69 CvImage( CvFileStorage* fs, const char* mapname, const char* imgname ) : image(0), refcount(0)
72 CvImage( CvFileStorage* fs, const char* seqname, int idx ) : image(0), refcount(0
206 int* refcount; member in class:CvImage
    [all...]
  /external/openssh/
ssh-pkcs11.c 58 int refcount; member in struct:pkcs11_provider
95 debug("pkcs11_provider_finalize: %p refcount %d valid %d",
96 p, p->refcount, p->valid);
119 debug("pkcs11_provider_unref: %p refcount %d", p, p->refcount);
120 if (--p->refcount <= 0) {
313 provider->refcount++; /* provider referenced by RSA key */
573 p->refcount++; /* add to provider list */
  /external/srec/srec/include/
astar.h 81 short refcount; member in struct:partial_path_t
  /external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/
l2_packet_ndis.c 60 int refcount; member in struct:l2_packet_ndisuio_global
309 l2 = l2_ndisuio_global->l2[l2_ndisuio_global->refcount - 1];
362 if (l2_ndisuio_global->refcount >= 2) {
367 l2_ndisuio_global->refcount++;
372 l2_ndisuio_global->l2[l2_ndisuio_global->refcount - 1] = l2;
387 if (l2_ndisuio_global->refcount > 1) {
459 l2_ndisuio_global->refcount--;
460 l2_ndisuio_global->l2[l2_ndisuio_global->refcount] = NULL;
461 if (l2_ndisuio_global->refcount) {

Completed in 1241 milliseconds

1 2 3 4 5