Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_rtsym.c100 struct nfp_rtsym_entry *rtsymtab; in __nfp_rtsym_table_read() local
110 if (!symtab_size || !strtab_size || symtab_size % sizeof(*rtsymtab)) in __nfp_rtsym_table_read()
117 rtsymtab = kmalloc(symtab_size, GFP_KERNEL); in __nfp_rtsym_table_read()
118 if (!rtsymtab) 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()
143 &cache->symtab[n], &rtsymtab[n]); in __nfp_rtsym_table_read()
145 kfree(rtsymtab); in __nfp_rtsym_table_read()
152 kfree(rtsymtab); in __nfp_rtsym_table_read()