Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/geom/
Dgeom_slice.c62 struct g_slicer *gsp; in g_slice_alloc() local
64 gsp = g_malloc(sizeof *gsp, M_WAITOK | M_ZERO); in g_slice_alloc()
66 gsp->softc = g_malloc(scsize, M_WAITOK | M_ZERO); in g_slice_alloc()
68 gsp->softc = NULL; in g_slice_alloc()
69 gsp->slices = g_malloc(nslice * sizeof(struct g_slice), in g_slice_alloc()
71 gsp->nslice = nslice; in g_slice_alloc()
72 return (gsp); in g_slice_alloc()
78 struct g_slicer *gsp; in g_slice_free() local
80 gsp = gp->softc; in g_slice_free()
88 if (gsp == NULL) in g_slice_free()
[all …]
Dgeom_bsd.c103 struct g_slicer *gsp; in g_bsd_modify() local
112 gsp = gp->softc; in g_bsd_modify()
113 ms = gsp->softc; in g_bsd_modify()
170 for (u = 0; u < gsp->nslice; u++) { in g_bsd_modify()
209 g_bsd_try(struct g_geom *gp, struct g_slicer *gsp, struct g_consumer *cp, int secsize, struct g_bsd… in g_bsd_try() argument
249 struct g_slicer *gsp; in g_bsd_writelabel() local
255 gsp = gp->softc; in g_bsd_writelabel()
256 ms = gsp->softc; in g_bsd_writelabel()
295 struct g_slicer *gsp; in g_bsd_hotwrite() local
309 gsp = gp->softc; in g_bsd_hotwrite()
[all …]
Dgeom_sunlabel.c126 struct g_slicer *gsp; in g_sunlabel_hotwrite() local
135 gsp = gp->softc; in g_sunlabel_hotwrite()
136 ms = gsp->softc; in g_sunlabel_hotwrite()
137 gsl = &gsp->slices[bp->bio_to->index]; in g_sunlabel_hotwrite()
157 struct g_slicer *gsp; in g_sunlabel_dumpconf() local
160 gsp = gp->softc; in g_sunlabel_dumpconf()
161 ms = gsp->softc; in g_sunlabel_dumpconf()
197 struct g_slicer *gsp; in g_sunlabel_config() local
206 gsp = gp->softc; in g_sunlabel_config()
212 h0h0.ms = gsp->softc; in g_sunlabel_config()
[all …]
Dgeom_mbr.c183 struct g_slicer *gsp; in g_mbr_ioctl() local
188 gsp = gp->softc; in g_mbr_ioctl()
189 ms = gsp->softc; in g_mbr_ioctl()
224 struct g_slicer *gsp; in g_mbr_start() local
230 gsp = gp->softc; in g_mbr_start()
231 mp = gsp->softc; in g_mbr_start()
236 gsp->slices[idx].offset)) in g_mbr_start()
250 struct g_slicer *gsp; in g_mbr_dumpconf() local
252 gsp = gp->softc; in g_mbr_dumpconf()
253 mp = gsp->softc; in g_mbr_dumpconf()
[all …]
Dgeom_map.c70 struct g_slicer *gsp; in g_map_access() local
74 gsp = gp->softc; in g_map_access()
75 sc = gsp->softc; in g_map_access()
89 struct g_slicer *gsp; in g_map_start() local
95 gsp = gp->softc; in g_map_start()
96 sc = gsp->softc; in g_map_start()
117 struct g_slicer *gsp; in g_map_dumpconf() local
119 gsp = gp->softc; in g_map_dumpconf()
120 sc = gsp->softc; in g_map_dumpconf()
Dgeom_redboot.c102 struct g_slicer *gsp = gp->softc; in g_redboot_access() local
103 struct g_redboot_softc *sc = gsp->softc; in g_redboot_access()
116 struct g_slicer *gsp; in g_redboot_start() local
122 gsp = gp->softc; in g_redboot_start()
123 sc = gsp->softc; in g_redboot_start()
141 struct g_slicer *gsp; in g_redboot_dumpconf() local
143 gsp = gp->softc; in g_redboot_dumpconf()
144 sc = gsp->softc; in g_redboot_dumpconf()
/freebsd-12-stable/sys/geom/sched/
Dg_sched.c251 g_gsched_ref(struct g_gsched *gsp) in g_gsched_ref() argument
254 atomic_add_int(&gsp->gs_refs, 1); in g_gsched_ref()
258 g_gsched_unref(struct g_gsched *gsp) in g_gsched_unref() argument
261 atomic_add_int(&gsp->gs_refs, -1); in g_gsched_unref()
287 struct g_gsched *gsp = sc->sc_gsched; in g_sched_forced_dispatch() local
293 while ((bp = gsp->gs_next(sc->sc_data, 1)) != NULL) in g_sched_forced_dispatch()
307 struct g_gsched *gsp = sc->sc_gsched; in g_sched_dispatch() local
315 while ((bp = gsp->gs_next(sc->sc_data, 0)) != NULL) in g_sched_dispatch()
375 struct g_gsched *gsp; in g_sched_get_class() local
389 gsp = sc->sc_gsched; in g_sched_get_class()
[all …]
/freebsd-12-stable/usr.sbin/gstat/
Dgstat.c83 struct devstat *gsp, *gsq; in main() local
308 gsp = geom_stats_snapshot_next(sp); in main()
310 if (gsp == NULL || gsq == NULL) in main()
312 if (gsp->id == NULL) in main()
314 gid = geom_lookupid(&gmp, gsp->id); in main()
320 gid = geom_lookupid(&gmp, gsp->id); in main()
343 if (gsp->sequence0 != gsp->sequence1) { in main()
352 devstat_compute_statistics(gsp, gsq, dt, in main()
380 *gsq = *gsp; in main()
510 *gsq = *gsp; in main()
/freebsd-12-stable/sys/geom/label/
Dg_label_flashmap.c48 struct g_slicer *gsp; in g_label_flashmap_taste() local
61 gsp = (struct g_slicer *)pp->geom->softc; in g_label_flashmap_taste()
62 gfp = (struct g_flashmap *)gsp->softc; in g_label_flashmap_taste()
/freebsd-12-stable/lib/libgeom/
Dgeom_stats.c179 struct devstat *gsp; in geom_stats_snapshot_next() local
183 gsp = (struct devstat *) in geom_stats_snapshot_next()
184 (sp->ptr + sp->u * pagesize + sp->v * sizeof *gsp); in geom_stats_snapshot_next()
191 return (gsp); in geom_stats_snapshot_next()
/freebsd-12-stable/cddl/contrib/opensolaris/common/ctf/
Dctf_open.c122 Elf64_Sym sym, *gsp; in init_symtab() local
134 gsp = sym_to_gelf((Elf32_Sym *)(uintptr_t)symp, &sym); in init_symtab()
136 gsp = (Elf64_Sym *)(uintptr_t)symp; in init_symtab()
138 if (gsp->st_name < strp->cts_size) in init_symtab()
139 name = (const char *)strp->cts_data + gsp->st_name; in init_symtab()
143 if (gsp->st_name == 0 || gsp->st_shndx == SHN_UNDEF || in init_symtab()
150 switch (ELF64_ST_TYPE(gsp->st_info)) { in init_symtab()
153 (gsp->st_shndx == SHN_ABS && gsp->st_value == 0)) { in init_symtab()
/freebsd-12-stable/sys/net/altq/
Daltq_cbq.c866 cbq_getstats(gsp) in cbq_getstats() argument
867 struct cbq_getstats *gsp; in cbq_getstats()
876 ifacename = gsp->iface.cbq_ifacename;
877 nclasses = gsp->nclasses;
878 usp = gsp->stats;
899 gsp->nclasses = n;
/freebsd-12-stable/sbin/mdconfig/
Dmdconfig.c427 struct devstat *gsp; in md_list() local
448 while ((gsp = geom_stats_snapshot_next(sq)) != NULL) { in md_list()
449 gid = geom_lookupid(&gm, gsp->id); in md_list()
/freebsd-12-stable/contrib/bmake/
Dsuff.c913 SuffScanTargets(void *targetp, void *gsp) in SuffScanTargets() argument
916 GNodeSuff *gs = (GNodeSuff *)gsp; in SuffScanTargets()
/freebsd-12-stable/contrib/ncurses/
DNEWS6884 <rsk@gsp.org>).