Home
last modified time | relevance | path

Searched refs:type_id (Results 1 – 10 of 10) sorted by relevance

/net/ipv4/
Dbpf_tcp_ca.c26 s32 type_id; in bpf_tcp_ca_init() local
28 type_id = btf_find_by_name_kind(btf, "sock", BTF_KIND_STRUCT); in bpf_tcp_ca_init()
29 if (type_id < 0) in bpf_tcp_ca_init()
31 sock_id = type_id; in bpf_tcp_ca_init()
33 type_id = btf_find_by_name_kind(btf, "tcp_sock", BTF_KIND_STRUCT); in bpf_tcp_ca_init()
34 if (type_id < 0) in bpf_tcp_ca_init()
36 tcp_sock_id = type_id; in bpf_tcp_ca_init()
/net/bpf/
Dbpf_dummy_struct_ops.c90 if (prog->aux->attach_btf_id != st_ops->type_id) in bpf_struct_ops_test_run()
180 s32 type_id; in bpf_dummy_ops_btf_struct_access() local
182 type_id = btf_find_by_name_kind(reg->btf, "bpf_dummy_ops_state", in bpf_dummy_ops_btf_struct_access()
184 if (type_id < 0) in bpf_dummy_ops_btf_struct_access()
188 state = btf_type_by_id(reg->btf, type_id); in bpf_dummy_ops_btf_struct_access()
/net/netfilter/
Dnf_bpf_link.c270 s32 type_id; in nf_ptr_to_btf_id() local
276 type_id = btf_find_by_name_kind(btf, name, BTF_KIND_STRUCT); in nf_ptr_to_btf_id()
277 if (WARN_ON_ONCE(type_id < 0)) in nf_ptr_to_btf_id()
281 info->btf_id = type_id; in nf_ptr_to_btf_id()
/net/tipc/
Dbearer.c97 if (media_info_array[i]->type_id == type) in media_find_id()
461 b->bcast_addr.media_id = b->media->type_id; in tipc_enable_l2_media()
847 if (bearer->media->type_id == TIPC_MEDIA_TYPE_UDP) in __tipc_nl_add_bearer()
854 if (bearer->media->type_id == TIPC_MEDIA_TYPE_UDP) { in __tipc_nl_add_bearer()
1089 if (b->media->type_id != TIPC_MEDIA_TYPE_UDP) { in tipc_nl_bearer_add()
1152 if (b->media->type_id != TIPC_MEDIA_TYPE_UDP) { in __tipc_nl_bearer_set()
1212 if (media->type_id == TIPC_MEDIA_TYPE_UDP) in __tipc_nl_add_media()
1347 if (m->type_id != TIPC_MEDIA_TYPE_UDP) { in __tipc_nl_media_set()
Dib_media.c101 .type_id = TIPC_MEDIA_TYPE_IB,
Deth_media.c95 .type_id = TIPC_MEDIA_TYPE_ETH,
Dbearer.h126 u32 type_id; member
Dudp_media.c855 .type_id = TIPC_MEDIA_TYPE_UDP,
/net/ethtool/
Dioctl.c2450 tuna->type_id != ETHTOOL_TUNABLE_U32) in ethtool_tunable_valid()
2455 tuna->type_id != ETHTOOL_TUNABLE_U16) in ethtool_tunable_valid()
2640 tuna->type_id != ETHTOOL_TUNABLE_U8) in ethtool_phy_tunable_valid()
2645 tuna->type_id != ETHTOOL_TUNABLE_U16) in ethtool_phy_tunable_valid()
/net/ceph/
Dosdmap.c3091 u16 type_id; in ceph_get_crush_locality() local
3099 id = get_immediate_parent(osdmap->crush, id, &type_id, &loc); in ceph_get_crush_locality()
3104 return type_id; in ceph_get_crush_locality()