/openbmc/linux/arch/arm64/kvm/ |
H A D | pkvm.c | 144 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 D | hypercalls.c | 150 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 D | filetable.c | 42 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 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()
|
/openbmc/linux/virt/kvm/ |
H A D | coalesced_mmio.c | 114 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 D | irqchip.c | 186 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 D | vfio.c | 169 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 D | vfio_fsl_mc_intr.c | 32 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 D | object.c | 28 new_object = kzalloc(sizeof(*new_object), GFP_KERNEL_ACCOUNT); in landlock_create_object()
|
H A D | ruleset.c | 33 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 D | sev-guest.c | 164 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 D | main.c | 40 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 D | guestdbg.c | 187 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 D | pgalloc.h | 60 ptdesc = pagetable_alloc(GFP_KERNEL_ACCOUNT, 0); in pmd_alloc_one()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | tc_encap_actions.c | 121 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 D | ldt.c | 157 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 D | memory-allocation.rst | 54 有一个方便的用于 ``GFP_KERNEL`` 分配的 ``GFP_KERNEL_ACCOUNT`` 快捷键,其应该被核
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | pgalloc.h | 70 ptdesc = pagetable_alloc(GFP_KERNEL_ACCOUNT, PMD_TABLE_ORDER); in pmd_alloc_one()
|
/openbmc/linux/drivers/vfio/pci/ |
H A D | vfio_pci_intrs.c | 71 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 D | group.c | 159 gfp_t gfp = (flags & FSNOTIFY_GROUP_USER) ? GFP_KERNEL_ACCOUNT : in fsnotify_alloc_group()
|
/openbmc/linux/drivers/vfio/platform/ |
H A D | vfio_platform_irq.c | 295 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 D | cred.c | 177 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 D | gfp_types.h | 329 #define GFP_KERNEL_ACCOUNT (GFP_KERNEL | __GFP_ACCOUNT) macro
|
/openbmc/linux/kernel/trace/ |
H A D | trace_events_user.c | 691 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 D | namespace.c | 91 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()
|