Home
last modified time | relevance | path

Searched refs:__maybe_unused (Results 1 – 25 of 1849) sorted by relevance

12345678910>>...74

/linux-6.12.1/tools/perf/util/
Diostat.c7 __weak int iostat_prepare(struct evlist *evlist __maybe_unused, in iostat_prepare() argument
8 struct perf_stat_config *config __maybe_unused) in iostat_prepare() argument
13 __weak int iostat_parse(const struct option *opt __maybe_unused, in iostat_parse() argument
14 const char *str __maybe_unused, in iostat_parse() argument
15 int unset __maybe_unused) in iostat_parse() argument
21 __weak void iostat_list(struct evlist *evlist __maybe_unused, in iostat_list() argument
22 struct perf_stat_config *config __maybe_unused) in iostat_list() argument
26 __weak void iostat_release(struct evlist *evlist __maybe_unused) in iostat_release() argument
30 __weak void iostat_print_header_prefix(struct perf_stat_config *config __maybe_unused) in iostat_print_header_prefix() argument
34 __weak void iostat_print_metric(struct perf_stat_config *config __maybe_unused, in iostat_print_metric() argument
[all …]
Dtool.c73 __maybe_unused, in process_event_synth_tracing_data_stub()
75 __maybe_unused) in process_event_synth_tracing_data_stub()
81 static int process_event_synth_attr_stub(const struct perf_tool *tool __maybe_unused, in process_event_synth_attr_stub() argument
82 union perf_event *event __maybe_unused, in process_event_synth_attr_stub() argument
84 __maybe_unused) in process_event_synth_attr_stub()
90 static int process_event_synth_event_update_stub(const struct perf_tool *tool __maybe_unused, in process_event_synth_event_update_stub() argument
91 union perf_event *event __maybe_unused, in process_event_synth_event_update_stub() argument
93 __maybe_unused) in process_event_synth_event_update_stub()
102 int process_event_sample_stub(const struct perf_tool *tool __maybe_unused, in process_event_sample_stub() argument
103 union perf_event *event __maybe_unused, in process_event_sample_stub() argument
[all …]
Dunwind.h50 static inline int unwind__prepare_access(struct maps *maps __maybe_unused, in unwind__prepare_access() argument
51 struct map *map __maybe_unused, in unwind__prepare_access() argument
52 bool *initialized __maybe_unused) in unwind__prepare_access() argument
57 static inline void unwind__flush_access(struct maps *maps __maybe_unused) {} in unwind__flush_access() argument
58 static inline void unwind__finish_access(struct maps *maps __maybe_unused) {} in unwind__finish_access() argument
62 unwind__get_entries(unwind_entry_cb_t cb __maybe_unused, in unwind__get_entries() argument
63 void *arg __maybe_unused, in unwind__get_entries() argument
64 struct thread *thread __maybe_unused, in unwind__get_entries() argument
65 struct perf_sample *data __maybe_unused, in unwind__get_entries() argument
66 int max_stack __maybe_unused, in unwind__get_entries() argument
[all …]
Dcompress.h43 static inline int zstd_init(struct zstd_data *data __maybe_unused, int level __maybe_unused) in zstd_init() argument
48 static inline int zstd_fini(struct zstd_data *data __maybe_unused) in zstd_fini() argument
54 ssize_t zstd_compress_stream_to_records(struct zstd_data *data __maybe_unused, in zstd_compress_stream_to_records() argument
55 void *dst __maybe_unused, size_t dst_size __maybe_unused, in zstd_compress_stream_to_records() argument
56 void *src __maybe_unused, size_t src_size __maybe_unused, in zstd_compress_stream_to_records() argument
57 size_t max_record_size __maybe_unused, in zstd_compress_stream_to_records() argument
58 size_t process_header(void *record, size_t increment) __maybe_unused) in zstd_compress_stream_to_records()
63 …line size_t zstd_decompress_stream(struct zstd_data *data __maybe_unused, void *src __maybe_unused, in zstd_decompress_stream() argument
64 size_t src_size __maybe_unused, void *dst __maybe_unused, in zstd_decompress_stream() argument
65 size_t dst_size __maybe_unused) in zstd_decompress_stream() argument
Dauxtrace.h467 int kernel_is_64_bit __maybe_unused) in auxtrace_mmap__read_head() argument
484 int kernel_is_64_bit __maybe_unused) in auxtrace_mmap__write_tail() argument
707 auxtrace_record__init(struct evlist *evlist __maybe_unused, in auxtrace_record__init() argument
715 void auxtrace_record__free(struct auxtrace_record *itr __maybe_unused) in auxtrace_record__free() argument
720 int auxtrace_record__options(struct auxtrace_record *itr __maybe_unused, in auxtrace_record__options() argument
721 struct evlist *evlist __maybe_unused, in auxtrace_record__options() argument
722 struct record_opts *opts __maybe_unused) in auxtrace_record__options() argument
728 int perf_event__process_auxtrace_info(struct perf_session *session __maybe_unused, in perf_event__process_auxtrace_info() argument
729 union perf_event *event __maybe_unused) in perf_event__process_auxtrace_info() argument
735 s64 perf_event__process_auxtrace(struct perf_session *session __maybe_unused, in perf_event__process_auxtrace() argument
[all …]
Dtrace-event-scripting.c54 static void process_event_unsupported(union perf_event *event __maybe_unused, in process_event_unsupported() argument
55 struct perf_sample *sample __maybe_unused, in process_event_unsupported() argument
56 struct evsel *evsel __maybe_unused, in process_event_unsupported() argument
57 struct addr_location *al __maybe_unused, in process_event_unsupported() argument
58 struct addr_location *addr_al __maybe_unused) in process_event_unsupported() argument
71 static int python_start_script_unsupported(const char *script __maybe_unused, in python_start_script_unsupported() argument
72 int argc __maybe_unused, in python_start_script_unsupported() argument
73 const char **argv __maybe_unused, in python_start_script_unsupported() argument
74 struct perf_session *session __maybe_unused) in python_start_script_unsupported() argument
82 __maybe_unused, in python_generate_script_unsupported()
[all …]
Ddwarf-aux.h182 static inline int die_get_var_range(Dwarf_Die *sp_die __maybe_unused, in die_get_var_range() argument
183 Dwarf_Die *vr_die __maybe_unused, in die_get_var_range() argument
184 struct strbuf *buf __maybe_unused) in die_get_var_range() argument
189 static inline Dwarf_Die *die_find_variable_by_reg(Dwarf_Die *sc_die __maybe_unused, in die_find_variable_by_reg() argument
190 Dwarf_Addr pc __maybe_unused, in die_find_variable_by_reg() argument
191 int reg __maybe_unused, in die_find_variable_by_reg() argument
192 int *poffset __maybe_unused, in die_find_variable_by_reg() argument
193 bool is_fbreg __maybe_unused, in die_find_variable_by_reg() argument
194 Dwarf_Die *die_mem __maybe_unused) in die_find_variable_by_reg() argument
199 static inline Dwarf_Die *die_find_variable_by_addr(Dwarf_Die *sc_die __maybe_unused, in die_find_variable_by_addr() argument
[all …]
Dsymbol-minimal.c79 int filename__read_debuglink(const char *filename __maybe_unused, in filename__read_debuglink() argument
80 char *debuglink __maybe_unused, in filename__read_debuglink() argument
81 size_t size __maybe_unused) in filename__read_debuglink() argument
280 bool symsrc__possibly_runtime(struct symsrc *ss __maybe_unused) in symsrc__possibly_runtime() argument
286 bool symsrc__has_symtab(struct symsrc *ss __maybe_unused) in symsrc__has_symtab() argument
297 int dso__synthesize_plt_symbols(struct dso *dso __maybe_unused, in dso__synthesize_plt_symbols() argument
298 struct symsrc *ss __maybe_unused) in dso__synthesize_plt_symbols() argument
341 int dso__load_sym(struct dso *dso, struct map *map __maybe_unused, in dso__load_sym() argument
343 struct symsrc *runtime_ss __maybe_unused, in dso__load_sym() argument
344 int kmodule __maybe_unused) in dso__load_sym() argument
[all …]
Ddebuginfo.h34 static inline struct debuginfo *debuginfo__new(const char *path __maybe_unused) in debuginfo__new() argument
39 static inline void debuginfo__delete(struct debuginfo *dbg __maybe_unused) in debuginfo__delete() argument
45 static inline int debuginfo__get_text_offset(struct debuginfo *dbg __maybe_unused, in debuginfo__get_text_offset() argument
46 Dwarf_Addr *offs __maybe_unused, in debuginfo__get_text_offset() argument
47 bool adjust_offset __maybe_unused) in debuginfo__get_text_offset() argument
58 static inline int get_source_from_debuginfod(const char *raw_path __maybe_unused, in get_source_from_debuginfod() argument
59 const char *sbuild_id __maybe_unused, in get_source_from_debuginfod() argument
60 char **new_path __maybe_unused) in get_source_from_debuginfod() argument
Ddump-insn.c8 const char *dump_insn(struct perf_insn *x __maybe_unused, in dump_insn() argument
9 u64 ip __maybe_unused, u8 *inbuf __maybe_unused, in dump_insn() argument
10 int inlen __maybe_unused, int *lenp) in dump_insn() argument
18 int arch_is_uncond_branch(const unsigned char *buf __maybe_unused, in arch_is_uncond_branch() argument
19 size_t len __maybe_unused, in arch_is_uncond_branch() argument
20 int x86_64 __maybe_unused) in arch_is_uncond_branch() argument
Dannotate-data.h250 find_data_type(struct data_loc_info *dloc __maybe_unused) in find_data_type() argument
256 annotated_data_type__update_samples(struct annotated_data_type *adt __maybe_unused, in annotated_data_type__update_samples() argument
257 struct evsel *evsel __maybe_unused, in annotated_data_type__update_samples() argument
258 int offset __maybe_unused, in annotated_data_type__update_samples() argument
259 int nr_samples __maybe_unused, in annotated_data_type__update_samples() argument
260 u64 period __maybe_unused) in annotated_data_type__update_samples() argument
265 static inline void annotated_data_type__tree_delete(struct rb_root *root __maybe_unused) in annotated_data_type__tree_delete() argument
269 static inline void global_var_type__tree_delete(struct rb_root *root __maybe_unused) in global_var_type__tree_delete() argument
273 static inline int hist_entry__annotate_data_tty(struct hist_entry *he __maybe_unused, in hist_entry__annotate_data_tty() argument
274 struct evsel *evsel __maybe_unused) in hist_entry__annotate_data_tty() argument
[all …]
Dbpf-event.h40 static inline int machine__process_bpf(struct machine *machine __maybe_unused, in machine__process_bpf() argument
41 union perf_event *event __maybe_unused, in machine__process_bpf() argument
42 struct perf_sample *sample __maybe_unused) in machine__process_bpf() argument
47 static inline int evlist__add_bpf_sb_event(struct evlist *evlist __maybe_unused, in evlist__add_bpf_sb_event() argument
48 struct perf_env *env __maybe_unused) in evlist__add_bpf_sb_event() argument
53 static inline void __bpf_event__print_bpf_prog_info(struct bpf_prog_info *info __maybe_unused, in __bpf_event__print_bpf_prog_info() argument
54 struct perf_env *env __maybe_unused, in __bpf_event__print_bpf_prog_info() argument
55 FILE *fp __maybe_unused) in __bpf_event__print_bpf_prog_info() argument
Dmmap.c44 int __weak auxtrace_mmap__mmap(struct auxtrace_mmap *mm __maybe_unused, in auxtrace_mmap__mmap() argument
45 struct auxtrace_mmap_params *mp __maybe_unused, in auxtrace_mmap__mmap() argument
46 void *userpg __maybe_unused, in auxtrace_mmap__mmap() argument
47 int fd __maybe_unused) in auxtrace_mmap__mmap() argument
52 void __weak auxtrace_mmap__munmap(struct auxtrace_mmap *mm __maybe_unused) in auxtrace_mmap__munmap() argument
56 void __weak auxtrace_mmap_params__init(struct auxtrace_mmap_params *mp __maybe_unused, in auxtrace_mmap_params__init() argument
57 off_t auxtrace_offset __maybe_unused, in auxtrace_mmap_params__init() argument
58 unsigned int auxtrace_pages __maybe_unused, in auxtrace_mmap_params__init() argument
59 bool auxtrace_overwrite __maybe_unused) in auxtrace_mmap_params__init() argument
63 void __weak auxtrace_mmap_params__set_idx(struct auxtrace_mmap_params *mp __maybe_unused, in auxtrace_mmap_params__set_idx() argument
[all …]
Dbpf_counter.h52 static inline int bpf_counter__load(struct evsel *evsel __maybe_unused, in bpf_counter__load() argument
53 struct target *target __maybe_unused) in bpf_counter__load() argument
58 static inline int bpf_counter__enable(struct evsel *evsel __maybe_unused) in bpf_counter__enable() argument
63 static inline int bpf_counter__disable(struct evsel *evsel __maybe_unused) in bpf_counter__disable() argument
68 static inline int bpf_counter__read(struct evsel *evsel __maybe_unused) in bpf_counter__read() argument
73 static inline void bpf_counter__destroy(struct evsel *evsel __maybe_unused) in bpf_counter__destroy() argument
77 static inline int bpf_counter__install_pe(struct evsel *evsel __maybe_unused, in bpf_counter__install_pe() argument
78 int cpu __maybe_unused, in bpf_counter__install_pe() argument
79 int fd __maybe_unused) in bpf_counter__install_pe() argument
Dftrace.h52 perf_ftrace__latency_prepare_bpf(struct perf_ftrace *ftrace __maybe_unused) in perf_ftrace__latency_prepare_bpf() argument
58 perf_ftrace__latency_start_bpf(struct perf_ftrace *ftrace __maybe_unused) in perf_ftrace__latency_start_bpf() argument
64 perf_ftrace__latency_stop_bpf(struct perf_ftrace *ftrace __maybe_unused) in perf_ftrace__latency_stop_bpf() argument
70 perf_ftrace__latency_read_bpf(struct perf_ftrace *ftrace __maybe_unused, in perf_ftrace__latency_read_bpf() argument
71 int buckets[] __maybe_unused) in perf_ftrace__latency_read_bpf()
77 perf_ftrace__latency_cleanup_bpf(struct perf_ftrace *ftrace __maybe_unused) in perf_ftrace__latency_cleanup_bpf() argument
/linux-6.12.1/drivers/soc/renesas/
Drenesas-soc.c20 static const struct renesas_family fam_rcar_gen1 __initconst __maybe_unused = { variable
25 static const struct renesas_family fam_rcar_gen2 __initconst __maybe_unused = { variable
30 static const struct renesas_family fam_rcar_gen3 __initconst __maybe_unused = { variable
35 static const struct renesas_family fam_rcar_gen4 __initconst __maybe_unused = { variable
39 static const struct renesas_family fam_rmobile __initconst __maybe_unused = { variable
44 static const struct renesas_family fam_rza1 __initconst __maybe_unused = { variable
48 static const struct renesas_family fam_rza2 __initconst __maybe_unused = { variable
52 static const struct renesas_family fam_rzfive __initconst __maybe_unused = { variable
56 static const struct renesas_family fam_rzg1 __initconst __maybe_unused = { variable
61 static const struct renesas_family fam_rzg2 __initconst __maybe_unused = { variable
[all …]
/linux-6.12.1/tools/perf/tests/
Dstat.c24 static int process_stat_config_event(const struct perf_tool *tool __maybe_unused, in process_stat_config_event() argument
26 struct perf_sample *sample __maybe_unused, in process_stat_config_event() argument
27 struct machine *machine __maybe_unused) in process_stat_config_event() argument
50 static int test__synthesize_stat_config(struct test_suite *test __maybe_unused, in test__synthesize_stat_config() argument
51 int subtest __maybe_unused) in test__synthesize_stat_config() argument
65 static int process_stat_event(const struct perf_tool *tool __maybe_unused, in process_stat_event() argument
67 struct perf_sample *sample __maybe_unused, in process_stat_event() argument
68 struct machine *machine __maybe_unused) in process_stat_event() argument
81 static int test__synthesize_stat(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__synthesize_stat() argument
96 static int process_stat_round_event(const struct perf_tool *tool __maybe_unused, in process_stat_round_event() argument
[all …]
Devent_update.c15 static int process_event_unit(const struct perf_tool *tool __maybe_unused, in process_event_unit() argument
17 struct perf_sample *sample __maybe_unused, in process_event_unit() argument
18 struct machine *machine __maybe_unused) in process_event_unit() argument
28 static int process_event_scale(const struct perf_tool *tool __maybe_unused, in process_event_scale() argument
30 struct perf_sample *sample __maybe_unused, in process_event_scale() argument
31 struct machine *machine __maybe_unused) in process_event_scale() argument
48 struct perf_sample *sample __maybe_unused, in process_event_name() argument
49 struct machine *machine __maybe_unused) in process_event_name() argument
60 static int process_event_cpus(const struct perf_tool *tool __maybe_unused, in process_event_cpus() argument
62 struct perf_sample *sample __maybe_unused, in process_event_cpus() argument
[all …]
Dcpumap.c14 static int process_event_mask(const struct perf_tool *tool __maybe_unused, in process_event_mask() argument
16 struct perf_sample *sample __maybe_unused, in process_event_mask() argument
17 struct machine *machine __maybe_unused) in process_event_mask() argument
50 static int process_event_cpus(const struct perf_tool *tool __maybe_unused, in process_event_cpus() argument
52 struct perf_sample *sample __maybe_unused, in process_event_cpus() argument
53 struct machine *machine __maybe_unused) in process_event_cpus() argument
76 static int process_event_range_cpus(const struct perf_tool *tool __maybe_unused, in process_event_range_cpus() argument
78 struct perf_sample *sample __maybe_unused, in process_event_range_cpus() argument
79 struct machine *machine __maybe_unused) in process_event_range_cpus() argument
103 …ic int test__cpu_map_synthesize(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__cpu_map_synthesize() argument
[all …]
Dthread-map.c23 static int test__thread_map(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__thread_map() argument
63 static int process_event(const struct perf_tool *tool __maybe_unused, in process_event() argument
65 struct perf_sample *sample __maybe_unused, in process_event() argument
66 struct machine *machine __maybe_unused) in process_event() argument
90 …int test__thread_map_synthesize(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__thread_map_synthesize() argument
110 …tic int test__thread_map_remove(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__thread_map_remove() argument
/linux-6.12.1/tools/perf/arch/s390/util/
Dauxtrace.c24 static size_t cpumsf_info_priv_size(struct auxtrace_record *itr __maybe_unused, in cpumsf_info_priv_size() argument
25 struct evlist *evlist __maybe_unused) in cpumsf_info_priv_size() argument
31 cpumsf_info_fill(struct auxtrace_record *itr __maybe_unused, in cpumsf_info_fill() argument
32 struct perf_session *session __maybe_unused, in cpumsf_info_fill() argument
33 struct perf_record_auxtrace_info *auxtrace_info __maybe_unused, in cpumsf_info_fill() argument
34 size_t priv_size __maybe_unused) in cpumsf_info_fill() argument
41 cpumsf_reference(struct auxtrace_record *itr __maybe_unused) in cpumsf_reference() argument
47 cpumsf_recording_options(struct auxtrace_record *ar __maybe_unused, in cpumsf_recording_options() argument
48 struct evlist *evlist __maybe_unused, in cpumsf_recording_options() argument
76 cpumsf_parse_snapshot_options(struct auxtrace_record *itr __maybe_unused, in cpumsf_parse_snapshot_options() argument
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/include/
Dvega10_ip_offset.h36 static const struct IP_BASE __maybe_unused NBIF_BASE = { { { { 0x00000000, 0x00000014, 0x00000D20, …
41 static const struct IP_BASE __maybe_unused NBIO_BASE = { { { { 0x00000000, 0x00000014, 0x00000D20, …
46 static const struct IP_BASE __maybe_unused DCE_BASE = { { { { 0x00000012, 0x000000C0, 0x000034C0, 0…
51 static const struct IP_BASE __maybe_unused DCN_BASE = { { { { 0x00000012, 0x000000C0, 0x000034C0, 0…
56 static const struct IP_BASE __maybe_unused MP0_BASE = { { { { 0x00016000, 0, 0, 0, 0 } },
61 static const struct IP_BASE __maybe_unused MP1_BASE = { { { { 0x00016000, 0, 0, 0, 0 } },
66 static const struct IP_BASE __maybe_unused MP2_BASE = { { { { 0x00016000, 0, 0, 0, 0 } },
71 static const struct IP_BASE __maybe_unused DF_BASE = { { { { 0x00007000, 0, 0, 0, 0 } },
76 static const struct IP_BASE __maybe_unused UVD_BASE = { { { { 0x00007800, 0x00007E00, 0, 0, 0 } },
81 static const struct IP_BASE __maybe_unused VCN_BASE = { { { { 0x00007800, 0x00007E00, 0, 0, 0 } },
[all …]
/linux-6.12.1/tools/testing/selftests/landlock/
Dcommon.h26 #ifndef __maybe_unused
27 #define __maybe_unused __attribute__((__unused__)) macro
100 static void __maybe_unused disable_caps(struct __test_metadata *const _metadata) in disable_caps()
105 static void __maybe_unused drop_caps(struct __test_metadata *const _metadata) in drop_caps()
126 static void __maybe_unused set_cap(struct __test_metadata *const _metadata, in set_cap()
132 static void __maybe_unused clear_cap(struct __test_metadata *const _metadata, in clear_cap()
138 static void __maybe_unused
150 static void __maybe_unused clear_ambient_cap( in clear_ambient_cap()
159 static int __maybe_unused recv_fd(int usock) in recv_fd()
194 static int __maybe_unused send_fd(int usock, int fd_tx) in send_fd()
[all …]
/linux-6.12.1/tools/thermal/thermal-engine/
Dthermal-engine.c41 static int show_trip(struct thermal_trip *tt, __maybe_unused void *arg) in show_trip()
49 static int show_temp(struct thermal_zone *tz, __maybe_unused void *arg) in show_temp()
58 static int show_governor(struct thermal_zone *tz, __maybe_unused void *arg) in show_governor()
67 static int show_tz(struct thermal_zone *tz, __maybe_unused void *arg) in show_tz()
80 static int tz_create(const char *name, int tz_id, __maybe_unused void *arg) in tz_create()
87 static int tz_delete(int tz_id, __maybe_unused void *arg) in tz_delete()
136 static int trip_add(int tz_id, int trip_id, int type, int temp, int hyst, __maybe_unused void *arg) in trip_add()
144 static int trip_delete(int tz_id, int trip_id, __maybe_unused void *arg) in trip_delete()
152 int hyst, __maybe_unused void *arg) in trip_change()
167 static int cdev_add(const char *name, int cdev_id, int max_state, __maybe_unused void *arg) in cdev_add()
[all …]
/linux-6.12.1/drivers/media/pci/ddbridge/
Dddbridge-i2c.h24 static int __maybe_unused i2c_io(struct i2c_adapter *adapter, u8 adr, in i2c_io()
35 static int __maybe_unused i2c_write(struct i2c_adapter *adap, u8 adr, in i2c_write()
44 static int __maybe_unused i2c_read(struct i2c_adapter *adapter, u8 adr, u8 *val) in i2c_read()
52 static int __maybe_unused i2c_read_regs(struct i2c_adapter *adapter, in i2c_read_regs()
63 static int __maybe_unused i2c_read_regs16(struct i2c_adapter *adapter, in i2c_read_regs16()
75 static int __maybe_unused i2c_write_reg16(struct i2c_adapter *adap, in i2c_write_reg16()
83 static int __maybe_unused i2c_write_reg(struct i2c_adapter *adap, in i2c_write_reg()
91 static int __maybe_unused i2c_read_reg16(struct i2c_adapter *adapter, in i2c_read_reg16()
97 static int __maybe_unused i2c_read_reg(struct i2c_adapter *adapter, in i2c_read_reg()

12345678910>>...74