Home
last modified time | relevance | path

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

/external/e2fsprogs/misc/
Dbadblocks.c330 static unsigned int test_ro (int dev, unsigned long last_block, in test_ro() argument
362 last_block - 1); in test_ro()
372 num_blocks = last_block - 1; in test_ro()
378 while (currently_testing < last_block) in test_ro()
390 if (currently_testing + try > last_block) in test_ro()
391 try = last_block - currently_testing; in test_ro()
433 static unsigned int test_rw (int dev, unsigned long last_block, in test_rw() argument
457 from_count, last_block); in test_rw()
469 num_blocks = last_block - 1; in test_rw()
475 while (currently_testing < last_block) { in test_rw()
[all …]
Dfilefrag.c86 unsigned long block, last_block = 0, numblocks, i; local
152 if (is_ext2 && last_block) {
154 last_block++;
156 last_block++;
158 last_block++;
163 if (last_block && (block != last_block +1) ) {
166 i, block, last_block);
169 last_block = block;
Ddumpe2fs.c133 blk_t first_block, last_block; in list_desc() local
157 last_block = ext2fs_group_last_block(fs, i); in list_desc()
163 print_range(first_block, last_block); in list_desc()
/external/e2fsprogs/lib/ext2fs/
Dcheck_desc.c36 blk_t last_block; in ext2fs_check_desc() local
42 last_block = ext2fs_group_last_block(fs, i); in ext2fs_check_desc()
49 fs->group_desc[i].bg_block_bitmap > last_block) in ext2fs_check_desc()
56 fs->group_desc[i].bg_inode_bitmap > last_block) in ext2fs_check_desc()
64 fs->inode_blocks_per_group - 1) > last_block)) in ext2fs_check_desc()
/external/e2fsprogs/e2fsck/
Dpass1.c85 e2_blkcnt_t last_block; member
668 pb.num_blocks = pb.last_block = 0; in e2fsck_pass1()
1488 pb.last_block = -1; in check_blocks()
1563 pb.last_block--; in check_blocks()
1565 pb.last_block = entry->blockcnt; in check_blocks()
1575 e2fsck_add_dx_dir(ctx, ino, pb.last_block+1); in check_blocks()
1601 ino, inode->i_size, pb.last_block, inode->i_blocks, in check_blocks()
1608 else if (nblock > (pb.last_block + 1)) in check_blocks()
1610 else if (nblock < (pb.last_block + 1)) { in check_blocks()
1611 if (((pb.last_block + 1) - nblock) > in check_blocks()
[all …]
Dsuper.c458 blk_t first_block, last_block; in check_super_block() local
583 last_block = ext2fs_group_last_block(fs, i); in check_super_block()
586 (gd->bg_block_bitmap > last_block)) { in check_super_block()
596 (gd->bg_inode_bitmap > last_block)) { in check_super_block()
607 fs->inode_blocks_per_group - 1) > last_block)) { in check_super_block()
Dpass3.c694 int last_block; member
719 es->last_block = blockcnt; in expand_dir_proc()
786 es.last_block = 0; in e2fsck_expand_directory()
804 inode.i_size = (es.last_block + 1) * fs->blocksize; in e2fsck_expand_directory()
Djournal.c196 e2_blkcnt_t last_block; member
216 p->last_block = blockcnt; in process_journal_block()
303 pb.last_block = -1; in e2fsck_get_journal()
307 if ((pb.last_block+1) * ctx->fs->blocksize < in e2fsck_get_journal()
/external/grub/stage2/
Dgunzip.c149 static int last_block; variable
1079 last_block = (int) b & 1; in get_new_block()
1114 if (last_block) in inflate_window()
1173 last_block = 0; in initialize_tables()
/external/zlib/contrib/minizip/
Dzip.c109 linkedlist_datablock_internal* last_block; member
189 ll->first_block = ll->last_block = NULL;
196 ll->first_block = ll->last_block = NULL;
211 if (ll->last_block == NULL)
213 ll->first_block = ll->last_block = allocate_new_datablock();
218 ldi = ll->last_block;
233 ll->last_block = ldi;
/external/e2fsprogs/debugfs/
Ddebugfs.c367 blk_t first_block, last_block; member
380 if (lb->first_block == lb->last_block) in finish_range()
386 lb->first_block, lb->last_block); in finish_range()
404 (lb->last_block+1 == *blocknr) && in list_blocks_proc()
406 lb->last_block = *blocknr; in list_blocks_proc()
414 lb->first_block = lb->last_block = *blocknr; in list_blocks_proc()
/external/e2fsprogs/po/
De2fsprogs.pot2754 " device [last_block [start_block]]\n"
Dca.po2759 " device [last_block [start_block]]\n"
Dde.po2897 " device [last_block [start_block]]\n"
Dnl.po2894 " device [last_block [start_block]]\n"
Dsv.po2900 " device [last_block [start_block]]\n"
Dit.po2986 " device [last_block [start_block]]\n"
Dpl.po2883 " device [last_block [start_block]]\n"
Dcs.po2889 " device [last_block [start_block]]\n"
Dtr.po2979 " device [last_block [start_block]]\n"
Dvi.po2886 " device [last_block [start_block]]\n"