Searched refs:kernelfd (Results 1 – 1 of 1) sorted by relevance
146 static off_t get_hdrs_offset(int kernelfd, const char *filename) in get_hdrs_offset() argument152 if (lseek(kernelfd, 0, SEEK_SET) < 0) in get_hdrs_offset()154 if (read(kernelfd, buffer, BUFSIZE) != BUFSIZE) in get_hdrs_offset()168 if (lseek(kernelfd, offset, SEEK_SET) < 0) in get_hdrs_offset()170 if (read(kernelfd, buffer, BUFSIZE) != BUFSIZE) in get_hdrs_offset()