Searched refs:gsp (Results 1 - 9 of 9) sorted by relevance
/freebsd-13-stable/sys/geom/ |
H A D | geom_slice.c | 62 struct g_slicer *gsp; local 64 gsp = g_malloc(sizeof *gsp, M_WAITOK | M_ZERO); 66 gsp->softc = g_malloc(scsize, M_WAITOK | M_ZERO); 68 gsp->softc = NULL; 69 gsp->slices = g_malloc(nslice * sizeof(struct g_slice), 71 gsp->nslice = nslice; 72 return (gsp); 78 struct g_slicer *gsp; local 80 gsp 106 struct g_slicer *gsp; local 165 struct g_slicer *gsp; local 222 struct g_slicer *gsp; local 334 struct g_slicer *gsp; local 360 struct g_slicer *gsp; local 453 struct g_slicer *gsp; local 531 struct g_slicer *gsp; local [all...] |
H A D | geom_map.c | 70 struct g_slicer *gsp; local 74 gsp = gp->softc; 75 sc = gsp->softc; 89 struct g_slicer *gsp; local 95 gsp = gp->softc; 96 sc = gsp->softc; 117 struct g_slicer *gsp; local 119 gsp = gp->softc; 120 sc = gsp->softc;
|
H A D | geom_redboot.c | 102 struct g_slicer *gsp = gp->softc; local 103 struct g_redboot_softc *sc = gsp->softc; 116 struct g_slicer *gsp; local 122 gsp = gp->softc; 123 sc = gsp->softc; 141 struct g_slicer *gsp; local 143 gsp = gp->softc; 144 sc = gsp->softc;
|
/freebsd-13-stable/sys/contrib/openzfs/cmd/zed/agents/ |
H A D | zfs_agents.c | 79 guid_search_t *gsp = arg; local 90 if (zfs_agent_iter_vdev(zhp, child[c], gsp)) { 91 gsp->gs_vdev_type = DEVICE_TYPE_PRIMARY; 102 if (zfs_agent_iter_vdev(zhp, child[c], gsp)) { 103 gsp->gs_vdev_type = DEVICE_TYPE_L2ARC; 111 if (zfs_agent_iter_vdev(zhp, child[c], gsp)) { 112 gsp->gs_vdev_type = DEVICE_TYPE_SPARE; 120 if (gsp->gs_devid != NULL && 122 (strcmp(gsp->gs_devid, path) == 0)) { 124 &gsp 136 guid_search_t *gsp = arg; local [all...] |
/freebsd-13-stable/sys/geom/label/ |
H A D | g_label_flashmap.c | 46 struct g_slicer *gsp; local 59 gsp = (struct g_slicer *)pp->geom->softc; 60 gfp = (struct g_flashmap *)gsp->softc;
|
/freebsd-13-stable/lib/libgeom/ |
H A D | geom_stats.c | 179 struct devstat *gsp; local 183 gsp = (struct devstat *) 184 (sp->ptr + sp->u * pagesize + sp->v * sizeof *gsp); 191 return (gsp);
|
/freebsd-13-stable/usr.sbin/gstat/ |
H A D | gstat.c | 83 struct devstat *gsp, *gsq; local 308 gsp = geom_stats_snapshot_next(sp); 310 if (gsp == NULL || gsq == NULL) 312 if (gsp->id == NULL) 314 gid = geom_lookupid(&gmp, gsp->id); 320 gid = geom_lookupid(&gmp, gsp->id); 343 if (gsp->sequence0 != gsp->sequence1) { 352 devstat_compute_statistics(gsp, gsq, dt, 380 *gsq = *gsp; [all...] |
/freebsd-13-stable/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-13-stable/sbin/mdconfig/ |
H A D | mdconfig.c | 436 struct devstat *gsp; local 457 while ((gsp = geom_stats_snapshot_next(sq)) != NULL) { 458 gid = geom_lookupid(&gm, gsp->id);
|
Completed in 102 milliseconds