summaryrefslogtreecommitdiff
path: root/ext2fs/ext2fs.h
AgeCommit message (Collapse)Author
1999-10-031999-10-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* ext2fs.h (test_bit, set_bit, clear_bit): Rewritten to operate on 32-bit words instead of bytes. * ext2fs.h (group_desc): Inline function replaced with macro. (group_desc_image): New variable. * hyper.c (get_hypermetadata): Initialize it. * ext2fs.h (sblock_block): Declare new variable. (SBLOCK_LBLOCK): Macro removed. (SBLOCK_OFFS): Define in terms of sblock_block. * ext2fs.c (options): Add --sblock/-S. (parse_opt): Parse it to set sblock_block. * hyper.c (sblock_block): New variable. (get_hypermetadata): Use sblock_block instead of constant SBLOCK_BLOCK. * hyper.c (get_hypermetadata): Use EXT2_MAX_BLOCK_SIZE instead of hard-wired 8192. Don't use ffs to compute log2_block_size, and don't check for the impossible case of non-power-of-two block size (the block size specification we start with is given as a power of two!). * ext2fs.h (block_size): Change type to unsigned int. (BLOCKSIZE_SCALE): Just use SBLOCK->s_log_block_size directly. * hyper.c (get_hypermetadata): Fix printf formats to silence warning. * dir.c (dirscanblock): Likewise.
1999-10-021999-10-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* ext2fs.h (SBLOCK_LBLOCK): New macro, filesystem block number of sb. (BLOCKSIZE_SCALE): New macro for converting min-blocks to fs blocks. (group_desc): Fix calculation of offset from superblock, so it works properly with block_size != EXT2_MIN_BLOCK_SIZE. * ext2fs.h (EXT2FS_EI): New macro, use it for all extern inlines.
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.
1999-08-231999-08-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* ext2_fs.h, ext2_fs_i.h: Replaced with Linux 2.3.14 versions. * ext2fs.h (i_mode_high): New macro, missing from ext_fs.h.
1999-07-111999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* ext2fs.h: Add #include <sys/mman.h> for munmap decl.
1996-09-23(sync_global_ptr):Miles Bader
Use DISKFS_DISK_PAGER instead of DISK_PAGER. (store): New declaration. (disk_image): New declaration. (get_page_buf, free_page_buf): Declarations removed. (store_parsed, store_name): New declarations.
1996-08-30(struct disknode): New member `dir_idx'.Miles Bader
1996-08-15(dino): Dont recalculate INODES_PER_BLOCK here.Miles Bader
(ext2_debug): redefine macro after including ext2_fs.h.
1996-08-12Move __uN/__sN typedefs here.Miles Bader
1996-07-20(struct disknode): Remove debugging info.Miles Bader
(RECORD_LAST): Function removed. (LAST_BUFSZ): Macro removed. (enum last_act): Type removed.
1996-07-17(struct disknode): Add debugging info.Miles Bader
(RECORD_LAST): New function. (LAST_BUFSZ): New macro. (enum last_act): New type.
1996-06-25(sync_global):Miles Bader
Renamed from sync_global_data. Add WAIT flag. Don't call diskfs_set_hypermetadata. (alloc_sync): Call diskfs_set_hypermetadata instead of sync_global_data. (sync_super_block): Function removed.
1996-05-09ioserver.h -> iohelp.h.Michael I. Bushnell
1996-04-11(struct disknode): Get rid of NUMBER field; all references replaced byMiles Bader
references to the CACHE_ID field in the corresponding node.
1996-02-06(ext2_warning): Make a declaration, not a macro.Miles Bader
1996-02-03Tue Jan 30 22:25:19 1996 Miles Bader <miles@gnu.ai.mit.edu>Miles Bader
* hyper.c (get_hypermetadata): Don't return any error value, just panic if we can't read the superblock. * ext2fs.c (main): Move warp_inode() inline. Make sure root inode is really there. Don't check return value from get_hypermetadata. (warp_inode): Function removed. * ext2fs.h (get_hypermetadata): Returns void now.
1996-01-18(struct disknode): Get rid of last_block_allocated field.Miles Bader
1996-01-15(pokel_inherit, pokel_finalize): New declarations.Miles Bader
1996-01-05Declare create_disk_pager.Roland McGrath
1996-01-04(disk_pager, disk_pager_port, disk_image, create_disk_pager): Decls removed.Roland McGrath
Include hurd/diskfs-pager.h instead.
1995-10-20(struct user_pager_info): Add max_prot field, remove p.Miles Bader
(struct disknode): Replace fileinfo field with pager. (pokel_flush, flush_node_pager): New declarations. (disk_pager): Type changed to struct pager. (sync_global_ptr): Use DISK_PAGER, not DISK_PAGER->p. (device_arg, device_name, device_port, device_start, device_size, device_block_size): Declarations removed. (MS_RDONLY, MS_NOSUID, MS_NODEV, MS_NOEXEC, MS_SYNCHRONOUS, MS_REMOUNT, S_APPEND, S_IMMUTABLE, IS_APPEND, IS_IMMUTABLE): Macros deleted.
1995-09-15u32 --> block_tMiles Bader
1995-06-24(struct user_pager_info): Remove the next & prevp fields.Miles Bader
1995-05-12(ext2_error, ext2_warning, ext2_panic, all callers changed): Make these intoMiles Bader
macros that automagically supply the caller's function name, and rename the original functions (which these macros call) to have an underline prefix. Get rid of the CHECK_STRICT variable.
1995-05-09entered into RCSMiles Bader
1995-05-09Formerly ext2fs.h.~43~Miles Bader
1995-05-09Formerly ext2fs.h.~42~Miles Bader
1995-05-08Formerly ext2fs.h.~41~Miles Bader
1995-05-05Formerly ext2fs.h.~40~Miles Bader
1995-05-04Formerly ext2fs.h.~39~Miles Bader
1995-05-03Formerly ext2fs.h.~38~Miles Bader
1995-05-01Formerly ext2fs.h.~37~Miles Bader
1995-04-29Formerly ext2fs.h.~36~Miles Bader
1995-04-27Formerly ext2fs.h.~35~Miles Bader
1995-04-27Formerly ext2fs.h.~34~Miles Bader
1995-04-25Formerly ext2fs.h.~33~Miles Bader
1995-04-23Formerly ext2fs.h.~32~Miles Bader
1995-04-22Formerly ext2fs.h.~31~Miles Bader
1995-04-20Formerly ext2fs.h.~30~Miles Bader
1995-04-18Formerly ext2fs.h.~29~Miles Bader
1995-04-17Formerly ext2fs.h.~28~Miles Bader
1995-04-17Formerly ext2fs.h.~27~Miles Bader
1995-04-17Formerly ext2fs.h.~26~Miles Bader
1995-04-17Formerly ext2fs.h.~25~Miles Bader
1995-04-17Formerly ext2fs.h.~24~Miles Bader
1995-04-17Formerly ext2fs.h.~23~Miles Bader
1995-04-17Formerly ext2fs.h.~22~Miles Bader
1995-04-16Formerly ext2fs.h.~21~Miles Bader
1995-04-16Formerly ext2fs.h.~20~Miles Bader