Lines Matching refs:vt
94 const struct btf_type *vt, *mt; in is_valid_value_type() local
96 vt = btf_type_by_id(btf, value_id); in is_valid_value_type()
97 if (btf_vlen(vt) != 2) { in is_valid_value_type()
99 value_name, btf_vlen(vt)); in is_valid_value_type()
102 member = btf_type_member(vt); in is_valid_value_type()
903 const struct btf_type *t, *vt; in bpf_struct_ops_map_alloc() local
940 vt = st_ops_desc->value_type; in bpf_struct_ops_map_alloc()
941 if (attr->value_size != vt->size) { in bpf_struct_ops_map_alloc()
952 (vt->size - sizeof(struct bpf_struct_ops_value)); in bpf_struct_ops_map_alloc()
963 st_map->uvalue = bpf_map_area_alloc(vt->size, NUMA_NO_NODE); in bpf_struct_ops_map_alloc()
991 const struct btf_type *vt = st_ops_desc->value_type; in bpf_struct_ops_map_mem_usage() local
995 vt->size - sizeof(struct bpf_struct_ops_value); in bpf_struct_ops_map_mem_usage()
996 usage += vt->size; in bpf_struct_ops_map_mem_usage()
997 usage += btf_type_vlen(vt) * sizeof(struct bpf_links *); in bpf_struct_ops_map_mem_usage()