search for: hex_dump

Displaying 2 results from an estimated 2 matches for "hex_dump".

Did you mean: ber_dump
2005 Jun 05
0
fancy dump_fs for nfsmount
...5-06-04 15:07:52.000000000 +0200 @@ -7,6 +7,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <ctype.h> #include "nfsmount.h" #include "sunrpc.h" @@ -92,6 +93,32 @@ return (len + 3) & ~3; } + +#ifdef NFS_DEBUG +void hex_dump (const char *msg, const char *buf, int len) { + int i, done = 0; + printf ("%s: %p, length %d\n", msg, buf, len); + while (done < len) { + printf ("%04x: ", done); + for (i = done; i < done + 16; i++) { + if (i < len) + printf ("%02x ", buf[i] & 0x...
2009 Dec 18
2
[RFC][PATCH] fsc: convert the highmem.inc from assembly to C code
All, Here is a RFC patch for converting the highmem.inc to C code, which doesn't touch the core part. please help to review, thanks Thanks, Feng