Searched refs:gp (Results 1 - 25 of 261) sorted by relevance

1234567891011

/freebsd-10.0-release/contrib/nvi/cl/
H A Dcl_main.c56 GS *gp; local
66 __global_list = gp = gs_init(argv[0]);
86 clp = cl_init(gp);
96 term_init(gp->progname, ttype);
99 if ((OG_D_STR(gp, GO_TERM) =
100 OG_STR(gp, GO_TERM) = strdup(ttype)) == NULL)
101 perr(gp->progname, NULL);
108 OG_VAL(gp, GO_LINES) = OG_D_VAL(gp, GO_LINES) = rows;
109 OG_VAL(gp, GO_COLUMN
167 GS *gp; local
188 cl_init(GS *gp) argument
298 sig_init(GS *gp, SCR *sp) argument
371 sig_end(GS *gp) argument
389 cl_func_std(GS *gp) argument
[all...]
/freebsd-10.0-release/contrib/nvi/vi/
H A Dvs_msg.c61 GS *gp; local
73 gp = sp->gp;
93 (void)gp->scr_cursor(sp, &vip->busy_oldy, &vip->busy_oldx);
97 (void)gp->scr_move(sp, LASTLINE(sp), 0);
98 (void)gp->scr_addstr(sp, p, len);
99 (void)gp->scr_cursor(sp, &notused, &vip->busy_fx);
100 (void)gp->scr_clrtoeol(sp);
101 (void)gp->scr_move(sp, LASTLINE(sp), vip->busy_fx);
113 (void)gp
163 GS *gp; local
233 GS *gp; local
395 GS *gp; local
515 GS *gp; local
639 GS *gp; local
745 GS *gp; local
781 GS *gp; local
849 GS *gp; local
868 GS *gp; local
[all...]
/freebsd-10.0-release/contrib/nvi/common/
H A Dmain.c53 GS *gp,
71 if (gp->scr_busy == NULL)
72 gp->scr_busy = vs_busy;
74 if (gp->scr_msg == NULL)
75 gp->scr_msg = vs_msg;
76 gp->catd = (nl_catd)-1;
79 TAILQ_INIT(gp->dq);
80 TAILQ_INIT(gp->hq);
81 SLIST_INIT(gp->ecq);
82 SLIST_INSERT_HEAD(gp
52 editor( GS *gp, int argc, char *argv[]) argument
579 attach(GS *gp) argument
[all...]
H A Doptions.h29 (sp)->gp->opts[(sp)->opts[(o)].o_cur.val].fld : \
33 #define OG_CLR(gp, o) ((gp)->opts[(o)].o_cur.val) = 0
34 #define OG_SET(gp, o) ((gp)->opts[(o)].o_cur.val) = 1
35 #define OG_STR(gp, o) ((gp)->opts[(o)].o_cur.str)
36 #define OG_VAL(gp, o) ((gp)->opts[(o)].o_cur.val)
37 #define OG_ISSET(gp,
[all...]
H A Dkey.c106 GS *gp; local
110 gp = sp->gp;
124 gp->special_key[kp->ch] = kp->value;
129 gp->noprint = ch;
132 if (ch != gp->noprint) {
158 if (sp->gp->scr_keyval(sp, name, &ch, &dne))
189 GS *gp; local
192 for (gp = sp->gp, c
365 GS *gp; local
417 GS *gp; local
545 GS *gp; local
761 GS *gp; local
831 GS *gp; local
849 GS *gp; local
[all...]
/freebsd-10.0-release/sys/geom/
H A Dgeom_fox.c76 struct g_geom *gp; local
85 gp = arg;
86 sc = gp->softc;
93 sc->opath->provider->name, gp->name);
108 sc->opath->provider->name, gp->name);
111 if (LIST_EMPTY(&gp->consumer)) {
113 g_wither_geom(gp, ENXIO);
126 sc->opath->provider->name, gp->name);
130 cp1 = LIST_FIRST(&gp->consumer);
133 cp1 = LIST_FIRST(&gp
165 struct g_geom *gp; local
204 struct g_geom *gp; local
235 struct g_geom *gp; local
288 struct g_geom *gp; local
348 struct g_geom *gp, *gp2; local
452 g_fox_destroy_geom(struct gctl_req *req, struct g_class *mp, struct g_geom *gp) argument
[all...]
H A Dgeom_subr.c86 struct g_geom *gp; local
130 LIST_FOREACH(gp, &mp2->geom, geom) {
131 LIST_FOREACH(pp, &gp->provider, provider) {
142 struct g_geom *gp; local
151 LIST_FOREACH(gp, &mp->geom, geom) {
153 LIST_FOREACH(pp, &gp->provider, provider)
158 LIST_FOREACH(cp, &gp->consumer, consumer)
164 if (gp->flags & G_GEOM_WITHER) {
183 LIST_FOREACH(gp, &mp->geom, geom) {
184 error = mp->destroy_geom(NULL, mp, gp);
266 struct g_geom *gp; local
335 struct g_geom *gp; local
370 g_destroy_geom(struct g_geom *gp) argument
393 g_wither_geom(struct g_geom *gp, int error) argument
425 g_wither_geom_close(struct g_geom *gp, int error) argument
446 struct g_geom *gp, *gp2; local
480 g_new_consumer(struct g_geom *gp) argument
504 struct g_geom *gp; local
561 g_new_providerf(struct g_geom *gp, const char *fmt, ...) argument
610 struct g_geom *gp; local
685 struct g_geom *gp; local
706 struct g_geom *gp; local
749 redo_rank(struct g_geom *gp) argument
1026 struct g_geom *gp; local
1206 struct g_geom *gp; local
1269 geom_flags_to_string(struct g_geom *gp, char *str, size_t size) argument
1355 db_show_geom_geom(int indent, struct g_geom *gp) argument
1399 struct g_geom *gp; local
[all...]
H A Dgeom_dump.c69 g_confdot_geom(struct sbuf *sb, struct g_geom *gp) argument
75 gp, gp->class->name, gp->name, gp->rank);
76 LIST_FOREACH(cp, &gp->consumer, consumer) {
78 sbuf_printf(sb, "z%p -> z%p;\n", gp, cp);
81 LIST_FOREACH(pp, &gp->provider, provider) {
83 sbuf_printf(sb, "z%p -> z%p;\n", pp, gp);
90 struct g_geom *gp; local
113 g_conftxt_geom(struct sbuf *sb, struct g_geom *gp, int level) argument
134 struct g_geom *gp; local
225 g_conf_geom(struct sbuf *sb, struct g_geom *gp, struct g_provider *pp, struct g_consumer *cp) argument
256 g_conf_class(struct sbuf *sb, struct g_class *mp, struct g_geom *gp, struct g_provider *pp, struct g_consumer *cp) argument
271 g_conf_specific(struct sbuf *sb, struct g_class *mp, struct g_geom *gp, struct g_provider *pp, struct g_consumer *cp) argument
[all...]
H A Dgeom_mbr.c98 g_mbr_modify(struct g_geom *gp, struct g_mbr_softc *ms, u_char *sec0, int len __unused) argument
149 error = g_slice_config(gp, i, G_SLICE_CONFIG_CHECK,
151 ms->sectorsize, "%ss%d", gp->name, 1 + i);
157 g_slice_config(gp, i, G_SLICE_CONFIG_SET,
159 ms->sectorsize, "%ss%d", gp->name, 1 + i);
177 struct g_geom *gp; local
183 gp = pp->geom;
184 gsp = gp->softc;
195 cp = LIST_FIRST(&gp->consumer);
202 error = g_mbr_modify(gp, m
220 struct g_geom *gp; local
245 g_mbr_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp, struct g_consumer *cp __unused, struct g_provider *pp) argument
265 struct g_geom *gp; local
327 struct g_geom *gp; local
391 struct g_geom *gp; local
409 g_mbrext_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp, struct g_consumer *cp __unused, struct g_provider *pp) argument
429 struct g_geom *gp; local
[all...]
H A Dgeom_pc98.c84 g_pc98_modify(struct g_geom *gp, struct g_pc98_softc *ms, u_char *sec, int len __unused) argument
136 printf("PC98 Slice %d on %s:\n", i + 1, gp->name);
142 error = g_slice_config(gp, i, G_SLICE_CONFIG_CHECK,
144 "%ss%d", gp->name, i + 1);
151 g_slice_config(gp, i, G_SLICE_CONFIG_SET, s[i], l[i],
152 ms->sectorsize, "%ss%d", gp->name, i + 1);
163 struct g_geom *gp; local
169 gp = pp->geom;
170 gsp = gp->softc;
181 cp = LIST_FIRST(&gp
206 struct g_geom *gp; local
228 g_pc98_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp, struct g_consumer *cp __unused, struct g_provider *pp) argument
260 struct g_geom *gp; local
321 struct g_geom *gp; local
[all...]
H A Dgeom_sunlabel.c69 g_sunlabel_modify(struct g_geom *gp, struct g_sunlabel_softc *ms, u_char *sec0) argument
85 error = g_slice_config(gp, i, G_SLICE_CONFIG_CHECK,
89 "%s%c", gp->name, 'a' + i);
96 g_slice_config(gp, i, G_SLICE_CONFIG_SET,
100 "%s%c", gp->name, 'a' + i);
121 struct g_geom *gp; local
130 gp = bp->bio_to->geom;
131 gsp = gp->softc;
142 error = g_sunlabel_modify(gp, ms, p);
151 g_sunlabel_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp, struc argument
166 struct g_geom *gp; member in struct:g_hh01
194 struct g_geom *gp; local
261 struct g_geom *gp; local
[all...]
/freebsd-10.0-release/sys/geom/bde/
H A Dg_bde.c77 struct g_geom *gp; local
84 gp = cp->geom;
85 sc = gp->softc;
86 gp->flags |= G_GEOM_WITHER;
87 LIST_FOREACH(pp, &gp->provider, provider)
96 struct g_geom *gp; local
99 gp = pp->geom;
100 cp = LIST_FIRST(&gp->consumer);
116 struct g_geom *gp; local
128 gp
212 g_bde_destroy_geom(struct gctl_req *req, struct g_class *mp, struct g_geom *gp) argument
248 struct g_geom *gp; local
[all...]
/freebsd-10.0-release/sys/geom/mountver/
H A Dg_mountver.c63 static int g_mountver_destroy(struct g_geom *gp, boolean_t force);
66 struct g_geom *gp);
70 struct g_geom *gp, struct g_consumer *cp, struct g_provider *pp);
87 struct g_geom *gp; local
101 gp = bp->bio_from->geom;
104 KASSERT(pbp->bio_to == LIST_FIRST(&gp->provider),
114 struct g_geom *gp; local
117 gp = bp->bio_to->geom;
126 g_io_request(cbp, LIST_FIRST(&gp->consumer));
133 struct g_geom *gp; local
144 g_mountver_send_queued(struct g_geom *gp) argument
161 g_mountver_discard_queued(struct g_geom *gp) argument
181 struct g_geom *gp; local
207 struct g_geom *gp; local
233 struct g_geom *gp; local
307 g_mountver_destroy(struct g_geom *gp, boolean_t force) argument
341 g_mountver_destroy_geom(struct gctl_req *req, struct g_class *mp, struct g_geom *gp) argument
389 struct g_geom *gp; local
402 struct g_geom *gp; local
465 struct g_geom *gp; local
475 g_mountver_ident_matches(struct g_geom *gp) argument
516 struct g_geom *gp; local
592 g_mountver_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp, struct g_consumer *cp, struct g_provider *pp) argument
611 struct g_geom *gp, *gp2; local
[all...]
/freebsd-10.0-release/sys/geom/uncompress/
H A Dg_uncompress.c110 g_uncompress_softc_free(struct g_uncompress_softc *sc, struct g_geom *gp) argument
113 if (gp != NULL) {
115 gp->name, sc->req_total, sc->req_cached);
169 struct g_geom *gp; local
179 gp = pp->geom;
180 cp = LIST_FIRST(&gp->consumer);
182 sc = gp->softc;
183 DPRINTF(("%s: done\n", gp->name));
218 gp->name, bp->bio_length, bp->bio_completed, start_blk, pos, upos,
230 gp
314 struct g_geom *gp; local
404 struct g_geom *gp; local
420 struct g_geom *gp; local
435 struct g_geom *gp; local
453 struct g_geom *gp; local
629 g_uncompress_destroy_geom(struct gctl_req *req, struct g_class *mp, struct g_geom *gp) argument
[all...]
/freebsd-10.0-release/sys/geom/multipath/
H A Dg_multipath.c107 g_multipath_good(struct g_geom *gp) argument
112 LIST_FOREACH(cp, &gp->consumer, consumer) {
124 struct g_geom *gp; local
126 gp = cp->geom;
127 sc = gp->softc;
129 if (g_multipath_good(gp) == 0 && sc->sc_ndisks > 0) {
130 LIST_FOREACH(lcp, &gp->consumer, consumer) {
145 LIST_FOREACH(lcp, &gp->consumer, consumer) {
161 g_multipath_choose(struct g_geom *gp, struct bio *bp) argument
166 sc = gp
187 struct g_geom *gp; local
243 struct g_geom *gp; local
305 struct g_geom *gp; local
383 struct g_geom *gp; local
416 struct g_geom *gp; local
457 g_multipath_add_disk(struct g_geom *gp, struct g_provider *pp) argument
543 g_multipath_destroy(struct g_geom *gp) argument
585 g_multipath_destroy_geom(struct gctl_req *req, struct g_class *mp, struct g_geom *gp) argument
593 g_multipath_rotate(struct g_geom *gp) argument
675 struct g_geom *gp, *gp1; local
800 struct g_geom *gp; local
863 struct g_geom *gp; local
936 struct g_geom *gp; local
964 struct g_geom *gp; local
1025 struct g_geom *gp; local
1087 struct g_geom *gp; local
1137 struct g_geom *gp; local
1191 struct g_geom *gp; local
1207 struct g_geom *gp; local
1231 struct g_geom *gp; local
1281 struct g_geom *gp; local
1307 struct g_geom *gp; local
1388 g_multipath_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp, struct g_consumer *cp, struct g_provider *pp) argument
[all...]
/freebsd-10.0-release/sys/geom/uzip/
H A Dg_uzip.c90 g_uzip_softc_free(struct g_uzip_softc *sc, struct g_geom *gp) argument
92 if (gp != NULL) {
94 gp->name, sc->req_total, sc->req_cached);
126 struct g_geom *gp; local
134 gp = pp->geom;
135 cp = LIST_FIRST(&gp->consumer);
137 sc = gp->softc;
138 DPRINTF(("%s: done\n", gp->name));
159 gp->name, start_blk, pos, upos,
185 gp
230 struct g_geom *gp; local
312 struct g_geom *gp; local
326 struct g_geom *gp; local
342 struct g_geom *gp; local
361 struct g_geom *gp; local
499 g_uzip_destroy_geom(struct gctl_req *req, struct g_class *mp, struct g_geom *gp) argument
[all...]
/freebsd-10.0-release/sys/sparc64/sparc64/
H A Dprof_machdep.c69 startguprof(struct gmonparam *gp) argument
72 gp->profrate = tick_freq;
78 stopguprof(struct gmonparam *gp) argument
/freebsd-10.0-release/sys/i386/isa/
H A Dprof_machdep.c286 startguprof(gp)
287 struct gmonparam *gp;
300 gp->profrate = freq >> 1;
303 gp->profrate = i8254_freq << CPUTIME_CLOCK_I8254_SHIFT;
312 gp->profrate = 1000000;
314 saved_gmp = *gp;
317 gp->cputime_overhead = 0;
318 gp->mcount_overhead = 0;
319 gp->mcount_post_overhead = 0;
320 gp
[all...]
/freebsd-10.0-release/sys/geom/sched/
H A Dg_sched.c36 * an existing provider pp and its original geom gp
38 * [pp --> gp ..]
43 * [pp --> sched_gp --> cp] [new_pp --> gp ... ]
129 static int g_sched_destroy(struct g_geom *gp, boolean_t force);
131 struct g_class *mp, struct g_geom *gp);
137 struct g_geom *gp, struct g_consumer *cp, struct g_provider *pp);
229 g_sched_lock(struct g_geom *gp) argument
231 struct g_sched_softc *sc = gp->softc;
237 g_sched_unlock(struct g_geom *gp) argument
239 struct g_sched_softc *sc = gp
282 g_sched_forced_dispatch(struct g_geom *gp) argument
302 g_sched_dispatch(struct g_geom *gp) argument
378 g_sched_get_class(struct g_geom *gp, struct bio *bp) argument
420 g_sched_put_class(struct g_geom *gp, void *priv) argument
439 g_sched_hash_fini(struct g_geom *gp, struct g_hash *hp, u_long mask, struct g_gsched *gsp, void *data) argument
473 g_sched_flush_classes(struct g_geom *gp) argument
502 g_sched_wait_pending(struct g_geom *gp) argument
516 g_sched_remove_locked(struct g_geom *gp, struct g_gsched *gsp) argument
556 g_sched_remove(struct g_geom *gp, struct g_gsched *gsp) argument
651 struct g_geom *gp, *gp_tmp; local
801 struct g_geom *gp = bio->bio_caller2; local
824 struct g_geom *gp = bp->bio_to->geom; local
900 struct g_geom *gp; local
931 g_insert_proxy(struct g_geom *gp, struct g_provider *newpp, struct g_geom *dstgp, struct g_provider *pp, struct g_consumer *cp) argument
989 struct g_geom *gp, *dstgp; local
1086 struct g_geom *gp; local
1139 g_detach_proxy(struct g_geom *gp) argument
1173 g_reparent_provider(struct g_provider *pp, struct g_geom *gp, struct g_provider *newpp) argument
1189 struct g_geom *gp = oldpp->geom; local
1207 g_destroy_proxy(struct g_geom *gp, struct g_provider *oldpp) argument
1243 g_sched_destroy(struct g_geom *gp, boolean_t force) argument
1354 g_sched_destroy_geom(struct gctl_req *req, struct g_class *mp, struct g_geom *gp) argument
1587 struct g_geom *gp; local
1792 struct g_geom *gp; local
1805 struct g_geom *gp; local
1876 g_sched_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp, struct g_consumer *cp, struct g_provider *pp) argument
[all...]
/freebsd-10.0-release/contrib/gcc/config/ia64/
H A Dunwind-ia64.h38 unsigned long *gp)
/freebsd-10.0-release/sys/amd64/amd64/
H A Dprof_machdep.c311 startguprof(gp)
312 struct gmonparam *gp;
324 gp->profrate = freq >> 1;
327 gp->profrate = i8254_freq << CPUTIME_CLOCK_I8254_SHIFT;
336 gp->profrate = 1000000;
338 saved_gmp = *gp;
341 gp->cputime_overhead = 0;
342 gp->mcount_overhead = 0;
343 gp->mcount_post_overhead = 0;
344 gp
[all...]
/freebsd-10.0-release/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_hal.h200 struct gen_pool *gp; local
202 gp = malloc(sizeof(struct gen_pool), M_DEVBUF, M_NOWAIT);
203 if (gp == NULL)
206 memset(gp, 0, sizeof(struct gen_pool));
207 gp->gen_list = blist_create(len >> chunk_shift, M_NOWAIT);
208 if (gp->gen_list == NULL) {
209 free(gp, M_DEVBUF);
212 blist_free(gp->gen_list, 0, len >> chunk_shift);
213 gp->gen_base = base;
214 gp
221 gen_pool_alloc(struct gen_pool *gp, int size) argument
238 gen_pool_free(struct gen_pool *gp, daddr_t address, int size) argument
251 gen_pool_destroy(struct gen_pool *gp) argument
[all...]
/freebsd-10.0-release/sys/geom/zero/
H A Dg_zero.c101 struct g_geom *gp; local
105 gp = g_new_geomf(mp, "gzero");
106 gp->start = g_zero_start;
107 gp->access = g_std_access;
108 gpp = pp = g_new_providerf(gp, "%s", gp->name);
118 struct g_geom *gp)
123 if (gp == NULL)
125 pp = LIST_FIRST(&gp->provider);
131 g_wither_geom(gp, ENXI
117 g_zero_destroy_geom(struct gctl_req *req __unused, struct g_class *mp __unused, struct g_geom *gp) argument
[all...]
/freebsd-10.0-release/lib/csu/ia64/
H A Dcrt1.S62 sub gp=r16,r15
68 addl r15=@ltoff(environ),gp
76 addl r16=@gprel(__progname),gp
112 mov gp=GP
118 mov gp=GP
120 addl r14=@ltoff(@fptr(_mcleanup)),gp
132 mov gp=GP
134 addl r14=@ltoff(@fptr(_fini)),gp
146 mov gp=GP
148 addl r14=@ltoff(eprol),gp
[all...]
/freebsd-10.0-release/sys/geom/nop/
H A Dg_nop.c50 static int g_nop_destroy(struct g_geom *gp, boolean_t force);
52 struct g_geom *gp);
56 struct g_geom *gp, struct g_consumer *cp, struct g_provider *pp);
78 struct g_geom *gp; local
84 gp = cp->geom;
85 sc = gp->softc;
90 g_nop_destroy(gp, 1);
94 LIST_FOREACH(pp, &gp->provider, provider)
102 struct g_geom *gp; local
107 gp
149 struct g_geom *gp; local
166 struct g_geom *gp; local
260 g_nop_destroy(struct g_geom *gp, boolean_t force) argument
288 g_nop_destroy_geom(struct gctl_req *req, struct g_class *mp, struct g_geom *gp) argument
463 struct g_geom *gp; local
476 struct g_geom *gp; local
600 g_nop_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp, struct g_consumer *cp, struct g_provider *pp) argument
[all...]

Completed in 225 milliseconds

1234567891011