Home
last modified time | relevance | path

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

/linux-6.15/kernel/bpf/
H A Dbtf.c1836 !btf_type_is_ptr(next_type); in env_type_is_resolve_sink()
1843 !btf_type_is_struct(next_type); in env_type_is_resolve_sink()
2620 const struct btf_type *next_type; in btf_modifier_resolve() local
2625 if (!next_type || btf_type_is_resolve_source_only(next_type)) { in btf_modifier_resolve()
2661 const struct btf_type *next_type; in btf_var_resolve() local
2667 if (!next_type || btf_type_is_resolve_source_only(next_type)) { in btf_var_resolve()
2707 const struct btf_type *next_type; in btf_ptr_resolve() local
2713 if (!next_type || btf_type_is_resolve_source_only(next_type)) { in btf_ptr_resolve()
4995 if (!next_type || !btf_type_is_decl_tag_target(next_type)) { in btf_decl_tag_resolve()
5006 if (btf_type_is_var(next_type) || btf_type_is_typedef(next_type)) { in btf_decl_tag_resolve()
[all …]
/linux-6.15/net/openvswitch/
H A Dflow.c276 u8 next_type = nh->nexthdr; in get_ipv6_ext_hdrs() local
282 while (ipv6_ext_hdr(next_type)) { in get_ipv6_ext_hdrs()
285 switch (next_type) { in get_ipv6_ext_hdrs()
380 next_type = hp->nexthdr; in get_ipv6_ext_hdrs()
/linux-6.15/tools/lib/bpf/
H A Dbtf.c420 void *next_type = btf->types_data; in btf_parse_type_sec() local
421 void *end_type = next_type + hdr->type_len; in btf_parse_type_sec()
424 while (next_type + sizeof(struct btf_type) <= end_type) { in btf_parse_type_sec()
426 btf_bswap_type_base(next_type); in btf_parse_type_sec()
428 type_size = btf_type_size(next_type); in btf_parse_type_sec()
431 if (next_type + type_size > end_type) { in btf_parse_type_sec()
436 if (btf->swapped_endian && btf_bswap_type_rest(next_type)) in btf_parse_type_sec()
439 err = btf_add_type_idx_entry(btf, next_type - btf->types_data); in btf_parse_type_sec()
443 next_type += type_size; in btf_parse_type_sec()
447 if (next_type != end_type) { in btf_parse_type_sec()
/linux-6.15/drivers/net/
H A Dgtp.c751 __u8 *next_type, _next_type; in gtp_parse_exthdrs() local
772 next_type = skb_header_pointer(skb, offset - 1, in gtp_parse_exthdrs()
774 if (!next_type) in gtp_parse_exthdrs()
777 } while (*next_type != 0); in gtp_parse_exthdrs()
/linux-6.15/drivers/usb/gadget/function/
H A Df_fs.c2709 static int __ffs_do_os_desc_header(enum ffs_os_desc_type *next_type, in __ffs_do_os_desc_header() argument
2725 *next_type = FFS_OS_DESC_EXT_COMPAT; in __ffs_do_os_desc_header()
2728 *next_type = FFS_OS_DESC_EXT_PROP; in __ffs_do_os_desc_header()