Searched refs:bb_list (Results 1 - 10 of 10) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
H A Dwrite_bb_file.c17 errcode_t ext2fs_write_bb_FILE(ext2_badblocks_list bb_list, argument
25 retval = ext2fs_badblocks_list_iterate_begin(bb_list, &bb_iter);
H A Dread_bb.c30 ext2_badblocks_list bb_list; member in struct:read_bb_record
55 rb->err = ext2fs_badblocks_list_add(rb->bb_list, *block_nr);
64 errcode_t ext2fs_read_bb_inode(ext2_filsys fs, ext2_badblocks_list *bb_list) argument
73 if (!*bb_list) {
87 retval = ext2fs_badblocks_list_create(bb_list, numblocks);
92 rb.bb_list = *bb_list;
H A Dread_bb_file.c33 ext2_badblocks_list *bb_list,
48 if (!*bb_list) {
49 retval = ext2fs_badblocks_list_create(bb_list, 10);
67 retval = ext2fs_badblocks_list_add(*bb_list, blockno);
94 ext2_badblocks_list *bb_list,
101 return ext2fs_read_bb_FILE2(fs, f, bb_list, &st,
32 ext2fs_read_bb_FILE2(ext2_filsys fs, FILE *f, ext2_badblocks_list *bb_list, void *priv_data, void (*invalid)(ext2_filsys fs, blk_t blk, char *badstr, void *priv_data)) argument
93 ext2fs_read_bb_FILE(ext2_filsys fs, FILE *f, ext2_badblocks_list *bb_list, void (*invalid)(ext2_filsys fs, blk_t blk)) argument
H A Dbb_inode.c57 errcode_t ext2fs_update_bb_inode(ext2_filsys fs, ext2_badblocks_list bb_list) argument
102 if (bb_list) {
103 retval = ext2fs_badblocks_list_iterate_begin(bb_list,
H A Dext2fs.h638 ext2_badblocks_list bb_list);
1100 ext2_badblocks_list *bb_list);
1104 ext2_badblocks_list *bb_list,
1111 ext2_badblocks_list *bb_list,
1142 extern errcode_t ext2fs_write_bb_FILE(ext2_badblocks_list bb_list,
/external/e2fsprogs/e2fsck/
H A Dbadblocks.c31 badblocks_list bb_list = 0; local
54 retval = ext2fs_read_bb_inode(fs, &bb_list);
86 retval = ext2fs_read_bb_FILE(fs, f, &bb_list, invalid_block);
101 retval = ext2fs_update_bb_inode(fs, bb_list);
108 ext2fs_badblocks_list_free(bb_list);
/external/e2fsprogs/misc/
H A Dmke2fs.c180 static void read_bb_file(ext2_filsys fs, badblocks_list *bb_list, argument
192 retval = ext2fs_read_bb_FILE(fs, f, bb_list, invalid_block);
205 static void test_disk(ext2_filsys fs, badblocks_list *bb_list) argument
222 retval = ext2fs_read_bb_FILE(fs, f, bb_list, invalid_block);
232 static void handle_bad_blocks(ext2_filsys fs, badblocks_list bb_list) argument
244 if (!bb_list)
253 if (ext2fs_badblocks_list_test(bb_list, i)) {
275 if (ext2fs_badblocks_list_test(bb_list,
295 retval = ext2fs_badblocks_list_iterate_begin(bb_list, &bb_iter);
482 static void create_bad_block_inode(ext2_filsys fs, badblocks_list bb_list) argument
1979 badblocks_list bb_list = 0; local
[all...]
H A Dbadblocks.c107 static ext2_badblocks_list bb_list = NULL; variable
143 if (ext2fs_badblocks_list_test(bb_list, bad))
149 errcode = ext2fs_badblocks_list_add (bb_list, bad);
156 increment the iteration through the bb_list if
444 errcode = ext2fs_badblocks_list_iterate_begin(bb_list,&bb_iter);
708 errcode = ext2fs_badblocks_list_iterate_begin(bb_list,&bb_iter);
1197 errcode = ext2fs_badblocks_list_create(&bb_list,0);
1213 errcode = ext2fs_badblocks_list_add(bb_list,next_bad);
H A Ddumpe2fs.c254 badblocks_list bb_list = 0; local
260 retval = ext2fs_read_bb_inode(fs, &bb_list);
265 retval = ext2fs_badblocks_list_iterate_begin(bb_list, &bb_iter);
284 ext2fs_badblocks_list_free(bb_list);
H A Dtune2fs.c973 ext2_badblocks_list bb_list = 0; local
977 retval = ext2fs_read_bb_inode(fs, &bb_list);
993 if (ext2fs_badblocks_list_test(bb_list, j)) {
994 ext2fs_badblocks_list_free(bb_list);
1010 ext2fs_badblocks_list_free(bb_list);

Completed in 113 milliseconds