Searched refs:gp (Results 101 - 125 of 203) sorted by relevance

123456789

/freebsd-current/usr.bin/showmount/
H A Dshowmount.c346 register struct grouplist *gp; local
364 gp = (struct grouplist *)malloc(sizeof(struct grouplist));
365 if (gp == NULL)
367 strp = gp->gr_name;
370 gp->gr_next = ep->ex_groups;
371 ep->ex_groups = gp;
/freebsd-current/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_partition_tbl.c366 struct ggeom *gp; local
371 LIST_FOREACH(gp, &classp->lg_geom, lg_geom) {
373 if (strcmp(gp->lg_name, disk_dev_name) != 0)
379 LIST_FOREACH(pp, &gp->lg_provider, lg_provider) {
416 struct ggeom *gp; local
419 LIST_FOREACH(gp, &classp->lg_geom, lg_geom) {
424 if (strncmp(gp->lg_name, disk_dev_name,
428 LIST_FOREACH(pp, &gp->lg_provider, lg_provider) {
/freebsd-current/lib/libthread_db/arch/riscv/
H A Dlibpthread_md.c53 mc->mc_gpregs.gp_gp = r->gp;
71 r->gp = mc->mc_gpregs.gp_gp;
/freebsd-current/sys/geom/
H A Dgeom_dev.c216 struct g_geom *gp; local
222 gp = cp->geom;
224 g_trace(G_T_TOPOLOGY, "g_dev_destroy(%p(%s))", cp, gp->name);
225 snprintf(buf, sizeof(buf), "cdev=%s", gp->name);
233 g_destroy_geom(gp);
241 struct g_geom *gp; local
244 LIST_FOREACH(gp, &g_dev_class.geom, geom) {
245 printf("%s%s", p, gp->name);
347 struct g_geom *gp; local
358 gp
[all...]
H A Dgeom.h65 typedef int g_ctl_destroy_geom_t (struct gctl_req *, struct g_class *cp, struct g_geom *gp);
66 typedef int g_ctl_config_geom_t (struct gctl_req *, struct g_geom *gp, const char *verb);
292 struct g_consumer * g_new_consumer(struct g_geom *gp);
295 struct g_provider * g_new_providerf(struct g_geom *gp, const char *fmt, ...)
305 void g_wither_geom(struct g_geom *gp, int error);
306 void g_wither_geom_close(struct g_geom *gp, int error);
/freebsd-current/sys/geom/vinum/
H A Dgeom_vinum_create.c52 struct g_geom *gp; local
61 gp = sc->geom;
93 cp = g_new_consumer(gp);
308 gv_concat(struct g_geom *gp, struct gctl_req *req) argument
318 sc = gp->softc;
373 gv_mirror(struct g_geom *gp, struct gctl_req *req) argument
383 sc = gp->softc;
465 gv_raid5(struct g_geom *gp, struct gctl_req *req) argument
476 sc = gp->softc;
543 gv_stripe(struct g_geom *gp, struc argument
[all...]
H A Dgeom_vinum_move.c44 gv_move(struct g_geom *gp, struct gctl_req *req) argument
52 sc = gp->softc;
/freebsd-current/contrib/nvi/cl/
H A Dcl_read.c148 GS *gp; local
153 gp = sp->gp;
223 if (F_ISSET(gp, G_SCRWIN)) {
H A Dcl_term.c171 SLIST_FOREACH(qp, sp->gp->seqq, q)
185 cl_term_end(GS *gp) argument
190 SLIST_FOREACH_SAFE(qp, gp->seqq, q, nqp)
192 if (qp == SLIST_FIRST(gp->seqq))
193 SLIST_REMOVE_HEAD(gp->seqq, q);
277 F_SET(sp->gp, G_SRESTART);
/freebsd-current/contrib/nvi/ex/
H A Dex_file.c71 (void)sp->gp->scr_rename(sp, sp->frp->name, 1);
H A Dex_args.c135 if (screen_init(sp->gp, sp, &new))
261 GS *gp; local
270 gp = sp->gp;
/freebsd-current/contrib/nvi/common/
H A Dcut.h69 SLIST_FOREACH(cbp, sp->gp->cutq, q) \
H A Dmem.h62 GS *L__gp = (sp) == NULL ? NULL : (sp)->gp; \
80 GS *L__gp = (sp) == NULL ? NULL : (sp)->gp; \
103 GS *L__gp = (sp) == NULL ? NULL : (sp)->gp; \
119 GS *L__gp = (sp) == NULL ? NULL : (sp)->gp; \
136 GS *L__gp = (sp) == NULL ? NULL : (sp)->gp; \
H A Dexf.c60 GS *gp; local
72 gp = sp->gp;
74 TAILQ_FOREACH_SAFE(frp, gp->frefq, q, tfrp) {
76 TAILQ_REMOVE(gp->frefq, frp, q);
103 TAILQ_INSERT_TAIL(gp->frefq, frp, q);
245 oinfo.flags = F_ISSET(sp->gp, G_SNAPSHOT) ? R_SNAPSHOT : 0;
522 GS *gp; local
553 gp = sp->gp;
[all...]
H A Drecover.c199 sp->gp->scr_busy(sp,
204 sp->gp->scr_busy(sp, NULL, BUSY_OFF);
207 sp->gp->scr_busy(sp, NULL, BUSY_OFF);
285 sp->gp->scr_busy(sp,
294 sp->gp->scr_busy(sp, NULL, BUSY_OFF);
315 GS *gp; local
336 gp = sp->gp;
/freebsd-current/usr.sbin/bsdinstall/partedit/
H A Dpartedit.h72 intmax_t gpart_max_free(struct ggeom *gp, intmax_t *start);
/freebsd-current/sys/geom/mirror/
H A Dg_mirror_ctl.c52 struct g_geom *gp; local
55 LIST_FOREACH(gp, &mp->geom, geom) {
56 sc = gp->softc;
61 if (strcmp(gp->name, name) == 0 ||
366 struct g_geom *gp; local
436 gp = g_new_geomf(mp, "%s", md.md_name);
437 gp->orphan = g_mirror_create_orphan;
438 cp = g_new_consumer(gp);
445 g_destroy_geom(gp);
475 g_destroy_geom(gp);
[all...]
H A Dg_mirror.c116 struct g_geom *gp, struct g_consumer *cp, struct g_provider *pp);
569 struct g_geom *gp; local
575 gp = sc->sc_geom;
604 G_MIRROR_DEBUG(0, "Device %s destroyed.", gp->name);
605 g_wither_geom(gp, ENXIO);
1878 struct g_geom *gp; local
1882 gp = sc->sc_geom;
1883 if (gp->softc == NULL)
1887 LIST_FOREACH(cp, &gp->consumer, consumer) {
1891 gp
3139 struct g_geom *gp; local
3286 struct g_geom *gp; local
3399 g_mirror_destroy_geom(struct gctl_req *req __unused, struct g_class *mp __unused, struct g_geom *gp) argument
3417 g_mirror_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp, struct g_consumer *cp, struct g_provider *pp) argument
3545 struct g_geom *gp, *gp2; local
[all...]
/freebsd-current/crypto/openssl/ms/
H A Duplink-ia64.pl33 addl loc2=\@ltoff(OPENSSL_UplinkTable#),gp };;
41 { .mii; ld8 gp=[r31]
/freebsd-current/sys/riscv/riscv/
H A Dlocore.S67 lla gp, __global_pointer$
103 lla gp, __global_pointer$
214 lla gp, __global_pointer$
347 lla gp, __global_pointer$
/freebsd-current/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_mman.cpp87 GlobalProc *gp = global_proc(); local
105 gp->mtx.Lock();
106 ProcWire(gp->proc, thr);
110 GlobalProc *gp = global_proc(); local
112 if (thr->proc() != gp->proc)
114 ProcUnwire(gp->proc, thr);
115 gp->mtx.Unlock();
/freebsd-current/sys/dev/nvdimm/
H A Dnvdimm_spa.c534 struct g_geom *gp; local
538 gp = NULL;
554 gp = g_new_geomf(&nvdimm_spa_g_class, "%s", name);
555 gp->softc = sc;
556 sc->spa_p = g_new_providerf(gp, "%s", name);
567 return (gp);
599 struct g_geom *gp)
603 sc = gp->softc;
611 g_wither_geom(gp, ENXIO);
598 nvdimm_spa_g_destroy_geom(struct gctl_req *req, struct g_class *cp, struct g_geom *gp) argument
/freebsd-current/sys/geom/raid3/
H A Dg_raid3_ctl.c50 struct g_geom *gp; local
53 LIST_FOREACH(gp, &mp->geom, geom) {
54 sc = gp->softc;
59 if (strcmp(gp->name, name) == 0 ||
398 struct g_geom *gp; local
428 gp = g_new_geomf(mp, "raid3:insert");
429 gp->orphan = g_raid3_ctl_insert_orphan;
430 cp = g_new_consumer(gp);
521 g_destroy_geom(gp);
H A Dg_raid3.c105 struct g_geom *gp);
126 struct g_geom *gp, struct g_consumer *cp, struct g_provider *pp);
645 struct g_geom *gp; local
652 gp = sc->sc_geom;
682 G_RAID3_DEBUG(0, "Device %s destroyed.", gp->name);
683 g_wither_geom(gp, ENXIO);
1984 struct g_geom *gp; local
1988 gp = sc->sc_geom;
1989 if (gp->softc == NULL)
1991 LIST_FOREACH(cp, &gp
3154 struct g_geom *gp; local
3334 struct g_geom *gp; local
3415 g_raid3_destroy_geom(struct gctl_req *req __unused, struct g_class *mp __unused, struct g_geom *gp) argument
3433 g_raid3_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp, struct g_consumer *cp, struct g_provider *pp) argument
3573 struct g_geom *gp, *gp2; local
[all...]
/freebsd-current/usr.bin/mail/
H A Dnames.c484 struct group *gp; local
495 for (gp = gh->g_list; gp != NULL; gp = gp->ge_link) {
496 cp = gp->ge_name;
511 if (gp == gh->g_list && gp->ge_link == NULL)

Completed in 173 milliseconds

123456789