Home
last modified time | relevance | path

Searched refs:type_names (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/security/selinux/ss/
H A Dconstraint.h52 struct type_set *type_names; member
H 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()
3027 rc = type_set_write(e->type_names, f in write_cons_helper()
[all...]
/kernel/linux/linux-6.6/security/selinux/ss/
H A Dconstraint.h52 struct type_set *type_names; member
H A Dpolicydb.c205 if (expr->type_names) { in constraint_expr_destroy()
206 ebitmap_destroy(&expr->type_names->types); in constraint_expr_destroy()
207 ebitmap_destroy(&expr->type_names->negset); in constraint_expr_destroy()
208 kfree(expr->type_names); in constraint_expr_destroy()
1267 e->type_names = kzalloc(sizeof in read_cons_helper()
1268 (*e->type_names), GFP_KERNEL); in read_cons_helper()
1269 if (!e->type_names) in read_cons_helper()
1271 type_set_init(e->type_names); in read_cons_helper()
1272 rc = type_set_read(e->type_names, fp); in read_cons_helper()
3029 rc = type_set_write(e->type_names, f in write_cons_helper()
[all...]
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dbtf_dump.c86 struct hashmap *type_names; member
139 d->type_names = hashmap__new(str_hash_fn, str_equal_fn, NULL); in btf_dump__new()
140 if (IS_ERR(d->type_names)) { in btf_dump__new()
141 err = PTR_ERR(d->type_names); in btf_dump__new()
142 d->type_names = NULL; in btf_dump__new()
220 btf_dump_free_names(d->type_names); in btf_dump__free()
1525 return btf_dump_resolve_name(d, id, d->type_names); in btf_dump_type_name()
H A Dlibbpf.c8516 char *type_names; in libbpf_prog_type_by_name() local
8529 type_names = libbpf_get_type_names(false); in libbpf_prog_type_by_name()
8530 if (type_names != NULL) { in libbpf_prog_type_by_name()
8531 pr_debug("supported section(type) names are:%s\n", type_names); in libbpf_prog_type_by_name()
8532 free(type_names); in libbpf_prog_type_by_name()
8798 char *type_names; in libbpf_attach_type_by_name() local
8813 type_names = libbpf_get_type_names(true); in libbpf_attach_type_by_name()
8814 if (type_names != NULL) { in libbpf_attach_type_by_name()
8815 pr_debug("attachable section(type) names are:%s\n", type_names); in libbpf_attach_type_by_name()
8816 free(type_names); in libbpf_attach_type_by_name()
[all...]
/kernel/linux/linux-5.10/net/ceph/crush/
H A Dcrush.c132 clear_crush_names(&map->type_names); in crush_destroy()
/kernel/linux/linux-5.10/include/linux/crush/
H A Dcrush.h305 struct rb_root type_names; member
/kernel/linux/linux-6.6/include/linux/crush/
H A Dcrush.h305 struct rb_root type_names; member
/kernel/linux/linux-6.6/net/ceph/crush/
H A Dcrush.c132 clear_crush_names(&map->type_names); in crush_destroy()
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dbtf_dump.c109 struct hashmap *type_names; member
171 d->type_names = hashmap__new(str_hash_fn, str_equal_fn, NULL); in btf_dump__new()
172 if (IS_ERR(d->type_names)) { in btf_dump__new()
173 err = PTR_ERR(d->type_names); in btf_dump__new()
174 d->type_names = NULL; in btf_dump__new()
252 btf_dump_free_names(d->type_names); in btf_dump__free()
1690 return btf_dump_resolve_name(d, id, d->type_names); in btf_dump_type_name()
H A Dlibbpf.c9050 char *type_names; in libbpf_prog_type_by_name() local
9063 type_names = libbpf_get_type_names(false); in libbpf_prog_type_by_name()
9064 if (type_names != NULL) { in libbpf_prog_type_by_name()
9065 pr_debug("supported section(type) names are:%s\n", type_names); in libbpf_prog_type_by_name()
9066 free(type_names); in libbpf_prog_type_by_name()
9435 char *type_names; in libbpf_attach_type_by_name() local
9444 type_names = libbpf_get_type_names(true); in libbpf_attach_type_by_name()
9445 if (type_names != NULL) { in libbpf_attach_type_by_name()
9446 pr_debug("attachable section(type) names are:%s\n", type_names); in libbpf_attach_type_by_name()
9447 free(type_names); in libbpf_attach_type_by_name()
[all...]
/kernel/linux/linux-5.10/net/ceph/
H A Dosdmap.c430 c->type_names = RB_ROOT; in crush_decode()
588 err = decode_crush_names(p, end, &c->type_names); in crush_decode()
3020 type_cn = lookup_crush_name(&c->type_names, b->type); in get_immediate_parent()
/kernel/linux/linux-6.6/net/ceph/
H A Dosdmap.c446 c->type_names = RB_ROOT; in crush_decode()
604 err = decode_crush_names(p, end, &c->type_names); in crush_decode()
3055 type_cn = lookup_crush_name(&c->type_names, b->type); in get_immediate_parent()

Completed in 48 milliseconds