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

1 2 3 4

  /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...]
e2fsck.h 186 * Define the extended attribute refcount structure
235 ext2_refcount_t refcount; member in struct:e2fsck_struct
401 extern void ea_refcount_free(ext2_refcount_t refcount);
402 extern errcode_t ea_refcount_fetch(ext2_refcount_t refcount, blk_t blk,
404 extern errcode_t ea_refcount_increment(ext2_refcount_t refcount,
406 extern errcode_t ea_refcount_decrement(ext2_refcount_t refcount,
408 extern errcode_t ea_refcount_store(ext2_refcount_t refcount,
410 extern blk_t ext2fs_get_refcount_size(ext2_refcount_t refcount);
411 extern void ea_refcount_intr_begin(ext2_refcount_t refcount);
412 extern blk_t ea_refcount_intr_next(ext2_refcount_t refcount, int *ret)
    [all...]
e2fsck.c 88 if (ctx->refcount) {
89 ea_refcount_free(ctx->refcount);
90 ctx->refcount = 0;
  /external/dbus/dbus/
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-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-server.c 101 server->refcount.value = 1;
196 /** Function to be called in protected_change_watch() with refcount held */
199 /** Function to be called in protected_change_watch() with refcount held */
202 /** Function to be called in protected_change_watch() with refcount held */
312 /** Function to be called in protected_change_timeout() with refcount held */
315 /** Function to be called in protected_change_timeout() with refcount held */
318 /** Function to be called in protected_change_timeout() with refcount held */
435 _dbus_assert (server->refcount.value > 0);
440 _dbus_atomic_inc (&server->refcount);
442 _dbus_assert (server->refcount.value > 0)
    [all...]
dbus-dataslot.h 49 int refcount; /**< Number of uses of the slot */ member in struct:DBusAllocatedSlot
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-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)
dbus-mainloop.c 56 int refcount; member in struct:DBusLoop
73 int refcount; member in struct:__anon3368
115 cb->callback.refcount = 1;
139 cb->callback.refcount = 1;
150 _dbus_assert (cb->refcount > 0);
152 cb->refcount += 1;
160 _dbus_assert (cb->refcount > 0);
162 cb->refcount -= 1;
164 if (cb->refcount == 0)
225 loop->refcount = 1
    [all...]
dbus-dataslot.c 57 * not -1, this function just increments the refcount for
93 allocator->allocated_slots[slot].refcount += 1;
108 allocator->allocated_slots[slot].refcount = 1;
132 allocator->allocated_slots[slot].refcount = 1;
139 _dbus_assert (allocator->allocated_slots[slot].refcount == 1);
170 _dbus_assert (allocator->allocated_slots[*slot_id_p].refcount > 0);
172 allocator->allocated_slots[*slot_id_p].refcount -= 1;
174 if (allocator->allocated_slots[*slot_id_p].refcount > 0)
180 /* refcount is 0, free the slot */
dbus-userdb.c 448 db->refcount = 1;
493 * Increments refcount of user database.
500 _dbus_assert (db->refcount > 0);
502 db->refcount += 1;
509 * Decrements refcount of user database.
515 _dbus_assert (db->refcount > 0);
517 db->refcount -= 1;
518 if (db->refcount == 0)
  /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...]
  /frameworks/base/media/libstagefright/
MediaBufferGroup.cpp 37 CHECK_EQ(buffer->refcount(), 0);
64 if (buffer->refcount() == 0) {
  /external/srec/srec/crec/
srec_tokens.c 278 awtoken->refcount = 0;
309 awtoken->refcount = 1;
318 ASSERT(old_token->refcount >= 1);
319 if (--old_token->refcount <= 0)
326 return old_token->refcount; /* return zero if truly freed */
332 ASSERT(old_token->refcount >= 1);
333 if (--old_token->refcount <= 0)
339 /* *(ddp++) = '0' + awtoken->refcount; */
  /external/qemu/block/
qcow2-refcount.c 35 /* refcount handling */
136 /* Note: we cannot update the refcount now to avoid recursion */
173 /* Find L1 index and grow refcount table if needed */
181 /* Load or allocate the refcount block */
184 /* create a new refcount block */
185 /* Note: we cannot update the refcount now to avoid recursion */
233 /* XXX: cache several refcount block clusters ? */
255 int block_index, refcount; local
258 /* Only write refcount block to disk when we are done with it */
273 /* Load the refcount block and allocate it if needed *
449 int refcount; local
471 int l2_size, i, j, l1_modified, l2_modified, nb_csectors, refcount; local
637 int i, l2_size, nb_csectors, refcount; local
722 int i, refcount, ret; local
    [all...]
  /external/e2fsprogs/lib/ext2fs/
ext2fsP.h 70 int refcount; member in struct:ext2_inode_cache
ext2_io.h 51 int refcount; member in struct:struct_io_channel
87 #define io_channel_bumpcount(c) ((c)->refcount++)
  /external/dbus/bus/
activation.c 46 int refcount; member in struct:BusActivation
60 int refcount; member in struct:__anon3303
67 int refcount; member in struct:__anon3304
87 int refcount; member in struct:__anon3305
102 _dbus_assert (dir->refcount);
104 dir->refcount++;
116 _dbus_assert (dir->refcount > 0);
117 dir->refcount--;
119 if (dir->refcount > 0)
154 _dbus_assert (pending_activation->refcount > 0)
    [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...]
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...]
  /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 622 milliseconds

1 2 3 4