Home
last modified time | relevance | path

Searched refs:__alloc_percpu (Results 1 – 24 of 24) sorted by relevance

/linux-6.12.1/include/linux/
Dpercpu.h145 #define __alloc_percpu(_size, _align) \ macro
154 (typeof(type) __percpu *)__alloc_percpu(sizeof(type), \
/linux-6.12.1/samples/kmemleak/
Dkmemleak-test.c82 pr_info("__alloc_percpu(64, 4) = %p\n", __alloc_percpu(64, 4)); in kmemleak_test_init()
/linux-6.12.1/fs/bcachefs/
Dsb-counters.c89 c->counters = __alloc_percpu(sizeof(u64) * BCH_COUNTER_NR, sizeof(u64)); in bch2_fs_counters_init()
/linux-6.12.1/block/
Dblk-stat.c116 cb->cpu_stat = __alloc_percpu(buckets * sizeof(struct blk_rq_stat), in blk_stat_alloc_callback()
/linux-6.12.1/drivers/irqchip/
Dirq-gic.c739 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/
Dtest_vmalloc.c308 pcpu[i] = __alloc_percpu(size, align); in pcpu_alloc_test()
/linux-6.12.1/arch/arm/xen/
Denlighten.c487 xen_vcpu_info = __alloc_percpu(sizeof(struct vcpu_info), in xen_guest_init()
/linux-6.12.1/kernel/irq/
Dmatrix.c64 m->maps = __alloc_percpu(struct_size(m->maps, alloc_map, matrix_size * 2), in irq_alloc_matrix()
/linux-6.12.1/kernel/
Dcrash_core.c470 crash_notes = __alloc_percpu(size, align); in crash_notes_memory_init()
/linux-6.12.1/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.c368 pools = __alloc_percpu(alloc_sz, __alignof__(struct cxgbi_ppm_pool)); in ppm_alloc_cpu_pool()
/linux-6.12.1/net/openvswitch/
Dflow_table.c231 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/
Dsoft-interface.c750 bat_priv->bat_counters = __alloc_percpu(cnt_len, __alignof__(u64)); in batadv_softif_init_late()
/linux-6.12.1/kernel/trace/
Dblktrace.c555 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/
Diova.c726 rcache->cpu_rcaches = __alloc_percpu(sizeof(*cpu_rcache), in iova_domain_init_rcaches()
Ddma-iommu.c324 queue = __alloc_percpu(struct_size(queue, entries, fq_size), in iommu_dma_init_fq_percpu()
/linux-6.12.1/drivers/base/
Ddevres.c1202 pcpu = __alloc_percpu(size, align); in __devm_alloc_percpu()
/linux-6.12.1/arch/arm64/kernel/
Dfpsimd.c1134 efi_sve_state = __alloc_percpu( in sve_efi_setup()
/linux-6.12.1/mm/
Dz3fold.c924 pool->unbuddied = __alloc_percpu(sizeof(struct list_head) * NCHUNKS, in z3fold_create_pool()
Dslub.c5140 s->cpu_slab = __alloc_percpu(sizeof(struct kmem_cache_cpu), in alloc_kmem_cache_cpus()
/linux-6.12.1/net/sched/
Dcls_u32.c1113 n->pf = __alloc_percpu(struct_size(n->pf, kcnts, s->nkeys), in u32_change()
/linux-6.12.1/net/netfilter/
Dx_tables.c1931 state->mem = __alloc_percpu(XT_PCPU_BLOCK_SIZE, in xt_percpu_counter_alloc()
/linux-6.12.1/drivers/scsi/libfc/
Dfc_exch.c2519 mp->pool = __alloc_percpu(pool_size, __alignof__(struct fc_exch_pool)); in fc_exch_mgr_alloc()
/linux-6.12.1/kernel/sched/
Dext.c5111 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/
Droute.c3666 ip_rt_acct = __alloc_percpu(256 * sizeof(struct ip_rt_acct), __alignof__(struct ip_rt_acct)); in ip_rt_init()