Home
last modified time | relevance | path

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

/lib/mpi/
Dmpih-mul.c146 mpi_size_t hsize = size >> 1; in mul_n() local
155 MPN_MUL_N_RECURSE(prodp + size, up + hsize, vp + hsize, hsize, in mul_n()
161 if (mpihelp_cmp(up + hsize, up, hsize) >= 0) { in mul_n()
162 mpihelp_sub_n(prodp, up + hsize, up, hsize); in mul_n()
165 mpihelp_sub_n(prodp, up, up + hsize, hsize); in mul_n()
168 if (mpihelp_cmp(vp + hsize, vp, hsize) >= 0) { in mul_n()
169 mpihelp_sub_n(prodp + hsize, vp + hsize, vp, hsize); in mul_n()
172 mpihelp_sub_n(prodp + hsize, vp, vp + hsize, hsize); in mul_n()
179 MPN_MUL_N_RECURSE(tspace, prodp, prodp + hsize, hsize, in mul_n()
183 MPN_COPY(prodp + hsize, prodp + size, hsize); in mul_n()
[all …]
/lib/
Drhashtable.c46 u32 len, u32 hsize) in __hashfn() argument
52 return h & (hsize - 1); in __hashfn()
75 static u32 obj_hashfn(const struct rhashtable *ht, const void *ptr, u32 hsize) in obj_hashfn() argument
82 return h & (hsize - 1); in obj_hashfn()
85 return __hashfn(ht, ptr + ht->p.key_offset, ht->p.key_len, hsize); in obj_hashfn()
109 const struct rhash_head *he, u32 hsize) in head_hashfn() argument
111 return obj_hashfn(ht, rht_obj(ht, he), hsize); in head_hashfn()