Searched refs:dirty_bitmap (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/irqchip/ |
H A D | irq-riscv-imsic-state.c | 135 for_each_set_bit(i, lpriv->dirty_bitmap, imsic->global.nr_ids + 1) { in __imsic_local_sync() 163 bitmap_clear(lpriv->dirty_bitmap, i, 1); in __imsic_local_sync() 173 bitmap_fill(lpriv->dirty_bitmap, imsic->global.nr_ids + 1); in imsic_local_sync_all() 253 bitmap_set(lpriv->dirty_bitmap, vec->local_id, 1); in imsic_vector_mask() 275 bitmap_set(lpriv->dirty_bitmap, vec->local_id, 1); in imsic_vector_unmask() 295 bitmap_set(lpriv->dirty_bitmap, vec->local_id, 1); in imsic_vector_move_update() 412 bitmap_free(lpriv->dirty_bitmap); in imsic_local_cleanup() 438 lpriv->dirty_bitmap = bitmap_zalloc(global->nr_ids + 1, GFP_KERNEL); in imsic_local_init() 439 if (!lpriv->dirty_bitmap) in imsic_local_init()
|
H A D | irq-riscv-imsic-state.h | 34 unsigned long *dirty_bitmap; member
|
/linux/virt/kvm/ |
H A D | kvm_main.c | 926 if (!memslot->dirty_bitmap) in kvm_destroy_dirty_bitmap() 929 vfree(memslot->dirty_bitmap); in kvm_destroy_dirty_bitmap() 930 memslot->dirty_bitmap = NULL; in kvm_destroy_dirty_bitmap() 1375 memslot->dirty_bitmap = __vcalloc(2, dirty_bytes, GFP_KERNEL_ACCOUNT); in kvm_alloc_dirty_bitmap() 1376 if (!memslot->dirty_bitmap) in kvm_alloc_dirty_bitmap() 1624 new->dirty_bitmap = NULL; in kvm_prepare_memory_region() 1625 else if (old && old->dirty_bitmap) in kvm_prepare_memory_region() 1626 new->dirty_bitmap = old->dirty_bitmap; in kvm_prepare_memory_region() 1633 bitmap_set(new->dirty_bitmap, 0, new->npages); in kvm_prepare_memory_region() 1640 if (r && new && new->dirty_bitmap && (!old || !old->dirty_bitmap)) in kvm_prepare_memory_region() [all …]
|
/linux/fs/btrfs/ |
H A D | subpage.c | 715 unsigned long dirty_bitmap; in btrfs_subpage_dump_bitmap() local 727 GET_SUBPAGE_BITMAP(subpage, fs_info, dirty, &dirty_bitmap); in btrfs_subpage_dump_bitmap() 739 sectors_per_page, &dirty_bitmap, in btrfs_subpage_dump_bitmap()
|
/linux/drivers/md/ |
H A D | dm-writecache.c | 201 unsigned long *dirty_bitmap; member 460 memset(wc->dirty_bitmap, -1, wc->dirty_bitmap_size); in writecache_flush_all_metadata() 467 wc->dirty_bitmap); in writecache_flush_region() 510 i = find_next_bit(wc->dirty_bitmap, bitmap_bits, i); in ssd_commit_flushed() 513 j = find_next_zero_bit(wc->dirty_bitmap, bitmap_bits, i); in ssd_commit_flushed() 546 memset(wc->dirty_bitmap, 0, wc->dirty_bitmap_size); in ssd_commit_flushed() 2224 vfree(wc->dirty_bitmap); in writecache_dtr() 2568 wc->dirty_bitmap = vzalloc(wc->dirty_bitmap_size); in writecache_ctr() 2569 if (!wc->dirty_bitmap) { in writecache_ctr()
|
/linux/arch/powerpc/kvm/ |
H A D | book3s_hv_rm_mmu.c | 101 if (!psize || !memslot->dirty_bitmap) in kvmppc_update_dirty_map() 105 set_dirty_bits_atomic(memslot->dirty_bitmap, gfn, npages); in kvmppc_update_dirty_map() 119 if (memslot && memslot->dirty_bitmap) in kvmppc_set_dirty_from_hpte()
|
/linux/include/uapi/linux/ |
H A D | kvm.h | 526 void __user *dirty_bitmap; /* one bit per page */ member 537 void __user *dirty_bitmap; /* one bit per page */ member
|
/linux/tools/include/uapi/linux/ |
H A D | kvm.h | 526 void __user *dirty_bitmap; /* one bit per page */ member 537 void __user *dirty_bitmap; /* one bit per page */ member
|
/linux/tools/testing/selftests/kvm/include/ |
H A D | kvm_util.h | 438 struct kvm_dirty_log args = { .dirty_bitmap = log, .slot = slot }; in kvm_vm_get_dirty_log() 447 .dirty_bitmap = log, in kvm_vm_clear_dirty_log()
|