Home
last modified time | relevance | path

Searched refs:percpu (Results 1 – 25 of 71) sorted by relevance

123

/Linux-v5.4/fs/squashfs/
Ddecompressor_multi_percpu.c30 struct squashfs_stream __percpu *percpu; in squashfs_decompressor_create() local
33 percpu = alloc_percpu(struct squashfs_stream); in squashfs_decompressor_create()
34 if (percpu == NULL) in squashfs_decompressor_create()
38 stream = per_cpu_ptr(percpu, cpu); in squashfs_decompressor_create()
47 return (__force void *) percpu; in squashfs_decompressor_create()
51 stream = per_cpu_ptr(percpu, cpu); in squashfs_decompressor_create()
55 free_percpu(percpu); in squashfs_decompressor_create()
61 struct squashfs_stream __percpu *percpu = in squashfs_decompressor_destroy() local
68 stream = per_cpu_ptr(percpu, cpu); in squashfs_decompressor_destroy()
71 free_percpu(percpu); in squashfs_decompressor_destroy()
[all …]
/Linux-v5.4/arch/alpha/boot/
Dbootp.c72 struct percpu_struct * percpu; in pal_init() local
102 percpu = (struct percpu_struct *) in pal_init()
104 rev = percpu->pal_revision = percpu->palcode_avail[2]; in pal_init()
Dmain.c66 struct percpu_struct * percpu; in pal_init() local
96 percpu = (struct percpu_struct *) in pal_init()
98 rev = percpu->pal_revision = percpu->palcode_avail[2]; in pal_init()
Dbootpz.c120 struct percpu_struct * percpu; in pal_init() local
150 percpu = (struct percpu_struct *) in pal_init()
152 rev = percpu->pal_revision = percpu->palcode_avail[2]; in pal_init()
/Linux-v5.4/include/asm-generic/
Dvmlinux.lds.h847 *(.data..percpu..decrypted) \
885 *(.data..percpu..first) \
887 *(.data..percpu..page_aligned) \
889 *(.data..percpu..read_mostly) \
891 *(.data..percpu) \
892 *(.data..percpu..shared_aligned) \
922 .data..percpu vaddr : AT(__per_cpu_load - LOAD_OFFSET) { \
925 . = __per_cpu_load + SIZEOF(.data..percpu);
941 .data..percpu : AT(ADDR(.data..percpu) - LOAD_OFFSET) { \
/Linux-v5.4/net/rds/
Dib_recv.c106 cache->percpu = alloc_percpu_gfp(struct rds_ib_cache_head, gfp); in rds_ib_recv_alloc_cache()
107 if (!cache->percpu) in rds_ib_recv_alloc_cache()
111 head = per_cpu_ptr(cache->percpu, cpu); in rds_ib_recv_alloc_cache()
129 free_percpu(ic->i_cache_incs.percpu); in rds_ib_recv_alloc_caches()
142 head = per_cpu_ptr(cache->percpu, cpu); in rds_ib_cache_splice_all_lists()
165 free_percpu(ic->i_cache_incs.percpu); in rds_ib_recv_free_caches()
176 free_percpu(ic->i_cache_frags.percpu); in rds_ib_recv_free_caches()
485 chpfirst = __this_cpu_read(cache->percpu->first); in rds_ib_recv_cache_put()
491 __this_cpu_write(cache->percpu->first, new_item); in rds_ib_recv_cache_put()
492 __this_cpu_inc(cache->percpu->count); in rds_ib_recv_cache_put()
[all …]
/Linux-v5.4/kernel/bpf/
Dbpf_lru_list.c496 if (lru->percpu) in bpf_lru_pop_free()
552 if (lru->percpu) in bpf_lru_push_free()
610 if (lru->percpu) in bpf_lru_populate()
645 int bpf_lru_init(struct bpf_lru *lru, bool percpu, u32 hash_offset, in bpf_lru_init() argument
650 if (percpu) { in bpf_lru_init()
680 lru->percpu = percpu; in bpf_lru_init()
690 if (lru->percpu) in bpf_lru_destroy()
Dbpf_lru_list.h61 bool percpu; member
73 int bpf_lru_init(struct bpf_lru *lru, bool percpu, u32 hash_offset,
Darraymap.c51 bool percpu = attr->map_type == BPF_MAP_TYPE_PERCPU_ARRAY; in array_map_alloc_check() local
59 (percpu && numa_node != NUMA_NO_NODE)) in array_map_alloc_check()
73 bool percpu = attr->map_type == BPF_MAP_TYPE_PERCPU_ARRAY; in array_map_alloc() local
105 if (percpu) in array_map_alloc()
112 if (percpu) in array_map_alloc()
133 if (percpu && bpf_array_alloc_percpu(array)) { in array_map_alloc()
Dhashtab.c228 bool percpu = (attr->map_type == BPF_MAP_TYPE_PERCPU_HASH || in htab_map_alloc_check() local
267 if (numa_node != NUMA_NO_NODE && (percpu || percpu_lru)) in htab_map_alloc_check()
297 bool percpu = (attr->map_type == BPF_MAP_TYPE_PERCPU_HASH || in htab_map_alloc() local
335 if (percpu) in htab_map_alloc()
349 if (percpu) in htab_map_alloc()
382 if (!percpu && !lru) { in htab_map_alloc()
723 bool percpu, bool onallcpus, in alloc_htab_elem() argument
769 if (percpu) { in alloc_htab_elem()
/Linux-v5.4/drivers/clocksource/
Dtimer-qcom.c153 bool percpu) in msm_timer_init() argument
159 msm_timer_has_ppi = percpu; in msm_timer_init()
167 if (percpu) in msm_timer_init()
Dtimer-of.c28 if (of_irq->percpu) in timer_of_irq_exit()
72 ret = of_irq->percpu ? in timer_of_irq_init()
Dtimer-of.h14 int percpu; member
/Linux-v5.4/arch/sparc/kernel/
Dsun4m_irq.c108 bool percpu; member
201 if (handler_data->percpu) { in sun4m_mask_irq()
220 if (handler_data->percpu) { in sun4m_unmask_irq()
279 handler_data->percpu = real_irq < OBP_INT_LEVEL_ONBOARD; in sun4m_build_device_irq()
/Linux-v5.4/drivers/md/
Draid5.c1392 static struct page **to_addr_page(struct raid5_percpu *percpu, int i) in to_addr_page() argument
1394 return percpu->scribble + i * percpu->scribble_obj_size; in to_addr_page()
1399 struct raid5_percpu *percpu, int i) in to_addr_conv() argument
1401 return (void *) (to_addr_page(percpu, i) + sh->disks + 2); in to_addr_conv()
1405 ops_run_compute5(struct stripe_head *sh, struct raid5_percpu *percpu) in ops_run_compute5() argument
1408 struct page **xor_srcs = to_addr_page(percpu, 0); in ops_run_compute5()
1430 ops_complete_compute, sh, to_addr_conv(sh, percpu, 0)); in ops_run_compute5()
1487 ops_run_compute6_1(struct stripe_head *sh, struct raid5_percpu *percpu) in ops_run_compute6_1() argument
1490 struct page **blocks = to_addr_page(percpu, 0); in ops_run_compute6_1()
1524 to_addr_conv(sh, percpu, 0)); in ops_run_compute6_1()
[all …]
/Linux-v5.4/arch/x86/kernel/
Dvmlinux.lds.S103 percpu PT_LOAD FLAGS(6); /* RW_ */
227 PERCPU_VADDR(INTERNODE_CACHE_BYTES, 0, :percpu)
228 ASSERT(SIZEOF(.data..percpu) < CONFIG_PHYSICAL_START,
/Linux-v5.4/arch/ia64/kernel/
Dvmlinux.lds.S17 percpu PT_LOAD;
168 PERCPU_VADDR(SMP_CACHE_BYTES, PERCPU_ADDR, :percpu)
/Linux-v5.4/kernel/sched/
Dcpuacct.c207 u64 percpu; in __cpuacct_percpu_seq_show() local
211 percpu = cpuacct_cpuusage_read(ca, i, index); in __cpuacct_percpu_seq_show()
212 seq_printf(m, "%llu ", (unsigned long long) percpu); in __cpuacct_percpu_seq_show()
/Linux-v5.4/Documentation/RCU/
Drcuref.txt4 Please note that the percpu-ref feature is likely your first
6 include/linux/percpu-refcount.h for more information. However, in
7 those unusual cases where percpu-ref would consume too much memory,
/Linux-v5.4/include/linux/
Dstm.h118 unsigned int percpu; member
/Linux-v5.4/arch/powerpc/include/asm/nohash/
Dpgtable.h193 pte_t *ptep, pte_t pte, int percpu) in __set_pte_at() argument
200 if (IS_ENABLED(CONFIG_PPC32) && IS_ENABLED(CONFIG_PTE_64BIT) && !percpu) { in __set_pte_at()
/Linux-v5.4/mm/
DMakefile42 mm_init.o mmu_context.o percpu.o slab_common.o \
106 obj-$(CONFIG_PERCPU_STATS) += percpu-stats.o
/Linux-v5.4/arch/sh/include/asm/
DKbuild18 generic-y += percpu.h
/Linux-v5.4/kernel/locking/
DMakefile6 obj-y += mutex.o semaphore.o rwsem.o percpu-rwsem.o
/Linux-v5.4/arch/powerpc/include/asm/book3s/32/
Dpgtable.h526 pte_t *ptep, pte_t pte, int percpu) in __set_pte_at() argument
535 if (percpu) in __set_pte_at()
550 if (percpu) { in __set_pte_at()

123