freebsd-nq/sys/geom/bde
Poul-Henning Kamp 4ec353005c Move the g_stat struct to its own .h file, we will export it to other code.
Insted of embedding a struct g_stat in consumers and providers, merely
include a pointer.

Remove a couple of <sys/time.h> includes now unneeded.

Add a special allocator for struct g_stat.  This allocator will allocate
entire pages and hand out g_stat functions from there.  The "id" field
indicates free/used status.

Add "/dev/geom.stats" device driver whic exports the pages from the
allocator to userland with mmap(2) in read-only mode.

This mmap(2) interface should be considered a non-public interface and
the functions in libgeom (not yet committed) should be used to access
the statistics data.
2003-02-08 13:03:57 +00:00
..
g_bde_crypt.c Optimize the size of the work-items by letting the mapping function 2003-01-02 19:29:49 +00:00
g_bde_lock.c Move the g_stat struct to its own .h file, we will export it to other code. 2003-02-08 13:03:57 +00:00
g_bde_work.c Move the g_stat struct to its own .h file, we will export it to other code. 2003-02-08 13:03:57 +00:00
g_bde.c Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
g_bde.h Optimize the size of the work-items by letting the mapping function 2003-01-02 19:29:49 +00:00