Home
last modified time | relevance | path

Searched refs:tag (Results 1 – 19 of 19) sorted by relevance

/tools/testing/radix-tree/
Dtag_check.c14 __simple_checks(struct radix_tree_root *tree, unsigned long index, int tag) in __simple_checks() argument
20 assert(item_tag_get(tree, index, tag) == 0); in __simple_checks()
23 assert(item_tag_get(tree, index, tag) == 0); in __simple_checks()
24 item_tag_set(tree, index, tag); in __simple_checks()
25 ret = item_tag_get(tree, index, tag); in __simple_checks()
27 ret = tag_tagged_items(tree, NULL, first, ~0UL, 10, tag, !tag); in __simple_checks()
29 ret = item_tag_get(tree, index, !tag); in __simple_checks()
34 ret = item_tag_get(tree, index, tag); in __simple_checks()
132 char *thrash_state, int tag) in gang_check() argument
140 index, BATCH, tag))) { in gang_check()
[all …]
Dtest.c12 item_tag_set(struct radix_tree_root *root, unsigned long index, int tag) in item_tag_set() argument
14 return radix_tree_tag_set(root, index, tag); in item_tag_set()
18 item_tag_clear(struct radix_tree_root *root, unsigned long index, int tag) in item_tag_clear() argument
20 return radix_tree_tag_clear(root, index, tag); in item_tag_clear()
23 int item_tag_get(struct radix_tree_root *root, unsigned long index, int tag) in item_tag_get() argument
25 return radix_tree_tag_get(root, index, tag); in item_tag_get()
215 static int verify_node(struct radix_tree_node *slot, unsigned int tag, in verify_node() argument
226 if (slot->tags[tag][i]) { in verify_node()
233 tag, slot->shift, tagged, anyset); in verify_node()
248 if (verify_node(slot->slots[i], tag, in verify_node()
[all …]
Dtest.h43 item_tag_set(struct radix_tree_root *root, unsigned long index, int tag);
45 item_tag_clear(struct radix_tree_root *root, unsigned long index, int tag);
46 int item_tag_get(struct radix_tree_root *root, unsigned long index, int tag);
48 void verify_tag_consistency(struct radix_tree_root *root, unsigned int tag);
55 int root_tag_get(struct radix_tree_root *root, unsigned int tag);
/tools/perf/util/
Ddwarf-aux.c230 int tag; in __die_get_real_type() local
236 tag = dwarf_tag(vr_die); in __die_get_real_type()
237 } while (tag == DW_TAG_const_type || in __die_get_real_type()
238 tag == DW_TAG_restrict_type || in __die_get_real_type()
239 tag == DW_TAG_volatile_type || in __die_get_real_type()
240 tag == DW_TAG_shared_type); in __die_get_real_type()
358 int tag = dwarf_tag(dw_die); in die_is_func_instance() local
360 if (tag != DW_TAG_subprogram && in die_is_func_instance()
361 tag != DW_TAG_inlined_subroutine) in die_is_func_instance()
907 int tag; in __die_find_variable_cb() local
[all …]
Dunits.c14 while (i->tag) { in parse_tag_value()
15 char *s = strchr(str, i->tag); in parse_tag_value()
Dunits.h9 char tag; member
Dprobe-finder.c419 int ret, tag; in convert_variable_fields() local
427 tag = dwarf_tag(&type); in convert_variable_fields()
430 (tag == DW_TAG_array_type || tag == DW_TAG_pointer_type)) { in convert_variable_fields()
441 if (tag == DW_TAG_pointer_type) { in convert_variable_fields()
455 } else if (tag == DW_TAG_pointer_type) { in convert_variable_fields()
468 tag = dwarf_tag(&type); in convert_variable_fields()
469 if (tag != DW_TAG_structure_type && tag != DW_TAG_union_type) { in convert_variable_fields()
484 if (tag != DW_TAG_structure_type && tag != DW_TAG_union_type) { in convert_variable_fields()
514 if (tag == DW_TAG_union_type) { in convert_variable_fields()
1211 int tag; in copy_variables_cb() local
[all …]
Dmem-events.h14 const char *tag; member
Dmem-events.c18 #define E(t, n, s) { .tag = t, .name = n, .sysfs_name = s }
66 if (strstr(e->tag, tok)) in perf_mem_events__parse()
Devlist.c1218 { .tag = 'B', .mult = 1 }, in parse_pages_arg()
1219 { .tag = 'K', .mult = 1 << 10 }, in parse_pages_arg()
1220 { .tag = 'M', .mult = 1 << 20 }, in parse_pages_arg()
1221 { .tag = 'G', .mult = 1 << 30 }, in parse_pages_arg()
1222 { .tag = 0 }, in parse_pages_arg()
Devent.c1031 event->data[i].tag = PERF_STAT_CONFIG_TERM__##__term; \ in perf_event__synthesize_stat_config()
1095 switch (event->data[i].tag) { in perf_event__read_stat_config()
1107 event->data[i].tag); in perf_event__read_stat_config()
Devent.h571 u64 tag; member
/tools/testing/selftests/bpf/
Dtest_tag.c91 static void tag_from_fdinfo(int fd_prog, uint8_t *tag, uint32_t len) in tag_from_fdinfo() argument
106 ret = hex2bin(tag, buff + prefix_len, len); in tag_from_fdinfo()
114 static void tag_from_alg(int insns, uint8_t *tag, uint32_t len) in tag_from_alg() argument
137 size = read(fd_alg, tag, len); in tag_from_alg()
144 static void tag_dump(const char *prefix, uint8_t *tag, uint32_t len) in tag_dump() argument
150 printf("%02x", tag[i]); in tag_dump()
Dtest_progs.c65 #define CHECK(condition, tag, format...) ({ \ argument
69 printf("%s:FAIL:%s ", __func__, tag); \
73 printf("%s:PASS:%s %d nsec\n", __func__, tag, duration);\
/tools/perf/tests/
Dstat.c10 u64 tag, u64 val) in has_term() argument
15 if ((config->data[i].tag == tag) && in has_term()
/tools/perf/
Dbuiltin-record.c1457 { .tag = 'B', .mult = 1 }, in switch_output_setup()
1458 { .tag = 'K', .mult = 1 << 10 }, in switch_output_setup()
1459 { .tag = 'M', .mult = 1 << 20 }, in switch_output_setup()
1460 { .tag = 'G', .mult = 1 << 30 }, in switch_output_setup()
1461 { .tag = 0 }, in switch_output_setup()
1464 { .tag = 's', .mult = 1 }, in switch_output_setup()
1465 { .tag = 'm', .mult = 60 }, in switch_output_setup()
1466 { .tag = 'h', .mult = 60*60 }, in switch_output_setup()
1467 { .tag = 'd', .mult = 60*60*24 }, in switch_output_setup()
1468 { .tag = 0 }, in switch_output_setup()
Dbuiltin-mem.c51 e->tag, in parse_record_events()
/tools/firewire/
Dnosy-dump.h150 uint32_t tag:2; member
/tools/include/uapi/linux/
Dbpf.h799 __u8 tag[BPF_TAG_SIZE]; member