Add more LinuxKPI I/O functions.
Obtained from: kmacy @ MFC after: 1 week Sponsored by: Mellanox Technologies