*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: splraiseipl | Section: 9 | Source: NetBSD | File: splraiseipl.9
SPLRAISEIPL(9) FreeBSD Kernel Developer's Manual SPLRAISEIPL(9) NAME splraiseipl - raise the system priority level SYNOPSIS #include <sys/intr.h> int splraiseipl(ipl_cookie_t icookie); DESCRIPTION splraiseipl() raises the system priority level to the level specified by icookie. icookie should be a value returned by makeiplcookie(). In general, device drivers should not make use of this interface. To ensure correct synchronization, device drivers should use the condvar(9), mutex(9), and rwlock(9) interfaces. See the spl(9) manual page for a description of interrupt priority levels. RETURN VALUES splraiseipl() returns saved priority level which can be used for splx(). EXAMPLES The following two lines are functional equivalents. s = splraiseipl(makeiplcookie(IPL_VM)); s = splvm(); Because makeiplcookie() can be slow and is not expected to be used in a performance critical path, it's better to do it beforehand. initialization_code(ipl_t ipl) { ourcookie = makeiplcookie(ipl); } performance_critical_code() { int s; s = splraiseipl(ourcookie); do_something(); splx(s); } SEE ALSO condvar(9), makeiplcookie(9), mutex(9), rwlock(9), spl(9) FreeBSD 14.1-RELEASE-p8 July 9, 2015 FreeBSD 14.1-RELEASE-p8

Navigation Options