Home
last modified time | relevance | path

Searched refs:symtab_size (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_rtsym.c99 u32 strtab_addr, symtab_addr, strtab_size, symtab_size; in __nfp_rtsym_table_read() local
108 nfp_mip_symtab(mip, &symtab_addr, &symtab_size); in __nfp_rtsym_table_read()
110 if (!symtab_size || !strtab_size || symtab_size % sizeof(*rtsymtab)) in __nfp_rtsym_table_read()
114 symtab_size = round_up(symtab_size, 8); in __nfp_rtsym_table_read()
117 rtsymtab = kmalloc(symtab_size, GFP_KERNEL); in __nfp_rtsym_table_read()
122 size += symtab_size / sizeof(*rtsymtab) * sizeof(struct nfp_rtsym); in __nfp_rtsym_table_read()
129 cache->num = symtab_size / sizeof(*rtsymtab); in __nfp_rtsym_table_read()
132 err = nfp_cpp_read(cpp, dram, symtab_addr, rtsymtab, symtab_size); in __nfp_rtsym_table_read()
133 if (err != symtab_size) in __nfp_rtsym_table_read()
H A Dnfp_mip.c33 __le32 symtab_size; member
138 *size = le32_to_cpu(mip->symtab_size); in nfp_mip_symtab()