Home
last modified time | relevance | path

Searched refs:bmap (Results 1 – 22 of 22) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dgen_bitmap.c225 ext2fs_generic_bitmap bmap) in ext2fs_resize_generic_bitmap() argument
231 if (!bmap || (bmap->magic != magic)) in ext2fs_resize_generic_bitmap()
238 if (new_end > bmap->end) { in ext2fs_resize_generic_bitmap()
239 bitno = bmap->real_end; in ext2fs_resize_generic_bitmap()
242 for (; bitno > bmap->end; bitno--) in ext2fs_resize_generic_bitmap()
243 ext2fs_clear_bit(bitno - bmap->start, bmap->bitmap); in ext2fs_resize_generic_bitmap()
245 if (new_real_end == bmap->real_end) { in ext2fs_resize_generic_bitmap()
246 bmap->end = new_end; in ext2fs_resize_generic_bitmap()
250 size = ((bmap->real_end - bmap->start) / 8) + 1; in ext2fs_resize_generic_bitmap()
251 new_size = ((new_real_end - bmap->start) / 8) + 1; in ext2fs_resize_generic_bitmap()
[all …]
Dalloc_tables.c37 ext2fs_block_bitmap bmap, int offset, int size, in flexbg_offset() argument
58 if (ext2fs_test_block_bitmap_range(bmap, start_blk + elem_size, in flexbg_offset()
70 if (ext2fs_get_free_blocks(fs, start_blk, last_blk, 1, bmap, in flexbg_offset()
75 bmap, &first_free)) in flexbg_offset()
82 ext2fs_block_bitmap bmap) in ext2fs_allocate_group_table() argument
92 if (!bmap) in ext2fs_allocate_group_table()
93 bmap = fs->block_map; in ext2fs_allocate_group_table()
110 1, bmap, &start_blk); in ext2fs_allocate_group_table()
125 start_blk = flexbg_offset(fs, group, prev_block, bmap, in ext2fs_allocate_group_table()
132 1, bmap, &new_blk); in ext2fs_allocate_group_table()
[all …]
Dcheck_desc.c34 ext2fs_block_bitmap bmap; in ext2fs_check_desc() local
44 retval = ext2fs_allocate_block_bitmap(fs, "check_desc map", &bmap); in ext2fs_check_desc()
49 ext2fs_reserve_super_and_bgd(fs, i, bmap); in ext2fs_check_desc()
65 ext2fs_test_block_bitmap(bmap, blk)) { in ext2fs_check_desc()
69 ext2fs_mark_block_bitmap(bmap, blk); in ext2fs_check_desc()
76 ext2fs_test_block_bitmap(bmap, blk)) { in ext2fs_check_desc()
80 ext2fs_mark_block_bitmap(bmap, blk); in ext2fs_check_desc()
93 if (ext2fs_test_block_bitmap(bmap, b)) { in ext2fs_check_desc()
97 ext2fs_mark_block_bitmap(bmap, b); in ext2fs_check_desc()
101 ext2fs_free_block_bitmap(bmap); in ext2fs_check_desc()
Dbitmaps.c120 ext2fs_inode_bitmap bmap) in ext2fs_resize_inode_bitmap() argument
123 new_end, new_real_end, bmap)); in ext2fs_resize_inode_bitmap()
127 ext2fs_block_bitmap bmap) in ext2fs_resize_block_bitmap() argument
130 new_end, new_real_end, bmap)); in ext2fs_resize_block_bitmap()
149 errcode_t ext2fs_set_inode_bitmap_range(ext2fs_inode_bitmap bmap, in ext2fs_set_inode_bitmap_range() argument
153 return (ext2fs_set_generic_bitmap_range(bmap, in ext2fs_set_inode_bitmap_range()
158 errcode_t ext2fs_get_inode_bitmap_range(ext2fs_inode_bitmap bmap, in ext2fs_get_inode_bitmap_range() argument
162 return (ext2fs_get_generic_bitmap_range(bmap, in ext2fs_get_inode_bitmap_range()
167 errcode_t ext2fs_set_block_bitmap_range(ext2fs_block_bitmap bmap, in ext2fs_set_block_bitmap_range() argument
171 return (ext2fs_set_generic_bitmap_range(bmap, in ext2fs_set_block_bitmap_range()
[all …]
Dalloc_sb.c45 ext2fs_block_bitmap bmap) in ext2fs_reserve_super_and_bgd() argument
60 ext2fs_mark_block_bitmap(bmap, super_blk); in ext2fs_reserve_super_and_bgd()
63 if (fs->super->s_reserved_gdt_blocks && fs->block_map == bmap) in ext2fs_reserve_super_and_bgd()
67 ext2fs_mark_block_bitmap(bmap, in ext2fs_reserve_super_and_bgd()
71 ext2fs_mark_block_bitmap(bmap, new_desc_blk); in ext2fs_reserve_super_and_bgd()
Dimager.c280 ext2fs_generic_bitmap bmap; in ext2fs_image_bitmap_write() local
293 bmap = fs->inode_map; in ext2fs_image_bitmap_write()
304 bmap = fs->block_map; in ext2fs_image_bitmap_write()
317 retval = ext2fs_get_generic_bitmap_range(bmap, in ext2fs_image_bitmap_write()
357 ext2fs_generic_bitmap bmap; in ext2fs_image_bitmap_read() local
370 bmap = fs->inode_map; in ext2fs_image_bitmap_read()
381 bmap = fs->block_map; in ext2fs_image_bitmap_read()
399 retval = ext2fs_set_generic_bitmap_range(bmap, in ext2fs_image_bitmap_read()
Dext2fs.h584 ext2fs_block_bitmap bmap);
602 ext2fs_block_bitmap bmap);
674 ext2fs_inode_bitmap bmap);
676 ext2fs_block_bitmap bmap);
681 extern errcode_t ext2fs_set_inode_bitmap_range(ext2fs_inode_bitmap bmap,
684 extern errcode_t ext2fs_get_inode_bitmap_range(ext2fs_inode_bitmap bmap,
687 extern errcode_t ext2fs_set_block_bitmap_range(ext2fs_block_bitmap bmap,
690 extern errcode_t ext2fs_get_block_bitmap_range(ext2fs_block_bitmap bmap,
934 ext2fs_generic_bitmap bmap);
938 extern errcode_t ext2fs_get_generic_bitmap_range(ext2fs_generic_bitmap bmap,
[all …]
DAndroid.mk14 bmap.c \
DMakefile.in30 bmap.o \
91 $(srcdir)/bmap.c \
443 bmap.o: $(srcdir)/bmap.c $(srcdir)/ext2_fs.h \
/external/iptables/include/linux/netfilter/
Dxt_TCPOPTSTRIP.h4 #define tcpoptstrip_set_bit(bmap, idx) \ argument
5 (bmap[(idx) >> 5] |= 1U << (idx & 31))
6 #define tcpoptstrip_test_bit(bmap, idx) \ argument
7 (((1U << (idx & 31)) & bmap[(idx) >> 5]) != 0)
/external/e2fsprogs/misc/
Dtune2fs.c1019 ext2fs_block_bitmap bmap) in get_move_bitmaps() argument
1048 ext2fs_mark_block_bitmap(bmap, j); in get_move_bitmaps()
1093 static int move_block(ext2_filsys fs, ext2fs_block_bitmap bmap) in move_block() argument
1109 if (!ext2fs_test_block_bitmap(bmap, blk)) in move_block()
1187 ext2fs_block_bitmap bmap = (ext2fs_block_bitmap) priv_data; in process_block() local
1189 if (!ext2fs_test_block_bitmap(bmap, *block_nr)) in process_block()
1203 static int inode_scan_and_fix(ext2_filsys fs, ext2fs_block_bitmap bmap) in inode_scan_and_fix() argument
1239 ext2fs_test_block_bitmap(bmap, inode.i_file_acl)) { in inode_scan_and_fix()
1259 process_block, bmap); in inode_scan_and_fix()
1276 static int group_desc_scan_and_fix(ext2_filsys fs, ext2fs_block_bitmap bmap) in group_desc_scan_and_fix() argument
[all …]
/external/e2fsprogs/resize/
Dresize2fs.c684 ext2fs_block_bitmap bmap) in mark_table_blocks() argument
699 ext2fs_reserve_super_and_bgd(fs, i, bmap); in mark_table_blocks()
707 ext2fs_mark_block_bitmap(bmap, b); in mark_table_blocks()
712 ext2fs_mark_block_bitmap(bmap, in mark_table_blocks()
718 ext2fs_mark_block_bitmap(bmap, in mark_table_blocks()
1124 retval = ext2fs_create_extent_table(&rfs->bmap, 0); in block_mover()
1152 ext2fs_add_extent_entry(rfs->bmap, blk, new_blk); in block_mover()
1157 if (rfs->bmap) { in block_mover()
1158 ext2fs_free_extent_table(rfs->bmap); in block_mover()
1159 rfs->bmap = 0; in block_mover()
[all …]
Dresize2fs.h93 ext2_extent bmap; member
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/windows/gdi/
Dwgl.c407 unsigned char *bmap; in wglUseFontBitmaps_FX() local
442 bmap = malloc(numBytes); in wglUseFontBitmaps_FX()
445 res = GetDIBits(bitDevice, bitObject, 0, bmapHeight, bmap, in wglUseFontBitmaps_FX()
454 bmap); in wglUseFontBitmaps_FX()
462 free(bmap); in wglUseFontBitmaps_FX()
/external/mesa3d/src/mesa/drivers/windows/gdi/
Dwgl.c407 unsigned char *bmap; in wglUseFontBitmaps_FX() local
442 bmap = malloc(numBytes); in wglUseFontBitmaps_FX()
445 res = GetDIBits(bitDevice, bitObject, 0, bmapHeight, bmap, in wglUseFontBitmaps_FX()
454 bmap); in wglUseFontBitmaps_FX()
462 free(bmap); in wglUseFontBitmaps_FX()
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
Dfuse.h194 int (*bmap)(const char*, size_t blocksize, uint64_t* idx); member
/external/e2fsprogs/tests/f_resize_inode/
Dscript71 echo "debugfs -R ''set_inode_field <7> bmap[524] 57'' -w $TMPFILE" > $OUT.new
72 $DEBUGFS -R "set_inode_field <7> bmap[524] 57" -w $TMPFILE >> $OUT.new 2>&1
Dexpect85 debugfs -R ''set_inode_field <7> bmap[524] 57'' -w ./test.img
/external/e2fsprogs/debugfs/
Ddebug_cmds.ct149 bmap;
/external/kernel-headers/original/linux/
Dfs.h611 sector_t (*bmap)(struct address_space *, sector_t); member
2212 extern sector_t bmap(struct inode *, sector_t);
/external/e2fsprogs/doc/
Dlibext2fs.texinfo1066 …ze_generic_bitmap (__u32 @var{new_end}, __u32 @var{new_real_end}, ext2fs_generic_bitmap @var{bmap})
1069 …resize_inode_bitmap (__u32 @var{new_end}, __u32 @var{new_real_end}, ext2fs_inode_bitmap @var{bmap})
1072 …resize_block_bitmap (__u32 @var{new_end}, __u32 @var{new_real_end}, ext2fs_block_bitmap @var{bmap})
/external/e2fsprogs/
DRELEASE-NOTES4144 Added a bmap command to debugfs which calculates the logical to