/openbmc/qemu/block/ |
H A D | dirty-bitmap.c | 61 BdrvDirtyBitmap *bitmap; member 74 void bdrv_dirty_bitmap_lock(BdrvDirtyBitmap *bitmap) in bdrv_dirty_bitmap_lock() 79 void bdrv_dirty_bitmap_unlock(BdrvDirtyBitmap *bitmap) in bdrv_dirty_bitmap_unlock() 105 BdrvDirtyBitmap *bitmap; in bdrv_create_dirty_bitmap() local 166 bool bdrv_dirty_bitmap_enabled(BdrvDirtyBitmap *bitmap) in bdrv_dirty_bitmap_enabled() 343 BdrvDirtyBitmap *bitmap; in bdrv_dirty_bitmap_truncate() local 445 void bdrv_enable_dirty_bitmap(BdrvDirtyBitmap *bitmap) in bdrv_enable_dirty_bitmap() 550 void bdrv_set_dirty_bitmap(BdrvDirtyBitmap *bitmap, in bdrv_set_dirty_bitmap() 566 void bdrv_reset_dirty_bitmap(BdrvDirtyBitmap *bitmap, in bdrv_reset_dirty_bitmap() 658 BdrvDirtyBitmap *bitmap; in bdrv_set_dirty() local [all …]
|
H A D | qcow2-bitmap.c | 290 uint32_t bitmap_table_size, BdrvDirtyBitmap *bitmap) in load_bitmap_data() 348 BdrvDirtyBitmap *bitmap = NULL; in load_bitmap() local 949 static void release_dirty_bitmap_helper(gpointer bitmap, in release_dirty_bitmap_helper() 956 static void set_readonly_helper(gpointer bitmap, gpointer value) in set_readonly_helper() 992 BdrvDirtyBitmap *bitmap; in qcow2_load_dirty_bitmaps() local 1153 BdrvDirtyBitmap *bitmap = bdrv_find_dirty_bitmap(bs, bm->name); in qcow2_reopen_bitmaps_rw() local 1280 store_bitmap_data(BlockDriverState *bs, BdrvDirtyBitmap *bitmap, in store_bitmap_data() 1385 BdrvDirtyBitmap *bitmap = bm->dirty_bitmap; in store_bitmap() local 1537 BdrvDirtyBitmap *bitmap; in qcow2_store_persistent_dirty_bitmaps() local 1693 BdrvDirtyBitmap *bitmap; in qcow2_reopen_bitmaps_ro() local [all …]
|
H A D | parallels-ext.c | 64 uint32_t l1_size, BdrvDirtyBitmap *bitmap, in parallels_load_bitmap_data() 129 BdrvDirtyBitmap *bitmap; in parallels_load_bitmap() local 224 BdrvDirtyBitmap *bitmap; in parallels_parse_format_extension() local
|
/openbmc/linux/drivers/md/ |
H A D | md-bitmap.h | 180 struct bitmap { struct 182 struct bitmap_counts { argument 195 struct mddev *mddev; /* the md device that the bitmap is for */ argument 200 struct bitmap_storage { argument 202 struct page *sb_page; /* cached copy of the bitmap argument 221 * the bitmap daemon - periodically wakes up and sweeps the bitmap argument 226 * update bitmap with resync progress */ argument 228 atomic_t pending_writes; /* pending writes to the bitmap file */ argument 237 /* the bitmap API */ argument 279 static inline bool md_bitmap_enabled(struct bitmap *bitmap) in md_bitmap_enabled()
|
H A D | md-bitmap.c | 319 struct bitmap *bitmap = bh->b_private; in end_bitmap_write() local 1068 struct bitmap *bitmap; member 1296 struct bitmap *bitmap; in md_bitmap_daemon_work() local 1718 struct bitmap *bitmap = mddev->bitmap; in md_bitmap_sync_with_cluster() local 1784 struct bitmap *bitmap = mddev->bitmap; in md_bitmap_flush() local 1846 struct bitmap *bitmap = mddev->bitmap; in md_bitmap_wait_behind_writes() local 1860 struct bitmap *bitmap = mddev->bitmap; in md_bitmap_destroy() local 1886 struct bitmap *bitmap; in md_bitmap_create() local 2033 struct bitmap *bitmap; in get_bitmap_from_slot() local 2060 struct bitmap *bitmap; in md_bitmap_copy_from_slot() local [all …]
|
/openbmc/linux/fs/xfs/scrub/ |
H A D | bitmap.h | 41 static inline void xagb_bitmap_init(struct xagb_bitmap *bitmap) in xagb_bitmap_init() 46 static inline void xagb_bitmap_destroy(struct xagb_bitmap *bitmap) in xagb_bitmap_destroy() 51 static inline int xagb_bitmap_clear(struct xagb_bitmap *bitmap, in xagb_bitmap_clear() 56 static inline int xagb_bitmap_set(struct xagb_bitmap *bitmap, in xagb_bitmap_set() 64 struct xagb_bitmap *bitmap, in xagb_bitmap_test() 82 static inline int xagb_bitmap_disunion(struct xagb_bitmap *bitmap, in xagb_bitmap_disunion() 88 static inline uint32_t xagb_bitmap_hweight(struct xagb_bitmap *bitmap) in xagb_bitmap_hweight() 92 static inline bool xagb_bitmap_empty(struct xagb_bitmap *bitmap) in xagb_bitmap_empty() 97 static inline int xagb_bitmap_walk(struct xagb_bitmap *bitmap, in xagb_bitmap_walk()
|
H A D | bitmap.c | 118 struct xbitmap *bitmap, in xbitmap_set() 178 struct xbitmap *bitmap) in xbitmap_destroy() 191 struct xbitmap *bitmap) in xbitmap_init() 212 struct xbitmap *bitmap, in xbitmap_disunion() 273 struct xagb_bitmap *bitmap = priv; in xagb_bitmap_visit_btblock() local 291 struct xagb_bitmap *bitmap, in xagb_bitmap_set_btblocks() 305 struct xagb_bitmap *bitmap, in xagb_bitmap_set_btcur_path() 323 struct xbitmap *bitmap) in xbitmap_hweight() 337 struct xbitmap *bitmap, in xbitmap_walk() 356 struct xbitmap *bitmap) in xbitmap_empty() [all …]
|
/openbmc/linux/drivers/vfio/ |
H A D | iova_bitmap.c | 103 u8 __user *bitmap; member 149 static unsigned long iova_bitmap_mapped_iova(struct iova_bitmap *bitmap) in iova_bitmap_mapped_iova() 161 static int iova_bitmap_get(struct iova_bitmap *bitmap) in iova_bitmap_get() 214 static void iova_bitmap_put(struct iova_bitmap *bitmap) in iova_bitmap_put() 242 struct iova_bitmap *bitmap; in iova_bitmap_alloc() local 280 void iova_bitmap_free(struct iova_bitmap *bitmap) in iova_bitmap_free() 314 static unsigned long iova_bitmap_mapped_length(struct iova_bitmap *bitmap) in iova_bitmap_mapped_length() 338 static bool iova_bitmap_done(struct iova_bitmap *bitmap) in iova_bitmap_done() 348 static int iova_bitmap_advance(struct iova_bitmap *bitmap) in iova_bitmap_advance() 376 int iova_bitmap_for_each(struct iova_bitmap *bitmap, void *opaque, in iova_bitmap_for_each() [all …]
|
/openbmc/linux/lib/ |
H A D | find_bit_benchmark.c | 36 static int __init test_find_first_bit(void *bitmap, unsigned long len) in test_find_first_bit() 52 static int __init test_find_first_and_bit(void *bitmap, const void *bitmap2, unsigned long len) in test_find_first_and_bit() 71 static int __init test_find_next_bit(const void *bitmap, unsigned long len) in test_find_next_bit() 85 static int __init test_find_next_zero_bit(const void *bitmap, unsigned long len) in test_find_next_zero_bit() 99 static int __init test_find_last_bit(const void *bitmap, unsigned long len) in test_find_last_bit() 118 static int __init test_find_nth_bit(const unsigned long *bitmap, unsigned long len) in test_find_nth_bit() 134 static int __init test_find_next_and_bit(const void *bitmap, in test_find_next_and_bit()
|
H A D | bitmap.c | 349 unsigned int __bitmap_weight(const unsigned long *bitmap, unsigned int bits) in __bitmap_weight() 653 static void bitmap_set_region(const struct region *r, unsigned long *bitmap) in bitmap_set_region() 911 u32 *bitmap = (u32 *)maskp; in bitmap_parse() local 1313 int bitmap_find_free_region(unsigned long *bitmap, unsigned int bits, int order) in bitmap_find_free_region() 1338 void bitmap_release_region(unsigned long *bitmap, unsigned int pos, int order) in bitmap_release_region() 1355 int bitmap_allocate_region(unsigned long *bitmap, unsigned int pos, int order) in bitmap_allocate_region() 1412 void bitmap_free(const unsigned long *bitmap) in bitmap_free() 1420 unsigned long *bitmap = data; in devm_bitmap_free() local 1428 unsigned long *bitmap; in devm_bitmap_alloc() local 1480 void bitmap_to_arr32(u32 *buf, const unsigned long *bitmap, unsigned int nbits) in bitmap_to_arr32() [all …]
|
H A D | idr.c | 386 struct ida_bitmap *bitmap, *alloc = NULL; in ida_alloc_range() local 491 struct ida_bitmap *bitmap; in ida_free() local 544 struct ida_bitmap *bitmap; in ida_destroy() local 582 struct ida_bitmap *bitmap = entry; in ida_dump_entry() local
|
/openbmc/qemu/block/monitor/ |
H A D | bitmap-qmp-cmds.c | 59 BdrvDirtyBitmap *bitmap; in block_dirty_bitmap_lookup() local 97 BdrvDirtyBitmap *bitmap; in qmp_block_dirty_bitmap_add() local 152 BdrvDirtyBitmap *bitmap; in block_dirty_bitmap_remove() local 196 BdrvDirtyBitmap *bitmap; in qmp_block_dirty_bitmap_clear() local 215 BdrvDirtyBitmap *bitmap; in qmp_block_dirty_bitmap_enable() local 233 BdrvDirtyBitmap *bitmap; in qmp_block_dirty_bitmap_disable() local
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | alloc.c | 44 u32 mlx4_bitmap_alloc(struct mlx4_bitmap *bitmap) in mlx4_bitmap_alloc() 74 void mlx4_bitmap_free(struct mlx4_bitmap *bitmap, u32 obj, int use_rr) in mlx4_bitmap_free() 79 static unsigned long find_aligned_range(unsigned long *bitmap, in find_aligned_range() 109 u32 mlx4_bitmap_alloc_range(struct mlx4_bitmap *bitmap, int cnt, in mlx4_bitmap_alloc_range() 147 u32 mlx4_bitmap_avail(struct mlx4_bitmap *bitmap) in mlx4_bitmap_avail() 152 static u32 mlx4_bitmap_masked_value(struct mlx4_bitmap *bitmap, u32 obj) in mlx4_bitmap_masked_value() 173 int mlx4_bitmap_init(struct mlx4_bitmap *bitmap, u32 num, u32 mask, in mlx4_bitmap_init() 197 void mlx4_bitmap_cleanup(struct mlx4_bitmap *bitmap) in mlx4_bitmap_cleanup() 217 struct mlx4_bitmap *bitmap; member 242 struct mlx4_bitmap *bitmap, in mlx4_zone_add_one() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/wcn36xx/ |
H A D | firmware.c | 81 void wcn36xx_firmware_set_feat_caps(u32 *bitmap, in wcn36xx_firmware_set_feat_caps() 96 int wcn36xx_firmware_get_feat_caps(u32 *bitmap, in wcn36xx_firmware_get_feat_caps() 112 void wcn36xx_firmware_clear_feat_caps(u32 *bitmap, in wcn36xx_firmware_clear_feat_caps()
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | image-fleecing | 58 bitmap=False): argument 279 nbd_sock_path=None, target_img_path=None, bitmap=False): argument 287 def test_pull(use_cbw, use_snapshot_access_filter, bitmap=False): argument
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-qmp.c | 481 #define CONVERT_FEATURES(type, map, is_status, bitmap) \ argument 504 VirtioDeviceStatus *qmp_decode_status(uint8_t bitmap) in qmp_decode_status() 521 VhostDeviceProtocols *qmp_decode_protocols(uint64_t bitmap) in qmp_decode_protocols() 539 VirtioDeviceFeatures *qmp_decode_features(uint16_t device_id, uint64_t bitmap) in qmp_decode_features()
|
/openbmc/linux/fs/udf/ |
H A D | balloc.c | 32 struct udf_bitmap *bitmap, unsigned int block, in read_block_bitmap() 78 struct udf_bitmap *bitmap, in __load_block_bitmap() 107 struct udf_bitmap *bitmap, in load_block_bitmap() 137 struct udf_bitmap *bitmap, in udf_bitmap_free_blocks() 192 struct udf_bitmap *bitmap, in udf_bitmap_prealloc_blocks() 240 struct udf_bitmap *bitmap, uint16_t partition, in udf_bitmap_new_block()
|
/openbmc/linux/fs/btrfs/tests/ |
H A D | extent-io-tests.c | 342 static int check_eb_bitmap(unsigned long *bitmap, struct extent_buffer *eb) in check_eb_bitmap() 383 static int test_bitmap_set(const char *name, unsigned long *bitmap, in test_bitmap_set() 398 static int test_bitmap_clear(const char *name, unsigned long *bitmap, in test_bitmap_clear() 412 static int __test_eb_bitmaps(unsigned long *bitmap, struct extent_buffer *eb) in __test_eb_bitmaps() 509 unsigned long *bitmap = NULL; in test_eb_bitmaps() local
|
/openbmc/linux/fs/nfs/ |
H A D | nfs4xdr.c | 992 const __u32 *bitmap, size_t len) in xdr_encode_bitmap4() 1704 __u32 bitmap[2]; in encode_setacl() local 4444 uint32_t attrlen, bitmap[3] = {0}; in decode_server_caps() local 4480 uint32_t attrlen, bitmap[3] = {0}; in decode_statfs() local 4539 uint32_t *bitmap, in decode_threshold_hint() 4609 uint32_t *bitmap, in decode_attr_mdsthreshold() 4772 bitmap[3] = {0}; in decode_getfattr_generic() local 4898 uint32_t *bitmap, in decode_attr_change_attr_type() 4926 uint32_t attrlen, bitmap[3]; in decode_fsinfo() local 5405 bitmap[3] = {0}; in decode_getacl() local [all …]
|
H A D | callback_xdr.c | 105 static __be32 decode_bitmap(struct xdr_stream *xdr, uint32_t *bitmap) in decode_bitmap() 450 uint32_t bitmap[2]; in decode_recallany_args() local 595 static __be32 encode_attr_bitmap(struct xdr_stream *xdr, const uint32_t *bitmap, size_t sz) in encode_attr_bitmap() 602 static __be32 encode_attr_change(struct xdr_stream *xdr, const uint32_t *bitmap, uint64_t change) in encode_attr_change() 615 static __be32 encode_attr_size(struct xdr_stream *xdr, const uint32_t *bitmap, uint64_t size) in encode_attr_size() 640 static __be32 encode_attr_ctime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timesp… in encode_attr_ctime() 647 static __be32 encode_attr_mtime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timesp… in encode_attr_mtime()
|
/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() 69 int bitmap = irq->irq[intx].bitmap; in pirq_route_irqs() local
|
/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() 141 void *bitmap; in hfs_vbm_search_free() local
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_ovec.c | 31 unsigned long *bitmap; member 135 static void guest_byte_to_bitmap(uint8_t entry, unsigned long *bitmap, in guest_byte_to_bitmap() 147 static uint8_t guest_byte_from_bitmap(unsigned long *bitmap, long bitmap_offset) in guest_byte_from_bitmap()
|
/openbmc/linux/net/netlabel/ |
H A D | netlabel_kapi.c | 613 NETLBL_CATMAP_MAPTYPE bitmap; in netlbl_catmap_walk() local 670 NETLBL_CATMAP_MAPTYPE bitmap; in netlbl_catmap_walkrng() local 727 unsigned long *bitmap) in netlbl_catmap_getlong() 844 unsigned long bitmap, in netlbl_catmap_setlong() 881 int netlbl_bitmap_walk(const unsigned char *bitmap, u32 bitmap_len, in netlbl_bitmap_walk() 924 void netlbl_bitmap_setbit(unsigned char *bitmap, u32 bit, u8 state) in netlbl_bitmap_setbit()
|
/openbmc/linux/include/linux/ |
H A D | bitmap.h | 314 #define bitmap_from_arr32(bitmap, buf, nbits) \ argument 317 #define bitmap_to_arr32(buf, bitmap, nbits) \ argument 330 #define bitmap_from_arr64(bitmap, buf, nbits) \ argument 332 #define bitmap_to_arr64(buf, bitmap, nbits) \ argument 531 static inline void bitmap_next_set_region(unsigned long *bitmap, in bitmap_next_set_region()
|