Home
last modified time | relevance | path

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

/linux/kernel/bpf/
A Dlog.c469 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()
A Dverifier.c396 type = base_type(type); in reg_not_null()
4468 switch (base_type(type)) { in is_spillable_regtype()
5850 if (reg2btf_ids[base_type(reg->type)] && in is_trusted_reg()
7438 switch (base_type(reg->type)) { in check_helper_mem_access()
8890 switch (base_type(arg_type)) { in check_func_arg()
10749 switch (base_type(ret_type)) { in check_helper_call()
11410 if ((base_type(reg->type) == PTR_TO_BTF_ID || reg2btf_ids[base_type(reg->type)])) { in get_kfunc_ptr_arg_type()
13301 switch (base_type(ptr_reg->type)) { in adjust_ptr_min_max_vals()
15629 switch (base_type(dst_reg->type)) { in check_ld_imm()
17257 switch (base_type(rold->type)) { in regsafe()
[all …]
A Dbtf.c6527 type = base_type(ctx_arg_info->reg_type); in btf_ctx_access()
/linux/include/linux/
A Dbpf_verifier.h867 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/drivers/pinctrl/bcm/
A Dpinctrl-nsp-gpio.c68 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/drivers/nvmem/
A Dsunplus-ocotp.c58 enum base_type { enum
/linux/net/ipv4/
A Dbpf_tcp_ca.c52 if (base_type(info->reg_type) == PTR_TO_BTF_ID && in bpf_tcp_ca_is_valid_access()
/linux/drivers/pci/hotplug/
A Dcpqphp_pci.c624 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()
A Dcpqphp.h236 u8 base_type[0x06]; member
/linux/drivers/spi/
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/
A Dynl-gen-c.py566 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/Documentation/bpf/
A Dbtf.rst518 -> base_type

Completed in 88 milliseconds