Home
last modified time | relevance | path

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

1234567

/openbmc/linux/arch/arm64/kvm/
H A 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()
H A 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()
/openbmc/linux/io_uring/
H A 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()
/openbmc/linux/ipc/
H A 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()
/openbmc/linux/virt/kvm/
H A 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()
H A 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()
H A 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()
/openbmc/linux/drivers/vfio/fsl-mc/
H A 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()
/openbmc/linux/security/landlock/
H A Dobject.c28 new_object = kzalloc(sizeof(*new_object), GFP_KERNEL_ACCOUNT); in landlock_create_object()
H A 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()
/openbmc/linux/drivers/virt/coco/sev-guest/
H A 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()
/openbmc/linux/drivers/iommu/iommufd/
H A 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()
/openbmc/linux/arch/s390/kvm/
H A 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()
/openbmc/linux/arch/loongarch/include/asm/
H A Dpgalloc.h60 ptdesc = pagetable_alloc(GFP_KERNEL_ACCOUNT, 0); in pmd_alloc_one()
/openbmc/linux/drivers/net/ethernet/sfc/
H A 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()
/openbmc/linux/arch/x86/kernel/
H A 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()
/openbmc/linux/Documentation/translations/zh_CN/core-api/
H A Dmemory-allocation.rst54 有一个方便的用于 ``GFP_KERNEL`` 分配的 ``GFP_KERNEL_ACCOUNT`` 快捷键,其应该被核
/openbmc/linux/arch/mips/include/asm/
H A Dpgalloc.h70 ptdesc = pagetable_alloc(GFP_KERNEL_ACCOUNT, PMD_TABLE_ORDER); in pmd_alloc_one()
/openbmc/linux/drivers/vfio/pci/
H A 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()
275 name = kasprintf(GFP_KERNEL_ACCOUNT, "vfio-intx(%s)", pci_name(pdev)); in vfio_intx_enable()
486 ctx->name = kasprintf(GFP_KERNEL_ACCOUNT, "vfio-msi%s[%d](%s)", in vfio_msi_set_vector_signal()
/openbmc/linux/fs/notify/
H A Dgroup.c159 gfp_t gfp = (flags & FSNOTIFY_GROUP_USER) ? GFP_KERNEL_ACCOUNT : in fsnotify_alloc_group()
/openbmc/linux/drivers/vfio/platform/
H A Dvfio_platform_irq.c295 GFP_KERNEL_ACCOUNT); in vfio_platform_irq_init()
321 vdev->irqs[i].name = kasprintf(GFP_KERNEL_ACCOUNT, in vfio_platform_irq_init()
/openbmc/linux/kernel/
H A 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()
/openbmc/linux/include/linux/
H A Dgfp_types.h329 #define GFP_KERNEL_ACCOUNT (GFP_KERNEL | __GFP_ACCOUNT) macro
/openbmc/linux/kernel/trace/
H A Dtrace_events_user.c691 user_mm = kzalloc(sizeof(*user_mm), GFP_KERNEL_ACCOUNT); in user_event_mm_alloc()
877 enabler = kzalloc(sizeof(*enabler), GFP_KERNEL_ACCOUNT); in user_event_enabler_create()
1098 field = kmalloc(sizeof(*field), GFP_KERNEL_ACCOUNT); in user_event_add_field()
1117 validator = kmalloc(sizeof(*validator), GFP_KERNEL_ACCOUNT); in user_event_add_field()
1409 print_fmt = kmalloc(len, GFP_KERNEL_ACCOUNT); in user_event_create_print_fmt()
1750 name = kstrdup(raw_command, GFP_KERNEL_ACCOUNT); in user_event_create()
2052 user = kzalloc(sizeof(*user), GFP_KERNEL_ACCOUNT); in user_event_parse()
2250 info = kzalloc(sizeof(*info), GFP_KERNEL_ACCOUNT); in user_events_open()
2303 new_refs = kzalloc(size, GFP_KERNEL_ACCOUNT); in user_events_ref_add()
/openbmc/linux/kernel/time/
H A 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()

1234567