Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/bpf/
Dbtf.c1542 struct btf_type **new_types; in btf_add_type() local
1554 new_types = kvcalloc(new_size, sizeof(*new_types), in btf_add_type()
1556 if (!new_types) in btf_add_type()
1562 new_types[0] = &btf_void; in btf_add_type()
1566 memcpy(new_types, btf->types, in btf_add_type()
1571 btf->types = new_types; in btf_add_type()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dmain.c1183 enum mlx4_port_type new_types[MLX4_MAX_PORTS]; in __set_port_type() local
1222 mlx4_do_sense_ports(mdev, new_types, types); in __set_port_type()
1224 err = mlx4_check_port_params(mdev, new_types); in __set_port_type()
1234 err = mlx4_change_port_types(mdev, new_types); in __set_port_type()