Home
last modified time | relevance | path

Searched refs:inuse (Results 1 – 25 of 26) sorted by relevance

12

/external/e2fsprogs/lib/ext2fs/
Dalloc_stats.c19 int inuse, int isdir) in ext2fs_inode_alloc_stats2() argument
30 if (inuse > 0) in ext2fs_inode_alloc_stats2()
34 ext2fs_bg_free_inodes_count_set(fs, group, ext2fs_bg_free_inodes_count(fs, group) - inuse); in ext2fs_inode_alloc_stats2()
36 ext2fs_bg_used_dirs_count_set(fs, group, ext2fs_bg_used_dirs_count(fs, group) + inuse); in ext2fs_inode_alloc_stats2()
51 fs->super->s_free_inodes_count -= inuse; in ext2fs_inode_alloc_stats2()
56 void ext2fs_inode_alloc_stats(ext2_filsys fs, ext2_ino_t ino, int inuse) in ext2fs_inode_alloc_stats() argument
58 ext2fs_inode_alloc_stats2(fs, ino, inuse, 0); in ext2fs_inode_alloc_stats()
61 void ext2fs_block_alloc_stats2(ext2_filsys fs, blk64_t blk, int inuse) in ext2fs_block_alloc_stats2() argument
72 if (inuse > 0) in ext2fs_block_alloc_stats2()
76 ext2fs_bg_free_blocks_count_set(fs, group, ext2fs_bg_free_blocks_count(fs, group) - inuse); in ext2fs_block_alloc_stats2()
[all …]
Dext2fs.h279 void (*block_alloc_stats)(ext2_filsys fs, blk64_t blk, int inuse);
306 int inuse);
731 blk_t num, int inuse),
733 blk_t num, int inuse));
753 int inuse),
756 int inuse));
759 void ext2fs_inode_alloc_stats(ext2_filsys fs, ext2_ino_t ino, int inuse);
761 int inuse, int isdir);
762 void ext2fs_block_alloc_stats(ext2_filsys fs, blk_t blk, int inuse);
763 void ext2fs_block_alloc_stats2(ext2_filsys fs, blk64_t blk, int inuse);
[all …]
Dgen_bitmap64.c185 double inuse; in ext2fs_print_bmap_statistics() local
209 inuse = (double) now.tv_sec + \ in ext2fs_print_bmap_statistics()
211 inuse -= (double) stats->created.tv_sec + \ in ext2fs_print_bmap_statistics()
239 stats->mark_back, mark_back_perc, inuse); in ext2fs_print_bmap_statistics()
/external/skia/src/compute/skc/
Dsuballocator.c151 assert(avail->inuse == 0); in skc_suballocator_subbuf_alloc()
163 avail->inuse += 1; in skc_suballocator_subbuf_alloc()
165 assert(avail->inuse == 1); in skc_suballocator_subbuf_alloc()
193 assert(spare->inuse == 0); in skc_suballocator_subbuf_alloc()
215 spare->inuse += 1; in skc_suballocator_subbuf_alloc()
244 assert(subbuf->inuse == 1); in skc_suballocator_subbuf_free()
256 if (((prev = subbuf->prev) != NULL) && !prev->inuse) in skc_suballocator_subbuf_free()
260 if ((next != NULL) && !next->inuse) in skc_suballocator_subbuf_free()
262 subbuf->inuse -= 1; in skc_suballocator_subbuf_free()
264 assert(next->inuse == 0); in skc_suballocator_subbuf_free()
[all …]
Dsuballocator.h57 skc_uint inuse; member
/external/skqp/src/compute/skc/
Dsuballocator.c151 assert(avail->inuse == 0); in skc_suballocator_subbuf_alloc()
163 avail->inuse += 1; in skc_suballocator_subbuf_alloc()
165 assert(avail->inuse == 1); in skc_suballocator_subbuf_alloc()
193 assert(spare->inuse == 0); in skc_suballocator_subbuf_alloc()
215 spare->inuse += 1; in skc_suballocator_subbuf_alloc()
244 assert(subbuf->inuse == 1); in skc_suballocator_subbuf_free()
256 if (((prev = subbuf->prev) != NULL) && !prev->inuse) in skc_suballocator_subbuf_free()
260 if ((next != NULL) && !next->inuse) in skc_suballocator_subbuf_free()
262 subbuf->inuse -= 1; in skc_suballocator_subbuf_free()
264 assert(next->inuse == 0); in skc_suballocator_subbuf_free()
[all …]
Dsuballocator.h57 skc_uint inuse; member
/external/zopfli/src/zopfli/
Dkatajainen.c39 char inuse; /* Tracking for garbage collection. */ member
58 node->inuse = 1; in InitNode()
73 pool->nodes[i].inuse = 0; in GetFreeNode()
79 node->inuse = 1; in GetFreeNode()
85 if (!pool->next->inuse) break; /* Found one. */ in GetFreeNode()
231 pool.nodes[i].inuse = 0; in ZopfliLengthLimitedCodeLengths()
/external/curl/lib/
Dhostip.c363 dns->inuse++; /* we use it! */ in Curl_fetch_addr()
476 dns->inuse = 1; /* the cache has the first reference */ in Curl_cache_addr()
491 dns->inuse++; /* mark entry as in-use */ in Curl_cache_addr()
535 dns->inuse++; /* we use it! */ in Curl_resolv()
826 DEBUGASSERT(dns && (dns->inuse>0)); in freednsentry()
828 dns->inuse--; in freednsentry()
829 if(dns->inuse == 0) { in freednsentry()
1025 dns->inuse--; in Curl_loadhostpairs()
Dhostip.h71 long inuse; member
Dconncache.c622 fprintf(stderr, " [%p %d]", (void *)conn, conn->inuse);
Durl.c3455 hostaddr->inuse++; in resolve_server()
/external/python/cpython3/Lib/distutils/command/
Dbdist_msi.py501 inuse = PyDialog(db, "FilesInUse",
506 inuse.text("Title", 15, 6, 200, 15, 0x30003,
508 inuse.text("Description", 20, 23, 280, 20, 0x30003,
510 inuse.text("Text", 20, 55, 330, 50, 3,
512 inuse.control("List", "ListBox", 20, 107, 330, 130, 7, "FileInUseProcess",
514 c=inuse.back("Exit", "Ignore", name="Exit")
516 c=inuse.next("Ignore", "Retry", name="Ignore")
518 c=inuse.cancel("Retry", "Exit", name="Retry")
/external/python/cpython2/Lib/distutils/command/
Dbdist_msi.py502 inuse = PyDialog(db, "FilesInUse",
507 inuse.text("Title", 15, 6, 200, 15, 0x30003,
509 inuse.text("Description", 20, 23, 280, 20, 0x30003,
511 inuse.text("Text", 20, 55, 330, 50, 3,
513 inuse.control("List", "ListBox", 20, 107, 330, 130, 7, "FileInUseProcess",
515 c=inuse.back("Exit", "Ignore", name="Exit")
517 c=inuse.next("Ignore", "Retry", name="Ignore")
519 c=inuse.cancel("Retry", "Exit", name="Retry")
/external/skqp/src/compute/skc/platforms/cl_12/
Druntime_cl_12.c265 skc_uint const inuse = runtime->config->block_pool.pool_size - available; in skc_runtime_cl_12_debug() local
273 inuse, in skc_runtime_cl_12_debug()
274 (inuse * runtime->config->block.bytes) / (1024.0*1024.0)); in skc_runtime_cl_12_debug()
/external/skia/src/compute/skc/platforms/cl_12/
Druntime_cl_12.c265 skc_uint const inuse = runtime->config->block_pool.pool_size - available; in skc_runtime_cl_12_debug() local
273 inuse, in skc_runtime_cl_12_debug()
274 (inuse * runtime->config->block.bytes) / (1024.0*1024.0)); in skc_runtime_cl_12_debug()
/external/python/cpython2/Tools/msi/
Dmsi.py543 inuse = PyDialog(db, "FilesInUse",
548 inuse.text("Title", 15, 6, 200, 15, 0x30003,
550 inuse.text("Description", 20, 23, 280, 20, 0x30003,
552 inuse.text("Text", 20, 55, 330, 50, 3,
554 inuse.control("List", "ListBox", 20, 107, 330, 130, 7, "FileInUseProcess",
556 c=inuse.back("Exit", "Ignore", name="Exit")
558 c=inuse.next("Ignore", "Retry", name="Ignore")
560 c=inuse.cancel("Retry", "Exit", name="Retry")
/external/u-boot/common/
Ddlmalloc.c420 #define inuse(p)\ macro
761 assert(!inuse(p));
772 assert (next == top || inuse(next));
792 assert(inuse(p));
809 else if (!inuse(next))
1725 if (next == top || !inuse(next))
2246 if (!inuse(p)) return 0;
2280 q < top && inuse(q) && (long)(chunksize(q)) >= (long)MINSIZE; in malloc_update_mallinfo()
Ddlmalloc.src595 int ordblks; /* number of non-inuse chunks */
602 int fordblks; /* total non-inuse space */
1226 foot size or inuse information.
1337 /* extract p's inuse bit */
1339 #define inuse(p)\
1342 /* extract inuse bit of previous chunk */
1358 /* check/set/clear inuse bits in known places */
1626 assert(!inuse(p));
1637 assert (next == top || inuse(next));
1657 assert(inuse(p));
[all …]
/external/android-clat/
Dconfig.c239 int inuse = connect(s, (struct sockaddr *)&sin, sizeof(sin)) == 0 && in connect_is_ipv4_address_free() local
244 return !inuse; in connect_is_ipv4_address_free()
/external/curl/tests/unit/
Dunit1305.c132 data_node->inuse = 1; /* hash will hold the reference */
/external/lua/src/
Dldo.c222 int inuse = stackinuse(L); in luaD_shrinkstack() local
223 int goodsize = inuse + (inuse / 8) + 2*EXTRA_STACK; in luaD_shrinkstack()
232 if (inuse <= (LUAI_MAXSTACK - EXTRA_STACK) && in luaD_shrinkstack()
Dlapi.c105 int inuse = cast_int(L->top - L->stack) + EXTRA_STACK; in lua_checkstack() local
106 if (inuse > LUAI_MAXSTACK - n) /* can grow without overflow? */ in lua_checkstack()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tile_cache.c447 int inuse = 0, pos; in sp_flush_tile_cache() local
459 ++inuse; in sp_flush_tile_cache()
474 debug_printf("flushed tiles in use: %d\n", inuse); in sp_flush_tile_cache()
/external/e2fsprogs/e2fsck/
Dpass1.c4267 static void e2fsck_block_alloc_stats(ext2_filsys fs, blk64_t blk, int inuse) in e2fsck_block_alloc_stats() argument
4274 inuse < 0 && in e2fsck_block_alloc_stats()
4279 if (inuse > 0) in e2fsck_block_alloc_stats()
4287 blk_t num, int inuse) in e2fsck_block_alloc_stats_range() argument
4294 inuse < 0 && in e2fsck_block_alloc_stats_range()
4299 if (inuse > 0) in e2fsck_block_alloc_stats_range()

12