/openbmc/qemu/tests/qemu-iotests/ |
H A D | 236.out | 55 "type": "block-dirty-bitmap-disable" 63 "type": "block-dirty-bitmap-add" 70 "type": "block-dirty-bitmap-clear" 119 "type": "block-dirty-bitmap-disable" 127 "type": "block-dirty-bitmap-add" 134 "type": "block-dirty-bitmap-disable" 141 "type": "block-dirty-bitmap-enable" 231 "type": "block-dirty-bitmap-add" 242 "type": "block-dirty-bitmap-merge" 301 "type": "block-dirty-bitmap-add" [all …]
|
H A D | 254.out | 1 {"execute": "block-dirty-bitmap-add", "arguments": {"name": "bitmap0", "node": "drive0"}} 3 {"execute": "block-dirty-bitmap-add", "arguments": {"name": "bitmap1", "node": "drive0", "persisten… 5 {"execute": "block-dirty-bitmap-add", "arguments": {"name": "bitmap2", "node": "drive0", "persisten… 24 "type": "block-dirty-bitmap-add" 37 "type": "block-dirty-bitmap-merge" 45 "type": "block-dirty-bitmap-add" 58 "type": "block-dirty-bitmap-merge" 66 "type": "block-dirty-bitmap-add" 79 "type": "block-dirty-bitmap-merge" 86 "type": "block-dirty-bitmap-remove"
|
H A D | 260.out | 4 {"execute": "block-dirty-bitmap-add", "arguments": {"name": "bitmap0", "node": "drive0", "persisten… 6 initial bitmap: name=bitmap0 dirty-clusters=1 16 check bitmap after commit: name=bitmap0 dirty-clusters=2 17 check updated bitmap: name=bitmap0 dirty-clusters=3 21 {"execute": "block-dirty-bitmap-add", "arguments": {"name": "bitmap0", "node": "drive0", "persisten… 23 initial bitmap: name=bitmap0 dirty-clusters=1 33 check bitmap after commit: name=bitmap0 dirty-clusters=2 34 check updated bitmap: name=bitmap0 dirty-clusters=3 40 initial bitmap: name=bitmap0 dirty-clusters=1 51 check bitmap after commit: name=bitmap0 dirty-clusters=2 [all …]
|
H A D | 257.out | 5270 -- Sync mode bitmap tests -- 5273 {"error": {"class": "GenericError", "desc": "must provide a valid bitmap name for 'bitmap' sync mod… 5302 {"error": {"class": "GenericError", "desc": "Cannot specify bitmap sync mode without a bitmap"}} 5305 {"error": {"class": "GenericError", "desc": "Cannot specify bitmap sync mode without a bitmap"}} 5308 {"error": {"class": "GenericError", "desc": "Cannot specify bitmap sync mode without a bitmap"}} 5331 {"error": {"class": "GenericError", "desc": "Cannot specify bitmap sync mode without a bitmap"}} 5334 {"error": {"class": "GenericError", "desc": "Cannot specify bitmap sync mode without a bitmap"}} 5337 {"error": {"class": "GenericError", "desc": "Cannot specify bitmap sync mode without a bitmap"}} 5360 {"error": {"class": "GenericError", "desc": "Cannot specify bitmap sync mode without a bitmap"}} 5363 {"error": {"class": "GenericError", "desc": "Cannot specify bitmap sync mode without a bitmap"}} [all …]
|
/openbmc/qemu/block/ |
H A D | parallels-ext.c | 64 uint32_t l1_size, BdrvDirtyBitmap *bitmap, in parallels_load_bitmap_data() argument 70 uint64_t bm_size = bdrv_dirty_bitmap_size(bitmap); in parallels_load_bitmap_data() 110 bdrv_dirty_bitmap_deserialize_finish(bitmap); in parallels_load_bitmap_data() 129 BdrvDirtyBitmap *bitmap; in parallels_load_bitmap() local 162 if (!bitmap) { in parallels_load_bitmap() 173 bdrv_release_dirty_bitmap(bitmap); in parallels_load_bitmap() 179 bdrv_dirty_bitmap_set_readonly(bitmap, true); in parallels_load_bitmap() 181 return bitmap; in parallels_load_bitmap() 224 BdrvDirtyBitmap *bitmap; in parallels_parse_format_extension() local 258 if (!bitmap) { in parallels_parse_format_extension() [all …]
|
/openbmc/linux/lib/ |
H A D | bitmap.c | 911 u32 *bitmap = (u32 *)maskp; in bitmap_parse() local 1414 kfree(bitmap); in bitmap_free() 1422 bitmap_free(bitmap); in devm_bitmap_free() 1428 unsigned long *bitmap; in devm_bitmap_alloc() local 1432 if (!bitmap) in devm_bitmap_alloc() 1439 return bitmap; in devm_bitmap_alloc() 1512 *bitmap++ = val; in bitmap_from_arr64() 1514 *bitmap++ = val >> 32; in bitmap_from_arr64() 1539 while (bitmap < end) { in bitmap_to_arr64() 1540 *buf = *bitmap++; in bitmap_to_arr64() [all …]
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-qmp.c | 481 #define CONVERT_FEATURES(type, map, is_status, bitmap) \ argument 492 if ((bitmap & bit) == 0) { \ 504 VirtioDeviceStatus *qmp_decode_status(uint8_t bitmap) in qmp_decode_status() argument 512 1, bitmap); in qmp_decode_status() 513 status->has_unknown_statuses = bitmap != 0; in qmp_decode_status() 515 status->unknown_statuses = bitmap; in qmp_decode_status() 531 vhu_protocols->has_unknown_protocols = bitmap != 0; in qmp_decode_protocols() 533 vhu_protocols->unknown_protocols = bitmap; in qmp_decode_protocols() 550 bitmap); in qmp_decode_features() 674 features->has_unknown_dev_features = bitmap != 0; in qmp_decode_features() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/selftests/ |
H A D | i915_syncmap.c | 183 if (hweight32((*sync)->bitmap) != 1) { in check_one() 185 (*sync)->bitmap, hweight32((*sync)->bitmap)); in check_one() 252 if (hweight32((*sync)->bitmap) != 1) { in check_leaf() 254 context, (*sync)->bitmap, hweight32((*sync)->bitmap)); in check_leaf() 314 if (hweight32(join->bitmap) != 2) { in igt_syncmap_join_above() 316 join->bitmap, hweight32(join->bitmap)); in igt_syncmap_join_above() 435 sync->bitmap, hweight32(sync->bitmap), in igt_syncmap_neighbours() 500 sync->bitmap, hweight32(sync->bitmap), in igt_syncmap_compact() 523 if (!is_power_of_2(leaf->bitmap)) { in igt_syncmap_compact() 525 idx, leaf->bitmap, hweight32(leaf->bitmap)); in igt_syncmap_compact() [all …]
|
/openbmc/linux/fs/hfs/ |
H A D | bitmap.c | 29 static u32 hfs_find_set_zero_bits(__be32 *bitmap, u32 size, u32 offset, u32 *max) in hfs_find_set_zero_bits() argument 40 curr = bitmap + (offset / 32); in hfs_find_set_zero_bits() 41 end = bitmap + ((size + 31) / 32); in hfs_find_set_zero_bits() 70 start = (curr - bitmap) * 32 + i; in hfs_find_set_zero_bits() 108 *max = (curr - bitmap) * 32 + i - start; in hfs_find_set_zero_bits() 141 void *bitmap; in hfs_vbm_search_free() local 149 bitmap = HFS_SB(sb)->bitmap; in hfs_vbm_search_free() 151 pos = hfs_find_set_zero_bits(bitmap, HFS_SB(sb)->fs_ablocks, goal, num_bits); in hfs_vbm_search_free() 154 pos = hfs_find_set_zero_bits(bitmap, goal, 0, num_bits); in hfs_vbm_search_free() 210 curr = HFS_SB(sb)->bitmap + (start / 32); in hfs_clear_vbm_bits()
|
/openbmc/qemu/docs/interop/ |
H A D | bitmaps.rst | 126 modifying a bitmap, and happens when the bitmap is being used for a backup 192 `block-dirty-bitmap-add 239 `block-dirty-bitmap-remove 271 `block-dirty-bitmap-clear 297 `block-dirty-bitmap-enable 326 `block-dirty-bitmap-disable 364 `block-dirty-bitmap-merge 368 in any one source bitmap, the target bitmap will mark that segment dirty. 372 bitmap(s) will be marked dirty in the destination bitmap. 454 ``persistent: true`` to ``block-dirty-bitmap-add`` will persist that bitmap to [all …]
|
/openbmc/linux/fs/btrfs/tests/ |
H A D | extent-io-tests.c | 329 bit = !!test_bit(i, bitmap); in check_eb_bitmap() 372 ret = check_eb_bitmap(bitmap, eb); in test_bitmap_set() 387 ret = check_eb_bitmap(bitmap, eb); in test_bitmap_clear() 471 bitmap_set(bitmap, i * 32 + j, 1); in __test_eb_bitmaps() 477 ret = check_eb_bitmap(bitmap, eb); in __test_eb_bitmaps() 489 unsigned long *bitmap = NULL; in test_eb_bitmaps() local 501 bitmap = kmalloc(nodesize, GFP_KERNEL); in test_eb_bitmaps() 502 if (!bitmap) { in test_eb_bitmaps() 515 ret = __test_eb_bitmaps(bitmap, eb); in test_eb_bitmaps() 532 ret = __test_eb_bitmaps(bitmap, eb); in test_eb_bitmaps() [all …]
|
/openbmc/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_pixpll.c | 39 struct lsdc_pixpll_reg bitmap; member 279 pixpll_reg.bitmap.powerdown = 0; in __pixpll_ops_powerup() 290 pixpll_reg.bitmap.powerdown = 1; in __pixpll_ops_powerdown() 301 pixpll_reg.bitmap.sel_out = 1; in __pixpll_ops_on() 312 pixpll_reg.bitmap.sel_out = 0; in __pixpll_ops_off() 323 pixpll_reg.bitmap.bypass = 1; in __pixpll_ops_bypass() 334 pixpll_reg.bitmap.bypass = 0; in __pixpll_ops_unbypass() 345 pixpll_reg.bitmap.set_param = 0; in __pixpll_ops_untoggle_param() 358 pixpll_reg.bitmap.loopc = p->loopc; in __pixpll_ops_set_param() 370 pixpll_reg.bitmap.set_param = 1; in __pixpll_ops_toggle_param() [all …]
|
/openbmc/linux/include/linux/ |
H A D | bitmap.h | 126 void bitmap_free(const unsigned long *bitmap); 291 void bitmap_from_arr32(unsigned long *bitmap, const u32 *buf, 293 void bitmap_to_arr32(u32 *buf, const unsigned long *bitmap, 296 #define bitmap_from_arr32(bitmap, buf, nbits) \ argument 297 bitmap_copy_clear_tail((unsigned long *) (bitmap), \ 299 #define bitmap_to_arr32(buf, bitmap, nbits) \ argument 301 (const unsigned long *) (bitmap), (nbits)) 312 #define bitmap_from_arr64(bitmap, buf, nbits) \ argument 314 #define bitmap_to_arr64(buf, bitmap, nbits) \ argument 517 *rs = find_next_bit(bitmap, end, *rs); in bitmap_next_set_region() [all …]
|
H A D | iova_bitmap.h | 13 typedef int (*iova_bitmap_fn_t)(struct iova_bitmap *bitmap, 20 void iova_bitmap_free(struct iova_bitmap *bitmap); 21 int iova_bitmap_for_each(struct iova_bitmap *bitmap, void *opaque, 23 void iova_bitmap_set(struct iova_bitmap *bitmap,
|
/openbmc/linux/fs/nfs/ |
H A D | nfs4xdr.c | 1688 bitmap[1] = 0; in nfs4_acltype_to_bitmap() 1691 bitmap[0] = 0; in nfs4_acltype_to_bitmap() 1695 bitmap[0] = 0; in nfs4_acltype_to_bitmap() 1704 __u32 bitmap[2]; in encode_setacl() local 1710 xdr_encode_bitmap4(xdr, bitmap, ARRAY_SIZE(bitmap)); in encode_setacl() 4595 res->bm = bitmap[0]; in decode_first_threshold_item4() 4772 bitmap[3] = {0}; in decode_getfattr_generic() local 4898 uint32_t *bitmap, in decode_attr_change_attr_type() argument 5405 bitmap[3] = {0}; in decode_getacl() local 5427 if (unlikely(bitmap[0] || bitmap[1] & (FATTR4_WORD1_DACL - 1U))) in decode_getacl() [all …]
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | image-fleecing | 58 bitmap=False): argument 68 if bitmap: 132 if bitmap: 193 if bitmap and p in zeroes: 239 if bitmap and p in zeroes: 279 nbd_sock_path=None, target_img_path=None, bitmap=False): argument 285 bitmap=bitmap) 287 def test_pull(use_cbw, use_snapshot_access_filter, bitmap=False): argument 291 bitmap=bitmap) 308 test_pull(True, True, bitmap=True)
|
/openbmc/qemu/qapi/ |
H A D | transaction.json | 46 # @block-dirty-bitmap-add: Since 2.5 48 # @block-dirty-bitmap-remove: Since 4.2 50 # @block-dirty-bitmap-clear: Since 2.5 52 # @block-dirty-bitmap-enable: Since 4.0 54 # @block-dirty-bitmap-disable: Since 4.0 56 # @block-dirty-bitmap-merge: Since 4.0 76 'data': [ 'abort', 'block-dirty-bitmap-add', 'block-dirty-bitmap-remove', 77 'block-dirty-bitmap-clear', 'block-dirty-bitmap-enable', 78 'block-dirty-bitmap-disable', 'block-dirty-bitmap-merge', 168 'block-dirty-bitmap-add': 'BlockDirtyBitmapAddWrapper', [all …]
|
/openbmc/u-boot/arch/x86/lib/ |
H A D | pirq_routing.c | 13 static u8 pirq_get_next_free_irq(struct udevice *dev, u8 *pirq, u16 bitmap, in pirq_get_next_free_irq() argument 22 if (!((bitmap >> i) & 1)) in pirq_get_next_free_irq() 69 int bitmap = irq->irq[intx].bitmap; in pirq_route_irqs() local 73 'A' + intx, link, bitmap); in pirq_route_irqs() 75 if (!bitmap || !link) { in pirq_route_irqs() 86 irq = pirq_get_next_free_irq(dev, pirq, bitmap, in pirq_route_irqs()
|
/openbmc/linux/drivers/pci/endpoint/ |
H A D | pci-epc-mem.c | 52 unsigned long *bitmap = NULL; in pci_epc_multi_mem_init() local 84 bitmap = kzalloc(bitmap_size, GFP_KERNEL); in pci_epc_multi_mem_init() 85 if (!bitmap) { in pci_epc_multi_mem_init() 95 mem->bitmap = bitmap; in pci_epc_multi_mem_init() 109 kfree(mem->bitmap); in pci_epc_multi_mem_init() 158 kfree(mem->bitmap); in pci_epc_mem_exit() 195 pageno = bitmap_find_free_region(mem->bitmap, mem->pages, in pci_epc_mem_alloc_addr() 203 bitmap_release_region(mem->bitmap, in pci_epc_mem_alloc_addr() 266 bitmap_release_region(mem->bitmap, pageno, order); in pci_epc_mem_free_addr()
|
/openbmc/linux/drivers/block/drbd/ |
H A D | drbd_bitmap.c | 115 struct drbd_bitmap *b = device->bitmap; in __bm_print_lock_info() 126 struct drbd_bitmap *b = device->bitmap; in drbd_bm_lock() 223 wake_up(&device->bitmap->bm_io_wait); in bm_page_unlock_io() 242 device->bitmap->n_bitmap_hints = 0; in drbd_bm_reset_al_hints() 444 device->bitmap = b; in drbd_bm_init() 451 if (!expect(device, device->bitmap)) in drbd_bm_capacity() 460 if (!expect(device, device->bitmap)) in drbd_bm_cleanup() 462 bm_free_pages(device->bitmap->bm_pages, device->bitmap->bm_number_of_pages); in drbd_bm_cleanup() 463 bm_vk_free(device->bitmap->bm_pages); in drbd_bm_cleanup() 464 kfree(device->bitmap); in drbd_bm_cleanup() [all …]
|
/openbmc/linux/fs/udf/ |
H A D | balloc.c | 39 loc.logicalBlockNum = bitmap->s_extPosition; in read_block_bitmap() 43 bitmap->s_block_bitmap[bitmap_nr] = bh; in read_block_bitmap() 73 struct udf_bitmap *bitmap, in __load_block_bitmap() argument 77 int nr_groups = bitmap->s_nr_groups; in __load_block_bitmap() 84 if (bitmap->s_block_bitmap[block_group]) in __load_block_bitmap() 95 struct udf_bitmap *bitmap, in load_block_bitmap() argument 105 if (!bitmap->s_block_bitmap[slot]) in load_block_bitmap() 125 struct udf_bitmap *bitmap, in udf_bitmap_free_blocks() argument 191 struct udf_bitmap *bitmap, in udf_bitmap_prealloc_blocks() argument 258 nr_groups = bitmap->s_nr_groups; in udf_bitmap_new_block() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | alloc.c | 46 unsigned long *bitmap; member 143 pgdir->bitmap = bitmap_zalloc_node(db_per_page, GFP_KERNEL, node); in mlx5_alloc_db_pgdir() 144 if (!pgdir->bitmap) { in mlx5_alloc_db_pgdir() 149 bitmap_fill(pgdir->bitmap, db_per_page); in mlx5_alloc_db_pgdir() 154 bitmap_free(pgdir->bitmap); in mlx5_alloc_db_pgdir() 169 i = find_first_bit(pgdir->bitmap, db_per_page); in mlx5_alloc_db_from_pgdir() 173 __clear_bit(i, pgdir->bitmap); in mlx5_alloc_db_from_pgdir() 222 __set_bit(db->index, db->u.pgdir->bitmap); in mlx5_db_free() 224 if (bitmap_full(db->u.pgdir->bitmap, db_per_page)) { in mlx5_db_free() 228 bitmap_free(db->u.pgdir->bitmap); in mlx5_db_free()
|
/openbmc/linux/tools/lib/ |
H A D | bitmap.c | 8 unsigned int __bitmap_weight(const unsigned long *bitmap, int bits) in __bitmap_weight() argument 13 w += hweight_long(bitmap[k]); in __bitmap_weight() 16 w += hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)); in __bitmap_weight() 31 size_t bitmap_scnprintf(unsigned long *bitmap, unsigned int nbits, in bitmap_scnprintf() argument 39 rbot = cur = find_first_bit(bitmap, nbits); in bitmap_scnprintf() 42 cur = find_next_bit(bitmap, nbits, cur + 1); in bitmap_scnprintf()
|
/openbmc/linux/drivers/tee/optee/ |
H A D | notif.c | 53 if (test_bit(key, optee->notif.bitmap)) { in optee_notif_wait() 54 clear_bit(key, optee->notif.bitmap); in optee_notif_wait() 102 set_bit(key, optee->notif.bitmap); in optee_notif_send() 113 optee->notif.bitmap = bitmap_zalloc(max_key, GFP_KERNEL); in optee_notif_init() 114 if (!optee->notif.bitmap) in optee_notif_init() 124 bitmap_free(optee->notif.bitmap); in optee_notif_uninit()
|
/openbmc/linux/Documentation/filesystems/ext4/ |
H A D | group_descr.rst | 41 entire bitmap. 56 - Lower 32-bits of location of block bitmap. 60 - Lower 32-bits of location of inode bitmap. 84 - Lower 32-bits of location of snapshot exclusion bitmap. 88 - Lower 16-bits of the block bitmap checksum. 92 - Lower 16-bits of the inode bitmap checksum. 116 - Upper 32-bits of location of block bitmap. 120 - Upper 32-bits of location of inodes bitmap. 144 - Upper 32-bits of location of snapshot exclusion bitmap. 148 - Upper 16-bits of the block bitmap checksum. [all …]
|