Home
last modified time | relevance | path

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

12345678

/linux-6.15/rust/kernel/
H A Dalloc.rs105 pub const GFP_KERNEL_ACCOUNT: Flags = Flags(bindings::GFP_KERNEL_ACCOUNT); constant
/linux-6.15/fs/
H A Dmnt_idmapping.c251 GFP_KERNEL_ACCOUNT); in copy_mnt_idmap()
257 GFP_KERNEL_ACCOUNT); in copy_mnt_idmap()
292 idmap = kzalloc(sizeof(struct mnt_idmap), GFP_KERNEL_ACCOUNT); in alloc_mnt_idmap()
/linux-6.15/drivers/iommu/iommufd/
H A Ddriver.c13 obj = kzalloc(size, GFP_KERNEL_ACCOUNT); in _iommufd_object_alloc()
29 GFP_KERNEL_ACCOUNT); in _iommufd_object_alloc()
179 GFP_KERNEL_ACCOUNT); in iommufd_sw_msi_install()
/linux-6.15/net/netfilter/
H A Dnf_flow_table_xdp.c57 ft_elem = kzalloc(sizeof(*ft_elem), GFP_KERNEL_ACCOUNT); in nf_flowtable_by_dev_insert()
73 elem = kzalloc(sizeof(*elem), GFP_KERNEL_ACCOUNT); in nf_flowtable_by_dev_insert()
/linux-6.15/virt/kvm/
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()
251 new = kzalloc(struct_size(new, map, 1), GFP_KERNEL_ACCOUNT); in kvm_init_irq_routing()
H A Dcoalesced_mmio.c99 page = alloc_page(GFP_KERNEL_ACCOUNT | __GFP_ZERO); in kvm_coalesced_mmio_init()
132 GFP_KERNEL_ACCOUNT); in kvm_vm_ioctl_register_coalesced_mmio()
H A Dvfio.c169 kvf = kzalloc(sizeof(*kvf), GFP_KERNEL_ACCOUNT); in kvm_vfio_file_add()
370 kv = kzalloc(sizeof(*kv), GFP_KERNEL_ACCOUNT); in kvm_vfio_create()
/linux-6.15/drivers/virt/coco/sev-guest/
H A Dsev-guest.c78 report_req = kzalloc(sizeof(*report_req), GFP_KERNEL_ACCOUNT); in get_report()
91 report_resp = kzalloc(resp_len, GFP_KERNEL_ACCOUNT); in get_report()
138 derived_key_req = kzalloc(sizeof(*derived_key_req), GFP_KERNEL_ACCOUNT); in get_derived_key()
185 report_req = kzalloc(sizeof(*report_req), GFP_KERNEL_ACCOUNT); in get_ext_report()
215 page = alloc_pages(GFP_KERNEL_ACCOUNT | __GFP_ZERO, in get_ext_report()
235 report_resp = kzalloc(resp_len, GFP_KERNEL_ACCOUNT); in get_ext_report()
/linux-6.15/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()
/linux-6.15/rust/bindings/
H A Dbindings_helper.h52 const gfp_t RUST_CONST_HELPER_GFP_KERNEL_ACCOUNT = GFP_KERNEL_ACCOUNT;
/linux-6.15/arch/x86/kvm/
H A Dkvm_onhyperv.h26 *p_hv_pa_pg = kzalloc(PAGE_SIZE, GFP_KERNEL_ACCOUNT); in hv_get_partition_assist_page()
/linux-6.15/security/landlock/
H A Dobject.c28 new_object = kzalloc(sizeof(*new_object), GFP_KERNEL_ACCOUNT); in landlock_create_object()
/linux-6.15/arch/arm64/kvm/
H A Dpkvm.c126 hyp_vcpu = alloc_pages_exact(hyp_vcpu_sz, GFP_KERNEL_ACCOUNT); in __pkvm_create_hyp_vcpu()
165 pgd = alloc_pages_exact(pgd_sz, GFP_KERNEL_ACCOUNT); in __pkvm_create_hyp_vm()
173 hyp_vm = alloc_pages_exact(hyp_vm_sz, GFP_KERNEL_ACCOUNT); in __pkvm_create_hyp_vm()
H A Dhypercalls.c150 GFP_KERNEL_ACCOUNT); in kvm_smccc_filter_insert_reserved()
157 GFP_KERNEL_ACCOUNT); in kvm_smccc_filter_insert_reserved()
205 xa_mk_value(filter.action), GFP_KERNEL_ACCOUNT); in kvm_smccc_set_filter()
/linux-6.15/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()
/linux-6.15/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()
/linux-6.15/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()
/linux-6.15/arch/powerpc/platforms/pseries/
H A Dpapr-vpd.c159 new_ptr = kvrealloc(old_ptr, new_len, GFP_KERNEL_ACCOUNT); in vpd_blob_extend()
190 blob = kzalloc(sizeof(*blob), GFP_KERNEL_ACCOUNT); in vpd_blob_generate()
/linux-6.15/drivers/vfio/pci/
H A Dvfio_pci_intrs.c72 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL_ACCOUNT); in vfio_irq_ctx_alloc()
76 ret = xa_insert(&vdev->ctx, index, ctx, GFP_KERNEL_ACCOUNT); in vfio_irq_ctx_alloc()
265 name = kasprintf(GFP_KERNEL_ACCOUNT, "vfio-intx(%s)", pci_name(pdev)); in vfio_intx_enable()
477 ctx->name = kasprintf(GFP_KERNEL_ACCOUNT, "vfio-msi%s[%d](%s)", in vfio_msi_set_vector_signal()
/linux-6.15/arch/mips/include/asm/
H A Dpgalloc.h61 ptdesc = pagetable_alloc(GFP_KERNEL_ACCOUNT, PMD_TABLE_ORDER); in pmd_alloc_one()
/linux-6.15/kernel/
H A Dcred.c182 if (security_cred_alloc_blank(new, GFP_KERNEL_ACCOUNT) < 0) in cred_alloc_blank()
242 if (security_prepare_creds(new, old, GFP_KERNEL_ACCOUNT) < 0) in prepare_creds()
617 if (security_prepare_creds(new, old, GFP_KERNEL_ACCOUNT) < 0) in prepare_kernel_cred()
/linux-6.15/arch/loongarch/include/asm/
H A Dpgalloc.h68 ptdesc = pagetable_alloc(GFP_KERNEL_ACCOUNT, 0); in pmd_alloc_one()
/linux-6.15/Documentation/translations/zh_CN/core-api/
H A Dmemory-allocation.rst54 有一个方便的用于 ``GFP_KERNEL`` 分配的 ``GFP_KERNEL_ACCOUNT`` 快捷键,其应该被核
/linux-6.15/fs/notify/
H A Dgroup.c148 gfp_t gfp = (flags & FSNOTIFY_GROUP_USER) ? GFP_KERNEL_ACCOUNT : in fsnotify_alloc_group()
/linux-6.15/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()

12345678