Home
last modified time | relevance | path

Searched refs:bitmap (Results 101 – 125 of 696) sorted by relevance

12345678910>>...28

/openbmc/linux/tools/testing/selftests/kvm/
H A Ddirty_log_test.c232 void *bitmap, uint32_t num_pages, in dirty_log_collect_dirty_pages() argument
235 kvm_vm_get_dirty_log(vcpu->vm, slot, bitmap); in dirty_log_collect_dirty_pages()
239 void *bitmap, uint32_t num_pages, in clear_log_collect_dirty_pages() argument
242 kvm_vm_get_dirty_log(vcpu->vm, slot, bitmap); in clear_log_collect_dirty_pages()
243 kvm_vm_clear_dirty_log(vcpu->vm, slot, bitmap, 0, num_pages); in clear_log_collect_dirty_pages()
316 int slot, void *bitmap, in dirty_ring_collect_one() argument
331 __set_bit_le(cur->offset, bitmap); in dirty_ring_collect_one()
355 void *bitmap, uint32_t num_pages, in dirty_ring_collect_dirty_pages() argument
374 slot, bitmap, num_pages, in dirty_ring_collect_dirty_pages()
429 void *bitmap, uint32_t num_pages,
[all …]
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dqemu-img-bitmaps.out22 === Convert with bitmap preservation ===
104 === Check bitmap contents ===
119 === Check handling of inconsistent bitmap ===
147 qemu-img: Cannot copy inconsistent bitmap 'b0'
148 Try --skip-broken-bitmaps, or use 'qemu-img bitmap --remove' to delete it
151 qemu-img: warning: Skipping inconsistent bitmap 'b0'
152 qemu-img: warning: Skipping inconsistent bitmap 'b2'
/openbmc/linux/Documentation/driver-api/md/
H A Dmd-cluster.rst50 at the bitmap slot number.
121 If a node is stopped locally but the bitmap
220 - acquires the bitmap<number> lock of the failed node
221 - opens the bitmap
222 - reads the bitmap of the failed node
223 - copies the set bitmap to local node
224 - cleans the bitmap of the failed node
225 - releases bitmap<number> lock of the failed node
226 - initiates resync of the bitmap on the current node
315 They update the resyncing range in the bitmap lock and also
[all …]
/openbmc/linux/drivers/pci/pcie/
H A Drcec.c26 unsigned long bitmap = rcec->rcec_ea->bitmap; in rcec_assoc_rciep() local
34 for_each_set_bit(devn, &bitmap, 32) in rcec_assoc_rciep()
168 &rcec_ea->bitmap); in pci_rcec_init()
/openbmc/linux/drivers/hid/
H A Dhid-picolcd_fb.c141 static int picolcd_fb_update_tile(u8 *vbitmap, const u8 *bitmap, int bpp, in picolcd_fb_update_tile() argument
150 const u8 *bdata = bitmap + tile * 256 + chip * 8 + b * 32; in picolcd_fb_update_tile()
158 const u8 *bdata = bitmap + (tile * 256 + chip * 8 + b * 32) * 8; in picolcd_fb_update_tile()
211 memset(fbdata->bitmap, 0, PICOLCDFB_SIZE*fbdata->bpp); in picolcd_fb_reset()
250 fbdata->vbitmap, fbdata->bitmap, in picolcd_fb_update()
386 o_fb = fbdata->bitmap; in picolcd_set_par()
538 fbdata->bitmap = vmalloc(PICOLCDFB_SIZE*8); in picolcd_init_framebuffer()
539 if (fbdata->bitmap == NULL) { in picolcd_init_framebuffer()
543 info->screen_buffer = fbdata->bitmap; in picolcd_init_framebuffer()
544 info->fix.smem_start = (unsigned long)fbdata->bitmap; in picolcd_init_framebuffer()
[all …]
/openbmc/linux/Documentation/virt/kvm/arm/
H A Dhypercalls.rst82 hypercall services in the form of a feature-bitmap to the userspace. This
83 bitmap is translated to the services that are available to the guest.
90 desired bitmap back via SET_ONE_REG. The features for the registers that
98 The pseudo-firmware bitmap register are as follows:
101 Controls the bitmap of the ARM Standard Secure Service Calls.
110 Controls the bitmap of the ARM Standard Hypervisor Service Calls.
119 Controls the bitmap of the Vendor specific Hypervisor Service Calls.
135 -EINVAL Invalid bitmap written to the register.
/openbmc/linux/drivers/pci/controller/
H A Dpci-xgene-msi.c38 unsigned long *bitmap; member
202 msi_irq = bitmap_find_next_zero_area(msi->bitmap, NR_MSI_VEC, 0, in xgene_irq_domain_alloc()
205 bitmap_set(msi->bitmap, msi_irq, msi->num_cpus); in xgene_irq_domain_alloc()
231 bitmap_clear(msi->bitmap, hwirq, msi->num_cpus); in xgene_irq_domain_free()
272 xgene_msi->bitmap = bitmap_zalloc(NR_MSI_VEC, GFP_KERNEL); in xgene_msi_init_allocator()
273 if (!xgene_msi->bitmap) in xgene_msi_init_allocator()
361 bitmap_free(msi->bitmap); in xgene_msi_remove()
362 msi->bitmap = NULL; in xgene_msi_remove()
/openbmc/qemu/tests/qemu-iotests/
H A D26038 bitmap = info['dirty-bitmaps'][0]
39 log('{}: name={} dirty-clusters={}'.format(msg, bitmap['name'],
40 bitmap['count'] // 64 // 1024))
H A D17664 for reason in snapshot bitmap; do
93 bitmap)
159 bitmap)
H A D257346 bitmap = vm.get_bitmap(drive0.node, 'bitmap0', bitmaps=bitmaps)
347 ebitmap.compare(bitmap)
356 bitmap="bitmap0", bitmap_mode=bsync_mode)
410 bitmap="bitmap0", bitmap_mode=bsync_mode)
510 for bitmap in (None, 'bitmap404', 'bitmap0'):
511 for policy in error_cases[sync_mode][bitmap]:
514 bitmap=bitmap, bitmap_mode=policy)
/openbmc/linux/Documentation/core-api/
H A Dkernel-api.rst72 .. kernel-doc:: lib/bitmap.c
73 :doc: bitmap introduction
75 .. kernel-doc:: include/linux/bitmap.h
76 :doc: declare bitmap
78 .. kernel-doc:: include/linux/bitmap.h
79 :doc: bitmap overview
81 .. kernel-doc:: include/linux/bitmap.h
82 :doc: bitmap bitops
84 .. kernel-doc:: lib/bitmap.c
87 .. kernel-doc:: lib/bitmap.c
[all …]
/openbmc/linux/include/net/
H A Dnetlabel.h156 NETLBL_CATMAP_MAPTYPE bitmap[NETLBL_CATMAP_MAPCNT]; member
449 unsigned long *bitmap);
459 unsigned long bitmap,
464 int netlbl_bitmap_walk(const unsigned char *bitmap, u32 bitmap_len,
466 void netlbl_bitmap_setbit(unsigned char *bitmap, u32 bit, u8 state);
588 unsigned long *bitmap) in netlbl_catmap_getlong() argument
607 unsigned long bitmap, in netlbl_catmap_setlong() argument
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dcam.c260 u32 bitmap = (rtlpriv->sec.hwsec_cam_bitmap) >> 4; in rtl_cam_get_free_entry() local
276 if ((bitmap & BIT(0)) == 0) { in rtl_cam_get_free_entry()
284 bitmap = bitmap >> 1; in rtl_cam_get_free_entry()
293 u32 bitmap; in rtl_cam_del_entry() local
308 bitmap = (rtlpriv->sec.hwsec_cam_bitmap) >> i; in rtl_cam_del_entry()
309 if (((bitmap & BIT(0)) == BIT(0)) && in rtl_cam_del_entry()
/openbmc/linux/mm/
H A Dmapping_dirty_helpers.c68 unsigned long *bitmap; member
109 __set_bit(pgoff, cwalk->bitmap); in clean_record_pte()
316 unsigned long *bitmap, in clean_record_shared_mapping_range() argument
324 .bitmap = bitmap, in clean_record_shared_mapping_range()
/openbmc/linux/kernel/dma/
H A Dcoherent.c18 unsigned long *bitmap; member
55 dma_mem->bitmap = bitmap_zalloc(pages, GFP_KERNEL); in dma_init_coherent_memory()
56 if (!dma_mem->bitmap) in dma_init_coherent_memory()
83 bitmap_free(mem->bitmap); in _dma_release_coherent_memory()
155 pageno = bitmap_find_free_region(mem->bitmap, mem->size, order); in __dma_alloc_from_coherent()
208 bitmap_release_region(mem->bitmap, page, order); in __dma_release_from_coherent()
/openbmc/linux/arch/powerpc/sysdev/
H A Dfsl_msi.c109 rc = msi_bitmap_alloc(&msi_data->bitmap, NR_MSI_IRQS_MAX, in fsl_msi_init_allocator()
119 msi_bitmap_reserve_hwirq(&msi_data->bitmap, hwirq); in fsl_msi_init_allocator()
136 msi_bitmap_free_hwirqs(&msi_data->bitmap, hwirq, 1); in fsl_teardown_msi_irqs()
236 hwirq = msi_bitmap_alloc_hwirqs(&msi_data->bitmap, 1); in fsl_setup_msi_irqs()
251 msi_bitmap_free_hwirqs(&msi_data->bitmap, hwirq, 1); in fsl_setup_msi_irqs()
339 if (msi->bitmap.bitmap) in fsl_of_msi_remove()
340 msi_bitmap_free(&msi->bitmap); in fsl_of_msi_remove()
386 msi_bitmap_free_hwirqs(&msi->bitmap, in fsl_msi_setup_hwirq()
/openbmc/linux/drivers/firmware/efi/libstub/
H A Dunaccepted_memory.c77 memset(unaccepted_table->bitmap, 0, bitmap_size); in allocate_unaccepted_bitmap()
176 bitmap_set(unaccepted_table->bitmap, in process_unaccepted_memory()
212 unaccepted_table->bitmap, bitmap_size) { in accept_memory()
219 bitmap_clear(unaccepted_table->bitmap, in accept_memory()
/openbmc/linux/drivers/irqchip/
H A Dirq-partition-percpu.c21 unsigned long *bitmap; member
122 for_each_set_bit(hwirq, part->bitmap, part->nr_parts) { in partition_handle_irq()
151 set_bit(hwirq, part->bitmap); in partition_domain_alloc()
218 desc->bitmap = bitmap_zalloc(nr_parts, GFP_KERNEL); in partition_create_desc()
219 if (WARN_ON(!desc->bitmap)) in partition_create_desc()
/openbmc/linux/drivers/gpu/drm/omapdrm/
H A Dtcm-sita.c161 ret = r2l_b2t_1d(num_slots, &pos, tcm->bitmap, tcm->map_size); in sita_reserve_1d()
181 ret = l2r_t2b(w, h, align, offset, &pos, slot_bytes, tcm->bitmap, in sita_reserve_2d()
215 free_slots(pos, w, h, tcm->bitmap, tcm->width); in sita_free()
241 tcm->bitmap = (unsigned long *)(tcm + 1); in sita_init()
242 bitmap_clear(tcm->bitmap, 0, width*height); in sita_init()
/openbmc/linux/drivers/vfio/
H A Dvfio_iommu_type1.c99 unsigned long *bitmap; member
248 if (!dma->bitmap) in vfio_dma_bitmap_alloc()
256 kvfree(dma->bitmap); in vfio_dma_bitmap_free()
257 dma->bitmap = NULL; in vfio_dma_bitmap_free()
887 bitmap_set(dma->bitmap, in vfio_iommu_type1_pin_pages()
1177 bitmap_shift_left(dma->bitmap, dma->bitmap, shift, in update_user_bitmap()
1185 bitmap_or(dma->bitmap, dma->bitmap, &leftover, shift); in update_user_bitmap()
1188 if (copy_to_user((void __user *)(bitmap + copy_offset), dma->bitmap, in update_user_bitmap()
2872 sizeof(bitmap))) in vfio_iommu_type1_unmap_dma()
2875 if (!access_ok((void __user *)bitmap.data, bitmap.size)) in vfio_iommu_type1_unmap_dma()
[all …]
/openbmc/linux/Documentation/filesystems/ext4/
H A Dbitmaps.rst6 The data block bitmap tracks the usage of data blocks within the block
9 The inode bitmap records which entries in the inode table are in use.
16 of the kernel and e2fsprogs code pretends that the block bitmap contains
/openbmc/linux/Documentation/admin-guide/mm/
H A Didle_page_tracking.rst23 ``/sys/kernel/mm/page_idle/bitmap``.
25 The file implements a bitmap where each bit corresponds to a memory page. The
26 bitmap is represented by an array of 8-byte integers, and the page at PFN #i is
35 current bitmap value.
45 Reading from or writing to ``/sys/kernel/mm/page_idle/bitmap`` will return
54 ``/sys/kernel/mm/page_idle/bitmap``. The pages can be found by reading
61 3. Read ``/sys/kernel/mm/page_idle/bitmap`` and count the number of bits set.
99 is set manually, by writing to ``/sys/kernel/mm/page_idle/bitmap`` (see the
117 result noticeably. In order not to stall scanning of the idle page bitmap,
/openbmc/linux/net/ncsi/
H A Dncsi-rsp.c367 void *bitmap; in ncsi_rsp_handler_svf() local
383 bitmap = &ncf->bitmap; in ncsi_rsp_handler_svf()
456 void *bitmap; in ncsi_rsp_handler_sma() local
474 bitmap = &ncf->bitmap; in ncsi_rsp_handler_sma()
854 void *bitmap; in ncsi_rsp_handler_gp() local
891 bitmap = &ncmf->bitmap; in ncsi_rsp_handler_gp()
894 clear_bit(i, bitmap); in ncsi_rsp_handler_gp()
896 set_bit(i, bitmap); in ncsi_rsp_handler_gp()
905 bitmap = &ncvf->bitmap; in ncsi_rsp_handler_gp()
909 clear_bit(i, bitmap); in ncsi_rsp_handler_gp()
[all …]
/openbmc/linux/drivers/firmware/efi/
H A Dunaccepted_memory.c124 for_each_set_bitrange_from(range_start, range_end, unaccepted->bitmap, in accept_memory()
147 bitmap_clear(unaccepted->bitmap, range_start, len); in accept_memory()
193 if (test_bit(start / unit_size, unaccepted->bitmap)) { in range_contains_unaccepted_memory()
/openbmc/linux/drivers/md/
H A Dmd-cluster.c1132 struct bitmap *bitmap = mddev->bitmap; in resize_bitmaps() local
1149 if (IS_ERR(bitmap)) { in resize_bitmaps()
1151 bitmap = NULL; in resize_bitmaps()
1154 counts = &bitmap->counts; in resize_bitmaps()
1178 md_bitmap_free(bitmap); in resize_bitmaps()
1183 md_bitmap_free(bitmap); in resize_bitmaps()
1198 struct bitmap *bitmap = mddev->bitmap; in cluster_check_sync_size() local
1211 if (IS_ERR(bitmap)) { in cluster_check_sync_size()
1224 md_bitmap_free(bitmap); in cluster_check_sync_size()
1238 md_bitmap_free(bitmap); in cluster_check_sync_size()
[all …]

12345678910>>...28