Searched refs:gp (Results 76 - 100 of 203) sorted by relevance

123456789

/freebsd-current/contrib/nvi/vi/
H A Dvi.c62 GS *gp; local
71 gp = sp->gp;
84 (void)sp->gp->scr_rename(sp, sp->frp->name, 1);
127 if (EXCMD_RUNNING(gp)) {
231 if (F_ISSET(gp, G_TMP_INUSE)) {
232 F_CLR(gp, G_TMP_INUSE);
259 (void)sp->gp->scr_rename(sp, sp->frp->name, 1);
379 (void)sp->gp->scr_rename(sp, sp->frp->name, 1);
392 (void)sp->gp
929 GS *gp; local
999 GS *gp; local
[all...]
H A Dv_search.c63 GS *gp; local
115 gp = sp->gp;
116 gp->excmd.cp = tp->lb;
117 gp->excmd.clen = tp->len;
118 F_INIT(&gp->excmd, E_VISEARCH);
140 F_SET(&gp->excmd, E_SEARCH_WMSG);
170 cmdp = &gp->excmd;
180 gp->excmd.clen = 0;
/freebsd-current/contrib/nvi/ex/
H A Dex_init.c178 if (EXCMD_RUNNING(sp->gp))
222 if (EXCMD_RUNNING(sp->gp))
247 if (EXCMD_RUNNING(sp->gp))
282 GS *gp; local
285 gp = sp->gp;
286 if (EXCMD_RUNNING(gp)) {
288 SLIST_INSERT_HEAD(gp->ecq, ecp, q);
290 ecp = &gp->excmd;
H A Dex_append.c74 GS *gp; local
82 gp = sp->gp;
203 if (gp->scr_screen(sp, SC_EX)) {
H A Dex_map.c78 return (sp->gp->scr_fmap == NULL ? 0 :
79 sp->gp->scr_fmap(sp, stype, input, cmdp->argv[0]->len,
H A Dex_write.c256 (void)sp->gp->scr_rename(sp, sp->frp->name, 1);
284 GS *gp; local
291 gp = sp->gp;
325 gp->scr_busy(sp, msg, msg == NULL ?
363 gp->scr_busy(sp, NULL, BUSY_OFF);
H A Dex_txt.c56 GS *gp; local
98 gp = sp->gp;
99 if (F_ISSET(gp, G_SCRIPTED))
302 leftmargin: (void)gp->scr_ex_adjust(sp, EX_TERM_CE);
317 (void)gp->scr_ex_adjust(sp, EX_TERM_CE);
H A Dex_script.c182 F_SET(sp->gp, G_SCRWIN);
374 GS *gp; local
379 gp = sp->gp;
387 TAILQ_FOREACH(sp, gp->dq, q)
406 TAILQ_FOREACH(sp, gp->dq, q)
615 GS *gp; local
617 gp = sp->gp;
618 TAILQ_FOREACH(sp, gp
[all...]
H A Dex_usage.c137 GS *gp; local
141 gp = sp->gp;
/freebsd-current/sys/geom/linux_lvm/
H A Dg_linux_lvm.c97 struct g_geom *gp; local
101 gp = pp->geom;
102 KASSERT(gp != NULL, ("%s: NULL geom", __func__));
103 vg = gp->softc;
129 LIST_FOREACH(c, &gp->consumer, consumer) {
136 LIST_FOREACH(c2, &gp->consumer, consumer) {
357 struct g_geom *gp; local
360 gp = cp->geom;
361 vg = gp->softc;
372 struct g_geom *gp; local
396 struct g_geom *gp; local
530 struct g_geom *gp; local
582 struct g_geom *gp; local
606 g_llvm_destroy_geom(struct gctl_req *req __unused, struct g_class *mp __unused, struct g_geom *gp) argument
[all...]
/freebsd-current/sys/contrib/openzfs/module/lua/setjmp/
H A Dsetjmp_mips.S51 * jmp_buf is in a0. We need to save s0-s8, sp, gp, and ra in it.
57 REG_S gp, 2*SZREG(a0)
79 * We need to restore s0-s8, sp, gp, and ra from the jmp_buf.
88 REG_L gp, 2*SZREG(a0)
/freebsd-current/sys/geom/vinum/
H A Dgeom_vinum.h33 void gv_concat(struct g_geom *gp, struct gctl_req *);
34 void gv_mirror(struct g_geom *gp, struct gctl_req *);
35 void gv_stripe(struct g_geom *gp, struct gctl_req *);
36 void gv_raid5(struct g_geom *gp, struct gctl_req *);
/freebsd-current/usr.sbin/bsdinstall/partedit/
H A Dscripted.c44 struct ggeom *gp; local
47 LIST_FOREACH(gp, &classp->lg_geom, lg_geom) {
48 if (LIST_EMPTY(&gp->lg_provider))
51 LIST_FOREACH(pp, &gp->lg_provider, lg_provider)
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c213 struct g_geom *gp; local
236 LIST_FOREACH(gp, &zfs_vdev_class.geom, geom) {
237 if (gp->flags & G_GEOM_WITHER)
239 if (strcmp(gp->name, "zfs::vdev") != 0)
243 if (gp == NULL) {
244 gp = g_new_geomf(&zfs_vdev_class, "zfs::vdev");
245 gp->orphan = vdev_geom_orphan;
246 gp->attrchanged = vdev_geom_attrchanged;
247 gp->resize = vdev_geom_resize;
248 cp = g_new_consumer(gp);
310 struct g_geom *gp; local
594 struct g_geom *gp; local
711 struct g_geom *gp; local
[all...]
/freebsd-current/contrib/nvi/common/
H A Dkey.h150 #define KEYS_WAITING(sp) ((sp)->gp->i_cnt != 0)
153 F_ISSET(&sp->gp->i_event[sp->gp->i_next].e_ch, CH_MAPPED))
194 (F_ISSET((sp)->gp, G_INTERRUPTED) || \
196 F_ISSET((sp)->gp, G_INTERRUPTED)))
198 F_CLR((sp)->gp, G_INTERRUPTED)
/freebsd-current/libexec/revnetgroup/
H A Dparse_netgroup.c136 struct netgrp *gp, *ogp; local
151 gp = grouphead.gr;
152 while (gp) {
153 ogp = gp;
154 gp = gp->ng_next;
/freebsd-current/lib/geom/mirror/
H A Dgeom_mirror.c421 struct ggeom *gp; local
423 LIST_FOREACH(gp, &classp->lg_geom, lg_geom) {
424 if (strcmp(gp->lg_name, name) == 0)
425 return (gp);
435 struct ggeom *gp; local
458 gp = find_geom(classp, g);
459 if (gp == NULL)
461 pp = LIST_FIRST(&gp->lg_provider);
472 LIST_FOREACH(cp, &gp->lg_consumer, lg_consumer) {
476 LIST_FOREACH(cp, &gp
[all...]
/freebsd-current/lib/libefivar/
H A Defivar-dp-xlate.c75 struct ggeom *gp; local
94 LIST_FOREACH(gp, &classp->lg_geom, lg_geom) {
95 LIST_FOREACH(pp, &gp->lg_provider, lg_provider) {
111 struct ggeom *gp; local
115 LIST_FOREACH(gp, &classp->lg_geom, lg_geom) {
116 LIST_FOREACH(pp, &gp->lg_provider, lg_provider) {
138 struct ggeom *gp; local
252 LIST_FOREACH(gp, &glabel->lg_geom, lg_geom) {
253 if (strcmp(gp->lg_name, provider->lg_name) != 0) {
256 LIST_FOREACH(pp, &gp
[all...]
/freebsd-current/contrib/nvi/cl/
H A Dcl_funcs.c520 GS *gp; local
526 gp = sp->gp;
603 GS *gp; local
610 gp = sp->gp;
620 strncmp(OG_STR(gp, GO_TERM), "xterm", 5))
637 rename: cl_setname(gp, name);
642 cl_setname(gp, clp->oname);
656 cl_setname(GS *gp, cha argument
704 GS *gp; local
[all...]
/freebsd-current/sys/geom/gate/
H A Dg_gate.c107 struct g_geom *gp; local
123 gp = pp->geom;
160 G_GATE_DEBUG(1, "Device %s destroyed.", gp->name);
161 gp->softc = NULL;
162 g_wither_geom(gp, ENXIO);
406 struct g_geom *gp; local
410 gp = cp->geom;
411 sc = gp->softc;
422 g_gate_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp, argument
427 sc = gp
465 struct g_geom *gp; local
[all...]
/freebsd-current/contrib/ofed/libibverbs/
H A Dmemory.c287 struct ibv_mem_node *parent, *gp, *uncle; local
291 gp = node->parent->parent;
293 if (parent == gp->left) {
294 uncle = gp->right;
299 gp->color = IBV_RED;
301 node = gp;
310 gp->color = IBV_RED;
312 __mm_rotate_right(gp);
315 uncle = gp->left;
320 gp
[all...]
/freebsd-current/sys/geom/journal/
H A Dg_journal.c2016 struct g_geom *gp; local
2058 gp = sc->sc_geom;
2060 pp = g_new_providerf(gp, "%s.journal", sc->sc_name);
2112 "thread for %s.", gp->name);
2204 struct g_geom *gp; local
2217 LIST_FOREACH(gp, &mp->geom, geom) {
2218 sc = gp->softc;
2224 if (gp == NULL)
2251 gp = g_new_geomf(mp, "gjournal %u", sc->sc_id);
2252 gp
2385 struct g_geom *gp; local
2471 struct g_geom *gp; local
2512 struct g_geom *gp; local
2618 g_journal_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp, struct g_consumer *cp, struct g_provider *pp) argument
2662 struct g_geom *gp, *gp2; local
2688 struct g_geom *gp; local
2825 struct g_geom *gp; local
[all...]
/freebsd-current/lib/libgeom/
H A Dgeom_util.c220 struct ggeom *gp; local
234 LIST_FOREACH(gp, &mp->lg_geom, lg_geom) {
235 LIST_FOREACH(pp, &gp->lg_provider, lg_provider) {
/freebsd-current/sys/geom/
H A Dgeom_ctl.c467 struct g_geom *gp; local
475 LIST_FOREACH(gp, &mp->geom, geom)
476 if (!strcmp(p, gp->name))
477 return (gp);
507 struct g_geom *gp, **gps; local
515 LIST_FOREACH(gp, &mp->geom, geom) {
516 if (name && strcmp(gp->name, name) != 0)
520 LIST_FOREACH(cp, &gp->consumer, consumer)
526 LIST_FOREACH(gp, &mp->geom, geom) {
527 if (name && strcmp(gp
[all...]
/freebsd-current/sys/contrib/openzfs/lib/libzutil/os/freebsd/
H A Dzutil_import_os.c192 struct ggeom *gp; local
216 LIST_FOREACH(gp, &mp->lg_geom, lg_geom) {
217 LIST_FOREACH(pp, &gp->lg_provider, lg_provider) {

Completed in 147 milliseconds

123456789