Lines Matching refs:kmflag
113 /* {{{ mp_init(mp, kmflag) */
116 mp_init(mp, kmflag)
122 mp_err mp_init(mp_int *mp, int kmflag)
124 return mp_init_size(mp, s_mp_defprec, kmflag);
130 /* {{{ mp_init_size(mp, prec, kmflag) */
133 mp_init_size(mp, prec, kmflag)
140 mp_err mp_init_size(mp_int *mp, mp_size prec, int kmflag)
145 if((DIGITS(mp) = s_mp_alloc(prec, sizeof(mp_digit), kmflag)) == NULL)
1720 /* {{{ mp_cmp_int(a, z, kmflag) */
1728 int mp_cmp_int(const mp_int *a, long z, int kmflag)
1735 mp_init(&tmp, kmflag); mp_set_int(&tmp, z);
2876 /* {{{ s_mp_alloc(nb, ni, kmflag) */
2880 void *s_mp_alloc(size_t nb, size_t ni, int kmflag)
2885 mp = kmem_zalloc(nb * ni, kmflag);
2887 FLAG(mp) = kmflag;