Home
last modified time | relevance | path

Searched +full:cpu +full:- +full:read (Results 1 – 25 of 1017) sorted by relevance

12345678910>>...41

/linux/tools/perf/util/
H A Dcpumap.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 /** Identify where counts are aggregated, -1 implies not to aggregate. */
13 /** The numa node X as read from /sys/devices/system/node/nodeX. */
16 * The socket number as read from
17 * /sys/devices/system/cpu/cpuX/topology/physical_package_id.
20 /** The die id as read from /sys/devices/system/cpu/cpuX/topology/die_id. */
22 /** The cluster id as read fro
35 struct perf_cpu cpu; global() member
[all...]
/linux/tools/virtio/virtio-trace/
H A Dtrace-agent.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Guest agent for virtio-trace
15 #include "trace-agent.h"
23 #define READ_PATH_FMT "%s/per_cpu/cpu%d/trace_pipe_raw"
24 #define WRITE_PATH_FMT "/dev/virtio-ports/trace-path-cpu%d"
25 #define CTL_PATH "/dev/virtio-ports/agent-ctl-path"
35 pr_err("Could not read cpus\n"); in get_total_cpus()
59 s->pipe_size = PIPE_INIT; in agent_info_new()
60 s->use_stdout = false; in agent_info_new()
61 s->cpus = get_total_cpus(); in agent_info_new()
[all …]
H A Dtrace-agent-rw.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Read/write thread of a guest agent for virtio-trace
16 #include "trace-agent.h"
30 rw_ti->cpu_num = -1; in rw_thread_info_new()
31 rw_ti->in_fd = -1; in rw_thread_info_new()
32 rw_ti->out_fd = -1; in rw_thread_info_new()
33 rw_ti->read_pipe = -1; in rw_thread_info_new()
34 rw_ti->write_pipe = -1; in rw_thread_info_new()
35 rw_ti->pipe_size = PIPE_INIT; in rw_thread_info_new()
40 void *rw_thread_init(int cpu, const char *in_path, const char *out_path, in rw_thread_init() argument
[all …]
/linux/tools/perf/pmu-events/arch/x86/amdzen4/
H A Ddata-fabric.json4 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 0.",
12 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 1.",
20 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 2.",
28 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 3.",
36 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 4.",
44 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 5.",
52 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 6.",
60 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 7.",
68 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 8.",
76 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 9.",
[all …]
/linux/Documentation/core-api/
H A Dlocal_ops.rst29 Local atomic operations are meant to provide fast and highly reentrant per CPU
34 Having fast per CPU atomic counters is interesting in many cases: it does not
40 CPU which owns the data. Therefore, care must taken to make sure that only one
41 CPU writes to the ``local_t`` data. This is done by using per cpu data and
43 however permitted to read ``local_t`` data from any CPU: it will then appear to
44 be written out of order wrt other memory writes by the owner CPU.
54 ``asm-generic/local.h`` in your architecture's ``local.h`` is sufficient.
66 * Variables touched by local ops must be per cpu variables.
67 * *Only* the CPU owner of these variables must write to them.
68 * This CPU can use local ops from any context (process, irq, softirq, nmi, ...)
[all …]
/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-clt-stats.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2014 - 2018 ProfitBricks GmbH. All rights reserved.
6 * Copyright (c) 2018 - 2019 1&1 IONOS Cloud GmbH. All rights reserved.
7 * Copyright (c) 2019 - 2020 1&1 IONOS SE. All rights reserved.
12 #include "rtrs-clt.h"
16 struct rtrs_clt_path *clt_path = to_clt_path(con->c.path); in rtrs_clt_update_wc_stats()
17 struct rtrs_clt_stats *stats = clt_path->stats; in rtrs_clt_update_wc_stats()
19 int cpu; in rtrs_clt_update_wc_stats() local
21 cpu = raw_smp_processor_id(); in rtrs_clt_update_wc_stats()
22 s = get_cpu_ptr(stats->pcpu_stats); in rtrs_clt_update_wc_stats()
[all …]
H A Drtrs-srv-stats.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2014 - 2018 ProfitBricks GmbH. All rights reserved.
6 * Copyright (c) 2018 - 2019 1&1 IONOS Cloud GmbH. All rights reserved.
7 * Copyright (c) 2019 - 2020 1&1 IONOS SE. All rights reserved.
12 #include "rtrs-srv.h"
17 int cpu; in rtrs_srv_reset_rdma_stats() local
20 for_each_possible_cpu(cpu) { in rtrs_srv_reset_rdma_stats()
21 r = per_cpu_ptr(stats->rdma_stats, cpu); in rtrs_srv_reset_rdma_stats()
28 return -EINVAL; in rtrs_srv_reset_rdma_stats()
33 int cpu; in rtrs_srv_stats_rdma_to_str() local
[all …]
/linux/tools/power/cpupower/utils/helpers/
H A Dsysfs.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.de>
24 if (fd == -1) in sysfs_read_file()
27 numread = read(fd, buf, buflen - 1); in sysfs_read_file()
40 * Detect whether a CPU is online
43 * 1 -> if CPU is online
44 * 0 -> if CPU is offline
47 int sysfs_is_cpu_online(unsigned int cpu) in sysfs_is_cpu_online() argument
57 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u", cpu); in sysfs_is_cpu_online()
64 * -> cpuX directory exists, but not cpuX/online file in sysfs_is_cpu_online()
[all …]
H A Dmsr.c1 // SPDX-License-Identifier: GPL-2.0
19 * Will return 0 on success and -1 on failure.
21 * EFAULT -If the read/write did not fully complete
22 * EIO -If the CPU does not support MSRs
23 * ENXIO -If the CPU does not exist
26 int read_msr(int cpu, unsigned int idx, unsigned long long *val) in read_msr() argument
31 sprintf(msr_file_name, "/dev/cpu/%d/msr", cpu); in read_msr()
34 return -1; in read_msr()
35 if (lseek(fd, idx, SEEK_CUR) == -1) in read_msr()
37 if (read(fd, val, sizeof *val) != sizeof *val) in read_msr()
[all …]
/linux/include/uapi/linux/
H A Disst_if.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
16 * struct isst_if_platform_info - Define platform information
25 * @mmio_supported: Support of mmio interface for core-power feature
40 * struct isst_if_cpu_map - CPU mapping between logical and physical CPU
41 * @logical_cpu: Linux logical CPU number
42 * @physical_cpu: PUNIT CPU number
44 * Used to convert from Linux logical CPU to PUNIT CPU numbering scheme.
45 * The PUNIT CPU number is different than APIC ID based CPU numbering.
53 * struct isst_if_cpu_maps - structure for CPU map IOCTL
54 * @cmd_count: Number of CPU mapping command in cpu_map[]
[all …]
/linux/drivers/perf/
H A Dfujitsu_uncore_pmu.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * See Documentation/admin-guide/perf/fujitsu_uncore_pmu.rst for more details.
60 int cpu; member
71 struct uncore_pmu *uncorepmu = to_uncore_pmu(event->pmu); in fujitsu_uncore_counter_start()
72 int idx = event->hw.idx; in fujitsu_uncore_counter_start()
75 local64_set(&event->hw.prev_count, 0); in fujitsu_uncore_counter_start()
76 writeq_relaxed(0, uncorepmu->regs + PM_EVCNTR(idx)); in fujitsu_uncore_counter_start()
79 writeq_relaxed(PM_EVTYPE_EVSEL(event->attr.config), uncorepmu->regs + PM_EVTYPE(idx)); in fujitsu_uncore_counter_start()
82 writeq_relaxed(PM_INTENSET_IDX(idx), uncorepmu->regs + PM_INTENSET); in fujitsu_uncore_counter_start()
85 writeq_relaxed(PM_CNTCTL_RESET, uncorepmu->regs + PM_CNTCTL(idx)); in fujitsu_uncore_counter_start()
[all …]
/linux/tools/power/cpupower/lib/
H A Dcpuidle.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.de>
22 * For example the functionality to disable c-states was introduced in later
29 unsigned int cpuidle_state_file_exists(unsigned int cpu, in cpuidle_state_file_exists() argument
37 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in cpuidle_state_file_exists()
38 cpu, idlestate, fname); in cpuidle_state_file_exists()
45 * helper function to read fil
51 cpuidle_state_read_file(unsigned int cpu,unsigned int idlestate,const char * fname,char * buf,size_t buflen) cpuidle_state_read_file() argument
86 cpuidle_state_write_file(unsigned int cpu,unsigned int idlestate,const char * fname,const char * value,size_t len) cpuidle_state_write_file() argument
135 cpuidle_state_get_one_value(unsigned int cpu,unsigned int idlestate,enum idlestate_value which) cpuidle_state_get_one_value() argument
175 cpuidle_state_get_one_string(unsigned int cpu,unsigned int idlestate,enum idlestate_string which) cpuidle_state_get_one_string() argument
209 cpuidle_is_state_disabled(unsigned int cpu,unsigned int idlestate) cpuidle_is_state_disabled() argument
230 cpuidle_state_disable(unsigned int cpu,unsigned int idlestate,unsigned int disable) cpuidle_state_disable() argument
253 cpuidle_state_latency(unsigned int cpu,unsigned int idlestate) cpuidle_state_latency() argument
259 cpuidle_state_residency(unsigned int cpu,unsigned int idlestate) cpuidle_state_residency() argument
265 cpuidle_state_usage(unsigned int cpu,unsigned int idlestate) cpuidle_state_usage() argument
271 cpuidle_state_time(unsigned int cpu,unsigned int idlestate) cpuidle_state_time() argument
277 cpuidle_state_name(unsigned int cpu,unsigned int idlestate) cpuidle_state_name() argument
282 cpuidle_state_desc(unsigned int cpu,unsigned int idlestate) cpuidle_state_desc() argument
292 cpuidle_state_count(unsigned int cpu) cpuidle_state_count() argument
[all...]
/linux/tools/memory-model/Documentation/
H A Dexplanation.txt1 Explanation of the Linux-Kernel Memory Consistency Model
15 7. THE PROGRAM ORDER RELATION: po AND po-loc
18 10. THE READS-FROM RELATION: rf, rfi, and rfe
20 12. THE FROM-READS RELATION: fr, fri, and fre
22 14. PROPAGATION ORDER RELATION: cumul-fence
28 20. THE HAPPENS-BEFORE RELATION: hb
29 21. THE PROPAGATES-BEFORE RELATION: pb
30 22. RCU RELATIONS: rcu-link, rcu-gp, rcu-rscsi, rcu-order, rcu-fence, and rb
31 23. SRCU READ-SIDE CRITICAL SECTIONS
39 ------------
[all …]
/linux/arch/mips/include/asm/sn/sn0/
H A Dhubpi.h8 * Copyright (C) 1992 - 1997, 1999 Silicon Graphics, Inc.
28 #define PI_CPU_PROTECT 0x000000 /* CPU Protection */
29 #define PI_PROT_OVERRD 0x000008 /* Clear CPU Protection bit */
32 #define PI_CPU_NUM 0x000020 /* CPU Number ID */
57 #define PI_CPU_PRESENT_A 0x000040 /* CPU Present A */
58 #define PI_CPU_PRESENT_B 0x000048 /* CPU Present B */
59 #define PI_CPU_ENABLE_A 0x000050 /* CPU Enable A */
60 #define PI_CPU_ENABLE_B 0x000058 /* CPU Enable B */
63 #define PI_NMI_A 0x000070 /* NMI to CPU A */
64 #define PI_NMI_B 0x000078 /* NMI to CPU B */
[all …]
/linux/Documentation/
H A Dmemory-barriers.txt19 documentation at tools/memory-model/. Nevertheless, even this memory
37 Note also that it is possible that a barrier may be a no-op for an
48 - Device operations.
49 - Guarantees.
53 - Varieties of memory barrier.
54 - What may not be assumed about memory barriers?
55 - Address-dependency barriers (historical).
56 - Control dependencies.
57 - SMP barrier pairing.
58 - Examples of memory barrier sequences.
[all …]
/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_coherency.c2 * SPDX-License-Identifier: MIT
27 u32 *cpu; in cpu_set() local
30 i915_gem_object_lock(ctx->obj, NULL); in cpu_set()
31 err = i915_gem_object_prepare_write(ctx->obj, &needs_clflush); in cpu_set()
35 page = i915_gem_object_get_page(ctx->obj, offset >> PAGE_SHIFT); in cpu_set()
36 cpu = kmap_local_page(page) + offset_in_page(offset); in cpu_set()
39 drm_clflush_virt_range(cpu, sizeof(*cpu)); in cpu_set()
41 *cpu = v; in cpu_set()
44 drm_clflush_virt_range(cpu, sizeof(*cpu)); in cpu_set()
46 kunmap_local(cpu); in cpu_set()
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-slab19 The aliases file is read-only and specifies how many caches
28 The align file is read-only and specifies the cache's object
37 The alloc_calls file is read-only and lists the kernel code
41 Documentation/admin-guide/mm/slab.rst).
60 The alloc_from_partial file shows how many times a cpu slab has
72 The alloc_refill file shows how many times the per-cpu freelist
74 remote cpu frees. It can be written to clear the current count.
106 The cache_dma file is read-only and specifies whether objects
116 The cpu_slabs file is read-only. It is deprecated and always
117 reads "0" since the removal of per-cpu slabs in Linux 7.0. It
[all …]
/linux/tools/perf/pmu-events/arch/x86/grandridge/
H A Duncore-io.json12 "BriefDescription": "PCIE Completion Buffer Inserts. Counts once per 64 byte read issued from this PCIE device.",
24 "BriefDescription": "PCIE Completion Buffer Inserts. Counts once per 64 byte read issued from this PCIE device.",
36 "BriefDescription": "PCIE Completion Buffer Inserts. Counts once per 64 byte read issued from this PCIE device.",
48 "BriefDescription": "PCIE Completion Buffer Inserts. Counts once per 64 byte read issued from this PCIE device.",
60 "BriefDescription": "PCIE Completion Buffer Inserts. Counts once per 64 byte read issued from this PCIE device.",
72 "BriefDescription": "PCIE Completion Buffer Inserts. Counts once per 64 byte read issued from this PCIE device.",
84 "BriefDescription": "PCIE Completion Buffer Inserts. Counts once per 64 byte read issued from this PCIE device.",
96 "BriefDescription": "PCIE Completion Buffer Inserts. Counts once per 64 byte read issued from this PCIE device.",
108 "BriefDescription": "PCIE Completion Buffer Inserts. Counts once per 64 byte read issued from this PCIE device.",
228 "BriefDescription": "Data requested by the CPU
[all...]
/linux/arch/arm/mach-zynq/
H A Dslcr.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2011-2013 Xilinx Inc.
18 #define SLCR_A9_CPU_RST_CTRL_OFFSET 0x244 /* CPU Software Reset Control */
33 * zynq_slcr_write - Write to a register in SLCR block
46 * zynq_slcr_read - Read a register in SLCR block
48 * @val: Pointer to value to be read from SLCR
59 * zynq_slcr_unlock - Unlock SLCR registers
71 * zynq_slcr_get_device_id - Read device code id
87 * zynq_slcr_system_restart - Restart the entire system.
103 * the FSBL not loading the bitstream after soft-reboot in zynq_slcr_system_restart()
[all …]
/linux/tools/power/cpupower/utils/idle_monitor/
H A Dmperf_monitor.c1 // SPDX-License-Identifier: GPL-2.0-only
17 #include "idle_monitor/cpupower-monitor.h"
33 unsigned int cpu);
35 unsigned int cpu);
80 /* valid flag for all CPUs. If a MSR read failed it will be zero */
93 static int get_aperf_mperf(int cpu, unsigned long long *aval, in get_aperf_mperf() argument
101 * Running on the cpu from which we read the registers will in get_aperf_mperf()
106 if (bind_cpu(cpu)) in get_aperf_mperf()
124 ret = read_msr(cpu, MSR_APERF, aval); in get_aperf_mperf()
125 ret |= read_msr(cpu, MSR_MPERF, mval); in get_aperf_mperf()
[all …]
/linux/Documentation/RCU/
H A Dchecklist.rst1 .. SPDX-License-Identifier: GPL-2.0
14 0. Is RCU being applied to a read-mostly situation? If the data
18 tool for the job. Yes, RCU does reduce read-side overhead by
19 increasing write-side overhead, which is exactly why normal uses
27 Yet another exception is where the low real-time latency of RCU's
28 read-side primitives is critically important.
33 counter-intuitive situation where rcu_read_lock() and
49 them -- even x86 allows later loads to be reordered to precede
54 relating to itself that other tasks can read, there by definition
59 2. Do the RCU read-side critical sections make proper use of
[all …]
/linux/Documentation/RCU/Design/Requirements/
H A DRequirements.rst16 ------------
18 Read-copy update (RCU) is a synchronization mechanism that is often used
19 as a replacement for reader-writer locking. RCU is unusual in that
20 updaters do not block readers, which means that RCU's read-side
28 thought of as an informal, high-level specification for RCU. It is
40 #. `Fundamental Non-Requirements`_
42 #. `Quality-of-Implementation Requirements`_
44 #. `Software-Engineering Requirements`_
53 ------------------------
58 #. `Grace-Period Guarantee`_
[all …]
/linux/Documentation/mm/
H A Dmmu_notifier.rst8 For secondary TLB (non CPU TLB) like IOMMU TLB or device TLB (when device use
9 thing like ATS/PASID to get the IOMMU to walk the CPU page table to access a
23 - take page table lock
24 - clear page table entry and notify ([pmd/pte]p_huge_clear_flush_notify())
25 - set page table entry to point to new page
33 Two address addrA and addrB such that \|addrA - addrB\| >= PAGE_SIZE we assume
38 [Time N] --------------------------------------------------------------------
39 CPU-thread-0 {try to write to addrA}
40 CPU-thread-1 {try to write to addrB}
41 CPU-thread-2 {}
[all …]
/linux/kernel/trace/
H A Dring_buffer.c1 // SPDX-License-Identifier: GPL-2.0
31 #include <linux/cpu.h>
98 * allocated for each CPU. A writer may only write to a buffer that is
99 * associated with the CPU it is currently executing on. A reader may read
100 * from any per cpu buffer.
102 * The reader is special. For each per cpu buffer, the reader has its own
103 * reader page. When a reader has read th
304 for_each_buffer_cpu(buffer,cpu) global() argument
307 for_each_online_buffer_cpu(buffer,cpu) global() argument
352 unsigned read; /* index for next read */ global() member
425 alloc_cpu_buffer(cpu) global() argument
429 alloc_cpu_page(cpu) global() argument
433 alloc_cpu_data(int cpu,int order) alloc_cpu_data() argument
522 int cpu; global() member
554 unsigned long read; global() member
844 ring_buffer_nr_dirty_pages(struct trace_buffer * buffer,int cpu) ring_buffer_nr_dirty_pages() argument
846 size_t read; ring_buffer_nr_dirty_pages() local
868 full_hit(struct trace_buffer * buffer,int cpu,int full) full_hit() argument
928 ring_buffer_wake_waiters(struct trace_buffer * buffer,int cpu) ring_buffer_wake_waiters() argument
960 rb_watermark_hit(struct trace_buffer * buffer,int cpu,int full) rb_watermark_hit() argument
993 rb_wait_cond(struct rb_irq_work * rbwork,struct trace_buffer * buffer,int cpu,int full,ring_buffer_cond_fn cond,void * data) rb_wait_cond() argument
1058 ring_buffer_wait(struct trace_buffer * buffer,int cpu,int full,ring_buffer_cond_fn cond,void * data) ring_buffer_wait() argument
1117 ring_buffer_poll_wait(struct trace_buffer * buffer,int cpu,struct file * filp,poll_table * poll_table,int full) ring_buffer_poll_wait() argument
1226 ring_buffer_normalize_time_stamp(struct trace_buffer * buffer,int cpu,u64 * ts) ring_buffer_normalize_time_stamp() argument
1699 rb_range_meta(struct trace_buffer * buffer,unsigned long nr_pages,int cpu) rb_range_meta() argument
1858 rb_cpu_meta_valid(struct ring_buffer_cpu_meta * meta,int cpu,struct trace_buffer * buffer,unsigned long nr_pages,unsigned long * subbuf_mask) rb_cpu_meta_valid() argument
1921 rb_read_data_buffer(struct buffer_data_page * dpage,int tail,int cpu,unsigned long long * timestamp,u64 * delta_ptr) rb_read_data_buffer() argument
1984 __rb_validate_buffer(struct buffer_page * bpage,int cpu,struct ring_buffer_cpu_meta * meta,u64 prev_ts,u64 next_ts) __rb_validate_buffer() argument
2262 int cpu; rb_range_meta_init() local
2379 ring_buffer_meta_seq_init(struct file * file,struct trace_buffer * buffer,int cpu) ring_buffer_meta_seq_init() argument
2409 ring_buffer_desc(struct trace_buffer_desc * trace_desc,int cpu) ring_buffer_desc() argument
2569 rb_allocate_cpu_buffer(struct trace_buffer * buffer,unsigned long nr_pages,int cpu) rb_allocate_cpu_buffer() argument
2729 int cpu; rb_test_inject_invalid_pages() local
2800 int cpu; alloc_buffer() local
3025 int cpu; ring_buffer_free() local
3299 int cpu, err; ring_buffer_resize() local
4363 int cpu; rb_irq_work_queue() local
4534 int cpu; ring_buffer_nest_start() local
4554 int cpu; ring_buffer_nest_end() local
4575 int cpu = raw_smp_processor_id(); ring_buffer_unlock_commit() local
5046 int cpu; ring_buffer_lock_reserve() local
5147 int cpu; ring_buffer_discard_commit() local
5194 int cpu; ring_buffer_write() local
5364 ring_buffer_record_is_on_cpu(struct trace_buffer * buffer,int cpu) ring_buffer_record_is_on_cpu() argument
5384 ring_buffer_record_disable_cpu(struct trace_buffer * buffer,int cpu) ring_buffer_record_disable_cpu() argument
5404 ring_buffer_record_enable_cpu(struct trace_buffer * buffer,int cpu) ring_buffer_record_enable_cpu() argument
5421 ring_buffer_oldest_event_ts(struct trace_buffer * buffer,int cpu) ring_buffer_oldest_event_ts() argument
5454 ring_buffer_bytes_cpu(struct trace_buffer * buffer,int cpu) ring_buffer_bytes_cpu() argument
5474 ring_buffer_entries_cpu(struct trace_buffer * buffer,int cpu) ring_buffer_entries_cpu() argument
5493 ring_buffer_overrun_cpu(struct trace_buffer * buffer,int cpu) ring_buffer_overrun_cpu() argument
5516 ring_buffer_commit_overrun_cpu(struct trace_buffer * buffer,int cpu) ring_buffer_commit_overrun_cpu() argument
5538 ring_buffer_dropped_events_cpu(struct trace_buffer * buffer,int cpu) ring_buffer_dropped_events_cpu() argument
5559 ring_buffer_read_events_cpu(struct trace_buffer * buffer,int cpu) ring_buffer_read_events_cpu() argument
5582 int cpu; ring_buffer_entries() local
5605 int cpu; ring_buffer_overruns() local
6339 ring_buffer_peek(struct trace_buffer * buffer,int cpu,u64 * ts,unsigned long * lost_events) ring_buffer_peek() argument
6414 ring_buffer_consume(struct trace_buffer * buffer,int cpu,u64 * ts,unsigned long * lost_events) ring_buffer_consume() argument
6466 ring_buffer_read_start(struct trace_buffer * buffer,int cpu,gfp_t flags) ring_buffer_read_start() argument
6554 ring_buffer_size(struct trace_buffer * buffer,int cpu) ring_buffer_size() argument
6735 ring_buffer_reset_cpu(struct trace_buffer * buffer,int cpu) ring_buffer_reset_cpu() argument
6770 int cpu; ring_buffer_reset_online_cpus() local
6811 int cpu; ring_buffer_reset() local
6849 int cpu; ring_buffer_empty() local
6873 ring_buffer_empty_cpu(struct trace_buffer * buffer,int cpu) ring_buffer_empty_cpu() argument
6894 ring_buffer_poll_remote(struct trace_buffer * buffer,int cpu) ring_buffer_poll_remote() argument
6947 ring_buffer_swap_cpu(struct trace_buffer * buffer_a,struct trace_buffer * buffer_b,int cpu) ring_buffer_swap_cpu() argument
7045 ring_buffer_alloc_read_page(struct trace_buffer * buffer,int cpu,struct buffer_data_read_page ** rpage) ring_buffer_alloc_read_page() argument
7110 ring_buffer_free_read_page(struct trace_buffer * buffer,int cpu,struct buffer_data_read_page * rpage) ring_buffer_free_read_page() argument
7193 ring_buffer_read_page(struct trace_buffer * buffer,struct buffer_data_read_page * data_page,size_t len,int cpu,int full) ring_buffer_read_page() argument
7202 unsigned int read; ring_buffer_read_page() local
7455 int cpu; ring_buffer_subbuf_order_set() local
7671 rb_get_mapped_buffer(struct trace_buffer * buffer,int cpu) rb_get_mapped_buffer() argument
7840 ring_buffer_map(struct trace_buffer * buffer,int cpu,struct vm_area_struct * vma) ring_buffer_map() argument
7910 ring_buffer_map_dup(struct trace_buffer * buffer,int cpu) ring_buffer_map_dup() argument
7927 ring_buffer_unmap(struct trace_buffer * buffer,int cpu) ring_buffer_unmap() argument
7962 ring_buffer_map_get_reader(struct trace_buffer * buffer,int cpu) ring_buffer_map_get_reader() argument
8073 trace_rb_cpu_prepare(unsigned int cpu,struct hlist_node * node) trace_rb_cpu_prepare() argument
8154 int cpu; global() member
8261 int cpu = smp_processor_id(); rb_ipi() local
8284 int cpu; test_ringbuffer() local
[all...]
/linux/arch/arm64/kernel/
H A Dsmp_spin_table.c1 // SPDX-License-Identifier: GPL-2.0-only
22 volatile unsigned long __section(".mmuoff.data.read")
43 static int smp_spin_table_cpu_init(unsigned int cpu) in smp_spin_table_cpu_init() argument
48 dn = of_get_cpu_node(cpu, NULL); in smp_spin_table_cpu_init()
50 return -ENODEV; in smp_spin_table_cpu_init()
53 * Determine the address from which the CPU is polling. in smp_spin_table_cpu_init()
55 ret = of_property_read_u64(dn, "cpu-release-addr", in smp_spin_table_cpu_init()
56 &cpu_release_addr[cpu]); in smp_spin_table_cpu_init()
58 pr_err("CPU %d: missing or invalid cpu-release-addr property\n", in smp_spin_table_cpu_init()
59 cpu); in smp_spin_table_cpu_init()
[all …]

12345678910>>...41