Lines Matching refs:inbuf
36 char inbuf[4096]; in main() local
158 while ( fgets(inbuf, 4096, sysmap) ) ; in main()
160 ptr_end = strstr(inbuf, " _end"); in main()
164 fprintf(stderr, "%s \n", inbuf); in main()
215 get4k( inputVmlinux, inbuf ); in main()
216 put4k( outputVmlinux, inbuf ); in main()
222 get4k( inputVmlinux, inbuf ); in main()
223 put4k( outputVmlinux, inbuf ); in main()
229 memset(inbuf, 0, 4096); in main()
230 put4k(outputVmlinux, inbuf); in main()
235 get4k( ramDisk, inbuf ); in main()
236 put4k( outputVmlinux, inbuf ); in main()
258 if (fread(inbuf, 0x40, 1, outputVmlinux) != 1) { in main()
262 if (ntohl(*(u_int32_t *)inbuf) != eyeCatcher) { in main()
266 naca = ntohl(*((u_int32_t*) &inbuf[0x0C])) - KERNELBASE; in main()
271 if (fread(inbuf, 0x18, 1, outputVmlinux) != 1) { in main()
274 xRamDisk = ntohl(*((u_int32_t *) &inbuf[0x0c])); in main()
275 xRamDiskSize = ntohl(*((u_int32_t *) &inbuf[0x14])); in main()
281 *((u_int32_t *) &inbuf[0x0c]) = htonl(ramStartOffs); in main()
282 *((u_int32_t *) &inbuf[0x14]) = htonl(ramPages); in main()
287 if (fwrite(inbuf, 0x18, 1, outputVmlinux) != 1) { in main()