| /linux-6.15/rust/kernel/ |
| H A D | alloc.rs | 105 pub const GFP_KERNEL_ACCOUNT: Flags = Flags(bindings::GFP_KERNEL_ACCOUNT); constant
|
| /linux-6.15/fs/ |
| H A D | mnt_idmapping.c | 251 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 D | driver.c | 13 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 D | nf_flow_table_xdp.c | 57 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 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() 251 new = kzalloc(struct_size(new, map, 1), GFP_KERNEL_ACCOUNT); in kvm_init_irq_routing()
|
| H A D | coalesced_mmio.c | 99 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 D | vfio.c | 169 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 D | sev-guest.c | 78 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 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()
|
| /linux-6.15/rust/bindings/ |
| H A D | bindings_helper.h | 52 const gfp_t RUST_CONST_HELPER_GFP_KERNEL_ACCOUNT = GFP_KERNEL_ACCOUNT;
|
| /linux-6.15/arch/x86/kvm/ |
| H A D | kvm_onhyperv.h | 26 *p_hv_pa_pg = kzalloc(PAGE_SIZE, GFP_KERNEL_ACCOUNT); in hv_get_partition_assist_page()
|
| /linux-6.15/security/landlock/ |
| H A D | object.c | 28 new_object = kzalloc(sizeof(*new_object), GFP_KERNEL_ACCOUNT); in landlock_create_object()
|
| /linux-6.15/arch/arm64/kvm/ |
| H A D | pkvm.c | 126 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 D | hypercalls.c | 150 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 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()
|
| /linux-6.15/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()
|
| /linux-6.15/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()
|
| /linux-6.15/arch/powerpc/platforms/pseries/ |
| H A D | papr-vpd.c | 159 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 D | vfio_pci_intrs.c | 72 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 D | pgalloc.h | 61 ptdesc = pagetable_alloc(GFP_KERNEL_ACCOUNT, PMD_TABLE_ORDER); in pmd_alloc_one()
|
| /linux-6.15/kernel/ |
| H A D | cred.c | 182 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 D | pgalloc.h | 68 ptdesc = pagetable_alloc(GFP_KERNEL_ACCOUNT, 0); in pmd_alloc_one()
|
| /linux-6.15/Documentation/translations/zh_CN/core-api/ |
| H A D | memory-allocation.rst | 54 有一个方便的用于 ``GFP_KERNEL`` 分配的 ``GFP_KERNEL_ACCOUNT`` 快捷键,其应该被核
|
| /linux-6.15/fs/notify/ |
| H A D | group.c | 148 gfp_t gfp = (flags & FSNOTIFY_GROUP_USER) ? GFP_KERNEL_ACCOUNT : in fsnotify_alloc_group()
|
| /linux-6.15/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()
|