/linux-6.12.1/include/linux/ |
D | percpu.h | 145 #define __alloc_percpu(_size, _align) \ macro 154 (typeof(type) __percpu *)__alloc_percpu(sizeof(type), \
|
/linux-6.12.1/samples/kmemleak/ |
D | kmemleak-test.c | 82 pr_info("__alloc_percpu(64, 4) = %p\n", __alloc_percpu(64, 4)); in kmemleak_test_init()
|
/linux-6.12.1/fs/bcachefs/ |
D | sb-counters.c | 89 c->counters = __alloc_percpu(sizeof(u64) * BCH_COUNTER_NR, sizeof(u64)); in bch2_fs_counters_init()
|
/linux-6.12.1/block/ |
D | blk-stat.c | 116 cb->cpu_stat = __alloc_percpu(buckets * sizeof(struct blk_rq_stat), in blk_stat_alloc_callback()
|
/linux-6.12.1/drivers/irqchip/ |
D | irq-gic.c | 739 gic->saved_ppi_enable = __alloc_percpu(DIV_ROUND_UP(32, 32) * 4, in gic_pm_init() 744 gic->saved_ppi_active = __alloc_percpu(DIV_ROUND_UP(32, 32) * 4, in gic_pm_init() 749 gic->saved_ppi_conf = __alloc_percpu(DIV_ROUND_UP(32, 16) * 4, in gic_pm_init()
|
/linux-6.12.1/lib/ |
D | test_vmalloc.c | 308 pcpu[i] = __alloc_percpu(size, align); in pcpu_alloc_test()
|
/linux-6.12.1/arch/arm/xen/ |
D | enlighten.c | 487 xen_vcpu_info = __alloc_percpu(sizeof(struct vcpu_info), in xen_guest_init()
|
/linux-6.12.1/kernel/irq/ |
D | matrix.c | 64 m->maps = __alloc_percpu(struct_size(m->maps, alloc_map, matrix_size * 2), in irq_alloc_matrix()
|
/linux-6.12.1/kernel/ |
D | crash_core.c | 470 crash_notes = __alloc_percpu(size, align); in crash_notes_memory_init()
|
/linux-6.12.1/drivers/net/ethernet/chelsio/libcxgb/ |
D | libcxgb_ppm.c | 368 pools = __alloc_percpu(alloc_sz, __alignof__(struct cxgbi_ppm_pool)); in ppm_alloc_cpu_pool()
|
/linux-6.12.1/net/openvswitch/ |
D | flow_table.c | 231 new->masks_usage_stats = __alloc_percpu(sizeof(struct mask_array_stats) + in tbl_mask_array_alloc() 377 cache = __alloc_percpu(array_size(sizeof(struct mask_cache_entry), in tbl_mask_cache_alloc()
|
/linux-6.12.1/net/batman-adv/ |
D | soft-interface.c | 750 bat_priv->bat_counters = __alloc_percpu(cnt_len, __alignof__(u64)); in batadv_softif_init_late()
|
/linux-6.12.1/kernel/trace/ |
D | blktrace.c | 555 bt->msg_data = __alloc_percpu(BLK_TN_MAX_MSG, __alignof__(char)); in do_blk_trace_setup() 1636 bt->msg_data = __alloc_percpu(BLK_TN_MAX_MSG, __alignof__(char)); in blk_trace_setup_queue()
|
/linux-6.12.1/drivers/iommu/ |
D | iova.c | 726 rcache->cpu_rcaches = __alloc_percpu(sizeof(*cpu_rcache), in iova_domain_init_rcaches()
|
D | dma-iommu.c | 324 queue = __alloc_percpu(struct_size(queue, entries, fq_size), in iommu_dma_init_fq_percpu()
|
/linux-6.12.1/drivers/base/ |
D | devres.c | 1202 pcpu = __alloc_percpu(size, align); in __devm_alloc_percpu()
|
/linux-6.12.1/arch/arm64/kernel/ |
D | fpsimd.c | 1134 efi_sve_state = __alloc_percpu( in sve_efi_setup()
|
/linux-6.12.1/mm/ |
D | z3fold.c | 924 pool->unbuddied = __alloc_percpu(sizeof(struct list_head) * NCHUNKS, in z3fold_create_pool()
|
D | slub.c | 5140 s->cpu_slab = __alloc_percpu(sizeof(struct kmem_cache_cpu), in alloc_kmem_cache_cpus()
|
/linux-6.12.1/net/sched/ |
D | cls_u32.c | 1113 n->pf = __alloc_percpu(struct_size(n->pf, kcnts, s->nkeys), in u32_change()
|
/linux-6.12.1/net/netfilter/ |
D | x_tables.c | 1931 state->mem = __alloc_percpu(XT_PCPU_BLOCK_SIZE, in xt_percpu_counter_alloc()
|
/linux-6.12.1/drivers/scsi/libfc/ |
D | fc_exch.c | 2519 mp->pool = __alloc_percpu(pool_size, __alignof__(struct fc_exch_pool)); in fc_exch_mgr_alloc()
|
/linux-6.12.1/kernel/sched/ |
D | ext.c | 5111 scx_dsp_ctx = __alloc_percpu(struct_size_t(struct scx_dsp_ctx, buf, in scx_ops_enable() 5867 __alloc_percpu(sizeof(scx_kick_cpus_pnt_seqs[0]) * nr_cpu_ids, in init_sched_ext_class()
|
/linux-6.12.1/net/ipv4/ |
D | route.c | 3666 ip_rt_acct = __alloc_percpu(256 * sizeof(struct ip_rt_acct), __alignof__(struct ip_rt_acct)); in ip_rt_init()
|