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

1 2 3 4

  /external/e2fsprogs/lib/ext2fs/
brel.h 13 blk_t new;
17 blk_t block_ref;
31 blk_t current;
37 errcode_t (*put)(ext2_brel brel, blk_t old,
43 errcode_t (*get)(ext2_brel brel, blk_t old,
55 errcode_t (*next)(ext2_brel brel, blk_t *old,
62 errcode_t (*move)(ext2_brel brel, blk_t old, blk_t new);
67 errcode_t (*delete)(ext2_brel brel, blk_t old);
76 errcode_t ext2fs_brel_memarray_create(char *name, blk_t max_block
    [all...]
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;
brel_ma.c 29 static errcode_t bma_put(ext2_brel brel, blk_t old,
31 static errcode_t bma_get(ext2_brel brel, blk_t old,
34 static errcode_t bma_next(ext2_brel brel, blk_t *old,
36 static errcode_t bma_move(ext2_brel brel, blk_t old, blk_t new);
37 static errcode_t bma_delete(ext2_brel brel, blk_t old);
42 blk_t max_block;
46 errcode_t ext2fs_brel_memarray_create(char *name, blk_t max_block,
104 static errcode_t bma_put(ext2_brel brel, blk_t old,
116 static errcode_t bma_get(ext2_brel brel, blk_t old
    [all...]
bitops.h 61 extern int ext2fs_mark_block_bitmap(ext2fs_block_bitmap bitmap, blk_t block);
63 blk_t block);
64 extern int ext2fs_test_block_bitmap(ext2fs_block_bitmap bitmap, blk_t block);
72 blk_t block);
74 blk_t block);
76 blk_t block);
84 extern blk_t ext2fs_get_block_bitmap_start(ext2fs_block_bitmap bitmap);
86 extern blk_t ext2fs_get_block_bitmap_end(ext2fs_block_bitmap bitmap);
90 blk_t block, int num);
92 blk_t block, int num)
    [all...]
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_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)
ext2fsP.h 67 blk_t buffer_blk;
82 blk_t *blocknr,
84 blk_t ref_block,
write_bb_file.c 22 blk_t blk;
read_bb_file.c 36 blk_t blk,
41 blk_t blockno;
75 void (*invalid)(ext2_filsys, blk_t);
78 static void call_compat_invalid(ext2_filsys fs, blk_t blk,
95 void (*invalid)(ext2_filsys fs, blk_t blk))
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,
71 retval = ext2fs_get_array(rec.max_ind_blocks, sizeof(blk_t),
75 memset(rec.ind_blocks, 0, rec.max_ind_blocks * sizeof(blk_t));
152 static int clear_bad_block_proc(ext2_filsys fs, blk_t *block_nr,
154 blk_t ref_block EXT2FS_ATTR((unused)),
177 old_size = rec->max_ind_blocks * sizeof(blk_t);
    [all...]
alloc.c 34 blk_t i;
35 blk_t blk, super_blk, old_desc_blk, new_desc_blk;
148 errcode_t ext2fs_new_block(ext2_filsys fs, blk_t goal,
149 ext2fs_block_bitmap map, blk_t *ret)
151 blk_t i;
187 errcode_t ext2fs_alloc_block(ext2_filsys fs, blk_t goal,
188 char *block_buf, blk_t *ret)
191 blk_t block;
208 block = (blk_t) new;
234 errcode_t ext2fs_get_free_blocks(ext2_filsys fs, blk_t start, blk_t finish
    [all...]
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...]
ext2fs.h 76 typedef __u32 blk_t; typedef
138 blk_t blk;
213 errcode_t (*get_blocks)(ext2_filsys fs, ext2_ino_t ino, blk_t *blocks);
508 #define EXT2FS_COMPRESSED_BLKADDR ((blk_t) -1)
565 extern errcode_t ext2fs_new_block(ext2_filsys fs, blk_t goal,
566 ext2fs_block_bitmap map, blk_t *ret);
567 extern errcode_t ext2fs_get_free_blocks(ext2_filsys fs, blk_t start,
568 blk_t finish, int num,
570 blk_t *ret);
571 extern errcode_t ext2fs_alloc_block(ext2_filsys fs, blk_t goal
    [all...]
block.c 24 blk_t *blocknr,
26 blk_t ref_blk,
59 static int block_iterate_ind(blk_t *ind_block, blk_t ref_block,
64 blk_t *block_nr;
90 block_nr = (blk_t *) ctx->ind_buf;
102 offset += sizeof(blk_t);
117 offset += sizeof(blk_t);
137 static int block_iterate_dind(blk_t *dind_block, blk_t ref_block
    [all...]
check_desc.c 37 blk_t first_block = fs->super->s_first_data_block;
38 blk_t last_block = fs->super->s_blocks_count-1;
39 blk_t blk, b;
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;
dirblock.c 22 errcode_t ext2fs_read_dir_block2(ext2_filsys fs, blk_t block,
61 errcode_t ext2fs_read_dir_block(ext2_filsys fs, blk_t block,
68 errcode_t ext2fs_write_dir_block2(ext2_filsys fs, blk_t block,
110 errcode_t ext2fs_write_dir_block(ext2_filsys fs, blk_t block,
expanddir.c 28 blk_t *blocknr,
30 blk_t ref_block EXT2FS_ATTR((unused)),
35 blk_t new_blk;
36 static blk_t last_blk = 0;
tst_getsize.c 31 blk_t blocks;
alloc_tables.c 36 static blk_t flexbg_offset(ext2_filsys fs, dgrp_t group, blk_t start_blk,
41 blk_t last_blk, first_free = 0;
85 blk_t group_blk, start_blk, last_blk, new_blk, blk;
122 blk_t prev_block = 0;
150 blk_t prev_block = 0;
181 blk_t prev_block = 0;
  /external/e2fsprogs/e2fsck/
ea_refcount.c 27 blk_t ea_blk;
32 blk_t count;
33 blk_t size;
34 blk_t cursor;
113 blk_t blk, int pos)
117 blk_t new_size = 0;
155 blk_t blk, int create)
159 blk_t lowval, highval;
234 errcode_t ea_refcount_fetch(ext2_refcount_t refcount, blk_t blk,
248 errcode_t ea_refcount_increment(ext2_refcount_t refcount, blk_t blk, int *ret
    [all...]
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,
emptydir.c 28 blk_t logblk;
29 blk_t freed_blocks;
119 int empty_pass1(ext2_filsys fs, blk_t *block_nr, e2_blkcnt_t blockcnt,
120 blk_t ref_block, int ref_offset, void *priv_data)
123 blk_t block, new_block;
e2fsck.h 114 blk_t phys;
116 blk_t parent;
214 blk_t use_superblock; /* sb requested by user */
215 blk_t superblock; /* sb used to open fs */
419 extern errcode_t ea_refcount_fetch(ext2_refcount_t refcount, blk_t blk,
422 blk_t blk, int *ret);
424 blk_t blk, int *ret);
426 blk_t blk, int count);
427 extern blk_t ext2fs_get_refcount_size(ext2_refcount_t refcount);
429 extern blk_t ea_refcount_intr_next(ext2_refcount_t refcount, int *ret)
    [all...]
  /external/e2fsprogs/resize/
resize2fs.h 102 blk_t new_blk;
125 extern errcode_t resize_fs(ext2_filsys fs, blk_t *new_size, int flags,
132 blk_t new_size);
133 extern blk_t calculate_minimum_resize_size(ext2_filsys fs);
149 blk_t *new_size, int flags);

Completed in 59 milliseconds

1 2 3 4