Lines Matching +full:vs +full:- +full:supply

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