Searched refs:gsc (Results 1 - 3 of 3) sorted by relevance

/freebsd-10.2-release/sys/geom/sched/
H A Dgs_scheduler.h165 struct g_sched_class *gsc; local
167 gsc = g_sched_priv2class(priv);
168 gsc->gsc_refs++;
H A Dg_sched.c381 struct g_sched_class *gsc; local
389 LIST_FOREACH(gsc, bucket, gsc_clist) {
390 if (key == gsc->gsc_key) {
391 gsc->gsc_refs++;
392 return (gsc->gsc_priv);
397 gsc = malloc(sizeof(*gsc) + gsp->gs_priv_size,
399 if (!gsc)
402 if (gsp->gs_init_class(sc->sc_data, gsc->gsc_priv)) {
403 free(gsc, M_GEOM_SCHE
422 struct g_sched_class *gsc; local
[all...]
/freebsd-10.2-release/sbin/pfctl/
H A Dpfctl_altq.c901 gsc_add_sc(struct gen_sc *gsc, struct service_curve *sc) argument
906 gsc_add_seg(gsc, 0.0, 0.0, (double)sc->d, (double)sc->m1);
907 gsc_add_seg(gsc, (double)sc->d, 0.0, INFINITY, (double)sc->m2);
916 is_gsc_under_sc(struct gen_sc *gsc, struct service_curve *sc) argument
922 if (LIST_EMPTY(gsc))
924 LIST_FOREACH(s, gsc, _next) {
931 * gsc has a dummy entry at the end with x = INFINITY.
934 end = gsc_getentry(gsc, INFINITY);
938 for (s = LIST_FIRST(gsc); s != end; s = LIST_NEXT(s, _next)) {
957 gsc_destroy(struct gen_sc *gsc) argument
972 gsc_getentry(struct gen_sc *gsc, double x) argument
1025 gsc_add_seg(struct gen_sc *gsc, double x, double y, double d, double m) argument
[all...]

Completed in 46 milliseconds