/freebsd-10.3-release/sys/geom/ |
H A D | geom_slice.c | 61 struct g_slicer *gsp; local 63 gsp = g_malloc(sizeof *gsp, M_WAITOK | M_ZERO); 65 gsp->softc = g_malloc(scsize, M_WAITOK | M_ZERO); 67 gsp->softc = NULL; 68 gsp->slices = g_malloc(nslice * sizeof(struct g_slice), 70 gsp->nslice = nslice; 71 return (gsp); 75 g_slice_free(struct g_slicer *gsp) argument 78 if (gsp 96 struct g_slicer *gsp; local 146 struct g_slicer *gsp; local 203 struct g_slicer *gsp; local 314 struct g_slicer *gsp; local 340 struct g_slicer *gsp; local 433 struct g_slicer *gsp; local 476 struct g_slicer *gsp; local 500 struct g_slicer *gsp; local [all...] |
H A D | geom_sunlabel.c | 122 struct g_slicer *gsp; local 131 gsp = gp->softc; 132 ms = gsp->softc; 133 gsl = &gsp->slices[bp->bio_to->index]; 153 struct g_slicer *gsp; local 156 gsp = gp->softc; 157 ms = gsp->softc; 193 struct g_slicer *gsp; local 202 gsp = gp->softc; 208 h0h0.ms = gsp 246 struct g_slicer *gsp; local 264 struct g_slicer *gsp; local [all...] |
H A D | geom_bsd.c | 99 struct g_slicer *gsp; local 108 gsp = gp->softc; 109 ms = gsp->softc; 166 for (u = 0; u < gsp->nslice; u++) { 205 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 245 struct g_slicer *gsp; local 251 gsp = gp->softc; 252 ms = gsp->softc; 291 struct g_slicer *gsp; local 305 gsp 333 struct g_slicer *gsp; local 410 struct g_slicer *gsp; local 432 struct g_slicer *gsp; local 482 struct g_slicer *gsp; local 643 struct g_slicer *gsp; local [all...] |
H A D | geom_mbr.c | 179 struct g_slicer *gsp; local 184 gsp = gp->softc; 185 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 330 struct g_slicer *gsp; local 393 struct g_slicer *gsp; local 412 struct g_slicer *gsp; local [all...] |
H A D | geom_pc98.c | 165 struct g_slicer *gsp; local 170 gsp = gp->softc; 171 ms = gsp->softc; 208 struct g_slicer *gsp; local 214 gsp = gp->softc; 215 mp = gsp->softc; 220 gsp->slices[idx].offset)) 232 struct g_slicer *gsp; local 236 gsp = gp->softc; 237 mp = gsp 324 struct g_slicer *gsp; local [all...] |
H A D | geom_map.c | 68 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 D | geom_redboot.c | 99 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;
|
H A D | geom_flashmap.c | 136 struct g_slicer *gsp; local 138 gsp = gp->softc;
|
/freebsd-10.3-release/sys/geom/sched/ |
H A D | g_sched.c | 249 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) 382 struct g_gsched *gsp; local 396 gsp 439 g_sched_hash_fini(struct g_geom *gp, struct g_hash *hp, u_long mask, struct g_gsched *gsp, void *data) argument 460 g_sched_hash_init(struct g_gsched *gsp, u_long *mask, int flags) argument 516 g_sched_remove_locked(struct g_geom *gp, struct g_gsched *gsp) argument 556 g_sched_remove(struct g_geom *gp, struct g_gsched *gsp) argument 574 struct g_gsched *gsp = NULL; local 593 g_gsched_build_names(struct g_gsched *gsp) argument 615 g_gsched_register(struct g_gsched *gsp) argument 649 struct g_gsched *gsp = parm->gup_gsp, *cur, *tmp; local 720 struct g_gsched *gsp = arg; local 985 g_sched_create(struct gctl_req *req, struct g_class *mp, struct g_provider *pp, struct g_gsched *gsp, int proxy) argument 1082 g_sched_change_algo(struct gctl_req *req, struct g_class *mp, struct g_provider *pp, struct g_gsched *gsp) argument 1247 struct g_gsched *gsp; local 1648 struct g_gsched *gsp = NULL; /* the . algorithm we want */ local 1703 struct g_gsched *gsp; local 1748 struct g_gsched *gsp; local 1880 struct g_gsched *gsp = sc->sc_gsched; local [all...] |
/freebsd-10.3-release/usr.sbin/gstat/ |
H A D | gstat.c | 78 struct devstat *gsp, *gsq; local 242 gsp = geom_stats_snapshot_next(sp); 244 if (gsp == NULL || gsq == NULL) 246 if (gsp->id == NULL) 248 gid = geom_lookupid(&gmp, gsp->id); 254 gid = geom_lookupid(&gmp, gsp->id); 276 if (gsp->sequence0 != gsp->sequence1) { 280 devstat_compute_statistics(gsp, gsq, dt, 304 *gsq = *gsp; [all...] |
/freebsd-10.3-release/lib/libgeom/ |
H A D | geom_stats.c | 172 struct devstat *gsp; local 176 gsp = (struct devstat *) 177 (sp->ptr + sp->u * pagesize + sp->v * sizeof *gsp); 184 return (gsp);
|
/freebsd-10.3-release/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_open.c | 122 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-10.3-release/sys/contrib/altq/altq/ |
H A D | altq_cbq.c | 871 cbq_getstats(gsp) 872 struct cbq_getstats *gsp; 881 ifacename = gsp->iface.cbq_ifacename; 882 nclasses = gsp->nclasses; 883 usp = gsp->stats; 904 gsp->nclasses = n;
|
/freebsd-10.3-release/sbin/mdconfig/ |
H A D | mdconfig.c | 416 struct devstat *gsp; local 436 while ((gsp = geom_stats_snapshot_next(sq)) != NULL) { 437 gid = geom_lookupid(&gm, gsp->id);
|
/freebsd-10.3-release/contrib/bmake/ |
H A D | suff.c | 913 SuffScanTargets(void *targetp, void *gsp) 916 GNodeSuff *gs = (GNodeSuff *)gsp; 912 SuffScanTargets(void *targetp, void *gsp) argument
|