| /Linux-v5.4/arch/x86/include/asm/ |
| D | pgalloc.h | 92 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/ |
| 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-v5.4/kernel/ |
| D | groups.c | 21 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/ |
| 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()
|
| 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()
|
| D | kvm_main.c | 567 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 …]
|
| D | coalesced_mmio.c | 151 GFP_KERNEL_ACCOUNT); in kvm_vm_ioctl_register_coalesced_mmio()
|
| D | eventfd.c | 297 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/ |
| D | thread_info.h | 46 #define THREADINFO_GFP (GFP_KERNEL_ACCOUNT | __GFP_ZERO)
|
| D | gfp.h | 291 #define GFP_KERNEL_ACCOUNT (GFP_KERNEL | __GFP_ACCOUNT) macro
|
| /Linux-v5.4/fs/notify/inotify/ |
| D | inotify_fsnotify.c | 99 event = kmalloc(alloc_len, GFP_KERNEL_ACCOUNT | __GFP_RETRY_MAYFAIL); in inotify_handle_event()
|
| /Linux-v5.4/include/trace/events/ |
| D | mmflags.h | 22 {(unsigned long)GFP_KERNEL_ACCOUNT, "GFP_KERNEL_ACCOUNT"}, \
|
| /Linux-v5.4/arch/x86/kvm/ |
| D | svm.c | 1812 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 …]
|
| D | page_track.c | 43 GFP_KERNEL_ACCOUNT); in kvm_page_track_create_memslot()
|
| D | pmu.c | 407 filter = kmalloc(size, GFP_KERNEL_ACCOUNT); in kvm_vm_ioctl_set_pmu_event_filter()
|
| D | i8259.c | 586 s = kzalloc(sizeof(struct kvm_pic), GFP_KERNEL_ACCOUNT); in kvm_pic_init()
|
| D | i8254.c | 656 pit = kzalloc(sizeof(struct kvm_pit), GFP_KERNEL_ACCOUNT); in kvm_create_pit()
|
| D | ioapic.c | 610 ioapic = kzalloc(sizeof(struct kvm_ioapic), GFP_KERNEL_ACCOUNT); in kvm_ioapic_init()
|
| /Linux-v5.4/fs/ |
| D | file.c | 111 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()
|
| D | seq_file.c | 32 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()
|
| D | pipe.c | 659 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/ |
| D | pgtable.c | 292 gfp_t gfp = GFP_KERNEL_ACCOUNT | __GFP_ZERO; in __alloc_for_pmdcache()
|
| /Linux-v5.4/arch/x86/kvm/vmx/ |
| D | vmx.h | 485 GFP_KERNEL_ACCOUNT); in alloc_vmcs()
|
| /Linux-v5.4/fs/notify/fanotify/ |
| D | fanotify.c | 285 gfp_t gfp = GFP_KERNEL_ACCOUNT; in fanotify_alloc_event()
|
| /Linux-v5.4/Documentation/core-api/ |
| D | memory-allocation.rst | 54 is the handy ``GFP_KERNEL_ACCOUNT`` shortcut for ``GFP_KERNEL``
|