Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dbtf.c1969 const struct btf_type *next_type) in env_type_is_resolve_sink() argument
1974 return !btf_type_needs_resolve(next_type); in env_type_is_resolve_sink()
1979 return !btf_type_is_modifier(next_type) && in env_type_is_resolve_sink()
1980 !btf_type_is_ptr(next_type); in env_type_is_resolve_sink()
1985 return !btf_type_is_modifier(next_type) && in env_type_is_resolve_sink()
1986 !btf_type_is_array(next_type) && in env_type_is_resolve_sink()
1987 !btf_type_is_struct(next_type); in env_type_is_resolve_sink()
2763 const struct btf_type *next_type; in btf_modifier_resolve() local
2767 next_type = btf_type_by_id(btf, next_type_id); in btf_modifier_resolve()
2768 if (!next_type || btf_type_is_resolve_source_only(next_type)) { in btf_modifier_resolve()
[all …]
/linux/net/openvswitch/
H A Dflow.c272 u8 next_type = nh->nexthdr; in get_ipv6_ext_hdrs() local
278 while (ipv6_ext_hdr(next_type)) { in get_ipv6_ext_hdrs()
281 switch (next_type) { in get_ipv6_ext_hdrs()
376 next_type = hp->nexthdr; in get_ipv6_ext_hdrs()
/linux/tools/lib/bpf/
H A Dbtf.c580 void *next_type = btf->types_data; in btf_parse_type_sec() local
581 void *end_type = next_type + btf->hdr.type_len; in btf_parse_type_sec()
584 while (next_type + sizeof(struct btf_type) <= end_type) { in btf_parse_type_sec()
586 btf_bswap_type_base(next_type); in btf_parse_type_sec()
588 type_size = btf_type_size(btf, next_type); in btf_parse_type_sec()
591 if (next_type + type_size > end_type) { in btf_parse_type_sec()
596 if (btf->swapped_endian && btf_bswap_type_rest(next_type)) in btf_parse_type_sec()
599 err = btf_add_type_idx_entry(btf, next_type - btf->types_data); in btf_parse_type_sec()
603 next_type += type_size; in btf_parse_type_sec()
607 if (next_type != end_type) { in btf_parse_type_sec()
/linux/drivers/net/
H A Dgtp.c755 __u8 *next_type, _next_type; in gtp_parse_exthdrs() local
776 next_type = skb_header_pointer(skb, offset - 1, in gtp_parse_exthdrs()
778 if (!next_type) in gtp_parse_exthdrs()
781 } while (*next_type != 0); in gtp_parse_exthdrs()
/linux/drivers/net/ethernet/broadcom/bnge/
H A Dbnge_hwrm_lib.c280 u16 type, next_type; in bnge_hwrm_func_backing_store_qcaps() local
297 for (type = 0; type < BNGE_CTX_INV; type = next_type) { in bnge_hwrm_func_backing_store_qcaps()
308 next_type = le16_to_cpu(resp->next_valid_type); in bnge_hwrm_func_backing_store_qcaps()
/linux/drivers/usb/gadget/function/
H A Df_fs.c2735 static int __ffs_do_os_desc_header(enum ffs_os_desc_type *next_type, in __ffs_do_os_desc_header() argument
2751 *next_type = FFS_OS_DESC_EXT_COMPAT; in __ffs_do_os_desc_header()
2754 *next_type = FFS_OS_DESC_EXT_PROP; in __ffs_do_os_desc_header()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c8784 u16 type, next_type = 0; in bnxt_hwrm_func_backing_store_qcaps_v2() local
8800 for (type = 0; type < BNXT_CTX_V2_MAX; type = next_type) { in bnxt_hwrm_func_backing_store_qcaps_v2()
8813 next_type = le16_to_cpu(resp->next_valid_type); in bnxt_hwrm_func_backing_store_qcaps_v2()