Home
last modified time | relevance | path

Searched defs:attr (Results 1 – 25 of 134) sorted by relevance

123456

/tools/arch/x86/include/asm/
Dinat.h110 static inline int inat_is_legacy_prefix(insn_attr_t attr) in inat_is_legacy_prefix()
116 static inline int inat_is_address_size_prefix(insn_attr_t attr) in inat_is_address_size_prefix()
121 static inline int inat_is_operand_size_prefix(insn_attr_t attr) in inat_is_operand_size_prefix()
126 static inline int inat_is_rex_prefix(insn_attr_t attr) in inat_is_rex_prefix()
131 static inline int inat_last_prefix_id(insn_attr_t attr) in inat_last_prefix_id()
139 static inline int inat_is_vex_prefix(insn_attr_t attr) in inat_is_vex_prefix()
146 static inline int inat_is_evex_prefix(insn_attr_t attr) in inat_is_evex_prefix()
151 static inline int inat_is_vex3_prefix(insn_attr_t attr) in inat_is_vex3_prefix()
156 static inline int inat_is_escape(insn_attr_t attr) in inat_is_escape()
161 static inline int inat_escape_id(insn_attr_t attr) in inat_escape_id()
[all …]
/tools/lib/bpf/
Dbpf.c62 static inline int sys_bpf(enum bpf_cmd cmd, union bpf_attr *attr, in sys_bpf()
68 static inline int sys_bpf_prog_load(union bpf_attr *attr, unsigned int size) in sys_bpf_prog_load()
81 union bpf_attr attr; in bpf_create_map_xattr() local
161 union bpf_attr attr; in bpf_create_map_in_map_node() local
221 union bpf_attr attr; in bpf_load_program_xattr() local
353 union bpf_attr attr; in bpf_verify_program() local
373 union bpf_attr attr; in bpf_map_update_elem() local
386 union bpf_attr attr; in bpf_map_lookup_elem() local
398 union bpf_attr attr; in bpf_map_lookup_elem_flags() local
411 union bpf_attr attr; in bpf_map_lookup_and_delete_elem() local
[all …]
/tools/bpf/bpftool/
Dnetlink_dumper.c14 static void xdp_dump_prog_id(struct nlattr **tb, int attr, in xdp_dump_prog_id()
29 static int do_xdp_dump_one(struct nlattr *attr, unsigned int ifindex, in do_xdp_dump_one()
81 static int do_bpf_dump_one_act(struct nlattr *attr) in do_bpf_dump_one_act()
102 static int do_dump_one_act(struct nlattr *attr) in do_dump_one_act()
119 static int do_bpf_act_dump(struct nlattr *attr) in do_bpf_act_dump()
138 static int do_bpf_filter_dump(struct nlattr *attr) in do_bpf_filter_dump()
/tools/perf/tests/
Dbp_account.c29 static int __event(bool is_x, void *addr, struct perf_event_attr *attr) in __event()
58 static int wp_event(void *addr, struct perf_event_attr *attr) in wp_event()
63 static int bp_event(void *addr, struct perf_event_attr *attr) in bp_event()
70 struct perf_event_attr attr, attr_mod, attr_new; in bp_accounting() local
102 struct perf_event_attr attr; in detect_cnt() local
126 struct perf_event_attr attr; in detect_ioctl() local
140 struct perf_event_attr attr; in detect_share() local
Dattr.c67 static int store_event(struct perf_event_attr *attr, pid_t pid, int cpu, in store_event()
146 void test_attr__open(struct perf_event_attr *attr, pid_t pid, int cpu, in test_attr__open()
/tools/testing/selftests/bpf/prog_tests/
Dsend_signal.c14 static void test_send_signal_common(struct perf_event_attr *attr, in test_send_signal_common()
157 struct perf_event_attr attr = { in test_send_signal_perf() local
168 struct perf_event_attr attr = { in test_send_signal_nmi() local
Dperf_branches.c104 struct perf_event_attr attr = {0}; in test_perf_branches_hw() local
145 struct perf_event_attr attr = {0}; in test_perf_branches_no_hw() local
Dget_stackid_cannot_attach.c8 struct perf_event_attr attr = { in test_get_stackid_cannot_attach() local
Dpe_preserve_elems.c14 struct perf_event_attr attr = { in test_one_map() local
/tools/lib/perf/tests/
Dtest-evsel.c20 struct perf_event_attr attr = { in test_stat_cpu() local
54 struct perf_event_attr attr = { in test_stat_thread() local
86 struct perf_event_attr attr = { in test_stat_thread_enable() local
/tools/testing/selftests/powerpc/ptrace/
Dperf-hwbreak.c37 static inline int sys_perf_event_open(struct perf_event_attr *attr, pid_t pid, in sys_perf_event_open()
47 struct perf_event_attr attr; in breakpoint_test() local
78 struct perf_event_attr attr; in runtestsingle() local
156 struct perf_event_attr attr; in runtest_dar_outside() local
/tools/testing/selftests/mqueue/
Dmq_open_tests.c200 static inline void test_queue(struct mq_attr *attr, struct mq_attr *result) in test_queue()
222 static inline int test_queue_fail(struct mq_attr *attr, struct mq_attr *result) in test_queue_fail()
241 struct mq_attr attr, result; in main() local
/tools/perf/util/
Ddwarf-aux.c56 Dwarf_Attribute attr; in cu_get_comp_dir() local
185 Dwarf_Attribute attr; in die_get_linkage_name() local
239 Dwarf_Attribute attr; in die_get_call_lineno() local
259 Dwarf_Attribute attr; in die_get_type() local
309 Dwarf_Attribute attr; in die_get_attr_udata() local
345 Dwarf_Attribute attr; in die_is_func_def() local
379 Dwarf_Attribute attr; in die_entrypc() local
430 Dwarf_Attribute attr; in die_get_data_member_location() local
692 Dwarf_Attribute *attr; in __die_walk_instances_cb() local
958 Dwarf_Attribute attr; in __die_find_variable_cb() local
[all …]
Dperf_api_probe.c123 struct perf_event_attr attr = { in perf_can_record_cpu_wide() local
151 struct perf_event_attr attr = { in perf_can_aux_sample() local
Devsel.c237 struct perf_event_attr *attr, int idx) in evsel__init()
262 struct evsel *evsel__new_idx(struct perf_event_attr *attr, int idx) in evsel__new_idx()
297 struct perf_event_attr attr = { in evsel__new_cycles() local
449 struct perf_event_attr attr = { in evsel__newtp_idx() local
503 struct perf_event_attr *attr = &evsel->core.attr; in perf_evsel__add_modifiers() local
588 struct perf_event_attr *attr = &evsel->core.attr; in evsel__bp_name() local
791 struct perf_event_attr *attr = &evsel->core.attr; in __evsel__config_callchain() local
857 struct perf_event_attr *attr = &evsel->core.attr; in perf_evsel__reset_callgraph() local
877 struct perf_event_attr *attr = &evsel->core.attr; in evsel__apply_config_terms() local
1018 struct perf_event_attr *attr) in evsel__set_default_freq_period()
[all …]
Dtopdown.c6 int topdown_filter_events(const char **attr, char **str, bool use_group) in topdown_filter_events()
Dparse-events.c349 struct perf_event_attr *attr, in __add_event()
392 struct evsel *parse_events__add_event(int idx, struct perf_event_attr *attr, in parse_events__add_event()
400 struct perf_event_attr *attr, char *name, in add_event()
411 struct perf_event_attr attr = { in add_event_tool() local
460 struct perf_event_attr attr; in parse_events_add_cache() local
911 parse_breakpoint_type(const char *type, struct perf_event_attr *attr) in parse_breakpoint_type()
953 struct perf_event_attr attr; in parse_events_add_breakpoint() local
1061 static int config_term_common(struct perf_event_attr *attr, in config_term_common()
1180 static int config_term_pmu(struct perf_event_attr *attr, in config_term_pmu()
1195 static int config_term_tracepoint(struct perf_event_attr *attr, in config_term_tracepoint()
[all …]
/tools/usb/usbip/libsrc/
Dusbip_device_driver.c24 #define copy_descr_attr16(dev, descr, attr) \ argument
27 #define copy_descr_attr(dev, descr, attr) \ argument
/tools/lib/lockdep/include/liblockdep/
Drwlock.h24 const pthread_rwlockattr_t *attr) in __rwlock_init()
31 #define liblockdep_pthread_rwlock_init(lock, attr) \ argument
/tools/testing/nvdimm/
Ddimm_devs.c13 struct device_attribute *attr, char *buf) in security_show()
/tools/perf/
Dperf-sys.h13 sys_perf_event_open(struct perf_event_attr *attr, in sys_perf_event_open()
/tools/build/feature/
Dtest-bpf.c24 union bpf_attr attr; in main() local
Dtest-dwarf_getlocations.c8 Dwarf_Attribute attr; in main() local
/tools/lib/perf/
Devsel.c19 void perf_evsel__init(struct perf_evsel *evsel, struct perf_event_attr *attr) in perf_evsel__init()
25 struct perf_evsel *perf_evsel__new(struct perf_event_attr *attr) in perf_evsel__new()
59 sys_perf_event_open(struct perf_event_attr *attr, in sys_perf_event_open()
/tools/testing/selftests/powerpc/tm/
Dtm-unavailable.c298 void test_fp_vec(int fp, int vec, pthread_attr_t *attr) in test_fp_vec()
343 pthread_attr_t attr; in tm_unavailable_test() local

123456