Re: Can someone explain fs/ext2/bitmap.c to me?

Keith Owens (kaos@ocs.com.au)
Sun, 12 Dec 1999 19:32:53 +1100


On Sun, 12 Dec 1999 03:11:29 -0500 (EST),
afei@jhu.edu wrote:
>what is this nibblemap? how is it determined?
>static int nibblemap[] = {4, 3, 3, 2, 3, 2, 2, 1, 3, 2, 2, 1, 2, 1, 1, 0};

nibblemap[i] = number of 0 bits in number i (0 <= i <= 15).

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/