HomeSort by relevance Sort by last modified time
    Searched refs:blk_t (Results 1 - 25 of 45) sorted by null

1 2

  /external/e2fsprogs/lib/ext2fs/
ind_block.c 22 errcode_t ext2fs_read_ind_block(ext2_filsys fs, blk_t blk, void *buf)
26 blk_t *block_nr;
40 block_nr = (blk_t *) buf;
47 errcode_t ext2fs_write_ind_block(ext2_filsys fs, blk_t blk, void *buf)
50 blk_t *block_nr;
59 block_nr = (blk_t *) buf;
bb_compat.c 39 errcode_t badblocks_list_add(badblocks_list bb, blk_t blk)
44 int badblocks_list_test(badblocks_list bb, blk_t blk)
55 int badblocks_list_iterate(badblocks_iterate iter, blk_t *blk)
write_bb_file.c 22 blk_t blk;
bmap.c 31 blk_t block, blk_t *phys_blk);
36 blk_t ind, char *block_buf,
38 blk_t nr, blk_t *ret_blk)
41 blk_t b;
58 ((blk_t *) block_buf)[nr] = b;
62 b = ((blk_t *) block_buf)[nr];
69 b = nr ? ((blk_t *) block_buf)[nr-1] : 0;
76 ((blk_t *) block_buf)[nr] = ext2fs_swab32(b)
    [all...]
