ext2fs.h (531c2d7af3cd2e64eec94aa1b19c4b2f16fce515) ext2fs.h (b394cd1e28f1a094742434474ebe4f5004bf0ce3)
1/*-
2 * modified for EXT2FS support in Lites 1.1
3 *
4 * Aug 1995, Godmar Back (gback@cs.utah.edu)
5 * University of Utah, Department of Computer Science
6 *
7 * $FreeBSD$
8 */

--- 371 unchanged lines hidden (view full) ---

380 */
381
382#define e2fs_cgload(old, new, size) memcpy((new), (old), (size));
383#define e2fs_cgsave(old, new, size) memcpy((new), (old), (size));
384
385/*
386 * Macro-instructions used to manage several block sizes
387 */
1/*-
2 * modified for EXT2FS support in Lites 1.1
3 *
4 * Aug 1995, Godmar Back (gback@cs.utah.edu)
5 * University of Utah, Department of Computer Science
6 *
7 * $FreeBSD$
8 */

--- 371 unchanged lines hidden (view full) ---

380 */
381
382#define e2fs_cgload(old, new, size) memcpy((new), (old), (size));
383#define e2fs_cgsave(old, new, size) memcpy((new), (old), (size));
384
385/*
386 * Macro-instructions used to manage several block sizes
387 */
388#define EXT2_MAX_BLOCK_SIZE 4096
389#define EXT2_MIN_BLOCK_LOG_SIZE 10
390#define EXT2_BLOCK_SIZE(s) ((s)->e2fs_bsize)
391#define EXT2_ADDR_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof(uint32_t))
392#define EXT2_INODE_SIZE(s) (EXT2_SB(s)->e2fs_isize)
393
394/*
395 * Macro-instructions used to manage fragments
396 */

--- 12 unchanged lines hidden ---
388#define EXT2_MIN_BLOCK_LOG_SIZE 10
389#define EXT2_BLOCK_SIZE(s) ((s)->e2fs_bsize)
390#define EXT2_ADDR_PER_BLOCK(s) (EXT2_BLOCK_SIZE(s) / sizeof(uint32_t))
391#define EXT2_INODE_SIZE(s) (EXT2_SB(s)->e2fs_isize)
392
393/*
394 * Macro-instructions used to manage fragments
395 */

--- 12 unchanged lines hidden ---