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

123456789

/freebsd-current/contrib/nvi/cl/
H A Dcl_main.c52 GS *gp; local
62 __global_list = gp = gs_init();
82 clp = cl_init(gp);
95 if ((OG_D_STR(gp, GO_TERM) =
96 OG_STR(gp, GO_TERM) = strdup(ttype)) == NULL)
104 OG_VAL(gp, GO_LINES) = OG_D_VAL(gp, GO_LINES) = rows;
105 OG_VAL(gp, GO_COLUMNS) = OG_D_VAL(gp, GO_COLUMNS) = cols;
111 if (sig_init(gp, NUL
162 GS *gp; local
176 cl_init(GS *gp) argument
281 sig_init(GS *gp, SCR *sp) argument
345 sig_end(GS *gp) argument
363 cl_func_std(GS *gp) argument
[all...]
H A Dcl_screen.c49 GS *gp; local
51 gp = sp->gp;
56 if (F_ISSET(gp, G_SRESTART)) {
59 cl_quit(gp))
61 F_CLR(gp, G_SRESTART);
131 cl_quit(GS *gp) argument
137 clp = GCLP(gp);
147 if (cl_term_end(gp))
152 F_ISSET(clp, CL_SCR_VI_INIT) && cl_vi_end(gp))
184 GS *gp; local
380 cl_vi_end(GS *gp) argument
497 cl_ex_end(GS *gp) argument
[all...]
/freebsd-current/contrib/nvi/vi/
H A Dvs_msg.c57 GS *gp; local
69 gp = sp->gp;
89 (void)gp->scr_cursor(sp, &vip->busy_oldy, &vip->busy_oldx);
93 (void)gp->scr_move(sp, LASTLINE(sp), 0);
94 (void)gp->scr_addstr(sp, p, len);
95 (void)gp->scr_cursor(sp, &notused, &vip->busy_fx);
96 (void)gp->scr_clrtoeol(sp);
97 (void)gp->scr_move(sp, LASTLINE(sp), vip->busy_fx);
109 (void)gp
159 GS *gp; local
229 GS *gp; local
394 GS *gp; local
514 GS *gp; local
638 GS *gp; local
744 GS *gp; local
780 GS *gp; local
848 GS *gp; local
867 GS *gp; local
[all...]
H A Dv_redraw.c33 return (sp->gp->scr_refresh(sp, 1));
H A Dv_ex.c57 GS *gp; local
59 gp = sp->gp;
62 if (gp->scr_screen(sp, SC_EX)) {
67 (void)gp->scr_attr(sp, SA_ALTERNATE, 0);
323 GS *gp; local
327 gp = sp->gp;
344 if (!EXCMD_RUNNING(gp)) {
493 GS *gp; local
622 GS *gp; local
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_mips64.S15 sd $gp,8($sp)
18 lui $gp,%hi(%neg(%gp_rel(setjmp)))
19 daddu $gp,$gp,$t9
20 daddiu $gp,$gp,%lo(%neg(%gp_rel(setjmp)))
21 move $s0,$gp
36 // restore gp
37 move $gp,$s0
43 ld $gp,
[all...]
/freebsd-current/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);
99 struct g_geom *gp; local
104 gp = cp->geom;
117 KASSERT(pbp->bio_to == LIST_FIRST(&gp->provider),
124 sc = gp->softc;
136 g_mountver_send(struct g_geom *gp, struct bio *bp) argument
138 struct g_mountver_softc *sc = gp->softc;
149 cp = LIST_FIRST(&gp
161 struct g_geom *gp; local
172 g_mountver_send_queued(struct g_geom *gp) argument
191 g_mountver_discard_queued(struct g_geom *gp) argument
213 struct g_geom *gp; local
247 struct g_geom *gp; local
273 struct g_geom *gp; local
360 g_mountver_destroy(struct g_geom *gp, boolean_t force) argument
394 g_mountver_destroy_geom(struct gctl_req *req, struct g_class *mp, struct g_geom *gp) argument
431 struct g_geom *gp; local
444 struct g_geom *gp; local
510 struct g_geom *gp; local
520 g_mountver_ident_matches(struct g_geom *gp) argument
561 struct g_geom *gp; local
642 g_mountver_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp, struct g_consumer *cp, struct g_provider *pp) argument
662 struct g_geom *gp, *gp2; local
[all...]
/freebsd-current/contrib/nvi/common/
H A Doptions.h27 (sp)->gp->opts[(sp)->opts[(o)].o_cur.val].fld : \
31 #define OG_CLR(gp, o) ((gp)->opts[(o)].o_cur.val) = 0
32 #define OG_SET(gp, o) ((gp)->opts[(o)].o_cur.val) = 1
33 #define OG_STR(gp, o) ((gp)->opts[(o)].o_cur.str)
34 #define OG_VAL(gp, o) ((gp)->opts[(o)].o_cur.val)
35 #define OG_ISSET(gp,
[all...]
H A Dkey.c103 GS *gp; local
107 gp = sp->gp;
121 gp->special_key[kp->ch] = kp->value;
126 gp->noprint = ch;
129 if (ch != gp->noprint) {
152 if (sp->gp->scr_keyval(sp, name, &ch, &dne))
183 GS *gp; local
186 for (gp = sp->gp, c
361 GS *gp; local
411 GS *gp; local
535 GS *gp; local
749 GS *gp; local
893 GS *gp; local
909 GS *gp; local
[all...]
H A Dmain.c40 editor(GS *gp, int argc, char *argv[]) argument
56 if (gp->scr_busy == NULL)
57 gp->scr_busy = vs_busy;
59 if (gp->scr_msg == NULL)
60 gp->scr_msg = vs_msg;
61 gp->catd = (nl_catd)-1;
64 TAILQ_INIT(gp->dq);
65 TAILQ_INIT(gp->hq);
66 SLIST_INIT(gp->ecq);
67 SLIST_INSERT_HEAD(gp
422 v_end(GS *gp) argument
553 attach(GS *gp) argument
[all...]
H A Dscreen.c34 screen_init(GS *gp, SCR *orig, SCR **spp) argument
44 sp->id = ++gp->id;
47 sp->gp = gp; /* All ref the GS structure. */
143 TAILQ_REMOVE(sp->gp->dq, sp, q);
201 GS *gp; local
205 gp = sp->gp;
206 TAILQ_FOREACH(next, gp->dq, q)
213 if (!TAILQ_EMPTY(gp
[all...]
/freebsd-current/sys/geom/
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
243 g_conf_geom(struct sbuf *sb, struct g_geom *gp) argument
269 g_conf_matchgp(struct g_geom *gp, struct g_geom **gps) argument
284 struct g_geom *gp; local
[all...]
H A Dgeom_subr.c127 struct g_geom *gp; local
171 LIST_FOREACH(gp, &mp2->geom, geom) {
172 LIST_FOREACH(pp, &gp->provider, provider) {
183 struct g_geom *gp; local
192 LIST_FOREACH(gp, &mp->geom, geom) {
194 LIST_FOREACH(pp, &gp->provider, provider)
199 LIST_FOREACH(cp, &gp->consumer, consumer)
205 if (gp->flags & G_GEOM_WITHER) {
223 LIST_FOREACH(gp, &mp->geom, geom) {
224 error = mp->destroy_geom(NULL, mp, gp);
304 struct g_geom *gp; local
373 struct g_geom *gp; local
408 g_destroy_geom(struct g_geom *gp) argument
431 g_wither_geom(struct g_geom *gp, int error) argument
463 g_wither_geom_close(struct g_geom *gp, int error) argument
484 struct g_geom *gp, *gp2; local
518 g_new_consumer(struct g_geom *gp) argument
542 struct g_geom *gp; local
598 g_new_providerf(struct g_geom *gp, const char *fmt, ...) argument
679 struct g_geom *gp; local
762 struct g_geom *gp; local
789 struct g_geom *gp; local
834 redo_rank(struct g_geom *gp) argument
944 struct g_geom *gp; local
1172 struct g_geom *gp; local
1354 struct g_geom *gp; local
1417 geom_flags_to_string(struct g_geom *gp, char *str, size_t size) argument
1503 db_show_geom_geom(int indent, struct g_geom *gp) argument
1547 struct g_geom *gp; local
[all...]
H A Dgeom_slice.c72 g_slice_free(struct g_geom *gp) argument
76 gsp = gp->softc;
77 gp->softc = NULL;
97 struct g_geom *gp; local
103 gp = pp->geom;
104 cp = LIST_FIRST(&gp->consumer);
106 gsp = gp->softc;
139 if (error == 0 && (gp->flags & G_GEOM_WITHER) != 0 &&
141 g_slice_free(gp);
157 struct g_geom *gp; local
214 struct g_geom *gp; local
326 g_slice_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp, struct g_consumer *cp, struct g_provider *pp) argument
351 g_slice_config(struct g_geom *gp, u_int idx, int how, off_t offset, off_t length, u_int sectorsize, const char *fmt, ...) argument
445 g_slice_conf_hot(struct g_geom *gp, u_int idx, off_t offset, off_t length, int ract, int dact, int wact) argument
489 struct g_geom *gp; local
514 g_slice_destroy_geom(struct gctl_req *req, struct g_class *mp, struct g_geom *gp) argument
524 struct g_geom *gp; local
[all...]
/freebsd-current/lib/libc/riscv/gen/
H A Dmakecontext.c63 struct gpregs *gp; local
74 gp = &ucp->uc_mcontext.mc_gpregs;
79 gp->gp_a[i] = va_arg(ap, uint64_t);
83 gp->gp_sp = STACKALIGN(ucp->uc_stack.ss_sp + ucp->uc_stack.ss_size);
85 gp->gp_sepc = (__register_t)_ctx_start;
86 gp->gp_s[0] = (__register_t)func;
87 gp->gp_s[1] = (__register_t)ucp;
/freebsd-current/lib/libc/aarch64/gen/
H A Dmakecontext.c57 struct gpregs *gp; local
68 gp = &ucp->uc_mcontext.mc_gpregs;
73 gp->gp_x[i] = va_arg(ap, uint64_t);
77 gp->gp_sp = STACKALIGN(ucp->uc_stack.ss_sp + ucp->uc_stack.ss_size);
79 gp->gp_elr = (__register_t)_ctx_start;
80 gp->gp_x[19] = (__register_t)func;
81 gp->gp_x[20] = (__register_t)ucp;
/freebsd-current/sys/geom/uzip/
H A Dg_uzip.c145 g_uzip_softc_free(struct g_geom *gp) argument
147 struct g_uzip_softc *sc = gp->softc;
150 gp->name, sc->req_total, sc->req_cached));
167 gp->softc = NULL;
171 g_uzip_cached(struct g_geom *gp, struct bio *bp) argument
177 sc = gp->softc;
192 "from cache\n", __func__, gp->name, bp, (intmax_t)ofs,
221 g_uzip_request(struct g_geom *gp, struct bio *bp) argument
230 if (g_uzip_cached(gp, bp) != 0)
233 sc = gp
325 struct g_geom *gp; local
353 struct g_geom *gp; local
459 struct g_geom *gp; local
475 struct g_geom *gp; local
507 struct g_geom *gp; local
535 struct g_geom *gp; local
560 g_uzip_parse_toc(struct g_uzip_softc *sc, struct g_provider *pp, struct g_geom *gp) argument
675 struct g_geom *gp; local
951 g_uzip_destroy_geom(struct gctl_req *req, struct g_class *mp, struct g_geom *gp) argument
[all...]
/freebsd-current/sys/powerpc/mikrotik/
H A Drb_led.c74 cell_t gp[2]; local
85 if (OF_getprop(node, "user_led", gp, sizeof(gp)) <= 0)
104 cell_t gp[2]; local
109 if (OF_getprop(node, "user_led", gp, sizeof(gp)) <= 0)
112 sc->sc_gpio = OF_device_from_xref(gp[0]);
117 sc->sc_ledpin = gp[1];
/freebsd-current/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);
119 struct g_geom *gp)
124 if (gp == NULL)
126 pp = LIST_FIRST(&gp->provider);
132 g_wither_geom(gp, ENXI
118 g_zero_destroy_geom(struct gctl_req *req __unused, struct g_class *mp __unused, struct g_geom *gp) argument
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_trampoline_mips64.S27 sd $gp, 128($sp)
45 lui $gp, %hi(%neg(%gp_rel(__xray_FunctionEntry)))
46 daddu $gp, $gp, $t9
47 daddiu $gp ,$gp, %lo(%neg(%gp_rel(__xray_FunctionEntry)))
78 ld $gp, 128($sp)
97 sd $gp, 48($sp)
105 lui $gp, %hi(%neg(%gp_rel(__xray_FunctionExit)))
106 daddu $gp,
[all...]
/freebsd-current/sys/geom/multipath/
H A Dg_multipath.c125 g_multipath_good(struct g_geom *gp) argument
130 LIST_FOREACH(cp, &gp->consumer, consumer) {
142 struct g_geom *gp; local
144 gp = cp->geom;
145 sc = gp->softc;
147 if (g_multipath_good(gp) == 0 && sc->sc_ndisks > 0) {
148 LIST_FOREACH(lcp, &gp->consumer, consumer) {
165 LIST_FOREACH(lcp, &gp->consumer, consumer) {
181 g_multipath_choose(struct g_geom *gp, struct bio *bp) argument
186 sc = gp
207 struct g_geom *gp; local
268 struct g_geom *gp; local
341 struct g_geom *gp; local
409 struct g_geom *gp; local
489 struct g_geom *gp; local
536 struct g_geom *gp; local
580 g_multipath_add_disk(struct g_geom *gp, struct g_provider *pp) argument
665 g_multipath_destroy(struct g_geom *gp) argument
705 g_multipath_destroy_geom(struct gctl_req *req, struct g_class *mp, struct g_geom *gp) argument
713 g_multipath_rotate(struct g_geom *gp) argument
819 struct g_geom *gp, *gp1; local
948 struct g_geom *gp; local
1011 struct g_geom *gp; local
1083 struct g_geom *gp; local
1110 struct g_geom *gp; local
1170 struct g_geom *gp; local
1220 struct g_geom *gp; local
1274 struct g_geom *gp; local
1330 struct g_geom *gp; local
1346 struct g_geom *gp; local
1370 struct g_geom *gp; local
1420 struct g_geom *gp; local
1446 struct g_geom *gp; local
1527 g_multipath_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp, struct g_consumer *cp, struct g_provider *pp) argument
[all...]
/freebsd-current/sys/geom/label/
H A Dg_label.c60 struct g_geom *gp);
61 static int g_label_destroy(struct g_geom *gp, boolean_t force);
130 struct g_geom *gp __unused)
225 struct g_geom *gp; local
240 gp = NULL;
247 LIST_FOREACH(gp, &mp->geom, geom) {
248 pp2 = LIST_FIRST(&gp->provider);
263 gp = g_slice_new(mp, 1, pp, &cp, NULL, 0, NULL);
264 if (gp == NULL) {
270 gp
281 g_label_destroy(struct g_geom *gp, boolean_t force) argument
382 struct g_geom *gp; local
495 struct g_geom *gp; local
513 struct g_geom *gp; local
[all...]
/freebsd-current/usr.bin/mail/
H A Dvars.c149 struct group *gp; local
156 for (gp = gh->g_list; gp != NULL; gp = gp->ge_link)
157 printf(" %s", gp->ge_name);
/freebsd-current/contrib/nvi/ex/
H A Dex_display.c86 if (SLIST_EMPTY(sp->gp->cutq) && sp->gp->dcbp == NULL) {
92 SLIST_FOREACH(cbp, sp->gp->cutq, q) {
101 SLIST_FOREACH(cbp, sp->gp->cutq, q) {
110 if ((cbp = sp->gp->dcbp) != NULL)
123 GS *gp; local
127 gp = sp->gp;
/freebsd-current/sys/riscv/include/
H A Dreg.h43 __uint64_t gp; /* global pointer */ member in struct:reg

Completed in 167 milliseconds

123456789