Home
last modified time | relevance | path

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

12345

/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
157 union bpf_attr attr; in bpf_create_map_in_map_node() local
217 union bpf_attr attr; in bpf_load_program_xattr() local
340 union bpf_attr attr; in bpf_verify_program() local
360 union bpf_attr attr; in bpf_map_update_elem() local
373 union bpf_attr attr; in bpf_map_lookup_elem() local
385 union bpf_attr attr; in bpf_map_lookup_elem_flags() local
398 union bpf_attr attr; in bpf_map_lookup_and_delete_elem() local
[all …]
Dnetlink.c193 struct nlattr *tb[IFLA_MAX + 1], *attr; in __dump_link_nlmsg() local
310 struct nlattr *tb[TCA_MAX + 1], *attr; in __dump_class_nlmsg() local
349 struct nlattr *tb[TCA_MAX + 1], *attr; in __dump_qdisc_nlmsg() local
388 struct nlattr *tb[TCA_MAX + 1], *attr; in __dump_filter_nlmsg() local
/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.c33 static int __event(bool is_x, void *addr, struct perf_event_attr *attr) in __event()
62 static int wp_event(void *addr, struct perf_event_attr *attr) in wp_event()
67 static int bp_event(void *addr, struct perf_event_attr *attr) in bp_event()
74 struct perf_event_attr attr, attr_mod, attr_new; in bp_accounting() local
106 struct perf_event_attr attr; in detect_cnt() local
130 struct perf_event_attr attr; in detect_ioctl() local
144 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()
Dwp.c35 static void get__perf_event_attr(struct perf_event_attr *attr, int wp_type, in get__perf_event_attr()
54 struct perf_event_attr attr; in __event() local
/tools/testing/selftests/bpf/prog_tests/
Dsend_signal.c11 static void test_send_signal_common(struct perf_event_attr *attr, in test_send_signal_common()
146 struct perf_event_attr attr = { in test_send_signal_tracepoint() local
176 struct perf_event_attr attr = { in test_send_signal_perf() local
188 struct perf_event_attr attr = { in test_send_signal_nmi() local
/tools/perf/lib/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
/tools/perf/util/
Ddwarf-aux.c56 Dwarf_Attribute attr; in cu_get_comp_dir() local
131 Dwarf_Attribute attr; in die_get_linkage_name() local
185 Dwarf_Attribute attr; in die_get_call_lineno() local
205 Dwarf_Attribute attr; in die_get_type() local
255 Dwarf_Attribute attr; in die_get_attr_udata() local
268 Dwarf_Attribute attr; in die_get_attr_sdata() local
304 Dwarf_Attribute attr; in die_is_func_def() local
365 Dwarf_Attribute attr; in die_get_data_member_location() local
627 Dwarf_Attribute *attr; in __die_walk_instances_cb() local
893 Dwarf_Attribute attr; in __die_find_variable_cb() local
[all …]
Devsel.c238 struct perf_event_attr *attr, int idx) in evsel__init()
262 struct evsel *perf_evsel__new_idx(struct perf_event_attr *attr, int idx) in perf_evsel__new_idx()
297 struct perf_event_attr attr = { in perf_evsel__new_cycles() local
345 struct perf_event_attr attr = { in perf_evsel__newtp_idx() local
399 struct perf_event_attr *attr = &evsel->core.attr; in perf_evsel__add_modifiers() local
484 struct perf_event_attr *attr = &evsel->core.attr; in perf_evsel__bp_name() local
694 struct perf_event_attr *attr = &evsel->core.attr; in __perf_evsel__config_callchain() local
760 struct perf_event_attr *attr = &evsel->core.attr; in perf_evsel__reset_callgraph() local
779 struct perf_event_attr *attr = &evsel->core.attr; in apply_config_terms() local
940 struct perf_event_attr *attr = &evsel->core.attr; in perf_evsel__config() local
[all …]
Dparse-events.c321 struct perf_event_attr *attr, in __add_event()
353 struct perf_event_attr *attr, char *name, in add_event()
363 struct perf_event_attr attr = { in add_event_tool() local
411 struct perf_event_attr attr; in parse_events_add_cache() local
861 parse_breakpoint_type(const char *type, struct perf_event_attr *attr) in parse_breakpoint_type()
903 struct perf_event_attr attr; in parse_events_add_breakpoint() local
1007 static int config_term_common(struct perf_event_attr *attr, in config_term_common()
1113 static int config_term_pmu(struct perf_event_attr *attr, in config_term_pmu()
1128 static int config_term_tracepoint(struct perf_event_attr *attr, in config_term_tracepoint()
1155 static int config_attr(struct perf_event_attr *attr, in config_attr()
[all …]
Dcloexec.c32 struct perf_event_attr attr = { in perf_flag_probe() 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/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/perf/lib/
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/nvdimm/
Ddimm_devs.c13 struct device_attribute *attr, char *buf) in security_show()
/tools/build/feature/
Dtest-bpf.c24 union bpf_attr attr; in main() local
Dtest-dwarf_getlocations.c8 Dwarf_Attribute attr; in main() local
/tools/perf/
Dperf-sys.h23 sys_perf_event_open(struct perf_event_attr *attr, in sys_perf_event_open()
Dbuiltin-script.c357 struct perf_event_attr *attr = &evsel->core.attr; in perf_evsel__do_check_stype() local
395 struct perf_event_attr *attr = &evsel->core.attr; in perf_evsel__check_attr() local
491 static void set_print_ip_opts(struct perf_event_attr *attr) in set_print_ip_opts()
611 struct perf_event_attr *attr, FILE *fp) in perf_sample__fprintf_iregs()
618 struct perf_event_attr *attr, FILE *fp) in perf_sample__fprintf_uregs()
629 struct perf_event_attr *attr = &evsel->core.attr; in perf_sample__fprintf_start() local
735 struct perf_event_attr *attr, FILE *fp) in perf_sample__fprintf_brstack()
782 struct perf_event_attr *attr, FILE *fp) in perf_sample__fprintf_brstacksym()
827 struct perf_event_attr *attr, FILE *fp) in perf_sample__fprintf_brstackoff()
972 struct perf_event_attr *attr, FILE *fp) in ip__fprintf_sym()
[all …]
/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
/tools/testing/selftests/bpf/
Dtest_stub.c11 struct bpf_prog_load_attr attr; in bpf_prog_test_load() local

12345