Searched refs:poolfd (Results 1 – 1 of 1) sorted by relevance
15 static int poolfd = -1; variable25 if (poolfd == -1) in pool_open()26 poolfd = open(IPLOOKUP_NAME, O_RDWR); in pool_open()27 return (poolfd); in pool_open()33 return (*iocfunc)(poolfd, cmd, ptr); in pool_ioctl()40 if (poolfd != -1) { in pool_close()41 close(poolfd); in pool_close()42 poolfd = -1; in pool_close()49 return (poolfd); in pool_fd()