/external/e2fsprogs/e2fsck/ |
H A D | ea_refcount.c | 22 * reference counts. Once the refcount has dropped to zero, it is 38 void ea_refcount_free(ext2_refcount_t refcount) argument 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 87 refcount_collapse(ext2_refcount_t refcount) argument 112 insert_refcount_el(ext2_refcount_t refcount, blk64_t blk, int pos) argument 154 get_refcount_el(ext2_refcount_t refcount, blk64_t blk, int create) argument 208 ea_refcount_fetch(ext2_refcount_t refcount, blk64_t blk, int *ret) argument 222 ea_refcount_increment(ext2_refcount_t refcount, blk64_t blk, int *ret) argument 236 ea_refcount_decrement(ext2_refcount_t refcount, blk64_t blk, int *ret) argument 251 ea_refcount_store(ext2_refcount_t refcount, blk64_t blk, int count) argument 265 ext2fs_get_refcount_size(ext2_refcount_t refcount) argument 273 ea_refcount_intr_begin(ext2_refcount_t refcount) argument 279 ea_refcount_intr_next(ext2_refcount_t refcount, int *ret) argument 300 ea_refcount_validate(ext2_refcount_t refcount, FILE *out) argument 371 ext2_refcount_t refcount; local [all...] |
H A D | e2fsck.h | 206 * Define the extended attribute refcount structure 261 ext2_refcount_t refcount; member in struct:e2fsck_struct 437 extern void ea_refcount_free(ext2_refcount_t refcount); 438 extern errcode_t ea_refcount_fetch(ext2_refcount_t refcount, blk64_t blk, int *ret); 439 extern errcode_t ea_refcount_increment(ext2_refcount_t refcount, 441 extern errcode_t ea_refcount_decrement(ext2_refcount_t refcount, 443 extern errcode_t ea_refcount_store(ext2_refcount_t refcount, 445 extern blk_t ext2fs_get_refcount_size(ext2_refcount_t refcount); 446 extern void ea_refcount_intr_begin(ext2_refcount_t refcount); 447 extern blk64_t ea_refcount_intr_next(ext2_refcount_t refcount, in [all...] |
/external/opencv/cxcore/include/ |
H A D | 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( 206 int* refcount; member in class:CvImage [all...] |
/external/qemu/block/ |
H A D | qcow2-refcount.c | 57 /* refcount handling */ 114 * Returns the refcount of the cluster given by its index. Any non-negative 115 * return value is the refcount of the cluster, negative values are -errno 144 * Rounds the refcount table size up to avoid growing the table for each single 145 * refcount block that is allocated. 162 /* Checks if two offsets are described by the same refcount block */ 173 * Loads a refcount block. If it doesn't exist yet, it is allocated first 174 * (including growing the refcount table if needed). 176 * Returns the offset of the refcount block on success or -errno in error case 186 /* Find the refcount bloc 483 int block_index, refcount; local 590 int i, nb_clusters, refcount; local 729 int refcount; local 751 int l2_size, i, j, l1_modified, l2_modified, nb_csectors, refcount; local 940 int i, l2_size, nb_csectors, refcount; local 1028 int i, refcount, ret; local [all...] |
/external/srec/srec/crec/ |
H A D | 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/chromium_org/storage/browser/blob/ |
H A D | view_blob_internals_job.h | 46 int refcount,
|
H A D | blob_storage_context.cc | 42 : refcount(0), flags(0) { 46 int refcount, int flags, BlobData* data) 47 : refcount(refcount), flags(flags), data(data) { 214 ++(found->second.refcount); 222 if (--(found->second.refcount) == 0) { 45 BlobMapEntry( int refcount, int flags, BlobData* data) argument
|
H A D | blob_storage_context.h | 65 int refcount; member in struct:storage::BlobStorageContext::BlobMapEntry 70 BlobMapEntry(int refcount, int flags, BlobData* data);
|
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/svga/drm/ |
H A D | vmw_fence.c | 54 int32_t refcount; member in struct:vmw_fence 88 p_atomic_set(&fence->refcount, 1); 127 if (p_atomic_dec_zero(&vfence->refcount)) { 136 p_atomic_inc(&vfence->refcount);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | span.h | 50 unsigned int refcount : 16; // Number of non-free objects member in struct:tcmalloc::Span
|
H A D | central_freelist.cc | 106 ASSERT(span->refcount > 0); 123 ASSERT(got + span->refcount == 129 span->refcount--; 130 if (span->refcount == 0) { 294 span->refcount++; 346 span->refcount = 0; // No sub-object in use yet
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
H A D | span.h | 50 unsigned int refcount : 16; // Number of non-free objects member in struct:tcmalloc::Span
|
H A D | central_freelist.cc | 106 ASSERT(span->refcount > 0); 123 ASSERT(got + span->refcount == 129 span->refcount--; 130 if (span->refcount == 0) { 296 span->refcount++; 350 span->refcount = 0; // No sub-object in use yet
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
H A D | vmw_fence.c | 54 int32_t refcount; member in struct:vmw_fence 88 p_atomic_set(&fence->refcount, 1); 127 if (p_atomic_dec_zero(&vfence->refcount)) { 136 p_atomic_inc(&vfence->refcount);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/ |
H A D | intel_regions.c | 117 * times on Mesa's behalf, so we refcount our mappings to make sure that 183 region->refcount = 1; 291 *dst, *dst ? (*dst)->refcount : 0, src, src ? src->refcount : 0); 298 src->refcount++; 313 _DBG("%s %p %d\n", __FUNCTION__, region, region->refcount - 1); 315 ASSERT(region->refcount > 0); 316 region->refcount--; 318 if (region->refcount == 0) {
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
H A D | intel_regions.c | 117 * times on Mesa's behalf, so we refcount our mappings to make sure that 183 region->refcount = 1; 291 *dst, *dst ? (*dst)->refcount : 0, src, src ? src->refcount : 0); 298 src->refcount++; 313 _DBG("%s %p %d\n", __FUNCTION__, region, region->refcount - 1); 315 ASSERT(region->refcount > 0); 316 region->refcount--; 318 if (region->refcount == 0) {
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
H A D | intel_regions.c | 117 * times on Mesa's behalf, so we refcount our mappings to make sure that 183 region->refcount = 1; 291 *dst, *dst ? (*dst)->refcount : 0, src, src ? src->refcount : 0); 298 src->refcount++; 313 _DBG("%s %p %d\n", __FUNCTION__, region, region->refcount - 1); 315 ASSERT(region->refcount > 0); 316 region->refcount--; 318 if (region->refcount == 0) {
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
H A D | intel_regions.c | 117 * times on Mesa's behalf, so we refcount our mappings to make sure that 183 region->refcount = 1; 291 *dst, *dst ? (*dst)->refcount : 0, src, src ? src->refcount : 0); 298 src->refcount++; 313 _DBG("%s %p %d\n", __FUNCTION__, region, region->refcount - 1); 315 ASSERT(region->refcount > 0); 316 region->refcount--; 318 if (region->refcount == 0) {
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | intel_regions.c | 117 * times on Mesa's behalf, so we refcount our mappings to make sure that 183 region->refcount = 1; 291 *dst, *dst ? (*dst)->refcount : 0, src, src ? src->refcount : 0); 298 src->refcount++; 313 _DBG("%s %p %d\n", __FUNCTION__, region, region->refcount - 1); 315 ASSERT(region->refcount > 0); 316 region->refcount--; 318 if (region->refcount == 0) {
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
H A D | intel_regions.c | 117 * times on Mesa's behalf, so we refcount our mappings to make sure that 183 region->refcount = 1; 291 *dst, *dst ? (*dst)->refcount : 0, src, src ? src->refcount : 0); 298 src->refcount++; 313 _DBG("%s %p %d\n", __FUNCTION__, region, region->refcount - 1); 315 ASSERT(region->refcount > 0); 316 region->refcount--; 318 if (region->refcount == 0) {
|
/external/opencv/cvaux/src/ |
H A D | cvmat.cpp | 226 refcount = 0; 235 refcount = 0; 244 refcount = 0; 253 refcount = 0; 262 refcount = 0; 271 refcount = 0; 280 refcount = 0; 289 refcount = 0; 298 refcount = 0; 307 refcount [all...] |
/external/wpa_supplicant_8/hostapd/src/l2_packet/ |
H A D | l2_packet_ndis.c | 54 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_8/src/l2_packet/ |
H A D | l2_packet_ndis.c | 54 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_8/wpa_supplicant/src/l2_packet/ |
H A D | l2_packet_ndis.c | 54 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/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
H A D | vbo_save.c | 103 if ( --save->prim_store->refcount == 0 ) { 107 if ( --save->vertex_store->refcount == 0 ) {
|