Lines Matching refs:tl
25 struct bpf_map_type_list *tl; in find_and_alloc_map() local
28 list_for_each_entry(tl, &bpf_map_types, list_node) { in find_and_alloc_map()
29 if (tl->type == attr->map_type) { in find_and_alloc_map()
30 map = tl->ops->map_alloc(attr); in find_and_alloc_map()
33 map->ops = tl->ops; in find_and_alloc_map()
42 void bpf_register_map_type(struct bpf_map_type_list *tl) in bpf_register_map_type() argument
44 list_add(&tl->list_node, &bpf_map_types); in bpf_register_map_type()
353 struct bpf_prog_type_list *tl; in find_prog_type() local
355 list_for_each_entry(tl, &bpf_prog_types, list_node) { in find_prog_type()
356 if (tl->type == type) { in find_prog_type()
357 prog->aux->ops = tl->ops; in find_prog_type()
366 void bpf_register_prog_type(struct bpf_prog_type_list *tl) in bpf_register_prog_type() argument
368 list_add(&tl->list_node, &bpf_prog_types); in bpf_register_prog_type()