freebsd-nq/sys/geom
Poul-Henning Kamp 31a1093fc2 Add some agility to the disk_create() API:
Make passing the methods in a cdevsw structure optional.

Move "CANFREE" and "NOGIANT" flags into struct disk instead of the
cdevsw which may or may not be there.

Rename CANFREE to CANDELETE to match BIO_DELETE operation.

Add "OPEN" flag so drivers don't have to provide open/close methods
just to maintain such a flag.

Add temporary stopgap include of <sys/conf.h> to <sys/disk.h> until
the files which have them in the other order are fixed.

Add KASSERTS to make sure we don't get fed too many NULL pointers.

Clear our geom's softc pointer before we wither.
2003-01-30 20:34:23 +00:00
..
bde Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
geom_aes.c Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
geom_bsd.c Mark some args unused so this compiles in userland. 2003-01-28 09:48:09 +00:00
geom_ccd.c Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
geom_ctl.c Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
geom_dev.c Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
geom_disk.c Add some agility to the disk_create() API: 2003-01-30 20:34:23 +00:00
geom_dump.c Constification and some s/int/u_int/ changes. 2002-12-16 22:33:27 +00:00
geom_enc.c Sort these functions as the author instructed. 2003-01-29 18:37:29 +00:00
geom_event.c Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
geom_gpt.c Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
geom_int.h Add the remaning part of the new libdisk interaction. 2002-10-28 22:43:54 +00:00
geom_io.c Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
geom_kern.c Remove the "ascii" attribute from the sysctls so that "sysctl -a" will 2002-12-27 07:58:59 +00:00
geom_mbr.c Don't restrict MBR sectorsize to 512 bytes. 2003-01-11 12:30:51 +00:00
geom_mirror.c Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
geom_pc98.c In userland case include <errno.h>, not <err.h>. This is needed to make 2003-01-06 20:05:45 +00:00
geom_slice.c Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
geom_slice.h Get rid of g_slice_addslice() and use g_slice_config() instead. 2002-12-16 23:08:48 +00:00
geom_subr.c Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
geom_sunlabel.c Get rid of g_slice_addslice() and use g_slice_config() instead. 2002-12-16 23:08:48 +00:00
geom.h Use a void * to carry the private data for return-call'ed ioctl requests. 2003-01-28 09:47:50 +00:00