Home
last modified time | relevance | path

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

/linux/security/selinux/ss/
A Dconstraint.h52 struct type_set *type_names; member
A Dpolicydb.c209 if (expr->type_names) { in constraint_expr_destroy()
210 ebitmap_destroy(&expr->type_names->types); in constraint_expr_destroy()
211 ebitmap_destroy(&expr->type_names->negset); in constraint_expr_destroy()
212 kfree(expr->type_names); in constraint_expr_destroy()
1272 e->type_names = kzalloc(sizeof in read_cons_helper()
1273 (*e->type_names), GFP_KERNEL); in read_cons_helper()
1274 if (!e->type_names) in read_cons_helper()
1276 type_set_init(e->type_names); in read_cons_helper()
1277 rc = type_set_read(e->type_names, fp); in read_cons_helper()
3026 rc = type_set_write(e->type_names, fp); in write_cons_helper()
/linux/net/ceph/crush/
A Dcrush.c132 clear_crush_names(&map->type_names); in crush_destroy()
/linux/tools/lib/bpf/
A Dbtf_dump.c109 struct hashmap *type_names; member
166 d->type_names = hashmap__new(str_hash_fn, str_equal_fn, NULL); in btf_dump__new()
167 if (IS_ERR(d->type_names)) { in btf_dump__new()
168 err = PTR_ERR(d->type_names); in btf_dump__new()
169 d->type_names = NULL; in btf_dump__new()
236 hashmap__free(d->type_names); in btf_dump__free()
1501 return btf_dump_resolve_name(d, id, d->type_names); in btf_dump_type_name()
A Dlibbpf.c8464 char *type_names; in libbpf_prog_type_by_name() local
8477 type_names = libbpf_get_type_names(false); in libbpf_prog_type_by_name()
8478 if (type_names != NULL) { in libbpf_prog_type_by_name()
8479 pr_debug("supported section(type) names are:%s\n", type_names); in libbpf_prog_type_by_name()
8480 free(type_names); in libbpf_prog_type_by_name()
8807 char *type_names; in libbpf_attach_type_by_name() local
8816 type_names = libbpf_get_type_names(true); in libbpf_attach_type_by_name()
8817 if (type_names != NULL) { in libbpf_attach_type_by_name()
8818 pr_debug("attachable section(type) names are:%s\n", type_names); in libbpf_attach_type_by_name()
8819 free(type_names); in libbpf_attach_type_by_name()
/linux/include/linux/crush/
A Dcrush.h305 struct rb_root type_names; member
/linux/net/ceph/
A Dosdmap.c430 c->type_names = RB_ROOT; in crush_decode()
588 err = decode_crush_names(p, end, &c->type_names); in crush_decode()
3039 type_cn = lookup_crush_name(&c->type_names, b->type); in get_immediate_parent()

Completed in 43 milliseconds