Home
last modified time | relevance | path

Searched refs:next_type (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/kernel/bpf/
Dbtf.c1719 const struct btf_type *next_type) in env_type_is_resolve_sink() argument
1724 return !btf_type_needs_resolve(next_type); in env_type_is_resolve_sink()
1729 return !btf_type_is_modifier(next_type) && in env_type_is_resolve_sink()
1730 !btf_type_is_ptr(next_type); in env_type_is_resolve_sink()
1735 return !btf_type_is_modifier(next_type) && in env_type_is_resolve_sink()
1736 !btf_type_is_array(next_type) && in env_type_is_resolve_sink()
1737 !btf_type_is_struct(next_type); in env_type_is_resolve_sink()
2514 const struct btf_type *next_type; in btf_modifier_resolve() local
2518 next_type = btf_type_by_id(btf, next_type_id); in btf_modifier_resolve()
2519 if (!next_type || btf_type_is_resolve_source_only(next_type)) { in btf_modifier_resolve()
[all …]
/Linux-v6.1/net/openvswitch/
Dflow.c273 u8 next_type = nh->nexthdr; in get_ipv6_ext_hdrs() local
279 while (ipv6_ext_hdr(next_type)) { in get_ipv6_ext_hdrs()
282 switch (next_type) { in get_ipv6_ext_hdrs()
377 next_type = hp->nexthdr; in get_ipv6_ext_hdrs()
/Linux-v6.1/tools/lib/bpf/
Dbtf.c416 void *next_type = btf->types_data; in btf_parse_type_sec() local
417 void *end_type = next_type + hdr->type_len; in btf_parse_type_sec()
420 while (next_type + sizeof(struct btf_type) <= end_type) { in btf_parse_type_sec()
422 btf_bswap_type_base(next_type); in btf_parse_type_sec()
424 type_size = btf_type_size(next_type); in btf_parse_type_sec()
427 if (next_type + type_size > end_type) { in btf_parse_type_sec()
432 if (btf->swapped_endian && btf_bswap_type_rest(next_type)) in btf_parse_type_sec()
435 err = btf_add_type_idx_entry(btf, next_type - btf->types_data); in btf_parse_type_sec()
439 next_type += type_size; in btf_parse_type_sec()
443 if (next_type != end_type) { in btf_parse_type_sec()
/Linux-v6.1/drivers/usb/gadget/function/
Df_fs.c2280 static int __ffs_do_os_desc_header(enum ffs_os_desc_type *next_type, in __ffs_do_os_desc_header() argument
2293 *next_type = FFS_OS_DESC_EXT_COMPAT; in __ffs_do_os_desc_header()
2296 *next_type = FFS_OS_DESC_EXT_PROP; in __ffs_do_os_desc_header()