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

1 2 3

  /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 41 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 54 int refcount; /**< reference count */ member in struct:DBusCounter
85 counter->refcount = 1;
96 * Increments refcount of the counter
104 _dbus_assert (counter->refcount > 0);
106 counter->refcount += 1;
112 * Decrements refcount of the counter and possibly
120 _dbus_assert (counter->refcount > 0);
122 counter->refcount -= 1;
124 if (counter->refcount == 0)
dbus-message-private.h 62 int refcount; /**< Reference count. */ member in struct:DBusMessageLoader
90 DBusAtomic refcount; /**< Reference count */ member in struct:DBusMessage
dbus-server-protected.h 58 DBusAtomic refcount; /**< Reference count. */ member in struct:DBusServer
dbus-timeout.c 41 int refcount; /**< Reference count */ member in struct:DBusTimeout
73 timeout->refcount = 1;
94 timeout->refcount += 1;
109 _dbus_assert (timeout->refcount > 0);
111 timeout->refcount -= 1;
112 if (timeout->refcount == 0)
dbus-transport-protected.h 82 int refcount; /**< Reference count. */ member in struct:DBusTransport
dbus-pending-call.c 62 DBusAtomic refcount; /**< reference count */ member in struct:DBusPendingCall
133 pending->refcount.value = 1;
376 pending->refcount.value += 1;
437 _dbus_assert (pending->refcount.value > 0);
439 pending->refcount.value -= 1;
440 last_unref = pending->refcount.value == 0;
540 _dbus_atomic_inc (&pending->refcount);
543 _dbus_assert (pending->refcount.value > 0);
545 pending->refcount.value += 1;
569 last_unref = (_dbus_atomic_dec (&pending->refcount) == 1)
    [all...]
dbus-watch.c 41 int refcount; /**< Reference count */ member in struct:DBusWatch
84 watch->refcount = 1;
105 watch->refcount += 1;
120 _dbus_assert (watch->refcount > 0);
122 watch->refcount -= 1;
123 if (watch->refcount == 0)
  /external/opencore/oscl/oscl/osclutil/src/
oscl_string_rep.h 57 : refcount(0)
68 uint32 refcount; member in class:CHeapRep
oscl_media_data.h 78 refcount(0), ptr(bufptr), free_function(the_free_function), buf_mgr(0) {};
81 refcount(0), ptr(bufptr), free_function(0), buf_mgr(the_buf_mgr) {};
85 ++refcount;
89 if (!(--refcount))
102 refcount = 0;
108 refcount = 0;
118 return refcount;
132 refcount = 0;
137 int32 refcount; member in class:BufferState
  /frameworks/base/media/libstagefright/
MediaBuffer.cpp 156 int MediaBuffer::refcount() const { function in class:android::MediaBuffer
  /external/dbus/bus/
policy.h 48 int refcount; member in struct:BusPolicyRule
policy.c 43 rule->refcount = 1;
79 _dbus_assert (rule->refcount > 0);
81 rule->refcount += 1;
89 _dbus_assert (rule->refcount > 0);
91 rule->refcount -= 1;
93 if (rule->refcount == 0)
126 int refcount; member in struct:BusPolicy
169 policy->refcount = 1;
193 _dbus_assert (policy->refcount > 0);
195 policy->refcount += 1
681 int refcount; member in struct:BusClientPolicy
    [all...]
services.c 40 int refcount; member in struct:BusService
49 int refcount; member in struct:BusOwner
60 int refcount; member in struct:BusRegistry
80 registry->refcount = 1;
112 _dbus_assert (registry->refcount > 0);
113 registry->refcount += 1;
121 _dbus_assert (registry->refcount > 0);
122 registry->refcount -= 1;
124 if (registry->refcount == 0)
194 result->refcount = 1
    [all...]
  /external/e2fsprogs/lib/ext2fs/
ext2_io.h 51 int refcount; member in struct:struct_io_channel
87 #define io_channel_bumpcount(c) ((c)->refcount++)
ext2fsP.h 70 int refcount; member in struct:ext2_inode_cache
  /external/opencore/oscl/oscl/osclbase/src/
oscl_refcounter.h 465 refcount++;
470 --refcount;
471 if (refcount == 0)
477 return refcount;
481 Oscl_DefAllocWithRefCounter(): refcount(1)
483 uint32 refcount; member in class:Oscl_DefAllocWithRefCounter
  /external/bluetooth/bluez/gdbus/
object.c 41 unsigned int refcount; member in struct:generic_data
340 data->refcount++;
349 data->refcount = 1;
374 data->refcount--;
376 if (data->refcount > 0)
  /external/e2fsprogs/e2fsck/
ea_refcount.c 19 * reference counts. Once the refcount has dropped to zero, it is
35 void ea_refcount_free(ext2_refcount_t refcount)
37 if (!refcount)
40 if (refcount->list)
41 ext2fs_free_mem(&refcount->list);
42 ext2fs_free_mem(&refcount);
47 ext2_refcount_t refcount; local
51 retval = ext2fs_get_mem(sizeof(struct ea_refcount), &refcount);
54 memset(refcount, 0, sizeof(struct ea_refcount));
58 refcount->size = size
388 ext2_refcount_t refcount; local
    [all...]
  /external/srec/srec/include/
astar.h 81 short refcount; member in struct:partial_path_t
  /external/wpa_supplicant/
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) {
  /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 583 milliseconds

1 2 3