summaryrefslogtreecommitdiff
path: root/ext2fs/bitmap.c
AgeCommit message (Collapse)Author
2012-05-23Fix find_next_zero_bit when no bit is availableSamuel Thibault
* ext2fs/bitmap.c (find_next_zero_bit): Check whether TMP has a bit set before calling ffz.
1999-10-031999-10-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* bitmap.c (ffz): Subtract one from (1-origin) result of ffs to get our (0-origin) result. * Makefile (LCLHDRS): bitmap.h -> bitmap.c
1999-10-031999-10-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* bitmap.c (ffz): Don't subtract one (duh).
1999-10-021999-10-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* bitmap.c (count_free, find_next_zero_bit, find_first_zero_bit): Make these all static inline. (ffz, ffz_nibble_map): Function and variable removed. (ffz): Replace decl with macro defined in terms of ffs. * ext2fs.h (count_free, find_next_zero_bit, find_first_zero_bit, ffz): Remove these declarations. * Makefile (SRCS): Remove bitmap.c. (LCLHDRS): Add bitmap.c here instead. * balloc.c, ialloc.c: #include "bitmap.c" here.
1999-10-011999-10-01 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* bitmap.c (memscan): Function removed. * ext2fs.h: Removed its decl. * balloc.c (memscan): New static function, defined using memchr.
1995-05-10(find_next_zero_bit): Fix stupid typos (present in the original linux sourceMiles Bader
I copied this function from!) which were causing occasional garbage results.
1995-05-09entered into RCSMiles Bader
1995-05-08Formerly bitmap.c.~8~Miles Bader
1995-04-28Formerly bitmap.c.~7~Miles Bader
1995-04-19Formerly bitmap.c.~6~Miles Bader
1995-04-17Formerly bitmap.c.~5~Miles Bader
1995-04-15Formerly bitmap.c.~4~Miles Bader
1995-04-12Formerly bitmap.c.~3~Miles Bader
1995-04-11Formerly bitmap.c.~2~Miles Bader
1995-04-11Initial revisionMiles Bader