Home
last modified time | relevance | path

Searched refs:bb_list (Results 1 – 12 of 12) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dread_bb.c30 ext2_badblocks_list bb_list; member
55 rb->err = ext2fs_badblocks_list_add(rb->bb_list, *block_nr); in mark_bad_block()
64 errcode_t ext2fs_read_bb_inode(ext2_filsys fs, ext2_badblocks_list *bb_list) in ext2fs_read_bb_inode() argument
73 if (!*bb_list) { in ext2fs_read_bb_inode()
87 retval = ext2fs_badblocks_list_create(bb_list, numblocks); in ext2fs_read_bb_inode()
92 rb.bb_list = *bb_list; in ext2fs_read_bb_inode()
Dread_bb_file.c33 ext2_badblocks_list *bb_list, in ext2fs_read_bb_FILE2() argument
48 if (!*bb_list) { in ext2fs_read_bb_FILE2()
49 retval = ext2fs_badblocks_list_create(bb_list, 10); in ext2fs_read_bb_FILE2()
70 retval = ext2fs_badblocks_list_add(*bb_list, blockno); in ext2fs_read_bb_FILE2()
97 ext2_badblocks_list *bb_list, in ext2fs_read_bb_FILE() argument
104 return ext2fs_read_bb_FILE2(fs, f, bb_list, &st, in ext2fs_read_bb_FILE()
Dwrite_bb_file.c17 errcode_t ext2fs_write_bb_FILE(ext2_badblocks_list bb_list, in ext2fs_write_bb_FILE() argument
25 retval = ext2fs_badblocks_list_iterate_begin(bb_list, &bb_iter); in ext2fs_write_bb_FILE()
Dbb_inode.c57 errcode_t ext2fs_update_bb_inode(ext2_filsys fs, ext2_badblocks_list bb_list) in ext2fs_update_bb_inode() argument
101 if (bb_list) { in ext2fs_update_bb_inode()
102 retval = ext2fs_badblocks_list_iterate_begin(bb_list, in ext2fs_update_bb_inode()
Dext2fs.h741 ext2_badblocks_list bb_list);
1417 ext2_badblocks_list *bb_list);
1421 ext2_badblocks_list *bb_list,
1428 ext2_badblocks_list *bb_list,
1468 extern errcode_t ext2fs_write_bb_FILE(ext2_badblocks_list bb_list,
/external/e2fsprogs/e2fsck/
Dbadblocks.c31 badblocks_list bb_list = 0; in read_bad_blocks_file() local
54 retval = ext2fs_read_bb_inode(fs, &bb_list); in read_bad_blocks_file()
86 retval = ext2fs_read_bb_FILE(fs, f, &bb_list, invalid_block); in read_bad_blocks_file()
101 retval = ext2fs_update_bb_inode(fs, bb_list); in read_bad_blocks_file()
108 ext2fs_badblocks_list_free(bb_list); in read_bad_blocks_file()
/external/llvm/bindings/python/llvm/tests/
Dtest_core.py95 bb_list = ['b1', 'b2', 'end']
103 self.assertEqual(bb.name, bb_list[i])
110 self.assertEqual(bb.name, bb_list[i])
/external/e2fsprogs/misc/
Dmke2fs.c190 static void read_bb_file(ext2_filsys fs, badblocks_list *bb_list, in read_bb_file() argument
202 retval = ext2fs_read_bb_FILE(fs, f, bb_list, invalid_block); in read_bb_file()
214 static void test_disk(ext2_filsys fs, badblocks_list *bb_list) in test_disk() argument
231 retval = ext2fs_read_bb_FILE(fs, f, bb_list, invalid_block); in test_disk()
240 static void handle_bad_blocks(ext2_filsys fs, badblocks_list bb_list) in handle_bad_blocks() argument
252 if (!bb_list) in handle_bad_blocks()
261 if (ext2fs_badblocks_list_test(bb_list, i)) { in handle_bad_blocks()
283 if (ext2fs_badblocks_list_test(bb_list, in handle_bad_blocks()
303 retval = ext2fs_badblocks_list_iterate_begin(bb_list, &bb_iter); in handle_bad_blocks()
432 static void create_bad_block_inode(ext2_filsys fs, badblocks_list bb_list) in create_bad_block_inode() argument
[all …]
Dbadblocks.c112 static ext2_badblocks_list bb_list = NULL; variable
150 if (ext2fs_badblocks_list_test(bb_list, bad)) in bb_output()
156 errcode = ext2fs_badblocks_list_add (bb_list, bad); in bb_output()
486 errcode = ext2fs_badblocks_list_iterate_begin(bb_list,&bb_iter); in test_ro()
748 errcode = ext2fs_badblocks_list_iterate_begin(bb_list,&bb_iter); in test_nd()
1267 errcode = ext2fs_badblocks_list_create(&bb_list,0); in main()
1292 errcode = ext2fs_badblocks_list_add(bb_list,next_bad); in main()
Ddumpe2fs.c295 badblocks_list bb_list = 0; in list_bad_blocks() local
301 retval = ext2fs_read_bb_inode(fs, &bb_list); in list_bad_blocks()
306 retval = ext2fs_badblocks_list_iterate_begin(bb_list, &bb_iter); in list_bad_blocks()
325 ext2fs_badblocks_list_free(bb_list); in list_bad_blocks()
Dtune2fs.c1308 ext2_badblocks_list bb_list = 0; in get_move_bitmaps() local
1312 retval = ext2fs_read_bb_inode(fs, &bb_list); in get_move_bitmaps()
1328 if (ext2fs_badblocks_list_test(bb_list, j)) { in get_move_bitmaps()
1329 ext2fs_badblocks_list_free(bb_list); in get_move_bitmaps()
1345 ext2fs_badblocks_list_free(bb_list); in get_move_bitmaps()
/external/e2fsprogs/doc/
Dlibext2fs.texinfo1136 …ftypefun errcode_t ext2fs_update_bb_inode (ext2_filsys @var{fs}, ext2_badblocks_list @var{bb_list})
1139 @deftypefun errcode_t ext2fs_read_bb_inode (ext2_filsys @var{fs}, ext2_badblocks_list *@var{bb_list
1142 …s_read_bb_FILE (ext2_filsys @var{fs}, FILE *f, ext2_badblocks_list *@var{bb_list}, void (*invalid)…