/linux/virt/kvm/ |
A D | coalesced_mmio.c | 114 page = alloc_page(GFP_KERNEL_ACCOUNT | __GFP_ZERO); in kvm_coalesced_mmio_init() 147 GFP_KERNEL_ACCOUNT); in kvm_vm_ioctl_register_coalesced_mmio()
|
A D | irqchip.c | 187 new = kzalloc(struct_size(new, map, nr_rt_entries), GFP_KERNEL_ACCOUNT); in kvm_set_irq_routing() 198 e = kzalloc(sizeof(*e), GFP_KERNEL_ACCOUNT); in kvm_set_irq_routing()
|
A D | vfio.c | 219 kvg = kzalloc(sizeof(*kvg), GFP_KERNEL_ACCOUNT); in kvm_vfio_set_group() 405 kv = kzalloc(sizeof(*kv), GFP_KERNEL_ACCOUNT); in kvm_vfio_create()
|
A D | kvm_main.c | 381 obj = mmu_memory_cache_alloc_obj(mc, GFP_KERNEL_ACCOUNT); in kvm_mmu_topup_memory_cache() 963 GFP_KERNEL_ACCOUNT); in kvm_create_vm_debugfs() 1076 kzalloc(sizeof(struct kvm_io_bus), GFP_KERNEL_ACCOUNT)); in kvm_create_vm() 1525 slots = kvzalloc(new_size, GFP_KERNEL_ACCOUNT); in kvm_dup_memslots() 3561 page = alloc_page(GFP_KERNEL_ACCOUNT | __GFP_ZERO); in kvm_vm_ioctl_create_vcpu() 3763 GFP_KERNEL_ACCOUNT); in kvm_vcpu_ioctl() 4060 dev = kzalloc(sizeof(*dev), GFP_KERNEL_ACCOUNT); in kvm_ioctl_create_device() 4955 GFP_KERNEL_ACCOUNT); in kvm_io_bus_register_dev() 5003 GFP_KERNEL_ACCOUNT); in kvm_io_bus_unregister_dev() 5278 env = kzalloc(sizeof(*env), GFP_KERNEL_ACCOUNT); in kvm_uevent_notify_change() [all …]
|
A D | eventfd.c | 309 irqfd = kzalloc(sizeof(*irqfd), GFP_KERNEL_ACCOUNT); in kvm_irqfd_assign() 358 GFP_KERNEL_ACCOUNT); in kvm_irqfd_assign() 816 p = kzalloc(sizeof(*p), GFP_KERNEL_ACCOUNT); in kvm_assign_ioeventfd_idx()
|
/linux/ipc/ |
A D | msgutil.c | 53 msg = kmalloc(sizeof(*msg) + alen, GFP_KERNEL_ACCOUNT); in alloc_msg() 68 seg = kmalloc(sizeof(*seg) + alen, GFP_KERNEL_ACCOUNT); in alloc_msg()
|
/linux/security/landlock/ |
A D | ruleset.c | 32 num_layers), GFP_KERNEL_ACCOUNT); in create_ruleset() 88 GFP_KERNEL_ACCOUNT); in create_rule() 425 GFP_KERNEL_ACCOUNT); in landlock_merge_ruleset()
|
A D | object.c | 28 new_object = kzalloc(sizeof(*new_object), GFP_KERNEL_ACCOUNT); in landlock_create_object()
|
/linux/arch/s390/kvm/ |
A D | pv.c | 62 vcpu->arch.pv.stor_base = __get_free_pages(GFP_KERNEL_ACCOUNT, in kvm_s390_pv_create_cpu() 74 vcpu->arch.sie_block->sidad = __get_free_page(GFP_KERNEL_ACCOUNT | __GFP_ZERO); in kvm_s390_pv_create_cpu() 122 kvm->arch.pv.stor_base = __get_free_pages(GFP_KERNEL_ACCOUNT, get_order(base)); in kvm_s390_pv_alloc_vm()
|
A D | guestdbg.c | 187 wp_info->old_data = kmalloc(bp_data->len, GFP_KERNEL_ACCOUNT); in __import_wp_info() 237 GFP_KERNEL_ACCOUNT); in kvm_s390_import_bp_data() 246 GFP_KERNEL_ACCOUNT); in kvm_s390_import_bp_data() 352 temp = kmalloc(wp_info->len, GFP_KERNEL_ACCOUNT); in any_wp_changed()
|
/linux/arch/x86/kvm/mmu/ |
A D | page_track.c | 51 GFP_KERNEL_ACCOUNT); in kvm_page_track_create_memslot() 78 gfn_track = kvcalloc(slot->npages, sizeof(*gfn_track), GFP_KERNEL_ACCOUNT); in kvm_page_track_write_tracking_alloc()
|
/linux/arch/s390/mm/ |
A D | gmap.c | 58 gmap = kzalloc(sizeof(struct gmap), GFP_KERNEL_ACCOUNT); in gmap_alloc() 64 INIT_RADIX_TREE(&gmap->guest_to_host, GFP_KERNEL_ACCOUNT); in gmap_alloc() 70 page = alloc_pages(GFP_KERNEL_ACCOUNT, CRST_ALLOC_ORDER); in gmap_alloc() 311 page = alloc_pages(GFP_KERNEL_ACCOUNT, CRST_ALLOC_ORDER); in gmap_alloc_table() 596 rc = radix_tree_preload(GFP_KERNEL_ACCOUNT); in __gmap_link() 1227 rmap = kzalloc(sizeof(*rmap), GFP_KERNEL_ACCOUNT); in gmap_protect_rmap() 1231 rc = radix_tree_preload(GFP_KERNEL_ACCOUNT); in gmap_protect_rmap() 1750 page = alloc_pages(GFP_KERNEL_ACCOUNT, CRST_ALLOC_ORDER); in gmap_shadow_r2t() 1834 page = alloc_pages(GFP_KERNEL_ACCOUNT, CRST_ALLOC_ORDER); in gmap_shadow_r3t() 2125 rmap = kzalloc(sizeof(*rmap), GFP_KERNEL_ACCOUNT); in gmap_shadow_page() [all …]
|
/linux/arch/x86/kernel/ |
A D | ldt.c | 157 new_ldt = kmalloc(sizeof(struct ldt_struct), GFP_KERNEL_ACCOUNT); in alloc_ldt_struct() 171 new_ldt->entries = __vmalloc(alloc_size, GFP_KERNEL_ACCOUNT | __GFP_ZERO); in alloc_ldt_struct() 173 new_ldt->entries = (void *)get_zeroed_page(GFP_KERNEL_ACCOUNT); in alloc_ldt_struct()
|
/linux/arch/mips/include/asm/ |
A D | pgalloc.h | 64 pg = alloc_pages(GFP_KERNEL_ACCOUNT, PMD_ORDER); in pmd_alloc_one()
|
/linux/fs/notify/ |
A D | group.c | 154 return __fsnotify_alloc_group(ops, GFP_KERNEL_ACCOUNT); in fsnotify_alloc_user_group()
|
/linux/Documentation/translations/zh_CN/core-api/ |
A D | memory-allocation.rst | 54 有一个方便的用于 ``GFP_KERNEL`` 分配的 ``GFP_KERNEL_ACCOUNT`` 快捷键,其应该被核
|
/linux/kernel/time/ |
A D | namespace.c | 91 ns = kmalloc(sizeof(*ns), GFP_KERNEL_ACCOUNT); in clone_time_ns() 97 ns->vvar_page = alloc_page(GFP_KERNEL_ACCOUNT | __GFP_ZERO); in clone_time_ns()
|
/linux/net/core/ |
A D | scm.c | 82 fpl = kmalloc(sizeof(struct scm_fp_list), GFP_KERNEL_ACCOUNT); in scm_fp_copy() 358 GFP_KERNEL_ACCOUNT); in scm_fp_dup()
|
/linux/kernel/ |
A D | cred.c | 228 if (security_cred_alloc_blank(new, GFP_KERNEL_ACCOUNT) < 0) in cred_alloc_blank() 291 if (security_prepare_creds(new, old, GFP_KERNEL_ACCOUNT) < 0) in prepare_creds() 758 if (security_prepare_creds(new, old, GFP_KERNEL_ACCOUNT) < 0) in prepare_kernel_cred()
|
/linux/kernel/cgroup/ |
A D | namespace.c | 27 new_ns = kzalloc(sizeof(struct cgroup_namespace), GFP_KERNEL_ACCOUNT); in alloc_cgroup_ns()
|
/linux/arch/arm64/kvm/vgic/ |
A D | vgic-irqfd.c | 142 entries = kcalloc(nr, sizeof(*entries), GFP_KERNEL_ACCOUNT); in kvm_vgic_setup_default_irq_routing()
|
/linux/fs/nfs/ |
A D | nfs42xattr.c | 202 buf = kmalloc(alloclen, GFP_KERNEL_ACCOUNT | GFP_NOFS); in nfs4_xattr_alloc_entry() 216 valp = kvmalloc(len, GFP_KERNEL_ACCOUNT | GFP_NOFS); in nfs4_xattr_alloc_entry() 293 GFP_KERNEL_ACCOUNT | GFP_NOFS); in nfs4_xattr_alloc_cache()
|
/linux/arch/x86/kvm/svm/ |
A D | avic.c | 150 p_page = alloc_page(GFP_KERNEL_ACCOUNT | __GFP_ZERO); in avic_vm_init() 157 l_page = alloc_page(GFP_KERNEL_ACCOUNT | __GFP_ZERO); in avic_vm_init() 740 ir = kzalloc(sizeof(struct amd_svm_iommu_ir), GFP_KERNEL_ACCOUNT); in svm_ir_list_add()
|
A D | sev.c | 416 pages = __vmalloc(size, GFP_KERNEL_ACCOUNT | __GFP_ZERO); in sev_pin_memory() 418 pages = kmalloc(size, GFP_KERNEL_ACCOUNT); in sev_pin_memory() 686 blob = kmalloc(params.len, GFP_KERNEL_ACCOUNT); in sev_launch_measure() 1092 blob = kmalloc(params.len, GFP_KERNEL_ACCOUNT); in sev_get_attestation_report() 1174 session_data = kmalloc(params.session_len, GFP_KERNEL_ACCOUNT); in sev_send_start() 1298 hdr = kmalloc(params.hdr_len, GFP_KERNEL_ACCOUNT); in sev_send_update_data() 1302 trans_data = kmalloc(params.trans_len, GFP_KERNEL_ACCOUNT); in sev_send_update_data() 1877 region = kzalloc(sizeof(*region), GFP_KERNEL_ACCOUNT); in svm_register_enc_region() 2593 scratch_va = kvzalloc(len, GFP_KERNEL_ACCOUNT); in setup_vmgexit_scratch()
|
/linux/fs/notify/inotify/ |
A D | inotify_fsnotify.c | 89 event = kmalloc(alloc_len, GFP_KERNEL_ACCOUNT | __GFP_RETRY_MAYFAIL); in inotify_handle_inode_event()
|