Home
last modified time | relevance | path

Searched refs:last_block (Results 1 – 25 of 49) sorted by relevance

12

/external/ltp/testcases/kernel/fs/mongo/
Dmap5.c17 int last_block; in main() local
40 last_block = 0; in main()
46 last_block = block - 1; in main()
49 if (block != last_block + 1) { in main()
51 totals_block += last_block - first_block + 1; in main()
54 last_block = block; in main()
56 last_block++; in main()
/external/e2fsprogs/misc/
Dbadblocks.c488 static unsigned int test_ro (int dev, blk_t last_block, in test_ro() argument
526 (unsigned long)last_block - 1); in test_ro()
536 num_blocks = last_block - 1; in test_ro()
541 while (currently_testing < last_block) in test_ro()
559 if (currently_testing + try > last_block) in test_ro()
560 try = last_block - currently_testing; in test_ro()
601 static unsigned int test_rw (int dev, blk_t last_block, in test_rw() argument
631 (unsigned long) last_block - 1); in test_rw()
643 num_blocks = last_block - 1; in test_rw()
649 while (currently_testing < last_block) { in test_rw()
[all …]
Dfilefrag.c300 unsigned long i, last_block; in filefrag_fibmap() local
315 for (i = 0, logical = 0, *num_extents = 0, count = last_block = 0; in filefrag_fibmap()
321 if (is_ext2 && last_block) { in filefrag_fibmap()
323 last_block++; in filefrag_fibmap()
325 last_block++; in filefrag_fibmap()
328 last_block++; in filefrag_fibmap()
336 if (*num_extents == 0 || block != last_block + 1 || in filefrag_fibmap()
369 last_block = block; in filefrag_fibmap()
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()
156 blk64_t first_block, last_block; in list_desc() local
193 last_block = ext2fs_group_last_block2(fs, i); in list_desc()
220 print_range(first_block, last_block); in list_desc()
258 first_block, last_block); in list_desc()
269 first_block, last_block); in list_desc()
278 first_block, last_block); in list_desc()
Dmke2fs.c2733 blk64_t block, num_blocks, last_block, next; in fix_cluster_bg_counts() local
2740 last_block = ext2fs_group_last_block2(fs, group); in fix_cluster_bg_counts()
2744 block, last_block, &next); in fix_cluster_bg_counts()
2748 block = last_block + 1; in fix_cluster_bg_counts()
2753 block, last_block, &next); in fix_cluster_bg_counts()
2755 next = last_block + 1; in fix_cluster_bg_counts()
2760 if (block > last_block) { in fix_cluster_bg_counts()
2766 last_block = ext2fs_group_last_block2(fs, group); in fix_cluster_bg_counts()
/external/e2fsprogs/lib/ext2fs/
Dcheck_desc.c39 blk64_t last_block = ext2fs_blocks_count(fs->super)-1; in ext2fs_check_desc() local
58 last_block = ext2fs_group_last_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()
88 ((blk + fs->inode_blocks_per_group - 1) > last_block)) { in ext2fs_check_desc()
/external/boringssl/src/crypto/fipsmodule/rand/
Drand.c69 uint8_t last_block[CRNGT_BLOCK_SIZE]; member
171 if (!hwrand(state->last_block, sizeof(state->last_block))) { in rand_get_seed()
172 CRYPTO_sysrand(state->last_block, sizeof(state->last_block)); in rand_get_seed()
189 if (CRYPTO_memcmp(state->last_block, entropy, CRNGT_BLOCK_SIZE) == 0) { in rand_get_seed()
202 OPENSSL_memcpy(state->last_block, in rand_get_seed()
/external/mesa3d/src/compiler/nir/
Dnir_opt_dead_cf.c90 nir_block *last_block = condition ? nir_if_last_then_block(if_stmt) in opt_constant_if() local
100 if (phi_src->pred != last_block) in opt_constant_if()
119 if (!exec_list_is_empty(&last_block->instr_list)) { in opt_constant_if()
120 nir_instr *last_instr = nir_block_last_instr(last_block); in opt_constant_if()
/external/harfbuzz_ng/src/
Dgen-arabic-table.py89 last_block = None
98 block = blocks.get(u, last_block)
101 if block != last_block or u == start:
108 last_block = block
Dgen-indic-table.py158 last_block = None variable
160 global total, used, last_block
161 if block and block != last_block:
180 last_block = block
Dgen-use-table.py423 last_block = None variable
425 global total, used, last_block
426 if block and block != last_block:
447 last_block = block
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dpayload_splitter.cc49 bool last_block = false; in SplitRed() local
51 while (!last_block) { in SplitRed()
55 last_block = ((*payload_ptr & 0x80) == 0); in SplitRed()
58 if (last_block) { in SplitRed()
/external/v8/src/compiler/
Dlive-range-separator.cc82 const InstructionBlock *last_block = in SplinterLiveRange() local
85 int last_block_nr = last_block->rpo_number().ToInt(); in SplinterLiveRange()
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Dpacket_unittest.cc156 bool last_block = (i == kRedBlocks - 1) ? true : false; in TEST() local
158 payload_type, timestamp_offset, block_length, last_block, payload_ptr); in TEST()
/external/e2fsprogs/e2fsck/
Dpass1.c97 blk64_t last_block; member
1664 pb.num_blocks = pb.last_block = 0; in e2fsck_pass1()
3005 pb->last_block + 1 < extent.e_lblk) { in scan_extent_node()
3008 new_lblk = pb->last_block + 1; in scan_extent_node()
3072 pb->last_block, in scan_extent_node()
3107 pb->last_block = extent.e_lblk + extent.e_len - 1; in scan_extent_node()
3109 start_block = pb->last_block = last_lblk; in scan_extent_node()
3283 pb.last_block = ~0; in check_blocks()
3336 pb.last_init_lblock = pb.last_block; in check_blocks()
3384 e2fsck_add_dx_dir(ctx, ino, pb.last_block+1); in check_blocks()
[all …]
Dsuper.c583 blk64_t first_block, last_block; in check_super_block() local
811 last_block = ext2fs_blocks_count(sb)-1; in check_super_block()
819 last_block = ext2fs_group_last_block2(fs, i); in check_super_block()
823 (ext2fs_block_bitmap_loc(fs, i) > last_block)) { in check_super_block()
833 (ext2fs_inode_bitmap_loc(fs, i) > last_block)) { in check_super_block()
844 fs->inode_blocks_per_group - 1) > last_block)) { in check_super_block()
Dpass3.c780 blk64_t last_block; member
806 es->last_block = blockcnt; in expand_dir_proc()
877 es.last_block = 0; in e2fsck_expand_directory()
897 sz = (es.last_block + 1) * fs->blocksize; in e2fsck_expand_directory()
Djournal.c254 e2_blkcnt_t last_block; member
274 p->last_block = blockcnt; in process_journal_block()
363 pb.last_block = -1; in e2fsck_get_journal()
367 if ((pb.last_block + 1) * ctx->fs->blocksize < in e2fsck_get_journal()
/external/u-boot/drivers/mtd/ubispl/
Dubispl.h43 u32 last_block; member
Dubispl.c186 if (lnum > vi->last_block) in ubi_add_peb_to_vol()
187 vi->last_block = lnum; in ubi_add_peb_to_vol()
855 last = vi->last_block + 1; in ipl_load()
/external/e2fsprogs/debugfs/
Djournal.c266 e2_blkcnt_t last_block; member
286 p->last_block = blockcnt; in process_journal_block()
362 pb.last_block = -1; in ext2fs_get_journal()
366 if ((pb.last_block + 1) * fs->blocksize < in ext2fs_get_journal()
Ddebugfs.c543 blk64_t first_block, last_block; member
556 if (lb->first_block == lb->last_block) in finish_range()
562 lb->first_block, lb->last_block); in finish_range()
580 (lb->last_block+1 == *blocknr) && in list_blocks_proc()
582 lb->last_block = *blocknr; in list_blocks_proc()
590 lb->first_block = lb->last_block = *blocknr; in list_blocks_proc()
/external/selinux/checkpolicy/
Dmodule_compiler.c51 static avrule_block_t *last_block; variable
129 last_block = policydbp->global; in define_policy()
1308 last_block->next = block; in begin_optional()
1311 block = last_block->next; in begin_optional()
1321 last_block = block; in begin_optional()
/external/u-boot/lib/efi_driver/
Defi_block_device.c159 (lbaint_t)io->media->last_block, &bdev); in efi_bl_bind()
/external/zlib/src/contrib/minizip/
Dzip.c126 linkedlist_datablock_internal* last_block; member
215 ll->first_block = ll->last_block = NULL; in init_linkedlist()
221 ll->first_block = ll->last_block = NULL; in free_linkedlist()
233 if (ll->last_block == NULL) in add_data_in_datablock()
235 ll->first_block = ll->last_block = allocate_new_datablock(); in add_data_in_datablock()
240 ldi = ll->last_block; in add_data_in_datablock()
255 ll->last_block = ldi; in add_data_in_datablock()

12