netpoll: convert several functions to bool