Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_rtsym.c54 nfp_rtsym_sw_entry_init(struct nfp_rtsym_table *cache, u32 strtab_size, in nfp_rtsym_sw_entry_init() argument
58 sw->name = cache->strtab + le16_to_cpu(fw->name) % strtab_size; in nfp_rtsym_sw_entry_init()
99 u32 strtab_addr, symtab_addr, strtab_size, symtab_size; in __nfp_rtsym_table_read() local
107 nfp_mip_strtab(mip, &strtab_addr, &strtab_size); in __nfp_rtsym_table_read()
110 if (!symtab_size || !strtab_size || symtab_size % sizeof(*rtsymtab)) in __nfp_rtsym_table_read()
115 strtab_size = round_up(strtab_size, 8); in __nfp_rtsym_table_read()
123 size += strtab_size + 1; in __nfp_rtsym_table_read()
136 err = nfp_cpp_read(cpp, dram, strtab_addr, cache->strtab, strtab_size); in __nfp_rtsym_table_read()
137 if (err != strtab_size) in __nfp_rtsym_table_read()
139 cache->strtab[strtab_size] = '\0'; in __nfp_rtsym_table_read()
[all …]
Dnfp_mip.c35 __le32 strtab_size; member
150 *size = le32_to_cpu(mip->strtab_size); in nfp_mip_strtab()
/Linux-v6.1/kernel/module/
Dkallsyms.c115 unsigned int i, nsrc, ndst, strtab_size = 0; in layout_symtab() local
131 strtab_size += strlen(&info->strtab[src[i].st_name]) + 1; in layout_symtab()
139 mod->data_layout.size += strtab_size; in layout_symtab()
173 unsigned long strtab_size; in add_kallsyms() local
195 strtab_size = info->core_typeoffs - info->stroffs; in add_kallsyms()
210 strtab_size); in add_kallsyms()
214 strtab_size -= ret + 1; in add_kallsyms()