/linux-4.4.14/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() 49 return (__force void *) percpu; in squashfs_decompressor_create() 53 stream = per_cpu_ptr(percpu, cpu); in squashfs_decompressor_create() 57 free_percpu(percpu); in squashfs_decompressor_create() 63 struct squashfs_stream __percpu *percpu = in squashfs_decompressor_destroy() local 70 stream = per_cpu_ptr(percpu, cpu); in squashfs_decompressor_destroy() 73 free_percpu(percpu); in squashfs_decompressor_destroy() [all …]
|
D | Kconfig | 88 bool "Use percpu multiple decompressors for parallel I/O" 95 decompressor per core. It uses percpu variables to ensure
|
/linux-4.4.14/net/core/ |
D | flow.c | 59 per_cpu_ptr(fc->percpu, i)->hash_rnd_recalc = 1; in flow_cache_new_hashrnd() 203 fcp = this_cpu_ptr(fc->percpu); in flow_cache_lookup() 293 fcp = this_cpu_ptr(fc->percpu); in flow_cache_flush_tasklet() 323 fcp = per_cpu_ptr(fc->percpu, cpu); in flow_cache_percpu_empty() 335 tasklet = &this_cpu_ptr(info->cache->percpu)->flush_tasklet; in flow_cache_flush_per_cpu() 395 struct flow_cache_percpu *fcp = per_cpu_ptr(fc->percpu, cpu); in flow_cache_cpu_prepare() 418 struct flow_cache_percpu *fcp = per_cpu_ptr(fc->percpu, cpu); in flow_cache_cpu() 454 fc->percpu = alloc_percpu(struct flow_cache_percpu); in flow_cache_init() 455 if (!fc->percpu) in flow_cache_init() 480 struct flow_cache_percpu *fcp = per_cpu_ptr(fc->percpu, i); in flow_cache_init() [all …]
|
/linux-4.4.14/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()
|
/linux-4.4.14/net/rds/ |
D | ib_recv.c | 105 cache->percpu = alloc_percpu(struct rds_ib_cache_head); in rds_ib_recv_alloc_cache() 106 if (!cache->percpu) in rds_ib_recv_alloc_cache() 110 head = per_cpu_ptr(cache->percpu, cpu); in rds_ib_recv_alloc_cache() 128 free_percpu(ic->i_cache_incs.percpu); in rds_ib_recv_alloc_caches() 141 head = per_cpu_ptr(cache->percpu, cpu); in rds_ib_cache_splice_all_lists() 164 free_percpu(ic->i_cache_incs.percpu); in rds_ib_recv_free_caches() 174 free_percpu(ic->i_cache_frags.percpu); in rds_ib_recv_free_caches() 472 chpfirst = __this_cpu_read(cache->percpu->first); in rds_ib_recv_cache_put() 478 __this_cpu_write(cache->percpu->first, new_item); in rds_ib_recv_cache_put() 479 __this_cpu_inc(cache->percpu->count); in rds_ib_recv_cache_put() [all …]
|
D | ib.h | 59 struct rds_ib_cache_head __percpu *percpu; member
|
/linux-4.4.14/Documentation/DocBook/ |
D | genericirq.xml.db | 36 API-free-percpu-irq 37 API-request-percpu-irq 57 API-handle-percpu-irq 58 API-handle-percpu-devid-irq
|
D | filesystems.xml.db | 152 API-seq-hlist-start-percpu 153 API-seq-hlist-next-percpu
|
D | kernel-api.xml.db | 378 API-free-percpu-irq 379 API-request-percpu-irq
|
/linux-4.4.14/include/asm-generic/ |
D | vmlinux.lds.h | 724 *(.data..percpu..first) \ 726 *(.data..percpu..page_aligned) \ 728 *(.data..percpu..read_mostly) \ 730 *(.data..percpu) \ 731 *(.data..percpu..shared_aligned) \ 760 .data..percpu vaddr : AT(VMLINUX_SYMBOL(__per_cpu_load) \ 764 . = VMLINUX_SYMBOL(__per_cpu_load) + SIZEOF(.data..percpu); 780 .data..percpu : AT(ADDR(.data..percpu) - LOAD_OFFSET) { \
|
/linux-4.4.14/drivers/clocksource/ |
D | qcom-timer.c | 182 bool percpu) in msm_timer_init() argument 188 msm_timer_has_ppi = percpu; in msm_timer_init() 196 if (percpu) in msm_timer_init()
|
/linux-4.4.14/arch/x86/kernel/ |
D | vmlinux.lds.S | 75 percpu PT_LOAD FLAGS(6); /* RW_ */ 188 PERCPU_VADDR(INTERNODE_CACHE_BYTES, 0, :percpu) 189 ASSERT(SIZEOF(.data..percpu) < CONFIG_PHYSICAL_START,
|
/linux-4.4.14/kernel/sched/ |
D | cpuacct.c | 169 u64 percpu; in cpuacct_percpu_seq_show() local 173 percpu = cpuacct_cpuusage_read(ca, i); in cpuacct_percpu_seq_show() 174 seq_printf(m, "%llu ", (unsigned long long) percpu); in cpuacct_percpu_seq_show()
|
/linux-4.4.14/drivers/md/ |
D | raid5.c | 1276 struct raid5_percpu *percpu, int i) in to_addr_conv() argument 1280 addr = flex_array_get(percpu->scribble, i); in to_addr_conv() 1285 static struct page **to_addr_page(struct raid5_percpu *percpu, int i) in to_addr_page() argument 1289 addr = flex_array_get(percpu->scribble, i); in to_addr_page() 1294 ops_run_compute5(struct stripe_head *sh, struct raid5_percpu *percpu) in ops_run_compute5() argument 1297 struct page **xor_srcs = to_addr_page(percpu, 0); in ops_run_compute5() 1319 ops_complete_compute, sh, to_addr_conv(sh, percpu, 0)); in ops_run_compute5() 1370 ops_run_compute6_1(struct stripe_head *sh, struct raid5_percpu *percpu) in ops_run_compute6_1() argument 1373 struct page **blocks = to_addr_page(percpu, 0); in ops_run_compute6_1() 1407 to_addr_conv(sh, percpu, 0)); in ops_run_compute6_1() [all …]
|
D | raid5.h | 512 } __percpu *percpu; member
|
/linux-4.4.14/arch/sparc/kernel/ |
D | sun4m_irq.c | 106 bool percpu; member 199 if (handler_data->percpu) { in sun4m_mask_irq() 218 if (handler_data->percpu) { in sun4m_unmask_irq() 277 handler_data->percpu = real_irq < OBP_INT_LEVEL_ONBOARD; in sun4m_build_device_irq()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | pgtable.h | 118 pte_t *ptep, pte_t pte, int percpu) in __set_pte_at() argument 127 if (percpu) in __set_pte_at() 142 if (percpu) { in __set_pte_at()
|
/linux-4.4.14/Documentation/RCU/ |
D | rcuref.txt | 4 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-4.4.14/include/net/ |
D | flowcache.h | 19 struct flow_cache_percpu __percpu *percpu; member
|
/linux-4.4.14/arch/ia64/kernel/ |
D | vmlinux.lds.S | 15 percpu PT_LOAD; 173 PERCPU_VADDR(SMP_CACHE_BYTES, PERCPU_ADDR, :percpu)
|
/linux-4.4.14/include/linux/ |
D | stm.h | 113 unsigned int percpu; member
|
D | module.h | 437 void __percpu *percpu; member
|
/linux-4.4.14/arch/mips/include/asm/ |
D | Kbuild | 13 generic-y += percpu.h
|
/linux-4.4.14/arch/avr32/include/asm/ |
D | Kbuild | 17 generic-y += percpu.h
|
/linux-4.4.14/kernel/locking/ |
D | Makefile | 2 obj-y += mutex.o semaphore.o rwsem.o percpu-rwsem.o
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | Kbuild | 21 generic-y += percpu.h
|
/linux-4.4.14/arch/um/include/asm/ |
D | Kbuild | 23 generic-y += percpu.h
|
/linux-4.4.14/arch/xtensa/include/asm/ |
D | Kbuild | 22 generic-y += percpu.h
|
/linux-4.4.14/include/xen/ |
D | events.h | 20 int bind_virq_to_irq(unsigned int virq, unsigned int cpu, bool percpu);
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | Kbuild | 24 generic-y += percpu.h
|
/linux-4.4.14/arch/sh/include/asm/ |
D | Kbuild | 24 generic-y += percpu.h
|
/linux-4.4.14/arch/cris/include/asm/ |
D | Kbuild | 31 generic-y += percpu.h
|
/linux-4.4.14/arch/arc/include/asm/ |
D | Kbuild | 31 generic-y += percpu.h
|
/linux-4.4.14/arch/blackfin/include/asm/ |
D | Kbuild | 29 generic-y += percpu.h
|
/linux-4.4.14/arch/hexagon/include/asm/ |
D | Kbuild | 35 generic-y += percpu.h
|
/linux-4.4.14/arch/metag/include/asm/ |
D | Kbuild | 33 generic-y += percpu.h
|
/linux-4.4.14/arch/c6x/include/asm/ |
D | Kbuild | 36 generic-y += percpu.h
|
/linux-4.4.14/arch/unicore32/include/asm/ |
D | Kbuild | 35 generic-y += percpu.h
|
/linux-4.4.14/arch/nios2/include/asm/ |
D | Kbuild | 39 generic-y += percpu.h
|
/linux-4.4.14/arch/openrisc/include/asm/ |
D | Kbuild | 44 generic-y += percpu.h
|
/linux-4.4.14/arch/h8300/include/asm/ |
D | Kbuild | 44 generic-y += percpu.h
|
/linux-4.4.14/mm/ |
D | Makefile | 21 mm_init.o mmu_context.o percpu.o slab_common.o \
|
D | Kconfig | 432 # UP and nommu archs use km based percpu allocator
|
/linux-4.4.14/Documentation/ |
D | this_cpu_ops.txt | 171 Let's say we have a percpu structure 277 Remote write accesses to percpu data structures are highly discouraged 289 This makes it explicit that we are getting ready to access a percpu
|
D | kmemleak.txt | 145 kmemleak_alloc_percpu - notify of a percpu memory block allocation 148 kmemleak_free_percpu - notify of a percpu memory block freeing
|
D | local_ops.txt | 78 #include <linux/percpu.h>
|
D | 00-INDEX | 354 percpu-rw-semaphore.txt
|
D | kernel-parameters.txt | 2924 percpu_alloc= Select which percpu first chunk allocator to use. 2927 See comments in mm/percpu.c for details on each 3620 percpu one pool for each CPU 3992 vector=percpu: enable percpu vector domain
|
/linux-4.4.14/lib/ |
D | Makefile | 29 percpu-refcount.o percpu_ida.o rhashtable.o reciprocal_div.o \
|
D | Kconfig.debug | 349 s390 and alpha require percpu variables in modules to be 351 puts the following two restrictions on percpu variable 354 1. percpu symbols must be unique whether static or not 355 2. percpu variables can't be defined inside a function 358 option forces all percpu variables to be defined as weak. 441 bool "Debug percpu counter objects" 445 percpu counter routines to track the life time of percpu counter 446 objects and validate the percpu counter operations.
|
/linux-4.4.14/kernel/ |
D | module.c | 639 return mod->percpu; in mod_percpu() 656 mod->percpu = __alloc_reserved_percpu(pcpusec->sh_size, align); in percpu_modalloc() 657 if (!mod->percpu) { in percpu_modalloc() 668 free_percpu(mod->percpu); in percpu_modfree() 682 memcpy(per_cpu_ptr(mod->percpu, cpu), from, size); in percpu_modcopy() 707 void *start = per_cpu_ptr(mod->percpu, cpu); in is_module_percpu_address()
|
/linux-4.4.14/drivers/xen/events/ |
D | events_base.c | 972 int bind_virq_to_irq(unsigned int virq, unsigned int cpu, bool percpu) in bind_virq_to_irq() argument 986 if (percpu) in bind_virq_to_irq()
|
/linux-4.4.14/Documentation/metag/ |
D | kernel-ABI.txt | 102 available A1GbP is reserved for use as a temporary to allow a percpu stack
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-devices-system-cpu | 197 Description: address and size of the percpu note.
|
/linux-4.4.14/ |
D | MAINTAINERS | 8277 T: git git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu.git 8279 F: include/linux/percpu*.h 8280 F: mm/percpu*.c 8281 F: arch/*/include/asm/percpu.h
|