aboutsummaryrefslogtreecommitdiff
path: root/ext2fs/bitmap.c
Commit message (Collapse)AuthorAgeFilesLines
* ext2fs: Fix shift in find_next_zero_bitSamuel Thibault2023-08-081-1/+2
| | | | Shifting unsigned 32bit right by 32 bits is undefined, so avoid this.
* ext2fs: Fix unsigned long / uint32_t confusionSamuel Thibault2023-05-271-3/+3
|
* fix compiler warnings in hurd/ext2fsFlavio Cruz2015-12-291-1/+1
| | | | | | | | | | | | ext2fs: Fix compiler warnings. * ext2fs/balloc.c: Use unsigned char instead of char. * ext2fs/bitmap.c Use unsigned char for bitmaps. * ext2fs/dir.c: Fix format. * ext2fs/ext2fs.h: Use unsigned char for bitmaps. * ext2fs/ialloc.c: Use unsigned char for bitmaps. Fix format string in ext2_warning. * ext2fs/pager.c: Fix format string in ext2_warning and ext2_error.
* Fix find_next_zero_bit when no bit is availableSamuel Thibault2012-05-231-0/+2
| | | | | * ext2fs/bitmap.c (find_next_zero_bit): Check whether TMP has a bit set before calling ffz.
* 1999-10-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-031-1/+1
| | | | | | * 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-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-031-1/+1
| | | | * bitmap.c (ffz): Don't subtract one (duh).
* 1999-10-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-021-28/+6
| | | | | | | | | | | | * 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-01 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-011-20/+5
| | | | | | * bitmap.c (memscan): Function removed. * ext2fs.h: Removed its decl. * balloc.c (memscan): New static function, defined using memchr.
* (find_next_zero_bit): Fix stupid typos (present in the original linux sourceMiles Bader1995-05-101-2/+2
| | | | I copied this function from!) which were causing occasional garbage results.
* entered into RCSMiles Bader1995-05-091-1/+1
|
* Formerly bitmap.c.~8~Miles Bader1995-05-081-1/+21
|
* Formerly bitmap.c.~7~Miles Bader1995-04-281-1/+1
|
* Formerly bitmap.c.~6~Miles Bader1995-04-191-1/+1
|
* Formerly bitmap.c.~5~Miles Bader1995-04-171-1/+1
|
* Formerly bitmap.c.~4~Miles Bader1995-04-151-2/+102
|
* Formerly bitmap.c.~3~Miles Bader1995-04-121-5/+2
|
* Formerly bitmap.c.~2~Miles Bader1995-04-111-1/+1
|
* Initial revisionMiles Bader1995-04-111-0/+26