The printf(9) family of functions are similar to the printf(3) family of functions. The three functions each use a different output stream. The uprintf() function outputs to the current process' cont...
The run queue consists of four priority queues: itqueues for interrupt threads, rtqueues for realtime priority processes, queues for time sharing processes, and idqueues for idle priority processes. E...
The pseudofs module offers an abstract API for pseudo-file systems such as procfs(5) and linprocfs(5). It takes care of all the hairy bits like interfacing with the VFS system, enforcing access contro...
These functions post a signal to one or more processes. The argument signum common to all three functions should be in the range [1-NSIG]. The psignal() function posts signal number signum to the proc...
The random() function will by default produce a sequence of numbers that can be duplicated by calling srandom() with `1' as the seed. The srandom() function may be called with any arbitrary seed valu...
The random_harvest() function is used by device drivers and other kernel processes to pass data that is considered (at least partially) stochastic to the entropy device. The caller should pass a point...
The random() function will by default produce a sequence of numbers that can be duplicated by calling srandom() with `1' as the seed. The srandom() function may be called with any arbitrary seed valu...
The malloc() function allocates uninitialized memory in kernel address space for an object whose size is specified by size. The free() function releases memory at address addr that was previously allo...
The malloc() function allocates uninitialized memory in kernel address space for an object whose size is specified by size. The free() function releases memory at address addr that was previously allo...
These functions are used to allocate and release physical buffers. The physical buffers are allocated at system startup and are maintained in a separate pool from the main system buffers. They are int...
The run queue consists of four priority queues: itqueues for interrupt threads, rtqueues for realtime priority processes, queues for time sharing processes, and idqueues for idle priority processes. E...
Each process has three different priorities stored in struct proc: p_usrpri, p_nativepri, and p_priority. The p_usrpri member is the user priority of the process calculated from a process' estimated ...
These functions fetch a value from the ``hints'' mechanism. The functions take the following arguments: name The name of the device to get the resource value from. unit The unit number of the device...
These functions fetch a value from the ``hints'' mechanism. The functions take the following arguments: name The name of the device to get the resource value from. unit The unit number of the device...