Searched refs:bmap (Results 1 - 25 of 26) sorted by relevance

12

/external/iptables/include/linux/netfilter/
H A Dxt_TCPOPTSTRIP.h6 #define tcpoptstrip_set_bit(bmap, idx) \
7 (bmap[(idx) >> 5] |= 1U << (idx & 31))
8 #define tcpoptstrip_test_bit(bmap, idx) \
9 (((1U << (idx & 31)) & bmap[(idx) >> 5]) != 0)
/external/kernel-headers/original/uapi/linux/netfilter/
H A Dxt_TCPOPTSTRIP.h6 #define tcpoptstrip_set_bit(bmap, idx) \
7 (bmap[(idx) >> 5] |= 1U << (idx & 31))
8 #define tcpoptstrip_test_bit(bmap, idx) \
9 (((1U << (idx & 31)) & bmap[(idx) >> 5]) != 0)
/external/e2fsprogs/lib/ext2fs/
H A Dgen_bitmap64.c221 fprintf(stderr, "%16lu mark bmap\n%16lu unmark_bmap\n",
243 void ext2fs_free_generic_bmap(ext2fs_generic_bitmap bmap) argument
245 if (!bmap)
248 if (EXT2FS_IS_32_BITMAP(bmap)) {
249 ext2fs_free_generic_bitmap(bmap);
253 if (!EXT2FS_IS_64_BITMAP(bmap))
258 ext2fs_print_bmap_statistics(bmap);
259 bmap->bitmap_ops->print_stats(bmap);
263 bmap
342 ext2fs_resize_generic_bmap(ext2fs_generic_bitmap bmap, __u64 new_end, __u64 new_real_end) argument
530 ext2fs_set_generic_bmap_range(ext2fs_generic_bitmap bmap, __u64 start, unsigned int num, void *in) argument
555 ext2fs_get_generic_bmap_range(ext2fs_generic_bitmap bmap, __u64 start, unsigned int num, void *out) argument
610 ext2fs_set_generic_bmap_padding(ext2fs_generic_bitmap bmap) argument
625 ext2fs_test_block_bitmap_range2(ext2fs_block_bitmap bmap, blk64_t block, unsigned int num) argument
667 ext2fs_mark_block_bitmap_range2(ext2fs_block_bitmap bmap, blk64_t block, unsigned int num) argument
705 ext2fs_unmark_block_bitmap_range2(ext2fs_block_bitmap bmap, blk64_t block, unsigned int num) argument
759 ext2fs_block_bitmap cmap, bmap; local
[all...]
H A Dbitmaps.c126 ext2fs_generic_bitmap bmap; local
146 end, real_end, descr, &bmap);
149 bmap->cluster_bits = 0;
150 *ret = bmap;
156 ext2fs_generic_bitmap bmap = bitmap; local
158 if (!EXT2FS_IS_64_BITMAP(bmap))
161 return bmap->cluster_bits;
206 ext2fs_inode_bitmap bmap)
209 new_end, new_real_end, bmap));
213 ext2fs_inode_bitmap bmap)
205 ext2fs_resize_inode_bitmap(__u32 new_end, __u32 new_real_end, ext2fs_inode_bitmap bmap) argument
212 ext2fs_resize_inode_bitmap2(__u64 new_end, __u64 new_real_end, ext2fs_inode_bitmap bmap) argument
218 ext2fs_resize_block_bitmap(__u32 new_end, __u32 new_real_end, ext2fs_block_bitmap bmap) argument
225 ext2fs_resize_block_bitmap2(__u64 new_end, __u64 new_real_end, ext2fs_block_bitmap bmap) argument
245 ext2fs_set_inode_bitmap_range(ext2fs_inode_bitmap bmap, ext2_ino_t start, unsigned int num, void *in) argument
254 ext2fs_set_inode_bitmap_range2(ext2fs_inode_bitmap bmap, __u64 start, size_t num, void *in) argument
261 ext2fs_get_inode_bitmap_range(ext2fs_inode_bitmap bmap, ext2_ino_t start, unsigned int num, void *out) argument
270 ext2fs_get_inode_bitmap_range2(ext2fs_inode_bitmap bmap, __u64 start, size_t num, void *out) argument
277 ext2fs_set_block_bitmap_range(ext2fs_block_bitmap bmap, blk_t start, unsigned int num, void *in) argument
286 ext2fs_set_block_bitmap_range2(ext2fs_block_bitmap bmap, blk64_t start, size_t num, void *in) argument
293 ext2fs_get_block_bitmap_range(ext2fs_block_bitmap bmap, blk_t start, unsigned int num, void *out) argument
302 ext2fs_get_block_bitmap_range2(ext2fs_block_bitmap bmap, blk64_t start, size_t num, void *out) argument
[all...]
H A Dcheck_desc.c34 ext2fs_block_bitmap bmap; local
47 retval = ext2fs_allocate_subcluster_bitmap(fs, "check_desc map", &bmap);
52 ext2fs_reserve_super_and_bgd(fs, i, bmap);
66 ext2fs_test_block_bitmap2(bmap, blk)) {
70 ext2fs_mark_block_bitmap2(bmap, blk);
77 ext2fs_test_block_bitmap2(bmap, blk)) {
81 ext2fs_mark_block_bitmap2(bmap, blk);
94 if (ext2fs_test_block_bitmap2(bmap, b)) {
98 ext2fs_mark_block_bitmap2(bmap, b);
102 ext2fs_free_block_bitmap(bmap);
[all...]
H A Dbmap64.h56 #define EXT2FS_IS_32_BITMAP(bmap) \
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) \
62 (((bmap)->magic == EXT2_ET_MAGIC_GENERIC_BITMAP64) || \
63 ((bmap)->magic == EXT2_ET_MAGIC_BLOCK_BITMAP64) || \
64 ((bmap)->magic == EXT2_ET_MAGIC_INODE_BITMAP64))
68 /* Generic bmap operators */
69 errcode_t (*new_bmap)(ext2_filsys fs, ext2fs_generic_bitmap bmap);
[all...]
H A Dalloc_sb.c45 ext2fs_block_bitmap bmap)
61 ext2fs_mark_block_bitmap2(bmap, super_blk);
64 ext2fs_mark_block_bitmap2(bmap, 0);
67 if (fs->super->s_reserved_gdt_blocks && fs->block_map == bmap)
73 ext2fs_mark_block_bitmap_range2(bmap, old_desc_blk, num_blocks);
76 ext2fs_mark_block_bitmap2(bmap, new_desc_blk);
43 ext2fs_reserve_super_and_bgd(ext2_filsys fs, dgrp_t group, ext2fs_block_bitmap bmap) argument
H A Dalloc_tables.c38 ext2fs_block_bitmap bmap, int rem_grp,
56 if (start_blk && ext2fs_test_block_bitmap_range2(bmap, start_blk,
68 bmap, &first_free) == 0)
72 bmap, &first_free) == 0)
75 if (ext2fs_get_free_blocks2(fs, 0, last_blk, elem_size, bmap,
83 ext2fs_block_bitmap bmap)
94 if (!bmap)
95 bmap = fs->block_map;
112 1, bmap, &start_blk);
128 start_blk = flexbg_offset(fs, group, prev_block, bmap,
37 flexbg_offset(ext2_filsys fs, dgrp_t group, blk64_t start_blk, ext2fs_block_bitmap bmap, int rem_grp, int elem_size) argument
82 ext2fs_allocate_group_table(ext2_filsys fs, dgrp_t group, ext2fs_block_bitmap bmap) argument
[all...]
H A Dgen_bitmap.c41 #define EXT2FS_IS_32_BITMAP(bmap) \
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) \
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)
310 if (!bmap || (bma
302 ext2fs_resize_generic_bitmap(errcode_t magic, __u32 new_end, __u32 new_real_end, ext2fs_generic_bitmap bmap) argument
381 ext2fs_get_generic_bitmap_range(ext2fs_generic_bitmap bmap, errcode_t magic, __u32 start, __u32 num, void *out) argument
396 ext2fs_set_generic_bitmap_range(ext2fs_generic_bitmap bmap, errcode_t magic, __u32 start, __u32 num, void *in) argument
[all...]
H A Dblkmap64_ba.c123 static errcode_t ba_resize_bmap(ext2fs_generic_bitmap bmap, argument
126 ext2fs_ba_private bp = (ext2fs_ba_private) bmap->private;
135 if (new_end > bmap->end) {
136 bitno = bmap->real_end;
139 for (; bitno > bmap->end; bitno--)
140 ext2fs_clear_bit64(bitno - bmap->start, bp->bitarray);
142 if (new_real_end == bmap->real_end) {
143 bmap->end = new_end;
147 size = ((bmap->real_end - bmap
[all...]
H A Dext2fsP.h116 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,
H A Dimager.c285 ext2fs_generic_bitmap bmap; local
298 bmap = fs->inode_map;
308 bmap = fs->block_map;
320 retval = ext2fs_get_generic_bmap_range(bmap, itr,
360 ext2fs_generic_bitmap bmap; local
373 bmap = fs->inode_map;
383 bmap = fs->block_map;
400 retval = ext2fs_set_generic_bmap_range(bmap, itr,
H A Dext2fs.h671 ext2fs_block_bitmap bmap);
690 ext2fs_block_bitmap bmap);
768 ext2fs_inode_bitmap bmap);
771 ext2fs_inode_bitmap bmap);
773 ext2fs_block_bitmap bmap);
776 ext2fs_block_bitmap bmap);
781 extern errcode_t ext2fs_set_inode_bitmap_range(ext2fs_inode_bitmap bmap,
784 extern errcode_t ext2fs_set_inode_bitmap_range2(ext2fs_inode_bitmap bmap,
787 extern errcode_t ext2fs_get_inode_bitmap_range(ext2fs_inode_bitmap bmap,
790 extern errcode_t ext2fs_get_inode_bitmap_range2(ext2fs_inode_bitmap bmap,
[all...]
H A DAndroid.mk17 bmap.c \
H A Dblkmap64_rb.c297 static errcode_t rb_resize_bmap(ext2fs_generic_bitmap bmap, argument
302 if (new_real_end >= bmap->real_end) {
303 bmap->end = new_end;
304 bmap->real_end = new_real_end;
308 bp = (struct ext2fs_rb_private *) bmap->private;
315 bmap->end = new_end;
316 bmap->real_end = new_real_end;
H A Dtst_bitmaps.c249 void dump_bitmap(ext2fs_generic_bitmap bmap, unsigned int start, unsigned num) argument
261 retval = ext2fs_get_generic_bmap_range(bmap, (__u64) start, num, buf);
/external/chromium_org/third_party/webrtc/modules/video_render/windows/
H A Dvideo_render_direct3d9.cc1025 BITMAP bmap; local
1029 GetObject((HBITMAP)bitMap, sizeof(bmap), &bmap);
1035 pbi.bmiHeader.biWidth = bmap.bmWidth;
1036 pbi.bmiHeader.biHeight = bmap.bmHeight;
1038 pbi.bmiHeader.biBitCount = bmap.bmBitsPixel;
1040 pbi.bmiHeader.biSizeImage = bmap.bmWidth * bmap.bmHeight * 3;
1041 srcPtr = new unsigned char[bmap.bmWidth * bmap
[all...]
/external/e2fsprogs/debugfs/
H A Dro_debug_cmds.ct79 bmap;
H A Ddebug_cmds.ct158 bmap;
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/windows/gdi/
H A Dwgl.c407 unsigned char *bmap; local
437 /* Unselect our bmap object */
442 bmap = malloc(numBytes);
445 res = GetDIBits(bitDevice, bitObject, 0, bmapHeight, bmap,
454 bmap);
458 /* Destroy the bmap object */
462 free(bmap);
/external/e2fsprogs/misc/
H A Dtune2fs.c1300 * Fill in the block bitmap bmap with the information regarding the
1304 ext2fs_block_bitmap bmap)
1333 ext2fs_mark_block_bitmap2(bmap, j);
1378 static int move_block(ext2_filsys fs, ext2fs_block_bitmap bmap) argument
1394 if (!ext2fs_test_block_bitmap2(bmap, blk))
1472 ext2fs_block_bitmap bmap = (ext2fs_block_bitmap) priv_data; variable
1474 if (!ext2fs_test_block_bitmap2(bmap, *block_nr))
1488 static int inode_scan_and_fix(ext2_filsys fs, ext2fs_block_bitmap bmap) argument
1524 ext2fs_test_block_bitmap2(bmap,
1546 process_block, bmap);
1303 get_move_bitmaps(ext2_filsys fs, int new_ino_blks_per_grp, ext2fs_block_bitmap bmap) argument
1563 group_desc_scan_and_fix(ext2_filsys fs, ext2fs_block_bitmap bmap) argument
1741 ext2fs_block_bitmap bmap; local
[all...]
/external/mesa3d/src/mesa/drivers/windows/gdi/
H A Dwgl.c407 unsigned char *bmap; local
437 /* Unselect our bmap object */
442 bmap = malloc(numBytes);
445 res = GetDIBits(bitDevice, bitObject, 0, bmapHeight, bmap,
454 bmap);
458 /* Destroy the bmap object */
462 free(bmap);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dfuse.h230 int (*bmap)(const char*, size_t blocksize, uint64_t* idx); member in struct:fuse_operations
/external/e2fsprogs/resize/
H A Dresize2fs.h109 ext2_extent bmap; member in struct:ext2_resize_struct
H A Dresize2fs.c54 ext2fs_block_bitmap bmap);
742 ext2fs_block_bitmap bmap)
748 ext2fs_reserve_super_and_bgd(fs, i, bmap);
755 ext2fs_mark_block_bitmap_range2(bmap, blk,
763 ext2fs_mark_block_bitmap2(bmap, blk);
770 ext2fs_mark_block_bitmap2(bmap, blk);
1238 retval = ext2fs_create_extent_table(&rfs->bmap, 0);
1267 ext2fs_add_extent_entry(rfs->bmap, B2C(blk), B2C(new_blk));
1272 if (rfs->bmap) {
1273 ext2fs_free_extent_table(rfs->bmap);
741 mark_table_blocks(ext2_filsys fs, ext2fs_block_bitmap bmap) argument
[all...]

Completed in 433 milliseconds

12