Home
last modified time | relevance | path

Searched refs:kernelfd (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/arch/sparc/boot/
Dpiggyback.c146 static off_t get_hdrs_offset(int kernelfd, const char *filename) in get_hdrs_offset() argument
152 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()