aboutsummaryrefslogtreecommitdiff
path: root/ext2fs/ext2fs.h
Commit message (Collapse)AuthorAgeFilesLines
* 1999-10-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-031-41/+23
| | | | | | | | | | | | | | | | | | | | | | | * 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-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-021-15/+22
| | | | | | | | * 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-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-021-9/+0
| | | | | | | | | | | | * 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-4/+0
| | | | | | * bitmap.c (memscan): Function removed. * ext2fs.h: Removed its decl. * balloc.c (memscan): New static function, defined using memchr.
* 1999-08-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-08-231-1/+6
| | | | | * 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-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-111-1/+2
| | | | * ext2fs.h: Add #include <sys/mman.h> for munmap decl.
* (sync_global_ptr):Miles Bader1996-09-231-11/+10
| | | | | | | | | | | | 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.
* (struct disknode): New member `dir_idx'.Miles Bader1996-08-301-0/+3
|
* (dino): Dont recalculate INODES_PER_BLOCK here.Miles Bader1996-08-151-1/+11
| | | | (ext2_debug): redefine macro after including ext2_fs.h.
* Move __uN/__sN typedefs here.Miles Bader1996-08-121-1/+11
|
* (struct disknode): Remove debugging info.Miles Bader1996-07-201-19/+0
| | | | | | (RECORD_LAST): Function removed. (LAST_BUFSZ): Macro removed. (enum last_act): Type removed.
* (struct disknode): Add debugging info.Miles Bader1996-07-171-0/+19
| | | | | | (RECORD_LAST): New function. (LAST_BUFSZ): New macro. (enum last_act): New type.
* (sync_global):Miles Bader1996-06-251-11/+3
| | | | | | | | 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.
* ioserver.h -> iohelp.h.Michael I. Bushnell1996-05-091-1/+1
|
* (struct disknode): Get rid of NUMBER field; all references replaced byMiles Bader1996-04-111-7/+0
| | | | references to the CACHE_ID field in the corresponding node.
* (ext2_warning): Make a declaration, not a macro.Miles Bader1996-02-061-5/+4
|
* Tue Jan 30 22:25:19 1996 Miles Bader <miles@gnu.ai.mit.edu>Miles Bader1996-02-031-1/+1
| | | | | | | | | * 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.
* (struct disknode): Get rid of last_block_allocated field.Miles Bader1996-01-181-6/+0
|
* (pokel_inherit, pokel_finalize): New declarations.Miles Bader1996-01-151-0/+5
|
* Declare create_disk_pager.Roland McGrath1996-01-051-0/+3
|
* (disk_pager, disk_pager_port, disk_image, create_disk_pager): Decls removed.Roland McGrath1996-01-041-12/+7
| | | | Include hurd/diskfs-pager.h instead.
* (struct user_pager_info): Add max_prot field, remove p.Miles Bader1995-10-201-31/+13
| | | | | | | | | | | (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.
* u32 --> block_tMiles Bader1995-09-151-2/+2
|
* (struct user_pager_info): Remove the next & prevp fields.Miles Bader1995-06-241-1/+0
|
* (ext2_error, ext2_warning, ext2_panic, all callers changed): Make these intoMiles Bader1995-05-121-6/+8
| | | | | | 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.
* entered into RCSMiles Bader1995-05-091-3/+2
|
* Formerly ext2fs.h.~43~Miles Bader1995-05-091-4/+4
|
* Formerly ext2fs.h.~42~Miles Bader1995-05-091-3/+3
|
* Formerly ext2fs.h.~41~Miles Bader1995-05-081-7/+13
|
* Formerly ext2fs.h.~40~Miles Bader1995-05-051-1/+1
|
* Formerly ext2fs.h.~39~Miles Bader1995-05-041-1/+1
|
* Formerly ext2fs.h.~38~Miles Bader1995-05-031-17/+2
|
* Formerly ext2fs.h.~37~Miles Bader1995-05-011-6/+1
|
* Formerly ext2fs.h.~36~Miles Bader1995-04-291-18/+30
|
* Formerly ext2fs.h.~35~Miles Bader1995-04-271-0/+9
|
* Formerly ext2fs.h.~34~Miles Bader1995-04-271-4/+11
|
* Formerly ext2fs.h.~33~Miles Bader1995-04-251-7/+31
|
* Formerly ext2fs.h.~32~Miles Bader1995-04-231-1/+3
|
* Formerly ext2fs.h.~31~Miles Bader1995-04-221-12/+28
|
* Formerly ext2fs.h.~30~Miles Bader1995-04-201-12/+22
|
* Formerly ext2fs.h.~29~Miles Bader1995-04-181-22/+56
|
* Formerly ext2fs.h.~28~Miles Bader1995-04-171-1/+1
|
* Formerly ext2fs.h.~27~Miles Bader1995-04-171-1/+1
|
* Formerly ext2fs.h.~26~Miles Bader1995-04-171-6/+10
|
* Formerly ext2fs.h.~25~Miles Bader1995-04-171-3/+3
|
* Formerly ext2fs.h.~24~Miles Bader1995-04-171-1/+1
|
* Formerly ext2fs.h.~23~Miles Bader1995-04-171-63/+96
|
* Formerly ext2fs.h.~22~Miles Bader1995-04-171-7/+7
|
* Formerly ext2fs.h.~21~Miles Bader1995-04-161-11/+22
|
* Formerly ext2fs.h.~20~Miles Bader1995-04-161-3/+3
|