Home
last modified time | relevance | path

Searched refs:max_blocks (Results 1 – 13 of 13) sorted by relevance

/third_party/boost/libs/interprocess/test/
Dnode_pool_test.hpp75 const std::size_t max_blocks = 10; in deallocate_free_blocks() local
76 const std::size_t max_nodes = max_blocks*pool.get_real_num_node(); in deallocate_free_blocks()
99 for(std::size_t i = 0; i < max_blocks; ++i){ in deallocate_free_blocks()
104 if(max_blocks*(node_i+1) != pool.num_free_nodes()){ in deallocate_free_blocks()
114 if(max_blocks*(node_i+1) != pool.num_free_nodes()){ in deallocate_free_blocks()
/third_party/e2fsprogs/lib/ext2fs/
Dinitialize.c63 unsigned long max_blocks = 0xffffffff; in calc_reserved_gdt_blocks() local
70 if (ext2fs_blocks_count(sb) < max_blocks / 1024) in calc_reserved_gdt_blocks()
71 max_blocks = ext2fs_blocks_count(sb) * 1024; in calc_reserved_gdt_blocks()
76 rsv_groups = ext2fs_div_ceil(max_blocks - sb->s_first_data_block, bpg); in calc_reserved_gdt_blocks()
82 max_blocks, rsv_groups, rsv_gdb); in calc_reserved_gdt_blocks()
Dalloc.c411 blk64_t max_blocks = ext2fs_blocks_count(fs->super); in ext2fs_new_range() local
448 max_blocks - 1, in ext2fs_new_range()
468 b = min(start + len - 1, max_blocks - 1); in ext2fs_new_range()
496 if (start >= max_blocks) { in ext2fs_new_range()
Dfallocate.c696 blk64_t max_blocks = ext2fs_blocks_count(fs->super); in extent_fallocate() local
701 goal, max_blocks - 1, &goal); in extent_fallocate()
/third_party/skia/third_party/externals/freetype/src/base/
Dftdbgmem.c63 FT_Long max_blocks; /* max. number of allocated blocks */ member
444 node->max_blocks = 0; in ft_mem_table_get_source()
516 if ( source->cur_blocks > source->max_blocks ) in ft_mem_table_set()
517 source->max_blocks = source->cur_blocks; in ft_mem_table_set()
952 source->cur_blocks, source->max_blocks, in FT_DumpMemory()
/third_party/mbedtls/include/mbedtls/
Dmemory_buffer_alloc.h101 void mbedtls_memory_buffer_alloc_max_get( size_t *max_used, size_t *max_blocks );
/third_party/freetype/src/base/
Dftdbgmem.c63 FT_Long max_blocks; /* max. number of allocated blocks */ member
488 node->max_blocks = 0; in ft_mem_table_get_source()
560 if ( source->cur_blocks > source->max_blocks ) in ft_mem_table_set()
561 source->max_blocks = source->cur_blocks; in ft_mem_table_set()
982 source->cur_blocks, source->max_blocks, in FT_DumpMemory()
/third_party/flutter/skia/third_party/externals/freetype/src/base/
Dftdbgmem.c63 FT_Long max_blocks; /* max. number of allocated blocks */ member
488 node->max_blocks = 0; in ft_mem_table_get_source()
560 if ( source->cur_blocks > source->max_blocks ) in ft_mem_table_set()
561 source->max_blocks = source->cur_blocks; in ft_mem_table_set()
980 source->cur_blocks, source->max_blocks, in FT_DumpMemory()
/third_party/libsnd/src/
Dpaf.c62 { int max_blocks, channels, blocksize ; member
394 ppaf24->max_blocks = psf->datalength / ppaf24->blocksize + 1 ; in paf24_init()
397 ppaf24->max_blocks = psf->datalength / ppaf24->blocksize ; in paf24_init()
401 ppaf24->write_block = ppaf24->max_blocks ; in paf24_init()
405 psf->sf.frames = PAF24_SAMPLES_PER_BLOCK * ppaf24->max_blocks ; in paf24_init()
/third_party/mbedtls/programs/test/
Dbenchmark.c187 size_t max_used, max_blocks, max_bytes; \
193 mbedtls_memory_buffer_alloc_max_get( &max_used, &max_blocks ); \
197 max_blocks -= prv_blocks; \
198 max_bytes = max_used + MEM_BLOCK_OVERHEAD * max_blocks; \
/third_party/mbedtls/library/
Dmemory_buffer_alloc.c525 void mbedtls_memory_buffer_alloc_max_get( size_t *max_used, size_t *max_blocks ) in mbedtls_memory_buffer_alloc_max_get() argument
528 *max_blocks = heap.maximum_header_count; in mbedtls_memory_buffer_alloc_max_get()
/third_party/e2fsprogs/misc/
Dfuse2fs.c3211 blk64_t start, end, max_blocks, b, cleared; in ioctl_fitrim() local
3229 max_blocks = 2048ULL * 1024 * 1024 / fs->blocksize; in ioctl_fitrim()
3240 b = start + max_blocks < end ? start + max_blocks : end; in ioctl_fitrim()
/third_party/e2fsprogs/e2fsck/
Dpass1.c99 blk64_t max_blocks; member
3380 pb.max_blocks = 1U << (31 - fs->super->s_log_block_size); in check_blocks()
3739 if (p->is_dir && p->num_blocks + 1 >= p->max_blocks) in process_block()
3741 if (p->is_reg && p->num_blocks + 1 >= p->max_blocks) in process_block()