Home
last modified time | relevance | path

Searched refs:new_types (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/kernel/bpf/
Dbtf.c1569 struct btf_type **new_types; in btf_add_type() local
1581 new_types = kvcalloc(new_size, sizeof(*new_types), in btf_add_type()
1583 if (!new_types) in btf_add_type()
1589 new_types[0] = &btf_void; in btf_add_type()
1593 memcpy(new_types, btf->types, in btf_add_type()
1598 btf->types = new_types; in btf_add_type()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx4/
Dmain.c1160 enum mlx4_port_type new_types[MLX4_MAX_PORTS]; in __set_port_type() local
1199 mlx4_do_sense_ports(mdev, new_types, types); in __set_port_type()
1201 err = mlx4_check_port_params(mdev, new_types); in __set_port_type()
1211 err = mlx4_change_port_types(mdev, new_types); in __set_port_type()