Searched refs:gp (Results 51 - 75 of 203) sorted by relevance

123456789

/freebsd-current/contrib/nvi/common/
H A Dcut.c113 cbp = &sp->gp->dcb_store;
124 SLIST_INSERT_HEAD(sp->gp->cutq, cbp, q);
159 sp->gp->dcbp = cbp; /* Repoint the default buffer on each pass. */
168 cbp = &sp->gp->dcb_store;
190 SLIST_FOREACH(cbp, sp->gp->cutq, q) {
198 if (cbp == SLIST_FIRST(sp->gp->cutq))
199 SLIST_REMOVE_HEAD(sp->gp->cutq, q);
259 cut_close(GS *gp) argument
264 while ((cbp = SLIST_FIRST(gp->cutq)) != NULL) {
267 SLIST_REMOVE_HEAD(gp
[all...]
H A Dseq.c109 SLIST_INSERT_HEAD(sp->gp->seqq, qp, q);
116 bit_set(sp->gp->seqb, qp->input[0]);
133 SLIST_FOREACH(qp, sp->gp->seqq, q) {
139 if (qp == SLIST_FIRST(sp->gp->seqq))
140 SLIST_REMOVE_HEAD(sp->gp->seqq, q);
196 for (qp = SLIST_FIRST(sp->gp->seqq); qp != NULL;
257 seq_close(GS *gp) argument
261 while ((qp = SLIST_FIRST(gp->seqq)) != NULL) {
262 SLIST_REMOVE_HEAD(gp->seqq, q);
277 GS *gp; local
[all...]
H A Dgs.h85 #define EXCMD_RUNNING(gp) (SLIST_FIRST((gp)->ecq)->clen != 0)
114 sp->gp->cname[(unsigned char)ch].len : v_key_len(sp, ch))
117 sp->gp->cname[(unsigned char)ch].name : v_key_name(sp, ch))
125 sp->gp->special_key[(unsigned char)ch] : v_key_val(sp,ch))
/freebsd-current/contrib/jemalloc/include/jemalloc/internal/
H A Dbitmap.h208 bitmap_t *gp; local
214 gp = &bitmap[goff];
215 g = *gp;
218 *gp = g;
227 gp = &bitmap[binfo->levels[i].group_offset + goff];
228 g = *gp;
231 *gp = g;
333 bitmap_t *gp; local
340 gp = &bitmap[goff];
341 g = *gp;
[all...]
/freebsd-current/sbin/ggate/shared/
H A Dggate.c323 get_conf(struct ggeom *gp, const char *name) argument
327 LIST_FOREACH(conf, &gp->lg_config, lg_config) {
335 show_config(struct ggeom *gp, int verbose) argument
340 pp = LIST_FIRST(&gp->lg_provider);
348 printf(" info: %s\n", get_conf(gp, "info"));
349 printf(" access: %s\n", get_conf(gp, "access"));
350 printf(" timeout: %s\n", get_conf(gp, "timeout"));
351 printf("queue_count: %s\n", get_conf(gp, "queue_count"));
352 printf(" queue_size: %s\n", get_conf(gp, "queue_size"));
353 printf(" references: %s\n", get_conf(gp, "re
367 struct ggeom *gp; local
[all...]
/freebsd-current/sys/geom/eli/
H A Dg_eli.c210 struct g_geom *gp);
765 struct g_geom *gp; local
772 gp = g_new_geomf(mp, "eli:taste");
773 gp->start = g_eli_start;
774 gp->access = g_std_access;
780 gp->orphan = g_eli_orphan_spoil_assert;
781 gp->spoiled = g_eli_orphan_spoil_assert;
782 cp = g_new_consumer(gp);
807 g_destroy_geom(gp);
827 struct g_geom *gp; local
844 struct g_geom *gp; local
1009 struct g_geom *gp; local
1197 struct g_geom *gp; local
1243 g_eli_destroy_geom(struct gctl_req *req __unused, struct g_class *mp __unused, struct g_geom *gp) argument
1324 struct g_geom *gp; local
1502 g_eli_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp, struct g_consumer *cp, struct g_provider *pp) argument
1590 struct g_geom *gp, *gp2; local
[all...]
/freebsd-current/sys/geom/
H A Dgeom_disk.c179 struct g_geom *gp; local
182 gp = bp->bio_to->geom;
184 gp->name, (intmax_t)gkd->offset, (intmax_t)gkd->length);
586 g_disk_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp, struct g_consumer *cp, struct g_provider *pp) argument
594 sc = gp->softc;
668 struct g_geom *gp; local
676 gp = dp->d_geom;
678 if (dp->d_destroyed || gp == NULL)
681 LIST_FOREACH(pp, &gp->provider, provider) {
693 struct g_geom *gp; local
821 struct g_geom *gp; local
953 struct g_geom *gp; local
994 ("geom %p has more than one provider", gp)); local
1002 struct g_geom *gp = dp->d_geom; local
1018 struct g_geom *gp = dp->d_geom; local
1026 ("geom %p has more than one provider", gp)); local
1034 struct g_geom *gp = dp->d_geom; local
1042 ("geom %p has more than one provider", gp)); local
1061 struct g_geom *gp; local
[all...]
/freebsd-current/contrib/nvi/ex/
H A Dex_read.c48 GS *gp; local
55 gp = sp->gp;
154 if (gp->scr_screen(sp, SC_EX)) {
227 (void)sp->gp->scr_rename(sp, sp->frp->name, 1);
295 GS *gp; local
304 gp = sp->gp;
319 gp->scr_busy(sp, p,
354 gp
[all...]
H A Dex_stop.c41 if (sp->gp->scr_suspend(sp, &allowed))
H A Dex_abbrev.c86 F_SET(sp->gp, G_ABBREV);
102 if (!F_ISSET(sp->gp, G_ABBREV) ||
H A Dex.c49 GS *gp; local
56 gp = sp->gp;
64 while ((mp = SLIST_FIRST(gp->msgq)) != NULL) {
65 gp->scr_msg(sp, mp->mtype, mp->buf, mp->len);
66 SLIST_REMOVE_HEAD(gp->msgq, q);
72 if (F_ISSET(gp, G_SCRIPTED)) {
73 gp->excmd.if_lno = 1;
74 gp->excmd.if_name = "script";
85 for (;; ++gp
198 GS *gp; local
1631 GS *gp; local
1831 GS *gp; local
2076 GS *gp; local
2172 GS *gp; local
[all...]
H A Dex_util.c124 GS *gp; local
126 gp = sp->gp;
128 if (gp->scr_screen(sp, SC_EX))
130 (void)gp->scr_attr(sp, SA_ALTERNATE, 0);
H A Dex_print.c90 GS *gp; local
98 gp = sp->gp;
204 GS *gp; local
209 gp = sp->gp;
323 sp->gp->scr_msg(sp, M_NONE, exp->obp, exp->obp_len);
/freebsd-current/contrib/netbsd-tests/lib/libc/ttyio/
H A Dt_ptm.c65 struct group *gp; local
97 ATF_REQUIRE_MSG((gp = getgrnam("tty")) != NULL,
99 ATF_REQUIRE_EQ_MSG(sts.st_gid, gp->gr_gid, "bad slave grid");
130 struct group *gp; local
161 ATF_REQUIRE_MSG((gp = getgrnam("tty")) != NULL,
164 ATF_REQUIRE_EQ_MSG(sts.st_gid, gp->gr_gid, "bad slave gid");
/freebsd-current/usr.sbin/bsdinstall/partedit/
H A Dpart_wizard.c106 struct ggeom *gp; local
123 LIST_FOREACH(gp, &classp->lg_geom, lg_geom) {
124 if (LIST_EMPTY(&gp->lg_provider))
127 LIST_FOREACH(pp, &gp->lg_provider, lg_provider) {
202 struct ggeom *gp; local
205 LIST_FOREACH(gp, &classp->lg_geom, lg_geom) {
206 if (LIST_EMPTY(&gp->lg_provider))
209 LIST_FOREACH(pp, &gp->lg_provider, lg_provider)
337 struct ggeom *gp; local
358 LIST_FOREACH(gp,
[all...]
H A Dpartedit.c52 static void add_geom_children(struct ggeom *gp, int recurse,
463 struct ggeom *gp; local
480 LIST_FOREACH(gp, &classp->lg_geom, lg_geom) {
481 LIST_FOREACH(gc, &gp->lg_config, lg_config) {
492 gpart_set_root(gp->lg_name, "lenovofix");
494 gpart_set_root(gp->lg_name, "active");
503 struct ggeom *gp; local
519 LIST_FOREACH(gp, &classp->lg_geom, lg_geom)
520 add_geom_children(gp, 0, &items, nitems);
527 add_geom_children(struct ggeom *gp, in argument
[all...]
/freebsd-current/contrib/nvi/vi/
H A Dvs_smap.c129 (void)sp->gp->scr_cursor(sp, &oldy, &oldx);
154 (void)sp->gp->scr_move(sp, oldy, oldx);
326 (void)sp->gp->scr_move(sp, p - HMAP, 0);
381 (void)sp->gp->scr_move(sp, p - HMAP, 0);
454 (void)sp->gp->scr_move(sp, p - HMAP, 0);
476 (void)sp->gp->scr_move(sp, p - HMAP, 0);
753 (void)sp->gp->scr_move(sp, 0, 0);
778 GS *gp; local
781 gp = sp->gp;
961 GS *gp; local
1011 GS *gp; local
[all...]
/freebsd-current/sys/geom/virstor/
H A Dg_virstor.c439 struct g_geom *gp; local
441 LIST_FOREACH(gp, &cp->geom, geom) {
442 if (strcmp(name, gp->name) == 0)
443 return (gp->softc);
675 struct g_geom *gp)
680 sc = gp->softc;
684 LOG_MSG(LVL_DEBUG, "%s called for %s, sc=%p", __func__, gp->name,
685 gp->softc);
764 struct g_geom *gp; local
774 gp
674 g_virstor_destroy_geom(struct gctl_req *req __unused, struct g_class *mp, struct g_geom *gp) argument
918 struct g_geom *gp; local
1053 struct g_geom *gp; local
1126 struct g_geom *gp; local
1378 struct g_geom *gp; local
1402 struct g_geom *gp; local
1451 g_virstor_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp, struct g_consumer *cp, struct g_provider *pp) argument
[all...]
/freebsd-current/sys/contrib/dev/iwlwifi/
H A Diwl-eeprom-read.c73 u32 gp = iwl_read32(trans, CSR_EEPROM_GP) & CSR_EEPROM_GP_VALID_MSK; local
75 IWL_DEBUG_EEPROM(trans->dev, "EEPROM signature=0x%08x\n", gp);
77 switch (gp) {
81 gp);
88 IWL_ERR(trans, "OTP with bad signature: 0x%08x\n", gp);
96 nvm_is_otp ? "OTP" : "EEPROM", gp);
294 u32 gp = iwl_read32(trans, CSR_EEPROM_GP); local
318 IWL_ERR(trans, "EEPROM not found, EEPROM_GP=0x%08x\n", gp);
/freebsd-current/lib/csu/riscv/
H A Dcrt1_s.S46 lla gp, __global_pointer$
/freebsd-current/sys/geom/raid/
H A Dg_raid_ctl.c51 struct g_geom *gp; local
56 LIST_FOREACH(gp, &mp->geom, geom) {
57 sc = gp->softc;
67 LIST_FOREACH(gp, &mp->geom, geom) {
68 sc = gp->softc;
73 LIST_FOREACH(pp, &gp->provider, provider) {
83 LIST_FOREACH(gp, &mp->geom, geom) {
84 sc = gp->softc;
/freebsd-current/contrib/sendmail/libsmutil/
H A Dsafefile.c227 register char **gp; local
229 for (gp = gr->gr_mem; *gp != NULL; gp++)
230 if (strcmp(*gp, user) == 0)
232 if (*gp == NULL)
340 register char **gp; local
342 for (gp = gr->gr_mem; *gp != NULL; gp
645 register char **gp; local
[all...]
/freebsd-current/sys/dev/ofw/
H A Dofw_disk.c138 struct g_geom *gp; local
176 gp = g_new_geomf(&g_ofwd_class, "ofwd0");
177 gp->softc = sc;
178 pp = g_new_providerf(gp, "ofwd0");
181 sc->ofwd_gp = gp;
/freebsd-current/sys/dev/nctgpio/
H A Dnctgpio.c828 struct nct_gpio_group *gp; local
837 gp = sc->grpmap[grpnum];
838 val = superio_ldn_read(sc->dev, gp->data_ldn, ioreg);
863 struct nct_gpio_group *gp; local
873 gp = sc->grpmap[grpnum];
874 superio_ldn_write(sc->dev, gp->data_ldn, ioreg, val);
1135 struct nct_gpio_group *gp; local
1185 for (g = 0, gp = sc->nctdevp->groups; g < sc->nctdevp->ngroups; g++, gp++) {
1188 gp
[all...]
/freebsd-current/sys/geom/vinum/
H A Dgeom_vinum_list.c46 gv_list(struct g_geom *gp, struct gctl_req *req) argument
70 sc = gp->softc;
114 gv_ld(gp, req, sb);
116 gv_lv(gp, req, sb);
118 gv_lp(gp, req, sb);
120 gv_ls(gp, req, sb);
142 gv_ld(gp, req, sb);
163 gv_lv(gp, req, sb);
184 gv_lp(gp, req, sb);
205 gv_ls(gp, re
217 gv_lv(struct g_geom *gp, struct gctl_req *req, struct sbuf *sb) argument
273 gv_lp(struct g_geom *gp, struct gctl_req *req, struct sbuf *sb) argument
363 gv_ls(struct g_geom *gp, struct gctl_req *req, struct sbuf *sb) argument
438 gv_ld(struct g_geom *gp, struct gctl_req *req, struct sbuf *sb) argument
[all...]

Completed in 137 milliseconds

123456789