From fd177bc9595b9076f3b0010d5c8d15d431382251 Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 4 Apr 2002 09:54:13 +0000 Subject: Move access and orphan member functions from class to geom. Sponsored by: DARPA & NAI Labs --- sys/geom/geom_slice.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sys/geom/geom_slice.h') diff --git a/sys/geom/geom_slice.h b/sys/geom/geom_slice.h index ae94feb..4d21533 100644 --- a/sys/geom/geom_slice.h +++ b/sys/geom/geom_slice.h @@ -50,11 +50,8 @@ struct g_slicer { g_slice_start_t *start; }; -g_orphan_t g_slice_orphan; struct g_slicer * g_slice_init(unsigned nslice, unsigned scsize); -int g_slice_access(struct g_provider *pp, int dr, int dw, int de); -void g_slice_start(struct bio *bp); -void g_slice_dumpconf(struct sbuf *sb, char *indent, struct g_geom *gp, struct g_consumer *cp __unused, struct g_provider *pp); +g_dumpconf_t g_slice_dumpconf; struct g_provider * g_slice_addslice(struct g_geom *gp, int index, off_t offset, off_t length, char *fmt, ...); struct g_geom * g_slice_new(struct g_class *mp, int slices, struct g_provider *pp, struct g_consumer **cpp, void *extrap, int extra, g_slice_start_t *start); -- cgit v1.1