Searched refs:base_type (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/kernel/bpf/ |
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() 664 switch (base_type(t)) { in type_is_map_ptr() 706 if (base_type(t) == PTR_TO_BTF_ID) in print_reg_state() 732 if (base_type(t) == PTR_TO_MEM) { in print_reg_state()
|
D | verifier.c | 396 type = base_type(type); in reg_not_null() 1838 if (base_type(reg->type) == PTR_TO_MAP_VALUE) { in mark_ptr_not_null_reg() 1888 return base_type(reg->type) == PTR_TO_MEM && in reg_is_dynptr_slice_pkt() 4468 switch (base_type(type)) { in is_spillable_regtype() 5358 if (base_type(reg->type) != PTR_TO_BTF_ID || (type_flag(reg->type) & ~perm_flags)) in map_kptr_match_type() 5720 if (base_type(*reg_type) == PTR_TO_BTF_ID) { in check_ctx_access() 5850 if (reg2btf_ids[base_type(reg->type)] && in is_trusted_reg() 6976 } else if (base_type(reg->type) == PTR_TO_MEM) { in check_mem_access() 7047 if (base_type(reg_type) == PTR_TO_BTF_ID) { in check_mem_access() 7105 } else if (base_type(reg->type) == PTR_TO_BTF_ID && in check_mem_access() [all …]
|
D | btf.c | 6527 type = base_type(ctx_arg_info->reg_type); in btf_ctx_access()
|
/linux-6.12.1/include/linux/ |
D | bpf_verifier.h | 867 static inline u32 base_type(u32 type) in base_type() function 907 return base_type(type) == PTR_TO_BTF_ID && type_flag(type) & MEM_ALLOC; in type_is_ptr_alloc_obj() 917 type = base_type(type); in type_is_pkt_pointer()
|
/linux-6.12.1/drivers/pinctrl/bcm/ |
D | pinctrl-nsp-gpio.c | 68 enum base_type { enum 91 static inline void nsp_set_bit(struct nsp_gpio *chip, enum base_type address, in nsp_set_bit() 115 static inline bool nsp_get_bit(struct nsp_gpio *chip, enum base_type address, in nsp_get_bit()
|
/linux-6.12.1/drivers/nvmem/ |
D | sunplus-ocotp.c | 58 enum base_type { enum
|
/linux-6.12.1/net/ipv4/ |
D | bpf_tcp_ca.c | 52 if (base_type(info->reg_type) == PTR_TO_BTF_ID && in bpf_tcp_ca_is_valid_access()
|
/linux-6.12.1/drivers/pci/hotplug/ |
D | cpqphp_pci.c | 624 func->base_type[(cloop - 0x10) >> 2] = type; in cpqhp_save_base_addr_length() 663 func->base_type[(cloop - 0x10) >> 2] = type; in cpqhp_save_base_addr_length() 1139 if (func->base_type[(cloop - 0x10) >> 2] != type) in cpqhp_valid_replace()
|
D | cpqphp.h | 236 u8 base_type[0x06]; member
|
/linux-6.12.1/drivers/spi/ |
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-6.12.1/tools/net/ynl/ |
D | ynl-gen-c.py | 566 def __init__(self, family, attr_set, attr, value, base_type): argument 569 self.base_type = base_type 600 return self.base_type._attr_policy(policy) 603 return self.base_type._attr_typol()
|
/linux-6.12.1/Documentation/bpf/ |
D | btf.rst | 518 -> base_type
|