Home
last modified time | relevance | path

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

/Linux-v4.19/tools/lib/bpf/
Dbtf.c43 struct btf_type **new_types; in btf_add_type() local
52 new_types = realloc(btf->types, sizeof(*new_types) * new_size); in btf_add_type()
53 if (!new_types) in btf_add_type()
57 new_types[0] = &btf_void; in btf_add_type()
59 btf->types = new_types; in btf_add_type()
/Linux-v4.19/kernel/bpf/
Dbtf.c599 struct btf_type **new_types; in btf_add_type() local
611 new_types = kvcalloc(new_size, sizeof(*new_types), in btf_add_type()
613 if (!new_types) in btf_add_type()
617 new_types[0] = &btf_void; in btf_add_type()
619 memcpy(new_types, btf->types, in btf_add_type()
623 btf->types = new_types; in btf_add_type()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dmain.c1183 enum mlx4_port_type new_types[MLX4_MAX_PORTS]; in __set_port_type() local
1223 mlx4_do_sense_ports(mdev, new_types, types); in __set_port_type()
1225 err = mlx4_check_port_params(mdev, new_types); in __set_port_type()
1235 err = mlx4_change_port_types(mdev, new_types); in __set_port_type()