Home
last modified time | relevance | path

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

/lib/
Dkfifo.c25 size_t esize, gfp_t gfp_mask) in __kfifo_alloc() argument
35 fifo->esize = esize; in __kfifo_alloc()
43 fifo->data = kmalloc_array(esize, size, gfp_mask); in __kfifo_alloc()
60 fifo->esize = 0; in __kfifo_free()
67 unsigned int size, size_t esize) in __kfifo_init() argument
69 size /= esize; in __kfifo_init()
76 fifo->esize = esize; in __kfifo_init()
93 unsigned int esize = fifo->esize; in kfifo_copy_in() local
97 if (esize != 1) { in kfifo_copy_in()
98 off *= esize; in kfifo_copy_in()
[all …]
/lib/mpi/
Dmpih-mul.c109 mpi_size_t esize = size - 1; /* even size */ in mul_n() local
112 MPN_MUL_N_RECURSE(prodp, up, vp, esize, tspace); in mul_n()
113 cy_limb = mpihelp_addmul_1(prodp + esize, up, esize, vp[esize]); in mul_n()
114 prodp[esize + esize] = cy_limb; in mul_n()
115 cy_limb = mpihelp_addmul_1(prodp + esize, vp, size, up[esize]); in mul_n()
116 prodp[esize + size] = cy_limb; in mul_n()
258 mpi_size_t esize = size - 1; /* even size */ in mpih_sqr_n() local
261 MPN_SQR_N_RECURSE(prodp, up, esize, tspace); in mpih_sqr_n()
262 cy_limb = mpihelp_addmul_1(prodp + esize, up, esize, up[esize]); in mpih_sqr_n()
263 prodp[esize + esize] = cy_limb; in mpih_sqr_n()
[all …]
Dmpi-pow.c31 mpi_size_t esize, msize, bsize, rsize; in mpi_powm() local
41 esize = exp->nlimbs; in mpi_powm()
52 if (!esize) { in mpi_powm()
129 ep = ep_marker = mpi_alloc_limb_space(esize); in mpi_powm()
132 MPN_COPY(ep, rp, esize); in mpi_powm()
161 i = esize - 1; in mpi_powm()