Home
last modified time | relevance | path

Searched refs:type_names (Results 1 – 7 of 7) sorted by relevance

/linux/security/selinux/ss/
H A Dconstraint.h54 struct type_set *type_names;
53 struct type_set *type_names; global() member
H A Dpolicydb.c215 if (expr->type_names) { in constraint_expr_destroy()
216 ebitmap_destroy(&expr->type_names->types); in constraint_expr_destroy()
217 ebitmap_destroy(&expr->type_names->negset); in constraint_expr_destroy()
218 kfree(expr->type_names); in constraint_expr_destroy()
1453 e->type_names = kzalloc_obj(*e->type_names); in read_cons_helper()
1454 if (!e->type_names) in read_cons_helper()
1456 type_set_init(e->type_names); in read_cons_helper()
1457 rc = type_set_read(e->type_names, fp); in read_cons_helper()
3426 rc = type_set_write(e->type_names, fp); in write_cons_helper()
/linux/net/ceph/crush/
H A Dcrush.c128 clear_crush_names(&map->type_names); in crush_destroy()
/linux/include/linux/crush/
H A Dcrush.h305 struct rb_root type_names; member
/linux/tools/lib/bpf/
H A Dbtf_dump.c110 struct hashmap *type_names; member
172 d->type_names = hashmap__new(str_hash_fn, str_equal_fn, NULL); in btf_dump__new()
173 if (IS_ERR(d->type_names)) { in btf_dump__new()
174 err = PTR_ERR(d->type_names); in btf_dump__new()
175 d->type_names = NULL; in btf_dump__new()
256 btf_dump_free_names(d->type_names); in btf_dump__free()
1699 return btf_dump_resolve_name(d, id, d->type_names); in btf_dump_type_name()
H A Dlibbpf.c10420 char *type_names; in libbpf_prog_type_by_name() local
10433 type_names = libbpf_get_type_names(false); in libbpf_prog_type_by_name()
10434 if (type_names != NULL) { in libbpf_prog_type_by_name()
10435 pr_debug("supported section(type) names are:%s\n", type_names); in libbpf_prog_type_by_name()
10436 free(type_names); in libbpf_prog_type_by_name()
10815 char *type_names; in libbpf_attach_type_by_name() local
10824 type_names = libbpf_get_type_names(true); in libbpf_attach_type_by_name()
10825 if (type_names != NULL) { in libbpf_attach_type_by_name()
10826 pr_debug("attachable section(type) names are:%s\n", type_names); in libbpf_attach_type_by_name()
10827 free(type_names); in libbpf_attach_type_by_name()
/linux/net/ceph/
H A Dosdmap.c452 c->type_names = RB_ROOT; in crush_decode()
616 err = decode_crush_names(p, end, &c->type_names); in crush_decode()
3064 type_cn = lookup_crush_name(&c->type_names, b->type); in get_immediate_parent()