Home
last modified time | relevance | path

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

1234567

/linux-6.6.21/arch/arm64/kvm/
Dpkvm.c144 pgd = alloc_pages_exact(pgd_sz, GFP_KERNEL_ACCOUNT); in __pkvm_create_hyp_vm()
152 hyp_vm = alloc_pages_exact(hyp_vm_sz, GFP_KERNEL_ACCOUNT); in __pkvm_create_hyp_vm()
178 hyp_vcpu = alloc_pages_exact(hyp_vcpu_sz, GFP_KERNEL_ACCOUNT); in __pkvm_create_hyp_vm()
Dhypercalls.c150 GFP_KERNEL_ACCOUNT); in init_smccc_filter()
156 GFP_KERNEL_ACCOUNT); in init_smccc_filter()
188 xa_mk_value(filter.action), GFP_KERNEL_ACCOUNT); in kvm_smccc_set_filter()
/linux-6.6.21/io_uring/
Dfiletable.c42 GFP_KERNEL_ACCOUNT); in io_alloc_file_tables()
46 table->bitmap = bitmap_zalloc(nr_files, GFP_KERNEL_ACCOUNT); in io_alloc_file_tables()
/linux-6.6.21/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.6.21/drivers/vfio/fsl-mc/
Dvfio_fsl_mc_intr.c32 mc_irq = kcalloc(irq_count, sizeof(*mc_irq), GFP_KERNEL_ACCOUNT); in vfio_fsl_mc_irqs_allocate()
80 irq->name = kasprintf(GFP_KERNEL_ACCOUNT, "vfio-irq[%d](%s)", in vfio_set_trigger()
/linux-6.6.21/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.c186 new = kzalloc(struct_size(new, map, nr_rt_entries), GFP_KERNEL_ACCOUNT); in kvm_set_irq_routing()
197 e = kzalloc(sizeof(*e), GFP_KERNEL_ACCOUNT); in kvm_set_irq_routing()
Dvfio.c169 kvf = kzalloc(sizeof(*kvf), GFP_KERNEL_ACCOUNT); in kvm_vfio_file_add()
374 kv = kzalloc(sizeof(*kv), GFP_KERNEL_ACCOUNT); in kvm_vfio_create()
/linux-6.6.21/drivers/virt/coco/sev-guest/
Dsev-guest.c164 crypto = kzalloc(sizeof(*crypto), GFP_KERNEL_ACCOUNT); in init_crypto()
176 crypto->iv = kmalloc(crypto->iv_len, GFP_KERNEL_ACCOUNT); in init_crypto()
188 crypto->authtag = kmalloc(crypto->a_len, GFP_KERNEL_ACCOUNT); in init_crypto()
499 resp = kzalloc(resp_len, GFP_KERNEL_ACCOUNT); in get_report()
599 resp = kzalloc(resp_len, GFP_KERNEL_ACCOUNT); in get_ext_report()
704 page = alloc_pages(GFP_KERNEL_ACCOUNT, get_order(sz)); in alloc_shared_pages()
/linux-6.6.21/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.6.21/drivers/iommu/iommufd/
Dmain.c40 obj = kzalloc(size, GFP_KERNEL_ACCOUNT); in _iommufd_object_alloc()
63 xa_limit_31b, GFP_KERNEL_ACCOUNT); in _iommufd_object_alloc()
224 ictx = kzalloc(sizeof(*ictx), GFP_KERNEL_ACCOUNT); in iommufd_fops_open()
/linux-6.6.21/drivers/vfio/pci/
Dvfio_pci_intrs.c71 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL_ACCOUNT); in vfio_irq_ctx_alloc()
75 ret = xa_insert(&vdev->ctx, index, ctx, GFP_KERNEL_ACCOUNT); in vfio_irq_ctx_alloc()
286 ctx->name = kasprintf(GFP_KERNEL_ACCOUNT, "vfio-intx(%s)", in vfio_intx_set_signal()
452 ctx->name = kasprintf(GFP_KERNEL_ACCOUNT, "vfio-msi%s[%d](%s)", in vfio_msi_set_vector_signal()
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/ethernet/sfc/
Dtc_encap_actions.c121 neigh = kzalloc(sizeof(*neigh), GFP_KERNEL_ACCOUNT); in efx_bind_neigh()
124 neigh->net = get_net_track(net, &neigh->ns_tracker, GFP_KERNEL_ACCOUNT); in efx_bind_neigh()
159 GFP_KERNEL_ACCOUNT); in efx_bind_neigh()
182 GFP_KERNEL_ACCOUNT); in efx_bind_neigh()
633 encap = kzalloc(sizeof(*encap), GFP_KERNEL_ACCOUNT); in efx_tc_flower_create_encap_md()
/linux-6.6.21/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.6.21/drivers/vfio/platform/
Dvfio_platform_irq.c189 irq->name = kasprintf(GFP_KERNEL_ACCOUNT, "vfio-irq[%d](%s)", in vfio_set_trigger()
289 GFP_KERNEL_ACCOUNT); in vfio_platform_irq_init()
/linux-6.6.21/fs/overlayfs/
Dparams.c421 GFP_KERNEL_ACCOUNT); in ovl_parse_param_lowerdir()
463 l->name = kstrdup(dup_iter, GFP_KERNEL_ACCOUNT); in ovl_parse_param_lowerdir()
687 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL_ACCOUNT); in ovl_init_fs_context()
695 ctx->lower = kmalloc_array(3, sizeof(*ctx->lower), GFP_KERNEL_ACCOUNT); in ovl_init_fs_context()
/linux-6.6.21/arch/loongarch/include/asm/
Dpgalloc.h60 ptdesc = pagetable_alloc(GFP_KERNEL_ACCOUNT, 0); in pmd_alloc_one()
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Dmemory-allocation.rst54 有一个方便的用于 ``GFP_KERNEL`` 分配的 ``GFP_KERNEL_ACCOUNT`` 快捷键,其应该被核
/linux-6.6.21/arch/mips/include/asm/
Dpgalloc.h70 ptdesc = pagetable_alloc(GFP_KERNEL_ACCOUNT, PMD_TABLE_ORDER); in pmd_alloc_one()
/linux-6.6.21/fs/notify/
Dgroup.c159 gfp_t gfp = (flags & FSNOTIFY_GROUP_USER) ? GFP_KERNEL_ACCOUNT : in fsnotify_alloc_group()
/linux-6.6.21/kernel/
Dcred.c177 if (security_cred_alloc_blank(new, GFP_KERNEL_ACCOUNT) < 0) in cred_alloc_blank()
237 if (security_prepare_creds(new, old, GFP_KERNEL_ACCOUNT) < 0) in prepare_creds()
664 if (security_prepare_creds(new, old, GFP_KERNEL_ACCOUNT) < 0) in prepare_kernel_cred()
/linux-6.6.21/kernel/trace/
Dtrace_events_user.c690 user_mm = kzalloc(sizeof(*user_mm), GFP_KERNEL_ACCOUNT); in user_event_mm_alloc()
876 enabler = kzalloc(sizeof(*enabler), GFP_KERNEL_ACCOUNT); in user_event_enabler_create()
1097 field = kmalloc(sizeof(*field), GFP_KERNEL_ACCOUNT); in user_event_add_field()
1116 validator = kmalloc(sizeof(*validator), GFP_KERNEL_ACCOUNT); in user_event_add_field()
1408 print_fmt = kmalloc(len, GFP_KERNEL_ACCOUNT); in user_event_create_print_fmt()
1742 name = kstrdup(raw_command, GFP_KERNEL_ACCOUNT); in user_event_create()
1970 user = kzalloc(sizeof(*user), GFP_KERNEL_ACCOUNT); in user_event_parse()
2157 info = kzalloc(sizeof(*info), GFP_KERNEL_ACCOUNT); in user_events_open()
2210 new_refs = kzalloc(size, GFP_KERNEL_ACCOUNT); in user_events_ref_add()
/linux-6.6.21/arch/x86/kvm/svm/
Dsev.c428 pages = __vmalloc(size, GFP_KERNEL_ACCOUNT | __GFP_ZERO); in sev_pin_memory()
430 pages = kmalloc(size, GFP_KERNEL_ACCOUNT); in sev_pin_memory()
711 blob = kzalloc(params.len, GFP_KERNEL_ACCOUNT); in sev_launch_measure()
831 tpage = (void *)alloc_page(GFP_KERNEL_ACCOUNT | __GFP_ZERO); in __sev_dbg_decrypt_user()
867 src_tpage = alloc_page(GFP_KERNEL_ACCOUNT); in __sev_dbg_encrypt_user()
888 dst_tpage = alloc_page(GFP_KERNEL_ACCOUNT); in __sev_dbg_encrypt_user()
1117 blob = kzalloc(params.len, GFP_KERNEL_ACCOUNT); in sev_get_attestation_report()
1199 session_data = kzalloc(params.session_len, GFP_KERNEL_ACCOUNT); in sev_send_start()
1323 hdr = kzalloc(params.hdr_len, GFP_KERNEL_ACCOUNT); in sev_send_update_data()
1327 trans_data = kzalloc(params.trans_len, GFP_KERNEL_ACCOUNT); in sev_send_update_data()
[all …]

1234567