Searched refs:gsp (Results 1 - 15 of 15) sorted by relevance

/freebsd-11-stable/sys/geom/
H A Dgeom_slice.c60 struct g_slicer *gsp; local
62 gsp = g_malloc(sizeof *gsp, M_WAITOK | M_ZERO);
64 gsp->softc = g_malloc(scsize, M_WAITOK | M_ZERO);
66 gsp->softc = NULL;
67 gsp->slices = g_malloc(nslice * sizeof(struct g_slice),
69 gsp->nslice = nslice;
70 return (gsp);
76 struct g_slicer *gsp; local
78 gsp
104 struct g_slicer *gsp; local
163 struct g_slicer *gsp; local
220 struct g_slicer *gsp; local
331 struct g_slicer *gsp; local
357 struct g_slicer *gsp; local
450 struct g_slicer *gsp; local
528 struct g_slicer *gsp; local
[all...]
H A Dgeom_sunlabel.c124 struct g_slicer *gsp; local
133 gsp = gp->softc;
134 ms = gsp->softc;
135 gsl = &gsp->slices[bp->bio_to->index];
155 struct g_slicer *gsp; local
158 gsp = gp->softc;
159 ms = gsp->softc;
195 struct g_slicer *gsp; local
204 gsp = gp->softc;
210 h0h0.ms = gsp
248 struct g_slicer *gsp; local
266 struct g_slicer *gsp; local
[all...]
H A Dgeom_bsd.c101 struct g_slicer *gsp; local
110 gsp = gp->softc;
111 ms = gsp->softc;
168 for (u = 0; u < gsp->nslice; u++) {
207 g_bsd_try(struct g_geom *gp, struct g_slicer *gsp, struct g_consumer *cp, int secsize, struct g_bsd_softc *ms, off_t offset) argument
247 struct g_slicer *gsp; local
253 gsp = gp->softc;
254 ms = gsp->softc;
293 struct g_slicer *gsp; local
307 gsp
325 struct g_slicer *gsp; local
347 struct g_slicer *gsp; local
397 struct g_slicer *gsp; local
564 struct g_slicer *gsp; local
[all...]
H A Dgeom_mbr.c181 struct g_slicer *gsp; local
186 gsp = gp->softc;
187 ms = gsp->softc;
222 struct g_slicer *gsp; local
228 gsp = gp->softc;
229 mp = gsp->softc;
234 gsp->slices[idx].offset))
248 struct g_slicer *gsp; local
250 gsp = gp->softc;
251 mp = gsp
336 struct g_slicer *gsp; local
399 struct g_slicer *gsp; local
418 struct g_slicer *gsp; local
[all...]
H A Dgeom_pc98.c165 struct g_slicer *gsp; local
170 gsp = gp->softc;
171 ms = gsp->softc;
206 struct g_slicer *gsp; local
212 gsp = gp->softc;
213 mp = gsp->softc;
218 gsp->slices[idx].offset))
230 struct g_slicer *gsp; local
234 gsp = gp->softc;
235 mp = gsp
322 struct g_slicer *gsp; local
[all...]
H A Dgeom_map.c68 struct g_slicer *gsp; local
72 gsp = gp->softc;
73 sc = gsp->softc;
87 struct g_slicer *gsp; local
93 gsp = gp->softc;
94 sc = gsp->softc;
115 struct g_slicer *gsp; local
117 gsp = gp->softc;
118 sc = gsp->softc;
H A Dgeom_redboot.c99 struct g_slicer *gsp = gp->softc; local
100 struct g_redboot_softc *sc = gsp->softc;
113 struct g_slicer *gsp; local
119 gsp = gp->softc;
120 sc = gsp->softc;
138 struct g_slicer *gsp; local
140 gsp = gp->softc;
141 sc = gsp->softc;
/freebsd-11-stable/sys/geom/sched/
H A Dg_sched.c249 g_gsched_ref(struct g_gsched *gsp) argument
252 atomic_add_int(&gsp->gs_refs, 1);
256 g_gsched_unref(struct g_gsched *gsp) argument
259 atomic_add_int(&gsp->gs_refs, -1);
285 struct g_gsched *gsp = sc->sc_gsched; local
291 while ((bp = gsp->gs_next(sc->sc_data, 1)) != NULL)
305 struct g_gsched *gsp = sc->sc_gsched; local
313 while ((bp = gsp->gs_next(sc->sc_data, 0)) != NULL)
373 struct g_gsched *gsp; local
387 gsp
430 g_sched_hash_fini(struct g_geom *gp, struct g_hash *hp, u_long mask, struct g_gsched *gsp, void *data) argument
451 g_sched_hash_init(struct g_gsched *gsp, u_long *mask, int flags) argument
507 g_sched_remove_locked(struct g_geom *gp, struct g_gsched *gsp) argument
547 g_sched_remove(struct g_geom *gp, struct g_gsched *gsp) argument
565 struct g_gsched *gsp = NULL; local
584 g_gsched_build_names(struct g_gsched *gsp) argument
606 g_gsched_register(struct g_gsched *gsp) argument
640 struct g_gsched *gsp = parm->gup_gsp, *cur, *tmp; local
711 struct g_gsched *gsp = arg; local
976 g_sched_create(struct gctl_req *req, struct g_class *mp, struct g_provider *pp, struct g_gsched *gsp, int proxy) argument
1073 g_sched_change_algo(struct gctl_req *req, struct g_class *mp, struct g_provider *pp, struct g_gsched *gsp) argument
1238 struct g_gsched *gsp; local
1485 struct g_gsched *gsp = NULL; /* the . algorithm we want */ local
1540 struct g_gsched *gsp; local
1585 struct g_gsched *gsp; local
1717 struct g_gsched *gsp = sc->sc_gsched; local
[all...]
/freebsd-11-stable/sys/geom/label/
H A Dg_label_flashmap.c48 struct g_slicer *gsp; local
61 gsp = (struct g_slicer *)pp->geom->softc;
62 gfp = (struct g_flashmap *)gsp->softc;
/freebsd-11-stable/usr.sbin/gstat/
H A Dgstat.c80 struct devstat *gsp, *gsq; local
262 gsp = geom_stats_snapshot_next(sp);
264 if (gsp == NULL || gsq == NULL)
266 if (gsp->id == NULL)
268 gid = geom_lookupid(&gmp, gsp->id);
274 gid = geom_lookupid(&gmp, gsp->id);
296 if (gsp->sequence0 != gsp->sequence1) {
300 devstat_compute_statistics(gsp, gsq, dt,
328 *gsq = *gsp;
[all...]
/freebsd-11-stable/lib/libgeom/
H A Dgeom_stats.c170 struct devstat *gsp; local
174 gsp = (struct devstat *)
175 (sp->ptr + sp->u * pagesize + sp->v * sizeof *gsp);
182 return (gsp);
/freebsd-11-stable/cddl/contrib/opensolaris/common/ctf/
H A Dctf_open.c122 Elf64_Sym sym, *gsp; local
134 gsp = sym_to_gelf((Elf32_Sym *)(uintptr_t)symp, &sym);
136 gsp = (Elf64_Sym *)(uintptr_t)symp;
138 if (gsp->st_name < strp->cts_size)
139 name = (const char *)strp->cts_data + gsp->st_name;
143 if (gsp->st_name == 0 || gsp->st_shndx == SHN_UNDEF ||
150 switch (ELF64_ST_TYPE(gsp->st_info)) {
153 (gsp->st_shndx == SHN_ABS && gsp
[all...]
/freebsd-11-stable/sys/net/altq/
H A Daltq_cbq.c867 cbq_getstats(gsp)
868 struct cbq_getstats *gsp;
877 ifacename = gsp->iface.cbq_ifacename;
878 nclasses = gsp->nclasses;
879 usp = gsp->stats;
900 gsp->nclasses = n;
/freebsd-11-stable/sbin/mdconfig/
H A Dmdconfig.c418 struct devstat *gsp; local
438 while ((gsp = geom_stats_snapshot_next(sq)) != NULL) {
439 gid = geom_lookupid(&gm, gsp->id);
/freebsd-11-stable/contrib/bmake/
H A Dsuff.c914 SuffScanTargets(void *targetp, void *gsp)
917 GNodeSuff *gs = (GNodeSuff *)gsp;
913 SuffScanTargets(void *targetp, void *gsp) argument

Completed in 562 milliseconds