/external/e2fsprogs/lib/ext2fs/ |
D | gen_bitmap64.c | 243 void ext2fs_free_generic_bmap(ext2fs_generic_bitmap bmap) in ext2fs_free_generic_bmap() argument 245 if (!bmap) in ext2fs_free_generic_bmap() 248 if (EXT2FS_IS_32_BITMAP(bmap)) { in ext2fs_free_generic_bmap() 249 ext2fs_free_generic_bitmap(bmap); in ext2fs_free_generic_bmap() 253 if (!EXT2FS_IS_64_BITMAP(bmap)) in ext2fs_free_generic_bmap() 258 ext2fs_print_bmap_statistics(bmap); in ext2fs_free_generic_bmap() 259 bmap->bitmap_ops->print_stats(bmap); in ext2fs_free_generic_bmap() 263 bmap->bitmap_ops->free_bmap(bmap); in ext2fs_free_generic_bmap() 265 if (bmap->description) { in ext2fs_free_generic_bmap() 266 ext2fs_free_mem(&bmap->description); in ext2fs_free_generic_bmap() [all …]
|
D | bitmaps.c | 126 ext2fs_generic_bitmap bmap; in ext2fs_allocate_subcluster_bitmap() local 146 end, real_end, descr, &bmap); in ext2fs_allocate_subcluster_bitmap() 149 bmap->cluster_bits = 0; in ext2fs_allocate_subcluster_bitmap() 150 *ret = bmap; in ext2fs_allocate_subcluster_bitmap() 156 ext2fs_generic_bitmap bmap = bitmap; in ext2fs_get_bitmap_granularity() local 158 if (!EXT2FS_IS_64_BITMAP(bmap)) in ext2fs_get_bitmap_granularity() 161 return bmap->cluster_bits; in ext2fs_get_bitmap_granularity() 206 ext2fs_inode_bitmap bmap) in ext2fs_resize_inode_bitmap() argument 209 new_end, new_real_end, bmap)); in ext2fs_resize_inode_bitmap() 213 ext2fs_inode_bitmap bmap) in ext2fs_resize_inode_bitmap2() argument [all …]
|
D | gen_bitmap.c | 41 #define EXT2FS_IS_32_BITMAP(bmap) \ argument 42 (((bmap)->magic == EXT2_ET_MAGIC_GENERIC_BITMAP) || \ 43 ((bmap)->magic == EXT2_ET_MAGIC_BLOCK_BITMAP) || \ 44 ((bmap)->magic == EXT2_ET_MAGIC_INODE_BITMAP)) 46 #define EXT2FS_IS_64_BITMAP(bmap) \ argument 47 (((bmap)->magic == EXT2_ET_MAGIC_GENERIC_BITMAP64) || \ 48 ((bmap)->magic == EXT2_ET_MAGIC_BLOCK_BITMAP64) || \ 49 ((bmap)->magic == EXT2_ET_MAGIC_INODE_BITMAP64)) 304 ext2fs_generic_bitmap bmap) in ext2fs_resize_generic_bitmap() argument 310 if (!bmap || (bmap->magic != magic)) in ext2fs_resize_generic_bitmap() [all …]
|
D | alloc_tables.c | 38 ext2fs_block_bitmap bmap, int rem_grp, in flexbg_offset() argument 56 if (start_blk && ext2fs_test_block_bitmap_range2(bmap, start_blk, in flexbg_offset() 68 bmap, &first_free) == 0) in flexbg_offset() 72 bmap, &first_free) == 0) in flexbg_offset() 75 if (ext2fs_get_free_blocks2(fs, 0, last_blk, elem_size, bmap, in flexbg_offset() 83 ext2fs_block_bitmap bmap) in ext2fs_allocate_group_table() argument 94 if (!bmap) in ext2fs_allocate_group_table() 95 bmap = fs->block_map; in ext2fs_allocate_group_table() 112 1, bmap, &start_blk); in ext2fs_allocate_group_table() 128 start_blk = flexbg_offset(fs, group, prev_block, bmap, in ext2fs_allocate_group_table() [all …]
|
D | check_desc.c | 34 ext2fs_block_bitmap bmap; in ext2fs_check_desc() local 47 retval = ext2fs_allocate_subcluster_bitmap(fs, "check_desc map", &bmap); in ext2fs_check_desc() 52 ext2fs_reserve_super_and_bgd(fs, i, bmap); in ext2fs_check_desc() 66 ext2fs_test_block_bitmap2(bmap, blk)) { in ext2fs_check_desc() 70 ext2fs_mark_block_bitmap2(bmap, blk); in ext2fs_check_desc() 77 ext2fs_test_block_bitmap2(bmap, blk)) { in ext2fs_check_desc() 81 ext2fs_mark_block_bitmap2(bmap, blk); in ext2fs_check_desc() 94 if (ext2fs_test_block_bitmap2(bmap, b)) { in ext2fs_check_desc() 98 ext2fs_mark_block_bitmap2(bmap, b); in ext2fs_check_desc() 102 ext2fs_free_block_bitmap(bmap); in ext2fs_check_desc()
|
D | bmap64.h | 56 #define EXT2FS_IS_32_BITMAP(bmap) \ argument 57 (((bmap)->magic == EXT2_ET_MAGIC_GENERIC_BITMAP) || \ 58 ((bmap)->magic == EXT2_ET_MAGIC_BLOCK_BITMAP) || \ 59 ((bmap)->magic == EXT2_ET_MAGIC_INODE_BITMAP)) 61 #define EXT2FS_IS_64_BITMAP(bmap) \ argument 62 (((bmap)->magic == EXT2_ET_MAGIC_GENERIC_BITMAP64) || \ 63 ((bmap)->magic == EXT2_ET_MAGIC_BLOCK_BITMAP64) || \ 64 ((bmap)->magic == EXT2_ET_MAGIC_INODE_BITMAP64)) 69 errcode_t (*new_bmap)(ext2_filsys fs, ext2fs_generic_bitmap bmap);
|
D | alloc_sb.c | 45 ext2fs_block_bitmap bmap) in ext2fs_reserve_super_and_bgd() argument 61 ext2fs_mark_block_bitmap2(bmap, super_blk); in ext2fs_reserve_super_and_bgd() 64 ext2fs_mark_block_bitmap2(bmap, 0); in ext2fs_reserve_super_and_bgd() 67 if (fs->super->s_reserved_gdt_blocks && fs->block_map == bmap) in ext2fs_reserve_super_and_bgd() 73 ext2fs_mark_block_bitmap_range2(bmap, old_desc_blk, num_blocks); in ext2fs_reserve_super_and_bgd() 76 ext2fs_mark_block_bitmap2(bmap, new_desc_blk); in ext2fs_reserve_super_and_bgd()
|
D | blkmap64_ba.c | 123 static errcode_t ba_resize_bmap(ext2fs_generic_bitmap bmap, in ba_resize_bmap() argument 126 ext2fs_ba_private bp = (ext2fs_ba_private) bmap->private; in ba_resize_bmap() 135 if (new_end > bmap->end) { in ba_resize_bmap() 136 bitno = bmap->real_end; in ba_resize_bmap() 139 for (; bitno > bmap->end; bitno--) in ba_resize_bmap() 140 ext2fs_clear_bit64(bitno - bmap->start, bp->bitarray); in ba_resize_bmap() 142 if (new_real_end == bmap->real_end) { in ba_resize_bmap() 143 bmap->end = new_end; in ba_resize_bmap() 147 size = ((bmap->real_end - bmap->start) / 8) + 1; in ba_resize_bmap() 148 new_size = ((new_real_end - bmap->start) / 8) + 1; in ba_resize_bmap() [all …]
|
D | imager.c | 285 ext2fs_generic_bitmap bmap; in ext2fs_image_bitmap_write() local 298 bmap = fs->inode_map; in ext2fs_image_bitmap_write() 308 bmap = fs->block_map; in ext2fs_image_bitmap_write() 320 retval = ext2fs_get_generic_bmap_range(bmap, itr, in ext2fs_image_bitmap_write() 360 ext2fs_generic_bitmap bmap; in ext2fs_image_bitmap_read() local 373 bmap = fs->inode_map; in ext2fs_image_bitmap_read() 383 bmap = fs->block_map; in ext2fs_image_bitmap_read() 400 retval = ext2fs_set_generic_bmap_range(bmap, itr, in ext2fs_image_bitmap_read()
|
D | ext2fsP.h | 116 ext2fs_generic_bitmap *bmap); 118 extern void ext2fs_free_generic_bmap(ext2fs_generic_bitmap bmap); 123 extern errcode_t ext2fs_resize_generic_bmap(ext2fs_generic_bitmap bmap,
|
D | ext2fs.h | 676 ext2fs_block_bitmap bmap); 695 ext2fs_block_bitmap bmap); 773 ext2fs_inode_bitmap bmap); 776 ext2fs_inode_bitmap bmap); 778 ext2fs_block_bitmap bmap); 781 ext2fs_block_bitmap bmap); 786 extern errcode_t ext2fs_set_inode_bitmap_range(ext2fs_inode_bitmap bmap, 789 extern errcode_t ext2fs_set_inode_bitmap_range2(ext2fs_inode_bitmap bmap, 792 extern errcode_t ext2fs_get_inode_bitmap_range(ext2fs_inode_bitmap bmap, 795 extern errcode_t ext2fs_get_inode_bitmap_range2(ext2fs_inode_bitmap bmap, [all …]
|
D | blkmap64_rb.c | 297 static errcode_t rb_resize_bmap(ext2fs_generic_bitmap bmap, in rb_resize_bmap() argument 302 if (new_real_end >= bmap->real_end) { in rb_resize_bmap() 303 bmap->end = new_end; in rb_resize_bmap() 304 bmap->real_end = new_real_end; in rb_resize_bmap() 308 bp = (struct ext2fs_rb_private *) bmap->private; in rb_resize_bmap() 315 bmap->end = new_end; in rb_resize_bmap() 316 bmap->real_end = new_real_end; in rb_resize_bmap()
|
D | Makefile.pq | 13 bmap.obj \
|
D | tst_bitmaps.c | 249 void dump_bitmap(ext2fs_generic_bitmap bmap, unsigned int start, unsigned num) in dump_bitmap() argument 261 retval = ext2fs_get_generic_bmap_range(bmap, (__u64) start, num, buf); in dump_bitmap()
|
D | Android.mk | 17 bmap.c \
|
/external/iptables/include/linux/netfilter/ |
D | xt_TCPOPTSTRIP.h | 6 #define tcpoptstrip_set_bit(bmap, idx) \ argument 7 (bmap[(idx) >> 5] |= 1U << (idx & 31)) 8 #define tcpoptstrip_test_bit(bmap, idx) \ argument 9 (((1U << (idx & 31)) & bmap[(idx) >> 5]) != 0)
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
D | xt_TCPOPTSTRIP.h | 6 #define tcpoptstrip_set_bit(bmap, idx) \ argument 7 (bmap[(idx) >> 5] |= 1U << (idx & 31)) 8 #define tcpoptstrip_test_bit(bmap, idx) \ argument 9 (((1U << (idx & 31)) & bmap[(idx) >> 5]) != 0)
|
/external/webrtc/webrtc/modules/video_render/windows/ |
D | video_render_direct3d9.cc | 1014 BITMAP bmap; in SetBitmap() local 1018 GetObject((HBITMAP)bitMap, sizeof(bmap), &bmap); in SetBitmap() 1024 pbi.bmiHeader.biWidth = bmap.bmWidth; in SetBitmap() 1025 pbi.bmiHeader.biHeight = bmap.bmHeight; in SetBitmap() 1027 pbi.bmiHeader.biBitCount = bmap.bmBitsPixel; in SetBitmap() 1029 pbi.bmiHeader.biSizeImage = bmap.bmWidth * bmap.bmHeight * 3; in SetBitmap() 1030 srcPtr = new unsigned char[bmap.bmWidth * bmap.bmHeight * 4]; in SetBitmap() 1032 int pixelHeight = GetDIBits(hdcNew, (HBITMAP)bitMap, 0, bmap.bmHeight, srcPtr, &pbi, in SetBitmap() 1057 ret = _pd3dDevice->CreateTexture(bmap.bmWidth, bmap.bmHeight, 1, 0, in SetBitmap() 1081 int pitch = bmap.bmWidth * 4; in SetBitmap() [all …]
|
/external/e2fsprogs/misc/ |
D | tune2fs.c | 1304 ext2fs_block_bitmap bmap) in get_move_bitmaps() argument 1333 ext2fs_mark_block_bitmap2(bmap, j); in get_move_bitmaps() 1378 static int move_block(ext2_filsys fs, ext2fs_block_bitmap bmap) in move_block() argument 1394 if (!ext2fs_test_block_bitmap2(bmap, blk)) in move_block() 1472 ext2fs_block_bitmap bmap = (ext2fs_block_bitmap) priv_data; in process_block() local 1474 if (!ext2fs_test_block_bitmap2(bmap, *block_nr)) in process_block() 1488 static int inode_scan_and_fix(ext2_filsys fs, ext2fs_block_bitmap bmap) in inode_scan_and_fix() argument 1524 ext2fs_test_block_bitmap2(bmap, in inode_scan_and_fix() 1546 process_block, bmap); in inode_scan_and_fix() 1563 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/ |
D | resize2fs.c | 54 ext2fs_block_bitmap bmap); 742 ext2fs_block_bitmap bmap) in mark_table_blocks() argument 748 ext2fs_reserve_super_and_bgd(fs, i, bmap); in mark_table_blocks() 755 ext2fs_mark_block_bitmap_range2(bmap, blk, in mark_table_blocks() 763 ext2fs_mark_block_bitmap2(bmap, blk); in mark_table_blocks() 770 ext2fs_mark_block_bitmap2(bmap, blk); in mark_table_blocks() 1238 retval = ext2fs_create_extent_table(&rfs->bmap, 0); in block_mover() 1267 ext2fs_add_extent_entry(rfs->bmap, B2C(blk), B2C(new_blk)); in block_mover() 1272 if (rfs->bmap) { in block_mover() 1273 ext2fs_free_extent_table(rfs->bmap); in block_mover() [all …]
|
D | resize2fs.h | 109 ext2_extent bmap; member
|
/external/mesa3d/src/mesa/drivers/windows/gdi/ |
D | wgl.c | 407 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/e2fsprogs/tests/f_resize_inode/ |
D | script | 72 echo "debugfs -R ''set_inode_field <7> bmap[524] 57'' -w test.img" > $OUT.new 73 $DEBUGFS -R "set_inode_field <7> bmap[524] 57" -w $TMPFILE >> $OUT.new 2>&1
|
/external/e2fsprogs/debugfs/ |
D | ro_debug_cmds.ct | 79 bmap;
|
D | debug_cmds.ct | 158 bmap;
|