POLLHEAD_CLEAN(9F) Kernel Functions for Drivers POLLHEAD_CLEAN(9F)

pollhead_clean - inform the kernel that a pollhead is being deallocated

#include <sys/poll.h>
void pollhead_clean(struct pollhead *php);

Architecture independent level 1 (DDI/DKI).

Pointer to a pollhead structure.

The pollhead_clean() function informs the kernel that a driver's pollhead structure is about to be deallocated, usually as part of the driver's close(9E) entry point before the software state that contains the pollhead is deallocated via ddi_soft_state_free(9F). See chpoll(9E), pollwakeup(9F) and poll(2) for more detail.

The pollhead_clean() function is generally called from the context of a close(9E) entry point, but may be called from user or kernel context.

poll(2), chpoll(9E), pollwakeup(9F)

June 12, 1998 OmniOS