Home
last modified time | relevance | path

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

12

/Linux-v5.4/arch/x86/include/asm/
Dpgalloc.h92 gfp_t gfp = GFP_KERNEL_ACCOUNT | __GFP_ZERO; in pmd_alloc_one()
152 gfp_t gfp = GFP_KERNEL_ACCOUNT; in pud_alloc_one()
192 gfp_t gfp = GFP_KERNEL_ACCOUNT; in p4d_alloc_one()
/Linux-v5.4/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.4/kernel/
Dgroups.c21 gi = kmalloc(len, GFP_KERNEL_ACCOUNT|__GFP_NOWARN|__GFP_NORETRY); in groups_alloc()
23 gi = __vmalloc(len, GFP_KERNEL_ACCOUNT, PAGE_KERNEL); in groups_alloc()
/Linux-v5.4/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.c567 slots = kvzalloc(sizeof(struct kvm_memslots), GFP_KERNEL_ACCOUNT); in kvm_alloc_memslots()
643 GFP_KERNEL_ACCOUNT); in kvm_create_vm_debugfs()
648 stat_data = kzalloc(sizeof(*stat_data), GFP_KERNEL_ACCOUNT); in kvm_create_vm_debugfs()
717 kzalloc(sizeof(struct kvm_io_bus), GFP_KERNEL_ACCOUNT)); in kvm_create_vm()
860 memslot->dirty_bitmap = kvzalloc(dirty_bytes, GFP_KERNEL_ACCOUNT); in kvm_create_dirty_bitmap()
1092 slots = kvzalloc(sizeof(struct kvm_memslots), GFP_KERNEL_ACCOUNT); in __kvm_set_memory_region()
2842 kvm_regs = kzalloc(sizeof(struct kvm_regs), GFP_KERNEL_ACCOUNT); in kvm_vcpu_ioctl()
2871 GFP_KERNEL_ACCOUNT); in kvm_vcpu_ioctl()
2963 fpu = kzalloc(sizeof(struct kvm_fpu), GFP_KERNEL_ACCOUNT); in kvm_vcpu_ioctl()
3163 dev = kzalloc(sizeof(*dev), GFP_KERNEL_ACCOUNT); in kvm_ioctl_create_device()
[all …]
Dcoalesced_mmio.c151 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.4/include/linux/
Dthread_info.h46 #define THREADINFO_GFP (GFP_KERNEL_ACCOUNT | __GFP_ZERO)
Dgfp.h291 #define GFP_KERNEL_ACCOUNT (GFP_KERNEL | __GFP_ACCOUNT) macro
/Linux-v5.4/fs/notify/inotify/
Dinotify_fsnotify.c99 event = kmalloc(alloc_len, GFP_KERNEL_ACCOUNT | __GFP_RETRY_MAYFAIL); in inotify_handle_event()
/Linux-v5.4/include/trace/events/
Dmmflags.h22 {(unsigned long)GFP_KERNEL_ACCOUNT, "GFP_KERNEL_ACCOUNT"}, \
/Linux-v5.4/arch/x86/kvm/
Dsvm.c1812 pages = __vmalloc(size, GFP_KERNEL_ACCOUNT | __GFP_ZERO, in sev_pin_memory()
1815 pages = kmalloc(size, GFP_KERNEL_ACCOUNT); in sev_pin_memory()
1884 GFP_KERNEL_ACCOUNT | __GFP_ZERO, in svm_vm_alloc()
1960 p_page = alloc_page(GFP_KERNEL_ACCOUNT); in avic_vm_init()
1968 l_page = alloc_page(GFP_KERNEL_ACCOUNT); in avic_vm_init()
2147 svm = kmem_cache_zalloc(kvm_vcpu_cache, GFP_KERNEL_ACCOUNT); in svm_create_vcpu()
2154 GFP_KERNEL_ACCOUNT); in svm_create_vcpu()
2162 GFP_KERNEL_ACCOUNT); in svm_create_vcpu()
2174 page = alloc_page(GFP_KERNEL_ACCOUNT); in svm_create_vcpu()
2178 msrpm_pages = alloc_pages(GFP_KERNEL_ACCOUNT, MSRPM_ALLOC_ORDER); in svm_create_vcpu()
[all …]
Dpage_track.c43 GFP_KERNEL_ACCOUNT); in kvm_page_track_create_memslot()
Dpmu.c407 filter = kmalloc(size, GFP_KERNEL_ACCOUNT); in kvm_vm_ioctl_set_pmu_event_filter()
Di8259.c586 s = kzalloc(sizeof(struct kvm_pic), GFP_KERNEL_ACCOUNT); in kvm_pic_init()
Di8254.c656 pit = kzalloc(sizeof(struct kvm_pit), GFP_KERNEL_ACCOUNT); in kvm_create_pit()
Dioapic.c610 ioapic = kzalloc(sizeof(struct kvm_ioapic), GFP_KERNEL_ACCOUNT); in kvm_ioapic_init()
/Linux-v5.4/fs/
Dfile.c111 fdt = kmalloc(sizeof(struct fdtable), GFP_KERNEL_ACCOUNT); in alloc_fdtable()
115 data = kvmalloc_array(nr, sizeof(struct file *), GFP_KERNEL_ACCOUNT); in alloc_fdtable()
122 GFP_KERNEL_ACCOUNT); in alloc_fdtable()
Dseq_file.c32 return kvmalloc(size, GFP_KERNEL_ACCOUNT); in seq_buf_alloc()
569 struct seq_operations *op = kmalloc(sizeof(*op), GFP_KERNEL_ACCOUNT); in single_open()
631 private = kzalloc(psize, GFP_KERNEL_ACCOUNT); in __seq_open_private()
Dpipe.c659 pipe = kzalloc(sizeof(struct pipe_inode_info), GFP_KERNEL_ACCOUNT); in alloc_pipe_info()
677 GFP_KERNEL_ACCOUNT); in alloc_pipe_info()
1100 GFP_KERNEL_ACCOUNT | __GFP_NOWARN); in pipe_set_size()
/Linux-v5.4/arch/powerpc/mm/book3s64/
Dpgtable.c292 gfp_t gfp = GFP_KERNEL_ACCOUNT | __GFP_ZERO; in __alloc_for_pmdcache()
/Linux-v5.4/arch/x86/kvm/vmx/
Dvmx.h485 GFP_KERNEL_ACCOUNT); in alloc_vmcs()
/Linux-v5.4/fs/notify/fanotify/
Dfanotify.c285 gfp_t gfp = GFP_KERNEL_ACCOUNT; in fanotify_alloc_event()
/Linux-v5.4/Documentation/core-api/
Dmemory-allocation.rst54 is the handy ``GFP_KERNEL_ACCOUNT`` shortcut for ``GFP_KERNEL``

12