Lines Matching +full:vs +full:- +full:supply
1 // SPDX-License-Identifier: GPL-2.0-or-later
18 Elf_Shdr *sechdrs = info->sechdrs;
19 unsigned int versindex = info->index.vers;
24 /* Exporting module didn't supply crcs? OK, we're already tainted. */
29 if (info->index.vers_ext_crc) {
35 pr_debug("Found checksum %X vs module %X\n",
40 info->name, symname);
44 /* No versions at all? modprobe --force does this. */
61 pr_debug("Found checksum %X vs module %lX\n",
67 pr_warn_once("%s: no symbol version for %s\n", info->name, symname);
71 pr_warn("%s: disagrees about version of symbol %s\n", info->name, symname);
110 unsigned int crc_idx = info->index.vers_ext_crc;
111 unsigned int name_idx = info->index.vers_ext_name;
112 Elf_Shdr *sechdrs = info->sechdrs;
119 start->remaining = 0;
123 start->crc = (const u32 *)sechdrs[crc_idx].sh_addr;
124 start->name = (const char *)sechdrs[name_idx].sh_addr;
125 start->remaining = sechdrs[crc_idx].sh_size / sizeof(*start->crc);
130 vers->remaining--;
131 vers->crc++;
132 vers->name += strlen(vers->name) + 1;