/linux-6.14.4/tools/perf/scripts/python/ |
D | stat-cpi.py | 10 def get_key(time, event, cpu, thread): argument 13 def store_key(time, cpu, thread): argument 23 def store(time, event, cpu, thread, val, ena, run): argument 31 def get(time, event, cpu, thread): argument 35 def stat__cycles_k(cpu, thread, time, val, ena, run): argument 38 def stat__instructions_k(cpu, thread, time, val, ena, run): argument 41 def stat__cycles_u(cpu, thread, time, val, ena, run): argument 44 def stat__instructions_u(cpu, thread, time, val, ena, run): argument 47 def stat__cycles(cpu, thread, time, val, ena, run): argument 50 def stat__instructions(cpu, thread, time, val, ena, run): argument
|
/linux-6.14.4/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_main.c | 158 static void mvpp2_thread_write(struct mvpp2 *priv, unsigned int thread, in mvpp2_thread_write() 164 static u32 mvpp2_thread_read(struct mvpp2 *priv, unsigned int thread, in mvpp2_thread_read() 170 static void mvpp2_thread_write_relaxed(struct mvpp2 *priv, unsigned int thread, in mvpp2_thread_write_relaxed() 176 static u32 mvpp2_thread_read_relaxed(struct mvpp2 *priv, unsigned int thread, in mvpp2_thread_read_relaxed() 205 __le64 val = cpu_to_le64(addr); in mvpp2_txdesc_dma_addr_set() local 389 u32 val; in mvpp2_bm_pool_create() local 453 u32 val; in mvpp2_bm_pool_bufsize_set() local 466 unsigned int thread = mvpp2_cpu_to_thread(priv, get_cpu()); in mvpp2_bm_bufs_get_addrs() local 473 u32 val; in mvpp2_bm_bufs_get_addrs() local 552 u32 val; in mvpp2_bm_pool_destroy() local [all …]
|
/linux-6.14.4/tools/testing/selftests/bpf/prog_tests/ |
D | sockmap_helpers.h | 18 #define xbpf_map_lookup_elem(fd, key, val) \ argument 26 #define xbpf_map_update_elem(fd, key, val, flags) \ argument 51 #define xpthread_create(thread, attr, func, arg) \ argument 60 #define xpthread_join(thread, retval) \ argument
|
D | ringbuf.c | 39 static int atomic_xchg(int *cnt, int val) in atomic_xchg() 144 pthread_t thread; in ringbuf_subtest() local 449 int err, val; in process_map_key_sample() local
|
/linux-6.14.4/drivers/dma/ |
D | dmatest.c | 257 struct dmatest_thread *thread; in is_threaded_test_run() local 273 struct dmatest_thread *thread; in is_threaded_test_pending() local 284 static int dmatest_wait_get(char *val, const struct kernel_param *kp) in dmatest_wait_get() 328 u8 val = is_memset ? PATTERN_MEMSET_IDX : index; in gen_inv_idx() local 437 struct dmatest_thread *thread = in dmatest_callback() local 456 unsigned int val = min(x, y); in min_odd() local 488 static unsigned long long dmatest_persec(s64 runtime, unsigned int val) in dmatest_persec() 576 struct dmatest_thread *thread = data; in dmatest_func() local 950 struct dmatest_thread *thread; in dmatest_cleanup_channel() local 973 struct dmatest_thread *thread; in dmatest_add_threads() local [all …]
|
/linux-6.14.4/arch/arm64/include/asm/ |
D | fpsimd.h | 102 static inline bool thread_sm_enabled(struct thread_struct *thread) in thread_sm_enabled() 107 static inline bool thread_za_enabled(struct thread_struct *thread) in thread_za_enabled() 121 static inline void *sve_pffr(struct thread_struct *thread) in sve_pffr() 133 static inline void *thread_zt_state(struct thread_struct *thread) in thread_zt_state() 220 #define sve_cond_update_zcr_vq(val, reg) \ argument 242 static inline void write_vl(enum vec_type type, u64 val) in write_vl() 330 #define sve_cond_update_zcr_vq(val, reg) do { } while (0) argument
|
D | processor.h | 197 static inline unsigned int thread_get_vl(struct thread_struct *thread, in thread_get_vl() 203 static inline unsigned int thread_get_sve_vl(struct thread_struct *thread) in thread_get_sve_vl() 208 static inline unsigned int thread_get_sme_vl(struct thread_struct *thread) in thread_get_sme_vl() 213 static inline unsigned int thread_get_cur_vl(struct thread_struct *thread) in thread_get_cur_vl() 436 #define SET_TSC_CTL(val) set_tsc_mode((val)) argument
|
/linux-6.14.4/arch/riscv/include/asm/ |
D | switch_to.h | 74 unsigned long mask, unsigned long val) in envcfg_update_bits() 108 #define __set_prev_cpu(thread) ((thread).prev_cpu = smp_processor_id()) argument 110 #define __set_prev_cpu(thread) argument
|
/linux-6.14.4/tools/perf/arch/powerpc/util/ |
D | unwind-libdw.c | 16 bool libdw__arch_set_initial_registers(Dwfl_Thread *thread, void *arg) in libdw__arch_set_initial_registers() 67 Dwarf_Word val = 0; in libdw__arch_set_initial_registers() local
|
/linux-6.14.4/tools/perf/util/ |
D | tool_pmu.c | 121 static int read_stat_field(int fd, struct perf_cpu cpu, int field, __u64 *val) in read_stat_field() 154 static int read_pid_stat_field(int fd, int field, __u64 *val) in read_pid_stat_field() 224 int pid = -1, idx = 0, thread = 0, nthreads, err = 0, old_errno; in evsel__tool_pmu_open() local 394 int evsel__tool_pmu_read(struct evsel *evsel, int cpu_map_idx, int thread) in evsel__tool_pmu_read() 397 u64 val; in evsel__tool_pmu_read() local
|
D | event.c | 434 struct thread *thread = machine__findnew_thread(machine, in perf_event__exit_del_thread() local 506 static int text_poke_printer(enum binary_printer_ops op, unsigned int val, in text_poke_printer() 618 struct map *thread__find_map(struct thread *thread, u8 cpumode, u64 addr, in thread__find_map() 683 struct map *thread__find_map_fb(struct thread *thread, u8 cpumode, u64 addr, in thread__find_map_fb() 696 struct symbol *thread__find_symbol(struct thread *thread, u8 cpumode, in thread__find_symbol() 705 struct symbol *thread__find_symbol_fb(struct thread *thread, u8 cpumode, in thread__find_symbol_fb() 734 struct thread *thread; in machine__resolve() local 839 void thread__resolve(struct thread *thread, struct addr_location *al, in thread__resolve()
|
D | evsel.c | 1688 void evsel__compute_deltas(struct evsel *evsel, int cpu_map_idx, int thread, in evsel__compute_deltas() 1704 static int evsel__read_one(struct evsel *evsel, int cpu_map_idx, int thread) in evsel__read_one() 1711 static int evsel__read_retire_lat(struct evsel *evsel, int cpu_map_idx, int thread) in evsel__read_retire_lat() 1716 static void evsel__set_count(struct evsel *counter, int cpu_map_idx, int thread, in evsel__set_count() 1717 u64 val, u64 ena, u64 run, u64 lost) in evsel__set_count() 1791 static int evsel__process_group_data(struct evsel *leader, int cpu_map_idx, int thread, u64 *data) in evsel__process_group_data() 1825 static int evsel__read_group(struct evsel *leader, int cpu_map_idx, int thread) in evsel__read_group() 1873 int evsel__read_counter(struct evsel *evsel, int cpu_map_idx, int thread) in evsel__read_counter() 1890 int __evsel__read_on_cpu(struct evsel *evsel, int cpu_map_idx, int thread, bool scale) in __evsel__read_on_cpu() 1931 static int get_group_fd(struct evsel *evsel, int cpu_map_idx, int thread) in get_group_fd() [all …]
|
D | unwind-libunwind-local.c | 98 struct thread *thread; member 112 static int __dw_read_encoded_value(u8 **p, u8 *end, u64 *val, in __dw_read_encoded_value() 511 unw_fpreg_t __maybe_unused *val, in access_fpreg() 623 u64 val; in access_reg() local 659 static int entry(u64 ip, struct thread *thread, in entry() 738 u64 val; in get_entries() local 800 struct thread *thread, in _unwind__get_entries()
|
D | intel-tpebs.c | 47 double val; member 342 int tpebs_set_evsel(struct evsel *evsel, int cpu_map_idx, int thread) in tpebs_set_evsel() 344 __u64 val; in tpebs_set_evsel() local
|
/linux-6.14.4/arch/arm/include/asm/ |
D | tls.h | 73 static inline void set_tls(unsigned long val) in set_tls() 75 struct thread_info *thread; in set_tls() local 125 static inline void set_tpuser(unsigned long val) in set_tpuser()
|
/linux-6.14.4/arch/x86/kernel/ |
D | ptrace.c | 476 struct thread_struct *thread = &(current->thread); in ptrace_triggered() local 562 struct thread_struct *thread = &tsk->thread; in ptrace_write_dr7() local 613 struct thread_struct *thread = &tsk->thread; in ptrace_get_debugreg() local 614 unsigned long val = 0; in ptrace_get_debugreg() local 670 unsigned long val) in ptrace_set_debugreg() 672 struct thread_struct *thread = &tsk->thread; in ptrace_set_debugreg() local 971 static int getreg32(struct task_struct *child, unsigned regno, u32 *val) in getreg32() 1029 u32 val; in genregs32_get() local 1071 __u32 val; in ia32_arch_ptrace() local
|
/linux-6.14.4/tools/perf/ |
D | builtin-script.c | 342 u64 val; member 726 u64 val = regs->regs[i++]; in perf_sample__fprintf_regs() local 799 struct thread *thread, in perf_sample__fprintf_start() 953 struct thread *thread, in perf_sample__fprintf_brstack() 992 struct thread *thread, in perf_sample__fprintf_brstacksym() 1030 struct thread *thread, in perf_sample__fprintf_brstackoff() 1073 struct machine *machine, struct thread *thread, in grab_bb() 1180 static int print_srccode(struct thread *thread, u8 cpumode, uint64_t addr) in print_srccode() 1227 struct thread *thread, in ip__fprintf_jump() 1287 static int ip__fprintf_sym(uint64_t addr, struct thread *thread, in ip__fprintf_sym() [all …]
|
D | builtin-trace.c | 533 …f_suffix(struct strarray *sa, char *bf, size_t size, const char *intfmt, bool show_suffix, int val) in strarray__scnprintf_suffix() 547 …cnprintf(struct strarray *sa, char *bf, size_t size, const char *intfmt, bool show_prefix, int val) in strarray__scnprintf() 596 …printf(struct strarrays *sas, char *bf, size_t size, const char *intfmt, bool show_prefix, int val) in strarrays__scnprintf() 634 u64 val = 0; in strarray__strtoul_flags() local 953 static bool syscall_arg__strtoul_btf_enum(char *bf, size_t size, struct syscall_arg *arg, u64 *val) in syscall_arg__strtoul_btf_enum() 972 static bool syscall_arg__strtoul_btf_type(char *bf, size_t size, struct syscall_arg *arg, u64 *val) in syscall_arg__strtoul_btf_type() 1001 …_t btf_enum_scnprintf(const struct btf_type *type, struct btf *btf, char *bf, size_t size, int val) in btf_enum_scnprintf() 1065 size_t size, int val, char *type) in trace__btf_scnprintf() 1553 static struct thread_trace *thread__trace(struct thread *thread, FILE *fp) in thread__trace() 1626 struct file *thread__files_entry(struct thread *thread, int fd) in thread__files_entry() [all …]
|
/linux-6.14.4/tools/perf/util/scripting-engines/ |
D | trace-event-python.c | 127 static void pydict_set_item_string_decref(PyObject *dict, const char *key, PyObject *val) in pydict_set_item_string_decref() 325 unsigned long long val; in get_field_numeric_entry() local 484 struct thread *thread) in python_process_brstack() 572 struct thread *thread) in python_process_brstacksym() 730 u64 val = regs->regs[i++]; in regs_map() local 1001 unsigned long long val; in python_process_tracepoint() local 1074 static int tuple_set_s64(PyObject *t, unsigned int pos, s64 val) in tuple_set_s64() 1090 static int tuple_set_u64(PyObject *t, unsigned int pos, u64 val) in tuple_set_u64() 1100 static int tuple_set_u32(PyObject *t, unsigned int pos, u32 val) in tuple_set_u32() 1105 static int tuple_set_s32(PyObject *t, unsigned int pos, s32 val) in tuple_set_s32() [all …]
|
/linux-6.14.4/arch/arm/kernel/ |
D | ptrace.c | 278 unsigned long val) in ptrace_write_user() 296 struct thread_info *thread = task_thread_info(tsk); in ptrace_getwmmxregs() local 310 struct thread_info *thread = task_thread_info(tsk); in ptrace_setwmmxregs() local 585 struct thread_info *thread = task_thread_info(target); in fpa_set() local 615 struct thread_info *thread = task_thread_info(target); in vfp_get() local 637 struct thread_info *thread = task_thread_info(target); in vfp_set() local
|
/linux-6.14.4/drivers/android/ |
D | binder.c | 124 static int binder_set_stop_on_user_error(const char *val, in binder_set_stop_on_user_error() 458 binder_enqueue_deferred_thread_work_ilocked(struct binder_thread *thread, in binder_enqueue_deferred_thread_work_ilocked() 476 binder_enqueue_thread_work_ilocked(struct binder_thread *thread, in binder_enqueue_thread_work_ilocked() 503 binder_enqueue_thread_work(struct binder_thread *thread, in binder_enqueue_thread_work() 550 static bool binder_has_work_ilocked(struct binder_thread *thread, in binder_has_work_ilocked() 559 static bool binder_has_work(struct binder_thread *thread, bool do_proc_work) in binder_has_work() 570 static bool binder_available_for_proc_work_ilocked(struct binder_thread *thread) in binder_available_for_proc_work_ilocked() 580 struct binder_thread *thread; in binder_wakeup_poll_threads_ilocked() local 609 struct binder_thread *thread; in binder_select_thread_ilocked() local 639 struct binder_thread *thread, in binder_wakeup_thread_ilocked() [all …]
|
/linux-6.14.4/arch/powerpc/platforms/cell/ |
D | pmu.c | 43 #define READ_SHADOW_REG(val, reg) \ argument 50 #define READ_MMIO_UPPER32(val, reg) \ argument 64 u32 val_in_latch, val = 0; in cbe_read_phys_ctr() local 81 void cbe_write_phys_ctr(u32 cpu, u32 phys_ctr, u32 val) in cbe_write_phys_ctr() 116 u32 val; in cbe_read_ctr() local 128 void cbe_write_ctr(u32 cpu, u32 ctr, u32 val) in cbe_write_ctr() 164 void cbe_write_pm07_control(u32 cpu, u32 ctr, u32 val) in cbe_write_pm07_control() 177 u32 val = 0; in cbe_read_pm() local 217 void cbe_write_pm(u32 cpu, enum pm_reg_name reg, u32 val) in cbe_write_pm() 344 void cbe_enable_pm_interrupts(u32 cpu, u32 thread, u32 mask) in cbe_enable_pm_interrupts()
|
/linux-6.14.4/arch/x86/events/intel/ |
D | p4.c | 953 int thread = p4_ht_config_thread(hwc->config); in __p4_pmu_enable_event() local 1039 u64 val; in p4_pmu_handle_irq() local 1226 static int p4_next_cntr(int thread, unsigned long *used_mask, in p4_next_cntr() 1247 unsigned int i, thread, num; in p4_pmu_schedule_events() local
|
/linux-6.14.4/drivers/infiniband/hw/hfi1/ |
D | driver.c | 69 static int hfi1_caps_set(const char *val, const struct kernel_param *kp) in hfi1_caps_set() 665 static noinline int max_packet_exceeded(struct hfi1_packet *packet, int thread) in max_packet_exceeded() 679 static inline int check_max_packet(struct hfi1_packet *packet, int thread) in check_max_packet() 688 static noinline int skip_rcv_packet(struct hfi1_packet *packet, int thread) in skip_rcv_packet() 741 static inline int process_rcv_packet(struct hfi1_packet *packet, int thread) in process_rcv_packet() 852 int handle_receive_interrupt_nodma_rtail(struct hfi1_ctxtdata *rcd, int thread) in handle_receive_interrupt_nodma_rtail() 878 int handle_receive_interrupt_dma_rtail(struct hfi1_ctxtdata *rcd, int thread) in handle_receive_interrupt_dma_rtail() 1001 int handle_receive_interrupt(struct hfi1_ctxtdata *rcd, int thread) in handle_receive_interrupt()
|
/linux-6.14.4/arch/powerpc/kernel/ |
D | process.c | 690 static void set_debug_reg_defaults(struct thread_struct *thread) in set_debug_reg_defaults() 765 static void set_debug_reg_defaults(struct thread_struct *thread) in set_debug_reg_defaults() 1025 void tm_recheckpoint(struct thread_struct *thread) in tm_recheckpoint() 1503 static void print_bits(unsigned long val, struct regbit *bits, const char *sep) in print_bits() 1522 static void print_tm_bits(unsigned long val) in print_tm_bits() 1538 static void print_tm_bits(unsigned long val) {} in print_tm_bits() 1541 static void print_msr_bits(unsigned long val) in print_msr_bits() 2025 int set_fpexc_mode(struct task_struct *tsk, unsigned int val) in set_fpexc_mode() 2075 unsigned int val = 0; in get_fpexc_mode() local 2103 int set_endian(struct task_struct *tsk, unsigned int val) in set_endian() [all …]
|