Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/ext2fs/
Dread_bb.c31 ext2_badblocks_list bb_list; member
56 rb->err = ext2fs_badblocks_list_add(rb->bb_list, *block_nr); in mark_bad_block()
65 errcode_t ext2fs_read_bb_inode(ext2_filsys fs, ext2_badblocks_list *bb_list) in ext2fs_read_bb_inode() argument
74 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.c34 ext2_badblocks_list *bb_list, in ext2fs_read_bb_FILE2() argument
49 if (!*bb_list) { in ext2fs_read_bb_FILE2()
50 retval = ext2fs_badblocks_list_create(bb_list, 10); in ext2fs_read_bb_FILE2()
71 retval = ext2fs_badblocks_list_add(*bb_list, blockno); in ext2fs_read_bb_FILE2()
98 ext2_badblocks_list *bb_list, in ext2fs_read_bb_FILE() argument
105 return ext2fs_read_bb_FILE2(fs, f, bb_list, &st, in ext2fs_read_bb_FILE()
Dwrite_bb_file.c18 errcode_t ext2fs_write_bb_FILE(ext2_badblocks_list bb_list, in ext2fs_write_bb_FILE() argument
26 retval = ext2fs_badblocks_list_iterate_begin(bb_list, &bb_iter); in ext2fs_write_bb_FILE()
Dbb_inode.c58 errcode_t ext2fs_update_bb_inode(ext2_filsys fs, ext2_badblocks_list bb_list) in ext2fs_update_bb_inode() argument
102 if (bb_list) { in ext2fs_update_bb_inode()
103 retval = ext2fs_badblocks_list_iterate_begin(bb_list, in ext2fs_update_bb_inode()
Dext2fs.h816 ext2_badblocks_list bb_list);
1646 ext2_badblocks_list *bb_list);
1650 ext2_badblocks_list *bb_list,
1657 ext2_badblocks_list *bb_list,
1715 extern errcode_t ext2fs_write_bb_FILE(ext2_badblocks_list bb_list,
/external/e2fsprogs/e2fsck/
Dbadblocks.c32 badblocks_list bb_list = 0; in read_bad_blocks_file() local
55 retval = ext2fs_read_bb_inode(fs, &bb_list); in read_bad_blocks_file()
87 retval = ext2fs_read_bb_FILE(fs, f, &bb_list, invalid_block); in read_bad_blocks_file()
102 retval = ext2fs_update_bb_inode(fs, bb_list); in read_bad_blocks_file()
109 ext2fs_badblocks_list_free(bb_list); in read_bad_blocks_file()
114 if (bb_list) in read_bad_blocks_file()
115 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/swiftshader/third_party/llvm-7.0/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.c227 static void read_bb_file(ext2_filsys fs, badblocks_list *bb_list, in read_bb_file() argument
239 retval = ext2fs_read_bb_FILE(fs, f, bb_list, invalid_block); in read_bb_file()
251 static void test_disk(ext2_filsys fs, badblocks_list *bb_list) in test_disk() argument
268 retval = ext2fs_read_bb_FILE(fs, f, bb_list, invalid_block); in test_disk()
277 static void handle_bad_blocks(ext2_filsys fs, badblocks_list bb_list) in handle_bad_blocks() argument
289 if (!bb_list) in handle_bad_blocks()
298 if (ext2fs_badblocks_list_test(bb_list, i)) { in handle_bad_blocks()
320 if (ext2fs_badblocks_list_test(bb_list, in handle_bad_blocks()
340 retval = ext2fs_badblocks_list_iterate_begin(bb_list, &bb_iter); in handle_bad_blocks()
534 static void create_bad_block_inode(ext2_filsys fs, badblocks_list bb_list) in create_bad_block_inode() argument
[all …]
Dbadblocks.c121 static ext2_badblocks_list bb_list = NULL; variable
159 if (ext2fs_badblocks_list_test(bb_list, bad)) in bb_output()
165 errcode = ext2fs_badblocks_list_add (bb_list, bad); in bb_output()
502 errcode = ext2fs_badblocks_list_iterate_begin(bb_list,&bb_iter); in test_ro()
764 errcode = ext2fs_badblocks_list_iterate_begin(bb_list,&bb_iter); in test_nd()
1293 errcode = ext2fs_badblocks_list_create(&bb_list,0); in main()
1318 errcode = ext2fs_badblocks_list_add(bb_list,next_bad); in main()
Ddumpe2fs.c326 badblocks_list bb_list = 0; in list_bad_blocks() local
332 retval = ext2fs_read_bb_inode(fs, &bb_list); in list_bad_blocks()
337 retval = ext2fs_badblocks_list_iterate_begin(bb_list, &bb_iter); in list_bad_blocks()
356 ext2fs_badblocks_list_free(bb_list); in list_bad_blocks()
Dtune2fs.c2234 ext2_badblocks_list bb_list = 0; in get_move_bitmaps() local
2238 retval = ext2fs_read_bb_inode(fs, &bb_list); in get_move_bitmaps()
2254 if (ext2fs_badblocks_list_test(bb_list, j)) { in get_move_bitmaps()
2255 ext2fs_badblocks_list_free(bb_list); in get_move_bitmaps()
2271 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)…