bb_inode.c 36 blk_t *ind_blocks;
44 static int set_bad_block_proc(ext2_filsys fs, blk_t *block_nr,
46 blk_t ref_block, int ref_offset,
48 static int clear_bad_block_proc(ext2_filsys fs, blk_t *block_nr,
50 blk_t ref_block, int ref_offset,
70 retval = ext2fs_get_array(rec.max_ind_blocks, sizeof(blk_t),
74 memset(rec.ind_blocks, 0, rec.max_ind_blocks * sizeof(blk_t));
151 static int clear_bad_block_proc(ext2_filsys fs, blk_t *block_nr,
153 blk_t ref_block EXT2FS_ATTR((unused)),
176 old_size = rec->max_ind_blocks * sizeof(blk_t);
    [all...]
read_bb_file.c 36 blk_t blk,
78 void (*invalid)(ext2_filsys, blk_t);
81 static void call_compat_invalid(ext2_filsys fs, blk_t blk,
98 void (*invalid)(ext2_filsys fs, blk_t blk))
tst_badblocks.c 31 blk_t test1[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 0 };
32 blk_t test2[] = { 11, 10, 9, 8, 7, 6, 5, 4, 3, 3, 2, 1 };
33 blk_t test3[] = { 3, 1, 4, 5, 9, 2, 7, 10, 5, 6, 10, 8, 0 };
34 blk_t test4[] = { 20, 50, 12, 17, 13, 2, 66, 23, 56, 0 };
35 blk_t test4a[] = {
50 blk_t test5[] = { 31, 20, 17, 51, 23, 1, 56, 57, 0 };
51 blk_t test5a[] = {
68 static errcode_t create_test_list(blk_t *vec, badblocks_list *ret)
96 blk_t blk;
121 static void validate_test_seq(badblocks_list bb, blk_t *vec
    [all...]
block.c 59 static int block_iterate_ind(blk_t *ind_block, blk_t ref_block,
64 blk_t *block_nr;
94 block_nr = (blk_t *) ctx->ind_buf;
108 offset += sizeof(blk_t);
125 offset += sizeof(blk_t);
148 static int block_iterate_dind(blk_t *dind_block, blk_t ref_block,
153 blk_t *block_nr;
183 block_nr = (blk_t *) ctx->dind_buf
    [all...]
bitops.h 65 extern int ext2fs_mark_block_bitmap(ext2fs_block_bitmap bitmap, blk_t block);
67 blk_t block);
68 extern int ext2fs_test_block_bitmap(ext2fs_block_bitmap bitmap, blk_t block);
76 blk_t block);
78 blk_t block);
80 blk_t block);
88 extern blk_t ext2fs_get_block_bitmap_start(ext2fs_block_bitmap bitmap);
90 extern blk_t ext2fs_get_block_bitmap_end(ext2fs_block_bitmap bitmap);
94 blk_t block, int num);
96 blk_t block, int num)
    [all...]
read_bb.c 40 static int mark_bad_block(ext2_filsys fs, blk_t *block_nr,
42 blk_t ref_block EXT2FS_ATTR((unused)),
69 blk_t numblocks;
ext2fs.h 74 typedef __u32 __bitwise blk_t; typedef
144 blk_t blk;
225 errcode_t (*get_blocks)(ext2_filsys fs, ext2_ino_t ino, blk_t *blocks);
542 #define EXT2FS_COMPRESSED_BLKADDR ((blk_t) -1)
644 extern errcode_t ext2fs_new_block(ext2_filsys fs, blk_t goal,
645 ext2fs_block_bitmap map, blk_t *ret);
648 extern errcode_t ext2fs_get_free_blocks(ext2_filsys fs, blk_t start,
649 blk_t finish, int num,
651 blk_t *ret);
656 extern errcode_t ext2fs_alloc_block(ext2_filsys fs, blk_t goal
    [all...]
tst_getsize.c 31 blk_t blocks;
alloc.c 34 blk_t i;
205 errcode_t ext2fs_new_block(ext2_filsys fs, blk_t goal,
206 ext2fs_block_bitmap map, blk_t *ret)
212 *ret = (blk_t) val;
264 errcode_t ext2fs_alloc_block(ext2_filsys fs, blk_t goal,
265 char *block_buf, blk_t *ret)
271 *ret = (blk_t) val;
308 errcode_t ext2fs_get_free_blocks(ext2_filsys fs, blk_t start, blk_t finish,
309 int num, ext2fs_block_bitmap map, blk_t *ret
    [all...]
punch.c 48 char *block_buf, blk_t *p, int level,
49 blk_t start, blk_t count, int max)
52 blk_t b;
69 blk_t start2;
78 (blk_t *) block_buf, level - 1,
103 char *block_buf, blk_t start, blk_t count)
109 blk_t *bp = inode->i_block;
110 blk_t addr_per_block
    [all...]
badblocks.c 45 retval = ext2fs_get_array(bb->size, sizeof(blk_t), &bb->list);
51 memcpy(bb->list, list, bb->size * sizeof(blk_t));
53 memset(bb->list, 0, bb->size * sizeof(blk_t));
153 errcode_t ext2fs_badblocks_list_add(ext2_badblocks_list bb, blk_t blk)
205 int ext2fs_badblocks_list_test(ext2_badblocks_list bb, blk_t blk)
283 int ext2fs_badblocks_list_iterate(ext2_badblocks_iterate iter, blk_t *blk)
313 if (memcmp(bb1->list, bb2->list, bb1->num * sizeof(blk_t)) != 0)
dirblock.c 61 errcode_t ext2fs_read_dir_block2(ext2_filsys fs, blk_t block,
67 errcode_t ext2fs_read_dir_block(ext2_filsys fs, blk_t block,
115 errcode_t ext2fs_write_dir_block2(ext2_filsys fs, blk_t block,
121 errcode_t ext2fs_write_dir_block(ext2_filsys fs, blk_t block,
closefs.c 68 blk_t *ret_used_blks)
72 blk_t numblocks = 0;
139 blk_t *ret_super_blk,
140 blk_t *ret_old_desc_blk,
141 blk_t *ret_new_desc_blk,
147 blk_t ret_used_blks;
148 blk_t numblocks;
159 *ret_super_blk = (blk_t)ret_super_blk2;
161 *ret_old_desc_blk = (blk_t)ret_old_desc_blk2;
163 *ret_new_desc_blk = (blk_t)ret_new_desc_blk2
    [all...]
ext_attr.c 76 errcode_t ext2fs_read_ext_attr(ext2_filsys fs, blk_t block, void *buf)
105 errcode_t ext2fs_write_ext_attr(ext2_filsys fs, blk_t block, void *inbuf)
151 errcode_t ext2fs_adjust_ea_refcount(ext2_filsys fs, blk_t blk,
alloc_sb.c 48 blk_t used_blks;
bitmaps.c 179 blk_t end, blk_t *oend)
278 blk_t start, unsigned int num,
294 blk_t start, unsigned int num,
brel.h 62 errcode_t (*move)(ext2_brel brel, blk64_t old, blk_t new);
  /external/e2fsprogs/e2fsck/
badblocks.c 16 static int check_bb_inode_blocks(ext2_filsys fs, blk_t *block_nr, int blockcnt,
20 static void invalid_block(ext2_filsys fs EXT2FS_ATTR((unused)), blk_t blk)
118 blk_t *block_nr,
ea_refcount.c 32 blk_t count;
33 blk_t size;
34 blk_t cursor;
117 blk_t new_size = 0;
265 blk_t ext2fs_get_refcount_size(ext2_refcount_t refcount)
397 blk = (blk_t) bcode_program[i++];
406 blk = (blk_t) bcode_program[i++];
416 blk = (blk_t) bcode_program[i++];
426 blk = (blk_t) bcode_program[i++];
  /external/e2fsprogs/tests/progs/
test_rel.c 55 const char *str, blk_t *blk)
92 static void display_brel_entry(blk_t old,
147 blk_t max_blk;
177 blk_t old, new, offset=0, owner=0;
218 blk_t blk;
256 blk_t blk;
278 blk_t blk;
307 blk_t old, new;
332 blk_t blk;
538 blk_t block, offset
    [all...]
  /external/e2fsprogs/misc/
badblocks.c 107 static blk_t currently_testing = 0;
108 static blk_t num_blocks = 0;
109 static blk_t num_read_errors = 0;
110 static blk_t num_write_errors = 0;
111 static blk_t num_corruption_errors = 0;
114 static blk_t next_bad = 0;
146 static int bb_output (blk_t bad, enum error_types error_type)
352 blk_t current_block)
472 static unsigned int test_ro (int dev, blk_t last_block,
473 int block_size, blk_t first_block
    [all...]

Completed in 1175 milliseconds

1 2