Home
last modified time | relevance | path

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

/linux-4.4.14/fs/squashfs/
Ddecompressor_multi_percpu.c32 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 …]
DKconfig88 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/
Dflow.c59 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/
Dbootp.c71 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()
Dmain.c65 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()
Dbootpz.c119 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/
Dib_recv.c105 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 …]
Dib.h59 struct rds_ib_cache_head __percpu *percpu; member
/linux-4.4.14/Documentation/DocBook/
Dgenericirq.xml.db36 API-free-percpu-irq
37 API-request-percpu-irq
57 API-handle-percpu-irq
58 API-handle-percpu-devid-irq
Dfilesystems.xml.db152 API-seq-hlist-start-percpu
153 API-seq-hlist-next-percpu
Dkernel-api.xml.db378 API-free-percpu-irq
379 API-request-percpu-irq
/linux-4.4.14/include/asm-generic/
Dvmlinux.lds.h724 *(.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/
Dqcom-timer.c182 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/
Dvmlinux.lds.S75 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/
Dcpuacct.c169 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/
Draid5.c1276 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 …]
Draid5.h512 } __percpu *percpu; member
/linux-4.4.14/arch/sparc/kernel/
Dsun4m_irq.c106 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/
Dpgtable.h118 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/
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-4.4.14/include/net/
Dflowcache.h19 struct flow_cache_percpu __percpu *percpu; member
/linux-4.4.14/arch/ia64/kernel/
Dvmlinux.lds.S15 percpu PT_LOAD;
173 PERCPU_VADDR(SMP_CACHE_BYTES, PERCPU_ADDR, :percpu)
/linux-4.4.14/include/linux/
Dstm.h113 unsigned int percpu; member
Dmodule.h437 void __percpu *percpu; member
/linux-4.4.14/arch/mips/include/asm/
DKbuild13 generic-y += percpu.h
/linux-4.4.14/arch/avr32/include/asm/
DKbuild17 generic-y += percpu.h
/linux-4.4.14/kernel/locking/
DMakefile2 obj-y += mutex.o semaphore.o rwsem.o percpu-rwsem.o
/linux-4.4.14/arch/parisc/include/asm/
DKbuild21 generic-y += percpu.h
/linux-4.4.14/arch/um/include/asm/
DKbuild23 generic-y += percpu.h
/linux-4.4.14/arch/xtensa/include/asm/
DKbuild22 generic-y += percpu.h
/linux-4.4.14/include/xen/
Devents.h20 int bind_virq_to_irq(unsigned int virq, unsigned int cpu, bool percpu);
/linux-4.4.14/arch/m68k/include/asm/
DKbuild24 generic-y += percpu.h
/linux-4.4.14/arch/sh/include/asm/
DKbuild24 generic-y += percpu.h
/linux-4.4.14/arch/cris/include/asm/
DKbuild31 generic-y += percpu.h
/linux-4.4.14/arch/arc/include/asm/
DKbuild31 generic-y += percpu.h
/linux-4.4.14/arch/blackfin/include/asm/
DKbuild29 generic-y += percpu.h
/linux-4.4.14/arch/hexagon/include/asm/
DKbuild35 generic-y += percpu.h
/linux-4.4.14/arch/metag/include/asm/
DKbuild33 generic-y += percpu.h
/linux-4.4.14/arch/c6x/include/asm/
DKbuild36 generic-y += percpu.h
/linux-4.4.14/arch/unicore32/include/asm/
DKbuild35 generic-y += percpu.h
/linux-4.4.14/arch/nios2/include/asm/
DKbuild39 generic-y += percpu.h
/linux-4.4.14/arch/openrisc/include/asm/
DKbuild44 generic-y += percpu.h
/linux-4.4.14/arch/h8300/include/asm/
DKbuild44 generic-y += percpu.h
/linux-4.4.14/mm/
DMakefile21 mm_init.o mmu_context.o percpu.o slab_common.o \
DKconfig432 # UP and nommu archs use km based percpu allocator
/linux-4.4.14/Documentation/
Dthis_cpu_ops.txt171 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
Dkmemleak.txt145 kmemleak_alloc_percpu - notify of a percpu memory block allocation
148 kmemleak_free_percpu - notify of a percpu memory block freeing
Dlocal_ops.txt78 #include <linux/percpu.h>
D00-INDEX354 percpu-rw-semaphore.txt
Dkernel-parameters.txt2924 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/
DMakefile29 percpu-refcount.o percpu_ida.o rhashtable.o reciprocal_div.o \
DKconfig.debug349 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/
Dmodule.c639 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/
Devents_base.c972 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/
Dkernel-ABI.txt102 available A1GbP is reserved for use as a temporary to allow a percpu stack
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-devices-system-cpu197 Description: address and size of the percpu note.
/linux-4.4.14/
DMAINTAINERS8277 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