The htonl routine converts the specified longword value from host-to-network byte order. The htons routine converts the specified word value from host-to-network byte order. The TCP/IP protocols speci...
The htonl routine converts the specified longword value from host-to-network byte order. The htons routine converts the specified word value from host-to-network byte order. The TCP/IP protocols speci...
The hz global variable is set to the number of clock ticks per second. The value is useful for timing purposes. For example, if a kernel module wants to schedule a routine to be run in 2 seconds, you ...
The insq interface inserts a STREAMS message into a queue. The message to be inserted (the message_to_be_inserted argument) is placed in the queue (the message_queue argument) immediately before the m...
The insque routine adds the element that the elem argument specifies to the queue. The routine inserts elem in the next position after pred in the queue. The remque routine removes the element that th...
Section 9 describes the routines, data structures, and global variables used to develop kernel modules. The descriptions are presented in alphabetical order. Each reference page carries one of the fol...
The IS_KSEG_VA routine determines if the specified address is located in the kernel-unmapped address space. The IS_SEG0_VA routine determines if the specified address is located in the user-mapped add...
The IS_KSEG_VA routine determines if the specified address is located in the kernel-unmapped address space. The IS_SEG0_VA routine determines if the specified address is located in the user-mapped add...
The IS_KSEG_VA routine determines if the specified address is located in the kernel-unmapped address space. The IS_SEG0_VA routine determines if the specified address is located in the user-mapped add...
The kernel_isrthread routine creates and starts a kernel thread at the specified entry point. This kernel thread handles only interrupt service requests in the specified task and at the specified prio...
The kernel_thread_w_arg routine creates and starts a kernel thread in the specified task at the specified entry point with a specified argument. The kernel_thread_w_arg routine passes the specified ar...
The KSEG_TO_PHYS routine converts a kernel-unmapped virtual address to a kernel physical address. Device drivers can use this physical address in DMA operations. Prior to calling KSEG_TO_PHYS, device ...
You use the lbolt global variable as a periodic wakeup mechanism. Wakeups are done on the lbolt variable once per second. For example, if a kernel module was polling for an event once per second, you ...
The linkb interface creates a new message by adding the message specified in the message_to_be_added argument to the tail of the message specified in the message argument. The continuation pointer (th...