Home
last modified time | relevance | path

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

1234

/Linux-v5.15/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()
Dnamespace.c45 ns = kzalloc(sizeof(struct ipc_namespace), GFP_KERNEL_ACCOUNT); in create_ipc_ns()
/Linux-v5.15/virt/kvm/
Dcoalesced_mmio.c114 page = alloc_page(GFP_KERNEL_ACCOUNT | __GFP_ZERO); in kvm_coalesced_mmio_init()
147 GFP_KERNEL_ACCOUNT); in kvm_vm_ioctl_register_coalesced_mmio()
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.c373 obj = mmu_memory_cache_alloc_obj(mc, GFP_KERNEL_ACCOUNT); in kvm_mmu_topup_memory_cache()
851 slots = kvzalloc(sizeof(struct kvm_memslots), GFP_KERNEL_ACCOUNT); in kvm_alloc_memslots()
955 GFP_KERNEL_ACCOUNT); in kvm_create_vm_debugfs()
961 stat_data = kzalloc(sizeof(*stat_data), GFP_KERNEL_ACCOUNT); in kvm_create_vm_debugfs()
976 stat_data = kzalloc(sizeof(*stat_data), GFP_KERNEL_ACCOUNT); in kvm_create_vm_debugfs()
1068 kzalloc(sizeof(struct kvm_io_bus), GFP_KERNEL_ACCOUNT)); in kvm_create_vm()
1247 memslot->dirty_bitmap = kvzalloc(dirty_bytes, GFP_KERNEL_ACCOUNT); in kvm_alloc_dirty_bitmap()
1517 slots = kvzalloc(new_size, GFP_KERNEL_ACCOUNT); in kvm_dup_memslots()
3606 vcpu = kmem_cache_zalloc(kvm_vcpu_cache, GFP_KERNEL_ACCOUNT); in kvm_vm_ioctl_create_vcpu()
3613 page = alloc_page(GFP_KERNEL_ACCOUNT | __GFP_ZERO); in kvm_vm_ioctl_create_vcpu()
[all …]
Deventfd.c302 irqfd = kzalloc(sizeof(*irqfd), GFP_KERNEL_ACCOUNT); in kvm_irqfd_assign()
351 GFP_KERNEL_ACCOUNT); in kvm_irqfd_assign()
803 p = kzalloc(sizeof(*p), GFP_KERNEL_ACCOUNT); in kvm_assign_ioeventfd_idx()
/Linux-v5.15/security/landlock/
Dobject.c28 new_object = kzalloc(sizeof(*new_object), GFP_KERNEL_ACCOUNT); in landlock_create_object()
Druleset.c32 num_layers), GFP_KERNEL_ACCOUNT); in create_ruleset()
88 GFP_KERNEL_ACCOUNT); in create_rule()
425 GFP_KERNEL_ACCOUNT); in landlock_merge_ruleset()
/Linux-v5.15/arch/s390/kvm/
Dpv.c63 vcpu->arch.pv.stor_base = __get_free_pages(GFP_KERNEL_ACCOUNT, in kvm_s390_pv_create_cpu()
75 vcpu->arch.sie_block->sidad = __get_free_page(GFP_KERNEL_ACCOUNT | __GFP_ZERO); in kvm_s390_pv_create_cpu()
123 kvm->arch.pv.stor_base = __get_free_pages(GFP_KERNEL_ACCOUNT, get_order(base)); in kvm_s390_pv_alloc_vm()
Dguestdbg.c187 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-v5.15/arch/x86/kernel/
Dldt.c157 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-v5.15/arch/s390/mm/
Dgmap.c58 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()
1220 rmap = kzalloc(sizeof(*rmap), GFP_KERNEL_ACCOUNT); in gmap_protect_rmap()
1224 rc = radix_tree_preload(GFP_KERNEL_ACCOUNT); in gmap_protect_rmap()
1743 page = alloc_pages(GFP_KERNEL_ACCOUNT, CRST_ALLOC_ORDER); in gmap_shadow_r2t()
1827 page = alloc_pages(GFP_KERNEL_ACCOUNT, CRST_ALLOC_ORDER); in gmap_shadow_r3t()
1911 page = alloc_pages(GFP_KERNEL_ACCOUNT, CRST_ALLOC_ORDER); in gmap_shadow_sgt()
[all …]
/Linux-v5.15/arch/mips/include/asm/
Dpgalloc.h64 pg = alloc_pages(GFP_KERNEL_ACCOUNT, PMD_ORDER); in pmd_alloc_one()
/Linux-v5.15/fs/notify/
Dgroup.c154 return __fsnotify_alloc_group(ops, GFP_KERNEL_ACCOUNT); in fsnotify_alloc_user_group()
/Linux-v5.15/kernel/time/
Dnamespace.c91 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-v5.15/net/core/
Dscm.c82 fpl = kmalloc(sizeof(struct scm_fp_list), GFP_KERNEL_ACCOUNT); in scm_fp_copy()
358 GFP_KERNEL_ACCOUNT); in scm_fp_dup()
/Linux-v5.15/kernel/cgroup/
Dnamespace.c27 new_ns = kzalloc(sizeof(struct cgroup_namespace), GFP_KERNEL_ACCOUNT); in alloc_cgroup_ns()
/Linux-v5.15/kernel/
Dcred.c228 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()
759 if (security_prepare_creds(new, old, GFP_KERNEL_ACCOUNT) < 0) in prepare_kernel_cred()
Dgroups.c18 gi = kvmalloc(struct_size(gi, gid, gidsetsize), GFP_KERNEL_ACCOUNT); in groups_alloc()
/Linux-v5.15/fs/notify/inotify/
Dinotify_fsnotify.c89 event = kmalloc(alloc_len, GFP_KERNEL_ACCOUNT | __GFP_RETRY_MAYFAIL); in inotify_handle_inode_event()
/Linux-v5.15/arch/x86/kvm/svm/
Dsev.c409 pages = __vmalloc(size, GFP_KERNEL_ACCOUNT | __GFP_ZERO); in sev_pin_memory()
411 pages = kmalloc(size, GFP_KERNEL_ACCOUNT); in sev_pin_memory()
679 blob = kmalloc(params.len, GFP_KERNEL_ACCOUNT); in sev_launch_measure()
1085 blob = kmalloc(params.len, GFP_KERNEL_ACCOUNT); in sev_get_attestation_report()
1167 session_data = kmalloc(params.session_len, GFP_KERNEL_ACCOUNT); in sev_send_start()
1291 hdr = kmalloc(params.hdr_len, GFP_KERNEL_ACCOUNT); in sev_send_update_data()
1295 trans_data = kmalloc(params.trans_len, GFP_KERNEL_ACCOUNT); in sev_send_update_data()
1653 region = kzalloc(sizeof(*region), GFP_KERNEL_ACCOUNT); in svm_register_enc_region()
2365 scratch_va = kzalloc(len, GFP_KERNEL_ACCOUNT); in setup_vmgexit_scratch()
Davic.c150 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()
/Linux-v5.15/include/linux/
Dthread_info.h80 #define THREADINFO_GFP (GFP_KERNEL_ACCOUNT | __GFP_ZERO)
/Linux-v5.15/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()

1234