/linux-6.6.21/arch/arm64/kvm/ |
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()
|
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()
|
/linux-6.6.21/io_uring/ |
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()
|
/linux-6.6.21/ipc/ |
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()
|
/linux-6.6.21/drivers/vfio/fsl-mc/ |
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.6.21/virt/kvm/ |
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()
|
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()
|
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()
|
/linux-6.6.21/drivers/virt/coco/sev-guest/ |
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()
|
/linux-6.6.21/security/landlock/ |
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()
|
D | object.c | 28 new_object = kzalloc(sizeof(*new_object), GFP_KERNEL_ACCOUNT); in landlock_create_object()
|
/linux-6.6.21/drivers/iommu/iommufd/ |
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()
|
/linux-6.6.21/drivers/vfio/pci/ |
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() 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/ |
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.6.21/drivers/net/ethernet/sfc/ |
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.6.21/arch/x86/kernel/ |
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.6.21/drivers/vfio/platform/ |
D | vfio_platform_irq.c | 189 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/ |
D | params.c | 421 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/ |
D | pgalloc.h | 60 ptdesc = pagetable_alloc(GFP_KERNEL_ACCOUNT, 0); in pmd_alloc_one()
|
/linux-6.6.21/Documentation/translations/zh_CN/core-api/ |
D | memory-allocation.rst | 54 有一个方便的用于 ``GFP_KERNEL`` 分配的 ``GFP_KERNEL_ACCOUNT`` 快捷键,其应该被核
|
/linux-6.6.21/arch/mips/include/asm/ |
D | pgalloc.h | 70 ptdesc = pagetable_alloc(GFP_KERNEL_ACCOUNT, PMD_TABLE_ORDER); in pmd_alloc_one()
|
/linux-6.6.21/fs/notify/ |
D | group.c | 159 gfp_t gfp = (flags & FSNOTIFY_GROUP_USER) ? GFP_KERNEL_ACCOUNT : in fsnotify_alloc_group()
|
/linux-6.6.21/kernel/ |
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()
|
/linux-6.6.21/kernel/trace/ |
D | trace_events_user.c | 690 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/ |
D | sev.c | 428 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 …]
|