Searched refs:mod (Results 1 – 2 of 2) sorted by relevance
/lib/ |
D | bug.c | 63 struct module *mod; in module_find_bug() local 65 list_for_each_entry(mod, &module_bug_list, bug_list) { in module_find_bug() 66 const struct bug_entry *bug = mod->bug_table; in module_find_bug() 69 for (i = 0; i < mod->num_bugs; ++i, ++bug) in module_find_bug() 77 struct module *mod) in module_bug_finalize() argument 82 mod->bug_table = NULL; in module_bug_finalize() 83 mod->num_bugs = 0; in module_bug_finalize() 90 mod->bug_table = (void *) sechdrs[i].sh_addr; in module_bug_finalize() 91 mod->num_bugs = sechdrs[i].sh_size / sizeof(struct bug_entry); in module_bug_finalize() 100 list_add(&mod->bug_list, &module_bug_list); in module_bug_finalize() [all …]
|
/lib/mpi/ |
D | mpi-pow.c | 36 int mpi_powm(MPI res, MPI base, MPI exp, MPI mod) in mpi_powm() argument 53 msize = mod->nlimbs; in mpi_powm() 56 msign = mod->sign; in mpi_powm() 68 res->nlimbs = (msize == 1 && mod->d[0] == 1) ? 0 : 1; in mpi_powm() 80 mod_shift_cnt = count_leading_zeros(mod->d[msize - 1]); in mpi_powm() 82 mpihelp_lshift(mp, mod->d, msize, mod_shift_cnt); in mpi_powm() 84 MPN_COPY(mp, mod->d, msize); in mpi_powm()
|