Home
last modified time | relevance | path

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

12345

/linux-6.1.9/drivers/virt/coco/sev-guest/
Dsev-guest.c148 crypto = kzalloc(sizeof(*crypto), GFP_KERNEL_ACCOUNT); in init_crypto()
160 crypto->iv = kmalloc(crypto->iv_len, GFP_KERNEL_ACCOUNT); in init_crypto()
172 crypto->authtag = kmalloc(crypto->a_len, GFP_KERNEL_ACCOUNT); in init_crypto()
431 resp = kzalloc(resp_len, GFP_KERNEL_ACCOUNT); in get_report()
532 resp = kzalloc(resp_len, GFP_KERNEL_ACCOUNT); in get_ext_report()
637 page = alloc_pages(GFP_KERNEL_ACCOUNT, get_order(sz)); in alloc_shared_pages()
/linux-6.1.9/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-6.1.9/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.c172 kvg = kzalloc(sizeof(*kvg), GFP_KERNEL_ACCOUNT); in kvm_vfio_group_add()
381 kv = kzalloc(sizeof(*kv), GFP_KERNEL_ACCOUNT); in kvm_vfio_create()
Dkvm_main.c401 gfp_t gfp = mc->gfp_custom ? mc->gfp_custom : GFP_KERNEL_ACCOUNT; in __kvm_mmu_topup_memory_cache()
1057 GFP_KERNEL_ACCOUNT); in kvm_create_vm_debugfs()
1063 stat_data = kzalloc(sizeof(*stat_data), GFP_KERNEL_ACCOUNT); in kvm_create_vm_debugfs()
1078 stat_data = kzalloc(sizeof(*stat_data), GFP_KERNEL_ACCOUNT); in kvm_create_vm_debugfs()
1196 kzalloc(sizeof(struct kvm_io_bus), GFP_KERNEL_ACCOUNT)); in kvm_create_vm()
1387 memslot->dirty_bitmap = __vcalloc(2, dirty_bytes, GFP_KERNEL_ACCOUNT); in kvm_alloc_dirty_bitmap()
1842 invalid_slot = kzalloc(sizeof(*invalid_slot), GFP_KERNEL_ACCOUNT); in kvm_set_memslot()
2006 new = kzalloc(sizeof(*new), GFP_KERNEL_ACCOUNT); in __kvm_set_memory_region()
3916 vcpu = kmem_cache_zalloc(kvm_vcpu_cache, GFP_KERNEL_ACCOUNT); in kvm_vm_ioctl_create_vcpu()
3923 page = alloc_page(GFP_KERNEL_ACCOUNT | __GFP_ZERO); in kvm_vm_ioctl_create_vcpu()
[all …]
/linux-6.1.9/io_uring/
Dfiletable.c39 GFP_KERNEL_ACCOUNT); in io_alloc_file_tables()
43 table->bitmap = bitmap_zalloc(nr_files, GFP_KERNEL_ACCOUNT); in io_alloc_file_tables()
/linux-6.1.9/security/landlock/
Druleset.c33 GFP_KERNEL_ACCOUNT); in create_ruleset()
89 GFP_KERNEL_ACCOUNT); in create_rule()
427 kzalloc(sizeof(*new_dom->hierarchy), GFP_KERNEL_ACCOUNT); in landlock_merge_ruleset()
Dobject.c28 new_object = kzalloc(sizeof(*new_object), GFP_KERNEL_ACCOUNT); in landlock_create_object()
/linux-6.1.9/arch/x86/kvm/mmu/
Dpage_track.c51 GFP_KERNEL_ACCOUNT); in kvm_page_track_create_memslot()
79 GFP_KERNEL_ACCOUNT); in kvm_page_track_write_tracking_alloc()
/linux-6.1.9/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()
1234 rmap = kzalloc(sizeof(*rmap), GFP_KERNEL_ACCOUNT); in gmap_protect_rmap()
1238 rc = radix_tree_preload(GFP_KERNEL_ACCOUNT); in gmap_protect_rmap()
1757 page = alloc_pages(GFP_KERNEL_ACCOUNT, CRST_ALLOC_ORDER); in gmap_shadow_r2t()
1841 page = alloc_pages(GFP_KERNEL_ACCOUNT, CRST_ALLOC_ORDER); in gmap_shadow_r3t()
1925 page = alloc_pages(GFP_KERNEL_ACCOUNT, CRST_ALLOC_ORDER); in gmap_shadow_sgt()
[all …]
/linux-6.1.9/arch/s390/kvm/
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()
Dpv.c74 vcpu->arch.pv.stor_base = __get_free_pages(GFP_KERNEL_ACCOUNT, in kvm_s390_pv_create_cpu()
86 vcpu->arch.sie_block->sidad = __get_free_page(GFP_KERNEL_ACCOUNT | __GFP_ZERO); in kvm_s390_pv_create_cpu()
133 kvm->arch.pv.stor_base = __get_free_pages(GFP_KERNEL_ACCOUNT, get_order(base)); in kvm_s390_pv_alloc_vm()
/linux-6.1.9/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-6.1.9/arch/loongarch/include/asm/
Dpgalloc.h69 pg = alloc_page(GFP_KERNEL_ACCOUNT); in pmd_alloc_one()
/linux-6.1.9/arch/mips/include/asm/
Dpgalloc.h70 pg = alloc_pages(GFP_KERNEL_ACCOUNT, PMD_TABLE_ORDER); in pmd_alloc_one()
/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Dmemory-allocation.rst54 有一个方便的用于 ``GFP_KERNEL`` 分配的 ``GFP_KERNEL_ACCOUNT`` 快捷键,其应该被核
/linux-6.1.9/fs/notify/
Dgroup.c159 gfp_t gfp = (flags & FSNOTIFY_GROUP_USER) ? GFP_KERNEL_ACCOUNT : in fsnotify_alloc_group()
/linux-6.1.9/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-6.1.9/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-6.1.9/net/netfilter/
Dnft_last.c33 last = kzalloc(sizeof(*last), GFP_KERNEL_ACCOUNT); in nft_last_init()
/linux-6.1.9/include/linux/
Dgfp_types.h334 #define GFP_KERNEL_ACCOUNT (GFP_KERNEL | __GFP_ACCOUNT) macro
/linux-6.1.9/drivers/net/netdevsim/
Dbpf.c355 GFP_KERNEL_ACCOUNT | __GFP_NOWARN); in nsim_map_alloc_elem()
359 GFP_KERNEL_ACCOUNT | __GFP_NOWARN); in nsim_map_alloc_elem()
501 nmap = kzalloc(sizeof(*nmap), GFP_KERNEL_ACCOUNT); in nsim_bpf_map_alloc()
/linux-6.1.9/kernel/cgroup/
Dnamespace.c27 new_ns = kzalloc(sizeof(struct cgroup_namespace), GFP_KERNEL_ACCOUNT); in alloc_cgroup_ns()
/linux-6.1.9/arch/x86/kvm/svm/
Dsev.c420 pages = __vmalloc(size, GFP_KERNEL_ACCOUNT | __GFP_ZERO); in sev_pin_memory()
422 pages = kmalloc(size, GFP_KERNEL_ACCOUNT); in sev_pin_memory()
695 blob = kzalloc(params.len, GFP_KERNEL_ACCOUNT); in sev_launch_measure()
851 src_tpage = alloc_page(GFP_KERNEL_ACCOUNT); in __sev_dbg_encrypt_user()
872 dst_tpage = alloc_page(GFP_KERNEL_ACCOUNT); in __sev_dbg_encrypt_user()
1101 blob = kzalloc(params.len, GFP_KERNEL_ACCOUNT); in sev_get_attestation_report()
1183 session_data = kzalloc(params.session_len, GFP_KERNEL_ACCOUNT); in sev_send_start()
1307 hdr = kzalloc(params.hdr_len, GFP_KERNEL_ACCOUNT); in sev_send_update_data()
1311 trans_data = kzalloc(params.trans_len, GFP_KERNEL_ACCOUNT); in sev_send_update_data()
1949 region = kzalloc(sizeof(*region), GFP_KERNEL_ACCOUNT); in sev_mem_enc_register_region()
[all …]

12345