Home
last modified time | relevance | path

Searched refs:base_type (Results 1 – 11 of 11) sorted by relevance

/linux/tools/testing/selftests/bpf/
H A Dveristat.c2004 const struct btf_type *base_type; in adjust_var_secinfo() local
2013 base_type = btf__type_by_id(btf, tid); in adjust_var_secinfo()
2024 err = adjust_var_secinfo_member(btf, base_type, 0, atom->name, sinfo); in adjust_var_secinfo()
2035 base_type = btf__type_by_id(btf, sinfo->type); in adjust_var_secinfo()
2046 const struct btf_type *base_type; in set_global_var() local
2051 base_type = btf__type_by_id(btf, btf__resolve_type(btf, sinfo->type)); in set_global_var()
2052 if (!base_type) { in set_global_var()
2056 if (!is_preset_supported(base_type)) { in set_global_var()
2063 if (btf_is_any_enum(base_type)) { in set_global_var()
2064 if (enum_value_from_name(btf, base_type, preset->value.svalue, &value)) { in set_global_var()
[all …]
/linux/drivers/pinctrl/bcm/
H A Dpinctrl-nsp-gpio.c69 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 Dsunplus-ocotp.c58 enum base_type { enum
/linux/net/ipv4/
H A Dbpf_tcp_ca.c52 if (base_type(info->reg_type) == PTR_TO_BTF_ID && in bpf_tcp_ca_is_valid_access()
/linux/kernel/bpf/
H A Dverifier.c414 type = base_type(type); in reg_not_null()
2254 if (base_type(reg->type) == PTR_TO_MAP_VALUE) { in mark_ptr_not_null_reg()
2304 return base_type(reg->type) == PTR_TO_MEM && in reg_is_dynptr_slice_pkt()
5088 switch (base_type(type)) { in is_spillable_regtype()
5982 if (base_type(reg->type) != PTR_TO_BTF_ID || (type_flag(reg->type) & ~perm_flags)) in map_kptr_match_type()
6378 if (base_type(info->reg_type) == PTR_TO_BTF_ID) { in check_ctx_access()
6531 if (reg2btf_ids[base_type(reg->type)] && in is_trusted_reg()
7765 } else if (base_type(reg->type) == PTR_TO_MEM) { in check_mem_access()
7842 if (base_type(info.reg_type) == PTR_TO_BTF_ID) { in check_mem_access()
7901 } else if (base_type(reg->type) == PTR_TO_BTF_ID && in check_mem_access()
[all …]
H A Dbtf.c6896 type = base_type(ctx_arg_info->reg_type); in btf_ctx_access()
/linux/drivers/pci/hotplug/
H A Dcpqphp_pci.c615 func->base_type[(cloop - 0x10) >> 2] = type; in cpqhp_save_base_addr_length()
654 func->base_type[(cloop - 0x10) >> 2] = type; in cpqhp_save_base_addr_length()
1124 if (func->base_type[(cloop - 0x10) >> 2] != type) in cpqhp_valid_replace()
H A Dcpqphp.h236 u8 base_type[0x06]; member
/linux/drivers/spi/
H A Dspi-bcm-qspi.c190 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/tools/net/ynl/pyynl/
H A Dynl_gen_c.py722 def __init__(self, family, attr_set, attr, value, base_type):
725 self.base_type = base_type
781 return self.base_type._attr_policy(policy)
784 return self.base_type._attr_typol()
703 __init__(self, family, attr_set, attr, value, base_type) global() argument
/linux/Documentation/kbuild/
H A Dgendwarfksyms.rst320 "member base_type int byte_size(4) "