Home
last modified time | relevance | path

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

12345678

/tools/arch/x86/include/asm/
A Dinat.h167 static inline int inat_is_escape(insn_attr_t attr) in inat_is_escape()
172 static inline int inat_escape_id(insn_attr_t attr) in inat_escape_id()
177 static inline int inat_is_group(insn_attr_t attr) in inat_is_group()
182 static inline int inat_group_id(insn_attr_t attr) in inat_group_id()
202 static inline int inat_has_modrm(insn_attr_t attr) in inat_has_modrm()
207 static inline int inat_is_force64(insn_attr_t attr) in inat_is_force64()
217 static inline int inat_has_moffset(insn_attr_t attr) in inat_has_moffset()
222 static inline int inat_has_variant(insn_attr_t attr) in inat_has_variant()
227 static inline int inat_accept_vex(insn_attr_t attr) in inat_accept_vex()
232 static inline int inat_must_vex(insn_attr_t attr) in inat_must_vex()
[all …]
/tools/net/ynl/lib/
A Dynl-priv.h201 static inline void *ynl_attr_data(const struct nlattr *attr) in ynl_attr_data()
211 #define ynl_attr_for_each(attr, nlh, fixed_hdr_sz) \ argument
216 #define ynl_attr_for_each_nested_off(attr, outer, offset) \ argument
222 #define ynl_attr_for_each_nested(attr, outer) \ argument
225 #define ynl_attr_for_each_payload(start, len, attr) \ argument
230 ynl_attr_if_good(const void *end, struct nlattr *attr) in ynl_attr_if_good()
242 struct nlattr *attr; in ynl_attr_next() local
251 struct nlattr *attr; in ynl_attr_first() local
275 struct nlattr *attr; in ynl_attr_nest_start() local
297 struct nlattr *attr; in ynl_attr_put() local
[all …]
/tools/lib/bpf/
A Dbpf.c114 union bpf_attr attr; in probe_memcg_account() local
176 union bpf_attr attr; in bpf_map_create() local
247 union bpf_attr attr; in bpf_prog_load() local
392 union bpf_attr attr; in bpf_map_update_elem() local
408 union bpf_attr attr; in bpf_map_lookup_elem() local
423 union bpf_attr attr; in bpf_map_lookup_elem_flags() local
439 union bpf_attr attr; in bpf_map_lookup_and_delete_elem() local
454 union bpf_attr attr; in bpf_map_lookup_and_delete_elem_flags() local
470 union bpf_attr attr; in bpf_map_delete_elem() local
484 union bpf_attr attr; in bpf_map_delete_elem_flags() local
[all …]
A Dskel_internal.h71 static inline int skel_sys_bpf(enum bpf_cmd cmd, union bpf_attr *attr, in skel_sys_bpf()
226 union bpf_attr attr; in skel_map_create() local
243 union bpf_attr attr; in skel_map_update_elem() local
257 union bpf_attr attr; in skel_map_delete_elem() local
269 union bpf_attr attr; in skel_map_get_fd_by_id() local
280 union bpf_attr attr; in skel_raw_tracepoint_open() local
293 union bpf_attr attr; in skel_link_create() local
314 union bpf_attr attr; in bpf_load_and_run() local
A Dgen_loader.c44 #define attr_field(attr, field) (attr + offsetof(union bpf_attr, field)) argument
267 static void emit_sys_bpf(struct bpf_gen *gen, int cmd, int attr, int attr_size) in emit_sys_bpf()
454 union bpf_attr attr; in bpf_gen__load_btf() local
490 union bpf_attr attr; in bpf_gen__map_create() local
1000 union bpf_attr attr; in bpf_gen__prog_load() local
1119 union bpf_attr attr; in bpf_gen__map_update_elem() local
1167 union bpf_attr attr; in bpf_gen__populate_outer_map() local
1195 union bpf_attr attr; in bpf_gen__map_freeze() local
/tools/bpf/bpftool/
A 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/
A Dbp_account.c43 static int __event(bool is_x, void *addr, struct perf_event_attr *attr) in __event()
72 static int wp_event(void *addr, struct perf_event_attr *attr) in wp_event()
77 static int bp_event(void *addr, struct perf_event_attr *attr) in bp_event()
84 struct perf_event_attr attr, attr_mod, attr_new; in bp_accounting() local
118 struct perf_event_attr attr; in detect_cnt() local
142 struct perf_event_attr attr; in detect_ioctl() local
156 struct perf_event_attr attr; in detect_share() local
A Dsigtrap.c38 struct perf_event_attr attr = { in make_event_attr() local
123 struct perf_event_attr attr = { in attr_has_sigtrap() local
221 struct perf_event_attr attr = make_event_attr(); in test__sigtrap() local
A Dwp.c43 static void get__perf_event_attr(struct perf_event_attr *attr, int wp_type, in get__perf_event_attr()
62 struct perf_event_attr attr; in __event() local
/tools/lib/perf/tests/
A Dtest-evsel.c24 struct perf_event_attr attr = { in test_stat_cpu() local
58 struct perf_event_attr attr = { in test_stat_thread() local
90 struct perf_event_attr attr = { in test_stat_thread_enable() local
133 struct perf_event_attr attr = { in test_stat_user_read() local
195 static int test_stat_read_format_single(struct perf_event_attr *attr, struct perf_thread_map *threa… in test_stat_read_format_single()
230 static int test_stat_read_format_group(struct perf_event_attr *attr, struct perf_thread_map *thread… in test_stat_read_format_group()
294 struct perf_event_attr attr = { in test_stat_read_format() local
/tools/testing/nvdimm/test/
A Dndtest.c387 struct device_attribute *attr, char *buf) in range_index_show()
569 struct device_attribute *attr, char *buf) in phys_id_show()
579 struct device_attribute *attr, char *buf) in vendor_show()
586 struct device_attribute *attr, char *buf) in id_show()
597 struct device_attribute *attr, char *buf) in nvdimm_handle_show()
611 struct device_attribute *attr, char *buf) in subsystem_vendor_show()
618 struct device_attribute *attr, char *buf) in dirty_shutdown_show()
625 struct device_attribute *attr, char *buf) in formats_show()
635 struct device_attribute *attr, char *buf) in format_show()
668 struct device_attribute *attr, char *buf) in flags_show()
[all …]
/tools/testing/selftests/mount_setattr/
A Dmount_setattr_test.c334 struct mount_attr attr = { in mount_setattr_thread() local
533 struct mount_attr attr = { in TEST_F() local
569 struct mount_attr attr = { in TEST_F() local
663 struct mount_attr attr = { in TEST_F() local
720 struct mount_attr attr = { in TEST_F() local
754 struct mount_attr attr = { in TEST_F() local
958 struct mount_attr attr = { in TEST_F() local
974 struct mount_attr attr = { in TEST_F() local
1065 struct mount_attr attr = { in TEST_F() local
1083 struct mount_attr attr = { in TEST_F() local
[all …]
/tools/testing/selftests/bpf/progs/
A Dtest_kfunc_dynptr_param.c39 int BPF_PROG(not_valid_dynptr, int cmd, union bpf_attr *attr, unsigned int size, bool kernel) in BPF_PROG()
49 int BPF_PROG(not_ptr_to_stack, int cmd, union bpf_attr *attr, unsigned int size, bool kernel) in BPF_PROG()
58 int BPF_PROG(dynptr_data_null, int cmd, union bpf_attr *attr, unsigned int size, bool kernel) in BPF_PROG()
A Dtest_cgroup1_hierarchy.c54 int BPF_PROG(lsm_run, int cmd, union bpf_attr *attr, unsigned int size, bool kernel) in BPF_PROG()
60 int BPF_PROG(lsm_s_run, int cmd, union bpf_attr *attr, unsigned int size, bool kernel) in BPF_PROG()
/tools/testing/selftests/kvm/lib/arm64/
A Dvgic.c36 uint64_t attr; in vgic_v3_setup() local
85 uint64_t attr = 32 * (intid / 32); in _kvm_irq_set_level_info() local
135 uint64_t attr = reg_off + reg * 4; in vgic_poke_irq() local
175 u64 attr; in vgic_its_setup() local
/tools/testing/selftests/bpf/prog_tests/
A Dsend_signal.c20 static void test_send_signal_common(struct perf_event_attr *attr, in test_send_signal_common()
219 struct perf_event_attr attr = { in test_send_signal_perf() local
231 struct perf_event_attr attr = { in test_send_signal_nmi() local
A 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
/tools/testing/selftests/lsm/
A Dcommon.h9 static inline int lsm_get_self_attr(unsigned int attr, struct lsm_ctx *ctx, in lsm_get_self_attr()
17 static inline int lsm_set_self_attr(unsigned int attr, struct lsm_ctx *ctx, in lsm_set_self_attr()
/tools/perf/arch/x86/tests/
A Damd-ibs-period.c229 static long perf_event_open(struct perf_event_attr *attr, pid_t pid, in perf_event_open()
235 static void fetch_prepare_attr(struct perf_event_attr *attr, in fetch_prepare_attr()
250 static void op_prepare_attr(struct perf_event_attr *attr, in op_prepare_attr()
307 struct perf_event_attr attr; in __ibs_config_test() local
491 struct perf_event_attr attr; in __ibs_period_constraint_test() local
679 struct perf_event_attr attr; in __ibs_ioctl_test() local
740 struct perf_event_attr attr; in ibs_freq_neg_test() local
792 struct perf_event_attr attr; in __ibs_l3missonly_test() local
/tools/include/nolibc/
A Dcompiler.h10 # define __nolibc_has_attribute(attr) __has_attribute(attr) argument
12 # define __nolibc_has_attribute(attr) 0 argument
/tools/perf/util/
A Ddwarf-aux.c57 Dwarf_Attribute attr; in cu_get_comp_dir() local
186 Dwarf_Attribute attr; in die_get_linkage_name() local
240 Dwarf_Attribute attr; in die_get_call_lineno() local
260 Dwarf_Attribute attr; in die_get_type() local
310 Dwarf_Attribute attr; in die_get_attr_udata() local
346 Dwarf_Attribute attr; in die_is_func_def() local
380 Dwarf_Attribute attr; in die_entrypc() local
431 Dwarf_Attribute attr; in die_get_data_member_location() local
1026 Dwarf_Attribute attr; in __die_find_variable_cb() local
1329 Dwarf_Attribute attr; in die_get_var_range() local
[all …]
A Devsel.c388 struct perf_event_attr *attr, int idx) in evsel__init()
581 struct perf_event_attr attr = { in evsel__newtp_idx() local
705 struct perf_event_attr *attr = &evsel->core.attr; in evsel__add_modifiers() local
792 struct perf_event_attr *attr = &evsel->core.attr; in evsel__bp_name() local
1012 struct perf_event_attr *attr = &evsel->core.attr; in __evsel__config_callchain() local
1079 struct perf_event_attr *attr = &evsel->core.attr; in evsel__reset_callgraph() local
1253 struct perf_event_attr *attr) in evsel__set_default_freq_period()
2223 struct perf_event_attr attr = { in evsel__detect_missing_pmu_features() local
2263 struct perf_event_attr attr = { in evsel__detect_missing_brstack_features() local
2311 struct perf_event_attr attr = evsel->core.attr; in evsel__probe_aux_action() local
[all …]
/tools/testing/selftests/mqueue/
A 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/lib/thermal/
A Dcommands.c46 struct nlattr *attr; in parse_tz_get() local
80 struct nlattr *attr; in parse_cdev_get() local
120 struct nlattr *attr; in parse_tz_get_trip() local
193 struct nlattr *attr; in parse_threshold_get() local
/tools/usb/usbip/libsrc/
A Dusbip_device_driver.c24 #define copy_descr_attr16(dev, descr, attr) \ argument
27 #define copy_descr_attr(dev, descr, attr) \ argument

Completed in 68 milliseconds

12345678