can: kvaser_usb: Reset all URB tx contexts upon channel close
[linux/fpc-iii.git] / fs / ext3 / bitmap.c
blobef9c643e8e9d5ff75703227ec9f81f0684340246
1 /*
2 * linux/fs/ext3/bitmap.c
4 * Copyright (C) 1992, 1993, 1994, 1995
5 * Remy Card (card@masi.ibp.fr)
6 * Laboratoire MASI - Institut Blaise Pascal
7 * Universite Pierre et Marie Curie (Paris VI)
8 */
10 #include "ext3.h"
12 #ifdef EXT3FS_DEBUG
14 unsigned long ext3_count_free (struct buffer_head * map, unsigned int numchars)
16 return numchars * BITS_PER_BYTE - memweight(map->b_data, numchars);
19 #endif /* EXT3FS_DEBUG */