Searched refs:base_type (Results 1 – 12 of 12) sorted by relevance
/linux/kernel/bpf/ |
H A D | log.c | 469 if (base_type(type) == PTR_TO_BTF_ID) in reg_type_str() 486 prefix, str[base_type(type)], postfix); in reg_type_str() 665 switch (base_type(t)) { in type_is_map_ptr() 707 if (base_type(t) == PTR_TO_BTF_ID) in print_reg_state() 733 if (base_type(t) == PTR_TO_MEM) { in print_reg_state()
|
H A D | verifier.c | 407 type = base_type(type); in reg_not_null() 2226 if (base_type(reg->type) == PTR_TO_MAP_VALUE) { in mark_ptr_not_null_reg() 2276 return base_type(reg->type) == PTR_TO_MEM && in reg_is_dynptr_slice_pkt() 4964 switch (base_type(type)) { in is_spillable_regtype() 5855 if (base_type(reg->type) != PTR_TO_BTF_ID || (type_flag(reg->type) & ~perm_flags)) in map_kptr_match_type() 6241 if (base_type(info->reg_type) == PTR_TO_BTF_ID) { in check_ctx_access() 6395 if (reg2btf_ids[base_type(reg->type)] && in is_trusted_reg() 7607 } else if (base_type(reg->type) == PTR_TO_MEM) { in check_mem_access() 7684 if (base_type(info.reg_type) == PTR_TO_BTF_ID) { in check_mem_access() 7743 } else if (base_type(re in check_mem_access() [all...] |
H A D | btf.c | 6788 type = base_type(ctx_arg_info->reg_type); in btf_ctx_access()
|
/linux/tools/testing/selftests/bpf/ |
H A D | veristat.c | 1950 const struct btf_type *base_type; in adjust_var_secinfo() local 1959 base_type = btf__type_by_id(btf, tid); in adjust_var_secinfo() 1970 err = adjust_var_secinfo_member(btf, base_type, 0, atom->name, sinfo); in adjust_var_secinfo() 1981 base_type = btf__type_by_id(btf, sinfo->type); in adjust_var_secinfo() 1992 const struct btf_type *base_type; in set_global_var() local 1997 base_type = btf__type_by_id(btf, btf__resolve_type(btf, sinfo->type)); in set_global_var() 1998 if (!base_type) { in set_global_var() 2002 if (!is_preset_supported(base_type)) { in set_global_var() 2009 if (btf_is_any_enum(base_type)) { in set_global_var() 2010 if (enum_value_from_name(btf, base_type, prese in set_global_var() [all...] |
/linux/drivers/pinctrl/bcm/ |
H A D | pinctrl-nsp-gpio.c | 69 enum base_type { enum 92 static inline void nsp_set_bit(struct nsp_gpio *chip, enum base_type address, in nsp_set_bit() 116 static inline bool nsp_get_bit(struct nsp_gpio *chip, enum base_type address, in nsp_get_bit()
|
/linux/drivers/nvmem/ |
H A D | sunplus-ocotp.c | 58 enum base_type { enum
|
/linux/net/ipv4/ |
H A D | bpf_tcp_ca.c | 52 if (base_type(info->reg_type) == PTR_TO_BTF_ID && in bpf_tcp_ca_is_valid_access()
|
/linux/drivers/spi/ |
H A D | spi-bcm-qspi.c | 190 enum base_type { enum 303 static inline u32 bcm_qspi_read(struct bcm_qspi *qspi, enum base_type type, in bcm_qspi_read() 310 static inline void bcm_qspi_write(struct bcm_qspi *qspi, enum base_type type, in bcm_qspi_write()
|
/linux/drivers/pci/hotplug/ |
H A D | cpqphp.h | 236 u8 base_type[0x06]; member
|
/linux/tools/net/ynl/pyynl/ |
H A D | ynl_gen_c.py | 708 def __init__(self, family, attr_set, attr, value, base_type): argument 711 self.base_type = base_type 764 return self.base_type._attr_policy(policy) 767 return self.base_type._attr_typol()
|
/linux/Documentation/kbuild/ |
H A D | gendwarfksyms.rst | 297 "member base_type int byte_size(4) "
|
/linux/Documentation/bpf/ |
H A D | btf.rst | 527 -> base_type
|