Searched refs:type_names (Results 1 – 4 of 4) sorted by relevance
52 struct type_set *type_names; member
210 if (expr->type_names) { in constraint_expr_destroy()211 ebitmap_destroy(&expr->type_names->types); in constraint_expr_destroy()212 ebitmap_destroy(&expr->type_names->negset); in constraint_expr_destroy()213 kfree(expr->type_names); in constraint_expr_destroy()1256 e->type_names = kzalloc(sizeof in read_cons_helper()1257 (*e->type_names), in read_cons_helper()1259 if (!e->type_names) in read_cons_helper()1261 type_set_init(e->type_names); in read_cons_helper()1262 rc = type_set_read(e->type_names, fp); in read_cons_helper()2839 rc = type_set_write(e->type_names, fp); in write_cons_helper()
80 struct hashmap *type_names; member136 d->type_names = hashmap__new(str_hash_fn, str_equal_fn, NULL); in btf_dump__new()137 if (IS_ERR(d->type_names)) { in btf_dump__new()138 err = PTR_ERR(d->type_names); in btf_dump__new()139 d->type_names = NULL; in btf_dump__new()172 hashmap__free(d->type_names); in btf_dump__free()1363 return btf_dump_resolve_name(d, id, d->type_names); in btf_dump_type_name()
4583 char *type_names; in libbpf_prog_type_by_name() local4597 type_names = libbpf_get_type_names(false); in libbpf_prog_type_by_name()4598 if (type_names != NULL) { in libbpf_prog_type_by_name()4599 pr_info("supported section(type) names are:%s\n", type_names); in libbpf_prog_type_by_name()4600 free(type_names); in libbpf_prog_type_by_name()4609 char *type_names; in libbpf_attach_type_by_name() local4624 type_names = libbpf_get_type_names(true); in libbpf_attach_type_by_name()4625 if (type_names != NULL) { in libbpf_attach_type_by_name()4626 pr_info("attachable section(type) names are:%s\n", type_names); in libbpf_attach_type_by_name()4627 free(type_names); in libbpf_attach_type_by_name()