Home
last modified time | relevance | path

Searched refs:GFP_KERNEL_ACCOUNT (Results 1 – 25 of 52) sorted by relevance

123

/Linux-v5.10/arch/x86/kvm/svm/
Dsev.c200 data = kzalloc(sizeof(*data), GFP_KERNEL_ACCOUNT); in sev_bind_asid()
250 start = kzalloc(sizeof(*start), GFP_KERNEL_ACCOUNT); in sev_launch_start()
344 pages = __vmalloc(size, GFP_KERNEL_ACCOUNT | __GFP_ZERO); in sev_pin_memory()
346 pages = kmalloc(size, GFP_KERNEL_ACCOUNT); in sev_pin_memory()
434 data = kzalloc(sizeof(*data), GFP_KERNEL_ACCOUNT); in sev_launch_update_data()
509 data = kzalloc(sizeof(*data), GFP_KERNEL_ACCOUNT); in sev_launch_measure()
571 data = kzalloc(sizeof(*data), GFP_KERNEL_ACCOUNT); in sev_launch_finish()
592 data = kzalloc(sizeof(*data), GFP_KERNEL_ACCOUNT); in sev_guest_status()
620 data = kzalloc(sizeof(*data), GFP_KERNEL_ACCOUNT); in __sev_issue_dbg_cmd()
886 data = kzalloc(sizeof(*data), GFP_KERNEL_ACCOUNT); in sev_launch_secret()
[all …]
Davic.c156 p_page = alloc_page(GFP_KERNEL_ACCOUNT | __GFP_ZERO); in avic_vm_init()
163 l_page = alloc_page(GFP_KERNEL_ACCOUNT | __GFP_ZERO); in avic_vm_init()
747 ir = kzalloc(sizeof(struct amd_svm_iommu_ir), GFP_KERNEL_ACCOUNT); in svm_ir_list_add()
/Linux-v5.10/ipc/
Dmsgutil.c53 msg = kmalloc(sizeof(*msg) + alen, GFP_KERNEL_ACCOUNT); in alloc_msg()
68 seg = kmalloc(sizeof(*seg) + alen, GFP_KERNEL_ACCOUNT); in alloc_msg()
/Linux-v5.10/kernel/
Dgroups.c21 gi = kmalloc(len, GFP_KERNEL_ACCOUNT|__GFP_NOWARN|__GFP_NORETRY); in groups_alloc()
23 gi = __vmalloc(len, GFP_KERNEL_ACCOUNT); in groups_alloc()
Dcred.c226 if (security_cred_alloc_blank(new, GFP_KERNEL_ACCOUNT) < 0) in cred_alloc_blank()
285 if (security_prepare_creds(new, old, GFP_KERNEL_ACCOUNT) < 0) in prepare_creds()
719 if (security_prepare_creds(new, old, GFP_KERNEL_ACCOUNT) < 0) in prepare_kernel_cred()
/Linux-v5.10/virt/kvm/
Dirqchip.c187 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()
Dvfio.c219 kvg = kzalloc(sizeof(*kvg), GFP_KERNEL_ACCOUNT); in kvm_vfio_set_group()
405 kv = kzalloc(sizeof(*kv), GFP_KERNEL_ACCOUNT); in kvm_vfio_create()
Dkvm_main.c360 obj = mmu_memory_cache_alloc_obj(mc, GFP_KERNEL_ACCOUNT); in kvm_mmu_topup_memory_cache()
629 slots = kvzalloc(sizeof(struct kvm_memslots), GFP_KERNEL_ACCOUNT); in kvm_alloc_memslots()
701 GFP_KERNEL_ACCOUNT); in kvm_create_vm_debugfs()
706 stat_data = kzalloc(sizeof(*stat_data), GFP_KERNEL_ACCOUNT); in kvm_create_vm_debugfs()
775 kzalloc(sizeof(struct kvm_io_bus), GFP_KERNEL_ACCOUNT)); in kvm_create_vm()
932 memslot->dirty_bitmap = kvzalloc(dirty_bytes, GFP_KERNEL_ACCOUNT); in kvm_alloc_dirty_bitmap()
1170 slots = kvzalloc(new_size, GFP_KERNEL_ACCOUNT); in kvm_dup_memslots()
3242 kvm_regs = kzalloc(sizeof(struct kvm_regs), GFP_KERNEL_ACCOUNT); in kvm_vcpu_ioctl()
3270 GFP_KERNEL_ACCOUNT); in kvm_vcpu_ioctl()
3362 fpu = kzalloc(sizeof(struct kvm_fpu), GFP_KERNEL_ACCOUNT); in kvm_vcpu_ioctl()
[all …]
Dcoalesced_mmio.c147 GFP_KERNEL_ACCOUNT); in kvm_vm_ioctl_register_coalesced_mmio()
Deventfd.c297 irqfd = kzalloc(sizeof(*irqfd), GFP_KERNEL_ACCOUNT); in kvm_irqfd_assign()
346 GFP_KERNEL_ACCOUNT); in kvm_irqfd_assign()
798 p = kzalloc(sizeof(*p), GFP_KERNEL_ACCOUNT); in kvm_assign_ioeventfd_idx()
/Linux-v5.10/include/linux/
Dthread_info.h46 #define THREADINFO_GFP (GFP_KERNEL_ACCOUNT | __GFP_ZERO)
Dgfp.h300 #define GFP_KERNEL_ACCOUNT (GFP_KERNEL | __GFP_ACCOUNT) macro
/Linux-v5.10/fs/notify/inotify/
Dinotify_fsnotify.c92 event = kmalloc(alloc_len, GFP_KERNEL_ACCOUNT | __GFP_RETRY_MAYFAIL); in inotify_one_event()
/Linux-v5.10/fs/nfs/
Dnfs42xattr.c202 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-v5.10/arch/x86/include/asm/
Dpgalloc.h154 gfp_t gfp = GFP_KERNEL_ACCOUNT; in p4d_alloc_one()
/Linux-v5.10/arch/x86/kvm/mmu/
Dpage_track.c39 GFP_KERNEL_ACCOUNT); in kvm_page_track_create_memslot()
/Linux-v5.10/include/trace/events/
Dmmflags.h22 {(unsigned long)GFP_KERNEL_ACCOUNT, "GFP_KERNEL_ACCOUNT"}, \
/Linux-v5.10/fs/
Dseq_file.c35 return kvmalloc(size, GFP_KERNEL_ACCOUNT); in seq_buf_alloc()
561 struct seq_operations *op = kmalloc(sizeof(*op), GFP_KERNEL_ACCOUNT); in single_open()
623 private = kzalloc(psize, GFP_KERNEL_ACCOUNT); in __seq_open_private()
Dfile.c115 fdt = kmalloc(sizeof(struct fdtable), GFP_KERNEL_ACCOUNT); in alloc_fdtable()
119 data = kvmalloc_array(nr, sizeof(struct file *), GFP_KERNEL_ACCOUNT); in alloc_fdtable()
126 GFP_KERNEL_ACCOUNT); in alloc_fdtable()
Dpipe.c774 pipe = kzalloc(sizeof(struct pipe_inode_info), GFP_KERNEL_ACCOUNT); in alloc_pipe_info()
792 GFP_KERNEL_ACCOUNT); in alloc_pipe_info()
1249 GFP_KERNEL_ACCOUNT | __GFP_NOWARN); in pipe_resize_ring()
/Linux-v5.10/arch/x86/kvm/vmx/
Dvmx.h456 GFP_KERNEL_ACCOUNT); in alloc_vmcs()
/Linux-v5.10/arch/powerpc/mm/book3s64/
Dpgtable.c293 gfp_t gfp = GFP_KERNEL_ACCOUNT | __GFP_ZERO; in __alloc_for_pmdcache()
/Linux-v5.10/arch/x86/kvm/
Dpmu.c504 filter = kmalloc(size, GFP_KERNEL_ACCOUNT); in kvm_vm_ioctl_set_pmu_event_filter()
Di8259.c590 s = kzalloc(sizeof(struct kvm_pic), GFP_KERNEL_ACCOUNT); in kvm_pic_init()
Di8254.c667 pit = kzalloc(sizeof(struct kvm_pit), GFP_KERNEL_ACCOUNT); in kvm_create_pit()

123