Lines Matching defs:gf_poly

103 struct gf_poly {
109 #define GF_POLY_SZ(_d) (sizeof(struct gf_poly)+((_d)+1)*sizeof(unsigned int))
113 struct gf_poly poly;
438 static void gf_poly_copy(struct gf_poly *dst, struct gf_poly *src)
449 struct gf_poly *elp = bch->elp;
450 struct gf_poly *pelp = bch->poly_2t[0];
451 struct gf_poly *elp_copy = bch->poly_2t[1];
612 static int find_poly_deg1_roots(struct bch_control *bch, struct gf_poly *poly,
627 static int find_poly_deg2_roots(struct bch_control *bch, struct gf_poly *poly,
669 static int find_poly_deg3_roots(struct bch_control *bch, struct gf_poly *poly,
702 static int find_poly_deg4_roots(struct bch_control *bch, struct gf_poly *poly,
767 const struct gf_poly *a, int *rep)
779 static void gf_poly_mod(struct bch_control *bch, struct gf_poly *a,
780 const struct gf_poly *b, int *rep)
815 static void gf_poly_div(struct bch_control *bch, struct gf_poly *a,
816 const struct gf_poly *b, struct gf_poly *q)
833 static struct gf_poly *gf_poly_gcd(struct bch_control *bch, struct gf_poly *a,
834 struct gf_poly *b)
836 struct gf_poly *tmp;
863 const struct gf_poly *f, struct gf_poly *z,
864 struct gf_poly *out)
905 static void factor_polynomial(struct bch_control *bch, int k, struct gf_poly *f,
906 struct gf_poly **g, struct gf_poly **h)
908 struct gf_poly *f2 = bch->poly_2t[0];
909 struct gf_poly *q = bch->poly_2t[1];
910 struct gf_poly *tk = bch->poly_2t[2];
911 struct gf_poly *z = bch->poly_2t[3];
912 struct gf_poly *gcd;
942 struct gf_poly *poly, unsigned int *roots)
945 struct gf_poly *f1, *f2;
982 struct gf_poly *p, unsigned int *roots)
1239 struct gf_poly *g;