Home
last modified time | relevance | path

Searched refs:bmap (Results 1 – 24 of 24) 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.h574 ext2fs_block_bitmap bmap);
592 ext2fs_block_bitmap bmap);
664 ext2fs_inode_bitmap bmap);
666 ext2fs_block_bitmap bmap);
671 extern errcode_t ext2fs_set_inode_bitmap_range(ext2fs_inode_bitmap bmap,
674 extern errcode_t ext2fs_get_inode_bitmap_range(ext2fs_inode_bitmap bmap,
677 extern errcode_t ext2fs_set_block_bitmap_range(ext2fs_block_bitmap bmap,
680 extern errcode_t ext2fs_get_block_bitmap_range(ext2fs_block_bitmap bmap,
924 ext2fs_generic_bitmap bmap);
928 extern errcode_t ext2fs_get_generic_bitmap_range(ext2fs_generic_bitmap bmap,
[all …]
DAndroid.mk14 bmap.c \
DMakefile.in30 bmap.o \
90 $(srcdir)/bmap.c \
437 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/qemu/distrib/sdl-1.2.12/src/video/cybergfx/
DSDL_cgxaccel.c66 if(lock=LockBitMapTags(surface->hwdata->bmap,LBMI_BASEADDRESS,(ULONG)&surface->pixels, in CGX_SetHWColorKey()
214 BMKBRP(src->hwdata->bmap,srcrect->x,srcrect->y, in CGX_HWAccelBlit()
225 temprp.BitMap=(struct BitMap *)dst->hwdata->bmap; in CGX_HWAccelBlit()
227 BMKBRP(src->hwdata->bmap,srcrect->x,srcrect->y, in CGX_HWAccelBlit()
235 …BBRP(src->hwdata->bmap,srcrect->x,srcrect->y,SDL_RastPort,dstrect->x+SDL_Window->BorderLeft,dstrec… in CGX_HWAccelBlit()
238 …BBB(src->hwdata->bmap,srcrect->x,srcrect->y,dst->hwdata->bmap,dstrect->x,dstrect->y,srcrect->w,src… in CGX_HWAccelBlit()
257 temprp.BitMap=(struct BitMap *)dst->hwdata->bmap; in CGX_FillHWRect()
DSDL_cgximage.c66 screen->hwdata->bmap=SDL_RastPort->BitMap; in CGX_SetupImage()
69 if(!(screen->hwdata->lock=LockBitMapTags(screen->hwdata->bmap, in CGX_SetupImage()
173 …if(surface->hwdata->bmap=AllocBitMap(surface->w,surface->h,this->hidden->depth,BMF_MINPLANES,SDL_D… in CGX_AllocHWSurface()
197 if(surface->hwdata->bmap&&surface->hwdata->allocated) in CGX_FreeHWSurface()
198 FreeBitMap(surface->hwdata->bmap); in CGX_FreeHWSurface()
217 if(!(surface->hwdata->lock=LockBitMapTags(surface->hwdata->bmap, in CGX_LockHWSurface()
262 surface->hwdata->bmap=SDL_RastPort->BitMap=this->hidden->SB[current]->sb_BitMap; in CGX_FlipHWSurface()
DSDL_cgxvideo.h162 struct BitMap *bmap; member
/external/e2fsprogs/misc/
Dtune2fs.c969 ext2fs_block_bitmap bmap) in get_move_bitmaps() argument
998 ext2fs_mark_block_bitmap(bmap, j); in get_move_bitmaps()
1043 static int move_block(ext2_filsys fs, ext2fs_block_bitmap bmap) in move_block() argument
1059 if (!ext2fs_test_block_bitmap(bmap, blk)) in move_block()
1137 ext2fs_block_bitmap bmap = (ext2fs_block_bitmap) priv_data; in process_block() local
1139 if (!ext2fs_test_block_bitmap(bmap, *block_nr)) in process_block()
1153 static int inode_scan_and_fix(ext2_filsys fs, ext2fs_block_bitmap bmap) in inode_scan_and_fix() argument
1189 ext2fs_test_block_bitmap(bmap, inode.i_file_acl)) { in inode_scan_and_fix()
1209 process_block, bmap); in inode_scan_and_fix()
1226 static int group_desc_scan_and_fix(ext2_filsys fs, ext2fs_block_bitmap bmap) in group_desc_scan_and_fix() argument
[all …]
/external/e2fsprogs/e2fsck/
Dswapfs.c205 static void ext2fs_swap_bitmap(ext2fs_generic_bitmap bmap) in ext2fs_swap_bitmap() argument
207 __u32 *p = (__u32 *) bmap->bitmap; in ext2fs_swap_bitmap()
208 int n, nbytes = (bmap->end - bmap->start + 7) / 8; in ext2fs_swap_bitmap()
/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/webkit/Source/WebCore/platform/graphics/cg/
DImageCG.cpp115 …RetainPtr<CGContextRef> bmap(AdoptCF, CGBitmapContextCreate(pixel, 1, 1, 8, sizeof(pixel), deviceR… in checkForSolidColor() local
117 if (!bmap) in checkForSolidColor()
119 GraphicsContext(bmap.get()).setCompositeOperation(CompositeCopy); in checkForSolidColor()
121 CGContextDrawImage(bmap.get(), dst, image); in checkForSolidColor()
/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.h375 sector_t (*bmap)(struct address_space *, sector_t); member
1549 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-NOTES3860 Added a bmap command to debugfs which calculates the logical to