Home
last modified time | relevance | path

Searched refs:first_block (Results 1 – 25 of 50) sorted by relevance

12

/external/ltp/testcases/kernel/fs/mongo/
Dmap5.c16 int first_block; in main() local
39 first_block = 0; in main()
45 if (first_block == 0) { in main()
47 first_block = block; in main()
51 totals_block += last_block - first_block + 1; in main()
53 first_block = block; in main()
/external/protobuf/src/google/protobuf/
Darena.cc70 Block* first_block = reinterpret_cast<Block*>(options_.initial_block); in Init() local
71 first_block->size = options_.initial_block_size; in Init()
72 first_block->pos = kHeaderSize; in Init()
73 first_block->next = NULL; in Init()
77 first_block->owner = &thread_cache(); in Init()
78 SetThreadCacheBlock(first_block); in Init()
79 AddBlockInternal(first_block); in Init()
268 Block* first_block = NULL; in FreeBlocks() local
279 first_block = b; in FreeBlocks()
289 first_block->pos = kHeaderSize; in FreeBlocks()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dcheck_desc.c38 blk64_t first_block = fs->super->s_first_data_block; in ext2fs_check_desc() local
57 first_block = ext2fs_group_first_block2(fs, i); in ext2fs_check_desc()
65 if (blk < first_block || blk > last_block || in ext2fs_check_desc()
76 if (blk < first_block || blk > last_block || in ext2fs_check_desc()
87 if (blk < first_block || in ext2fs_check_desc()
/external/e2fsprogs/misc/
Ddumpe2fs.c140 blk64_t first_block, blk64_t last_block) in print_bg_rel_offset() argument
142 if ((block >= first_block) && (block <= last_block)) { in print_bg_rel_offset()
143 if (itable && block == first_block) in print_bg_rel_offset()
145 printf(" (+%u)", (unsigned)(block - first_block)); in print_bg_rel_offset()
156 blk64_t first_block, last_block; in list_desc() local
184 first_block = fs->super->s_first_data_block; in list_desc()
192 first_block = ext2fs_group_first_block2(fs, i); in list_desc()
199 printf("%lu:%llu:", i, first_block); in list_desc()
220 print_range(first_block, last_block); in list_desc()
258 first_block, last_block); in list_desc()
[all …]
Dbadblocks.c489 int block_size, blk_t first_block, in test_ro() argument
510 } while (next_bad && next_bad < first_block); in test_ro()
525 (unsigned long)first_block, in test_ro()
535 currently_testing = first_block; in test_ro()
602 int block_size, blk_t first_block, in test_rw() argument
630 (unsigned long) first_block, in test_rw()
644 currently_testing = first_block; in test_rw()
686 currently_testing = first_block; in test_rw()
742 int block_size, blk_t first_block, in test_nd() argument
772 } while (next_bad && next_bad < first_block); in test_nd()
[all …]
De2image.c400 blk64_t first_block, b; in mark_table_blocks() local
403 first_block = fs->super->s_first_data_block; in mark_table_blocks()
407 ext2fs_mark_block_bitmap2(meta_block_map, first_block); in mark_table_blocks()
415 ext2fs_descriptor_block_loc2(fs, first_block, j)); in mark_table_blocks()
/external/e2fsprogs/e2fsck/
Dpass1b.c1020 blk64_t first_block; in check_if_fs_block() local
1023 first_block = fs->super->s_first_data_block; in check_if_fs_block()
1028 if (test_block >= first_block && in check_if_fs_block()
1029 (test_block <= first_block + fs->desc_blocks)) in check_if_fs_block()
1045 first_block += fs->super->s_blocks_per_group; in check_if_fs_block()
1057 blk64_t first_block; in check_if_fs_cluster() local
1060 first_block = fs->super->s_first_data_block; in check_if_fs_cluster()
1065 if (cluster >= EXT2FS_B2C(fs, first_block) && in check_if_fs_cluster()
1066 (cluster <= EXT2FS_B2C(fs, first_block + in check_if_fs_cluster()
1087 first_block += fs->super->s_blocks_per_group; in check_if_fs_cluster()
Dsuper.c583 blk64_t first_block, last_block; in check_super_block() local
810 first_block = sb->s_first_data_block; in check_super_block()
818 first_block = ext2fs_group_first_block2(fs, i); in check_super_block()
822 if ((ext2fs_block_bitmap_loc(fs, i) < first_block) || in check_super_block()
832 if ((ext2fs_inode_bitmap_loc(fs, i) < first_block) || in check_super_block()
842 if ((ext2fs_inode_table_loc(fs, i) < first_block) || in check_super_block()
Dpass1.c3799 blk64_t first_block; in process_bad_block() local
3862 first_block = fs->super->s_first_data_block; in process_bad_block()
3869 if (blk == first_block) { in process_bad_block()
3882 if ((blk > first_block) && in process_bad_block()
3883 (blk <= first_block + fs->desc_blocks)) { in process_bad_block()
3921 first_block += fs->super->s_blocks_per_group; in process_bad_block()
3949 static void new_table_block(e2fsck_t ctx, blk64_t first_block, dgrp_t group, in new_table_block() argument
3977 first_block = ext2fs_group_first_block2(fs, in new_table_block()
3985 pctx.errcode = ext2fs_get_free_blocks2(fs, first_block, last_block, in new_table_block()
4047 blk64_t first_block; in handle_fs_bad_blocks() local
[all …]
/external/boringssl/src/crypto/cipher_extra/
Dtls_cbc.c407 uint8_t first_block[MAX_HASH_BLOCK_SIZE]; in EVP_tls_cbc_digest_record() local
408 OPENSSL_memcpy(first_block, header, 13); in EVP_tls_cbc_digest_record()
409 OPENSSL_memcpy(first_block + 13, data, md_block_size - 13); in EVP_tls_cbc_digest_record()
410 md_transform(&md_state, first_block); in EVP_tls_cbc_digest_record()
/external/mesa3d/src/compiler/nir/
Dnir_control_flow.c327 nir_block *first_block = nir_loop_first_block(next_loop); in block_add_normal_succs() local
329 link_blocks(block, first_block, NULL); in block_add_normal_succs()
330 insert_phi_undef(first_block, block); in block_add_normal_succs()
467 nir_block *first_block = nir_loop_first_block(loop); in nir_handle_add_jump() local
468 link_blocks(block, first_block, NULL); in nir_handle_add_jump()
/external/deqp-deps/SPIRV-Tools/source/val/
Dfunction.cpp54 return !ordered_blocks_.empty() && *first_block() == block_id; in IsFirstBlock()
205 const BasicBlock* Function::first_block() const { in first_block() function in spvtools::val::Function
209 BasicBlock* Function::first_block() { in first_block() function in spvtools::val::Function
Dfunction.h121 const BasicBlock* first_block() const;
124 BasicBlock* first_block();
Dvalidate.cpp127 assert(func.first_block()); in PrintBlocks()
130 _.getIdName(func.first_block()->id()).c_str()); in PrintBlocks()
147 if (func.first_block()) { in UNUSED()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_flow.c463 LLVMBasicBlockRef first_block = LLVMGetEntryBasicBlock(function); in create_builder_at_entry() local
464 LLVMValueRef first_instr = LLVMGetFirstInstruction(first_block); in create_builder_at_entry()
470 LLVMPositionBuilderAtEnd(first_builder, first_block); in create_builder_at_entry()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dfunction.cpp54 return !ordered_blocks_.empty() && *first_block() == block_id; in IsFirstBlock()
205 const BasicBlock* Function::first_block() const { in first_block() function in spvtools::val::Function
209 BasicBlock* Function::first_block() { in first_block() function in spvtools::val::Function
Dfunction.h121 const BasicBlock* first_block() const;
124 BasicBlock* first_block();
Dvalidate.cpp127 assert(func.first_block()); in PrintBlocks()
130 _.getIdName(func.first_block()->id()).c_str()); in PrintBlocks()
147 if (func.first_block()) { in UNUSED()
/external/v8/src/compiler/
Dlive-range-separator.cc80 const InstructionBlock *first_block = in SplinterLiveRange() local
84 int first_block_nr = first_block->rpo_number().ToInt(); in SplinterLiveRange()
/external/kernel-headers/original/uapi/linux/
Defs_fs_sb.h53 __u32 first_block; /* first data block in filesystem */ member
/external/tensorflow/tensorflow/core/platform/cloud/
Dram_file_block_cache_test.cc199 bool first_block = false; in TEST() local
201 auto fetcher = [block_size, file_size, &first_block, &second_block]( in TEST()
211 first_block = true; in TEST()
225 EXPECT_TRUE(first_block); in TEST()
/external/libchrome/base/metrics/
Dpersistent_memory_allocator.cc366 volatile BlockHeader* const first_block = in PersistentMemoryAllocator() local
379 first_block->size != 0 || in PersistentMemoryAllocator()
380 first_block->cookie != 0 || in PersistentMemoryAllocator()
381 first_block->type_id.load(std::memory_order_relaxed) != 0 || in PersistentMemoryAllocator()
382 first_block->next != 0) { in PersistentMemoryAllocator()
/external/e2fsprogs/debugfs/
Dlogdump.c603 __u32 first_block) in show_extent() argument
605 if (start_extent >= 0 && first_block != 0) in show_extent()
607 start_extent, end_extent-start_extent, first_block); in show_extent()
Ddebugfs.c543 blk64_t first_block, last_block; member
550 if (lb->first_block == 0) in finish_range()
556 if (lb->first_block == lb->last_block) in finish_range()
558 (long long)lb->first_bcnt, lb->first_block); in finish_range()
562 lb->first_block, lb->last_block); in finish_range()
563 lb->first_block = 0; in finish_range()
579 if (lb->first_block && in list_blocks_proc()
590 lb->first_block = lb->last_block = *blocknr; in list_blocks_proc()
631 lb.first_block = 0; in dump_blocks()
/external/zlib/src/contrib/minizip/
Dzip.c125 linkedlist_datablock_internal* first_block; member
215 ll->first_block = ll->last_block = NULL; in init_linkedlist()
220 free_datablock(ll->first_block); in free_linkedlist()
221 ll->first_block = ll->last_block = NULL; in free_linkedlist()
235 ll->first_block = ll->last_block = allocate_new_datablock(); in add_data_in_datablock()
236 if (ll->first_block == NULL) in add_data_in_datablock()
1909 linkedlist_datablock_internal* ldi = zi->central_dir.first_block; in zipClose()

12