Date: Mon, 5 Jul 2010 16:23:55 +0000 (UTC) From: Jaakko Heinonen <jh@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/share/man/man9 Makefile alloc_unr.9 src/sys/kern subr_unit.c src/sys/sys systm.h Message-ID: <201007051636.o65GapVo029800@repoman.freebsd.org>
index | next in thread | raw e-mail
jh 2010-07-05 16:23:55 UTC
FreeBSD src repository
Modified files:
share/man/man9 Makefile alloc_unr.9
sys/kern subr_unit.c
sys/sys systm.h
Log:
SVN rev 209710 on 2010-07-05 16:23:55Z by jh
Extend the kernel unit number allocator for allocating specific unit
numbers. This change adds a new function alloc_unr_specific() which
returns the requested unit number if it is free. If the number is
already allocated or out of the range, -1 is returned.
Update alloc_unr(9) manual page accordingly and add a MLINK for
alloc_unr_specific(9).
Discussed on: freebsd-hackers
Revision Changes Path
1.369 +1 -0 src/share/man/man9/Makefile
1.5 +11 -1 src/share/man/man9/alloc_unr.9
1.12 +168 -13 src/sys/kern/subr_unit.c
1.288 +1 -0 src/sys/sys/systm.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007051636.o65GapVo029800>
