summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_slice.h
Commit message (Collapse)AuthorAgeFilesLines
* - Don't pass geom and provider names as format strings.jh2012-11-201-1/+1
| | | | | | | - Add __printflike() attributes. - Remove an extra argument for the g_new_geomf() call in swapongeom_ev(). Reviewed by: pjd
* Allow to use g_slice_orphan() from outside.pjd2006-02-181-0/+1
| | | | MFC after: 3 days
* Add a destroy_geom method to the slice "library".phk2003-05-311-0/+2
| | | | | | If a slice class has no destroy_geom method, use this one. This should allow all slicers to kldload.
* Use a more tailored spoil routine for slices, and take advantage ofphk2003-05-021-0/+1
| | | | g_wither_geom() to do most of the work for us.
* Rename g_call_me() to g_post_event(), and give it a flagphk2003-04-231-1/+1
| | | | argument to determine if we can M_WAITOK in malloc.
* Make more of the "hotspot" stuff generic:phk2003-04-191-1/+12
| | | | | | | Give the class a way to specify the necessary action for read/delete/write: ALLOW, DENY, START or CALL. Update geom_bsd to use this.
* Create a dedicated structure for holding hotspot information rather thanphk2003-04-191-7/+12
| | | | using slice structures for it.
* Retire the "frontstuff" record keeping, it was no match for thephk2003-04-121-2/+0
| | | | in-band meta-data of BSD labels and a more complex solution will be needed.
* Get rid of g_slice_addslice() and use g_slice_config() instead.phk2002-12-161-1/+0
| | | | Tested with: i386 + src/tools/regression/geom
* Constification and some s/int/u_int/ changes.phk2002-12-161-3/+3
|
* Add a simplified version of the hot-spot code to enable us to protectphk2002-12-021-4/+9
| | | | | | in-band disklabels from in-band vandalism. Approve by: re
* Make the sectorsize a property of providers so we can include it in the XMLphk2002-10-201-2/+3
| | | | | | output. Sponsored by: DARPA & NAI Labs
* Add the new g_slice_config() call, which can add/delete/change a slice,phk2002-09-271-0/+9
| | | | | | | | | with support for trying, doing and forcing. This will eventually replace g_slice_addslice() which gets changed from grabbing topology to requing it in this commit as well. Sponsored by: DARPA & NAI Labs.
* All in a days work: make a function static.phk2002-04-231-1/+0
|
* Implement DIOCGFRONTSTUFF ioctl which reports how many bytes from the startphk2002-04-091-0/+2
| | | | | | of the device magic stuff might occupy. Sponsored by: DARPA & NAI Labs.
* Move access and orphan member functions from class to geom.phk2002-04-041-4/+1
| | | | Sponsored by: DARPA & NAI Labs
* Eliminate some thread pointers which do not make sense anymore.phk2002-03-261-1/+1
| | | | | Split private parts of geom.h into geom_int.h. The latter should never be included in class implemtations.
* Cave in to tradition and rename "methods" to "classes".phk2002-03-261-1/+1
|
* First commit of the GEOM subsystem to make it easier for people tophk2002-03-111-0/+60
test and play with this. This is not yet production quality and should be run only on dedicated test boxes. For people who want to develop transformations for GEOM there exist a set of shims to run geom in userland (ask phk@freebsd.org). Reports of all kinds to: phk@freebsd.org Please include in report: dmesg sysctl debug.geomdot sysctl debug.geomconf Known significant limitations: no kernel dump facility. ioctls severely restricted. Sponsored by: DARPA, NAI Labs
OpenPOWER on IntegriCloud