Lines Matching refs:tl
27 struct bpf_map_type_list *tl; in find_and_alloc_map() local
30 list_for_each_entry(tl, &bpf_map_types, list_node) { in find_and_alloc_map()
31 if (tl->type == attr->map_type) { in find_and_alloc_map()
32 map = tl->ops->map_alloc(attr); in find_and_alloc_map()
35 map->ops = tl->ops; in find_and_alloc_map()
44 void bpf_register_map_type(struct bpf_map_type_list *tl) in bpf_register_map_type() argument
46 list_add(&tl->list_node, &bpf_map_types); in bpf_register_map_type()
432 struct bpf_prog_type_list *tl; in find_prog_type() local
434 list_for_each_entry(tl, &bpf_prog_types, list_node) { in find_prog_type()
435 if (tl->type == type) { in find_prog_type()
436 prog->aux->ops = tl->ops; in find_prog_type()
445 void bpf_register_prog_type(struct bpf_prog_type_list *tl) in bpf_register_prog_type() argument
447 list_add(&tl->list_node, &bpf_prog_types); in bpf_register_prog_type()