/kernel/linux/linux-5.10/fs/squashfs/ |
D | decompressor_multi_percpu.c | 32 struct squashfs_stream __percpu *percpu; in squashfs_decompressor_create() local 35 percpu = alloc_percpu(struct squashfs_stream); in squashfs_decompressor_create() 36 if (percpu == NULL) in squashfs_decompressor_create() 40 stream = per_cpu_ptr(percpu, cpu); in squashfs_decompressor_create() 50 return (__force void *) percpu; in squashfs_decompressor_create() 54 stream = per_cpu_ptr(percpu, cpu); in squashfs_decompressor_create() 58 free_percpu(percpu); in squashfs_decompressor_create() 64 struct squashfs_stream __percpu *percpu = in squashfs_decompressor_destroy() local 71 stream = per_cpu_ptr(percpu, cpu); in squashfs_decompressor_destroy() 74 free_percpu(percpu); in squashfs_decompressor_destroy()
|
/kernel/linux/linux-5.10/arch/alpha/boot/ |
D | bootp.c | 71 struct percpu_struct * percpu; in pal_init() local 101 percpu = (struct percpu_struct *) in pal_init() 103 rev = percpu->pal_revision = percpu->palcode_avail[2]; in pal_init()
|
D | main.c | 65 struct percpu_struct * percpu; in pal_init() local 95 percpu = (struct percpu_struct *) in pal_init() 97 rev = percpu->pal_revision = percpu->palcode_avail[2]; in pal_init()
|
D | bootpz.c | 119 struct percpu_struct * percpu; in pal_init() local 149 percpu = (struct percpu_struct *) in pal_init() 151 rev = percpu->pal_revision = percpu->palcode_avail[2]; in pal_init()
|
/kernel/linux/linux-5.10/net/rds/ |
D | ib_recv.c | 106 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() 486 chpfirst = __this_cpu_read(cache->percpu->first); in rds_ib_recv_cache_put() 492 __this_cpu_write(cache->percpu->first, new_item); in rds_ib_recv_cache_put() 493 __this_cpu_inc(cache->percpu->count); in rds_ib_recv_cache_put() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/cgroup/ |
D | test_kmem.c | 353 long current, percpu; in test_percpu_basic() local 378 percpu = cg_read_key_long(parent, "memory.stat", "percpu "); in test_percpu_basic() 380 if (current > 0 && percpu > 0 && abs(current - percpu) < in test_percpu_basic() 385 current, percpu); in test_percpu_basic()
|
/kernel/linux/linux-5.10/include/asm-generic/ |
D | vmlinux.lds.h | 1002 *(.data..percpu..decrypted) \ 1074 *(.data..percpu..first) \ 1076 *(.data..percpu..page_aligned) \ 1078 *(.data..percpu..read_mostly) \ 1080 *(.data..percpu) \ 1081 *(.data..percpu..shared_aligned) \ 1111 .data..percpu vaddr : AT(__per_cpu_load - LOAD_OFFSET) { \ 1114 . = __per_cpu_load + SIZEOF(.data..percpu); 1130 .data..percpu : AT(ADDR(.data..percpu) - LOAD_OFFSET) { \
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | bpf_lru_list.c | 496 if (lru->percpu) in bpf_lru_pop_free() 553 if (lru->percpu) in bpf_lru_push_free() 611 if (lru->percpu) in bpf_lru_populate() 646 int bpf_lru_init(struct bpf_lru *lru, bool percpu, u32 hash_offset, in bpf_lru_init() argument 651 if (percpu) { in bpf_lru_init() 681 lru->percpu = percpu; in bpf_lru_init() 691 if (lru->percpu) in bpf_lru_destroy()
|
D | bpf_lru_list.h | 61 bool percpu; member 73 int bpf_lru_init(struct bpf_lru *lru, bool percpu, u32 hash_offset,
|
/kernel/linux/linux-5.10/drivers/md/ |
D | raid5.c | 1475 static struct page **to_addr_page(struct raid5_percpu *percpu, int i) in to_addr_page() argument 1477 return percpu->scribble + i * percpu->scribble_obj_size; in to_addr_page() 1482 struct raid5_percpu *percpu, int i) in to_addr_conv() argument 1484 return (void *) (to_addr_page(percpu, i) + sh->disks + 2); in to_addr_conv() 1491 to_addr_offs(struct stripe_head *sh, struct raid5_percpu *percpu) in to_addr_offs() argument 1493 return (unsigned int *) (to_addr_conv(sh, percpu, 0) + sh->disks + 2); in to_addr_offs() 1497 ops_run_compute5(struct stripe_head *sh, struct raid5_percpu *percpu) in ops_run_compute5() argument 1500 struct page **xor_srcs = to_addr_page(percpu, 0); in ops_run_compute5() 1501 unsigned int *off_srcs = to_addr_offs(sh, percpu); in ops_run_compute5() 1527 ops_complete_compute, sh, to_addr_conv(sh, percpu, 0)); in ops_run_compute5() [all …]
|
/kernel/linux/linux-5.10/drivers/clocksource/ |
D | timer-qcom.c | 153 bool percpu) in msm_timer_init() argument 159 msm_timer_has_ppi = percpu; in msm_timer_init() 167 if (percpu) in msm_timer_init()
|
D | timer-of.c | 28 if (of_irq->percpu) in timer_of_irq_exit() 72 ret = of_irq->percpu ? in timer_of_irq_init()
|
D | timer-of.h | 14 int percpu; member
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | sun4m_irq.c | 107 bool percpu; member 200 if (handler_data->percpu) { in sun4m_mask_irq() 219 if (handler_data->percpu) { in sun4m_unmask_irq() 278 handler_data->percpu = real_irq < OBP_INT_LEVEL_ONBOARD; in sun4m_build_device_irq()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | vmlinux.lds.S | 107 percpu PT_LOAD FLAGS(6); /* RW_ */ 224 PERCPU_VADDR(INTERNODE_CACHE_BYTES, 0, :percpu) 225 ASSERT(SIZEOF(.data..percpu) < CONFIG_PHYSICAL_START,
|
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/nvhe/ |
D | hyp.lds.S | 21 HYP_SECTION_NAME(.data..percpu) : {
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
D | vmlinux.lds.S | 20 percpu PT_LOAD; 168 PERCPU_VADDR(SMP_CACHE_BYTES, PERCPU_ADDR, :percpu)
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | cpuacct.c | 208 u64 percpu; in __cpuacct_percpu_seq_show() local 212 percpu = cpuacct_cpuusage_read(ca, i, index); in __cpuacct_percpu_seq_show() 213 seq_printf(m, "%llu ", (unsigned long long) percpu); in __cpuacct_percpu_seq_show()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | vmlinux.lds.S | 35 HYP_SECTION_NAME(.data..percpu) : { \ 36 *(HYP_SECTION_NAME(.data..percpu)) \
|
/kernel/linux/linux-5.10/Documentation/locking/ |
D | index.rst | 24 percpu-rw-semaphore
|
/kernel/linux/linux-5.10/Documentation/RCU/ |
D | rcuref.rst | 8 Please note that the percpu-ref feature is likely your first 10 include/linux/percpu-refcount.h for more information. However, in 11 those unusual cases where percpu-ref would consume too much memory,
|
/kernel/linux/linux-5.10/include/linux/ |
D | stm.h | 118 unsigned int percpu; member
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/ |
D | pgtable.h | 186 pte_t *ptep, pte_t pte, int percpu) in __set_pte_at() argument 193 if (IS_ENABLED(CONFIG_PPC32) && IS_ENABLED(CONFIG_PTE_64BIT) && !percpu) { in __set_pte_at()
|
/kernel/linux/linux-5.10/kernel/locking/ |
D | Makefile | 6 obj-y += mutex.o semaphore.o rwsem.o percpu-rwsem.o
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/32/ |
D | pgtable.h | 496 pte_t *ptep, pte_t pte, int percpu) in __set_pte_at() argument 505 if (percpu) in __set_pte_at() 520 if (percpu) { in __set_pte_at()
|