ext4.h (efc33ce197e4b6aaddf1eb2ba6293f51daf3c283) | ext4.h (74d553aad7926ed05e05d9d5cff516a7b31375fc) |
---|---|
1/* 2 * ext4.h 3 * 4 * Copyright (C) 1992, 1993, 1994, 1995 5 * Remy Card (card@masi.ibp.fr) 6 * Laboratoire MASI - Institut Blaise Pascal 7 * Universite Pierre et Marie Curie (Paris VI) 8 * --- 1360 unchanged lines hidden (view full) --- 1369 EXT4_STATE_DA_ALLOC_CLOSE, /* Alloc DA blks on close */ 1370 EXT4_STATE_EXT_MIGRATE, /* Inode is migrating */ 1371 EXT4_STATE_DIO_UNWRITTEN, /* need convert on dio done*/ 1372 EXT4_STATE_NEWENTRY, /* File just added to dir */ 1373 EXT4_STATE_DELALLOC_RESERVED, /* blks already reserved for delalloc */ 1374 EXT4_STATE_DIOREAD_LOCK, /* Disable support for dio read 1375 nolocking */ 1376 EXT4_STATE_MAY_INLINE_DATA, /* may have in-inode data */ | 1/* 2 * ext4.h 3 * 4 * Copyright (C) 1992, 1993, 1994, 1995 5 * Remy Card (card@masi.ibp.fr) 6 * Laboratoire MASI - Institut Blaise Pascal 7 * Universite Pierre et Marie Curie (Paris VI) 8 * --- 1360 unchanged lines hidden (view full) --- 1369 EXT4_STATE_DA_ALLOC_CLOSE, /* Alloc DA blks on close */ 1370 EXT4_STATE_EXT_MIGRATE, /* Inode is migrating */ 1371 EXT4_STATE_DIO_UNWRITTEN, /* need convert on dio done*/ 1372 EXT4_STATE_NEWENTRY, /* File just added to dir */ 1373 EXT4_STATE_DELALLOC_RESERVED, /* blks already reserved for delalloc */ 1374 EXT4_STATE_DIOREAD_LOCK, /* Disable support for dio read 1375 nolocking */ 1376 EXT4_STATE_MAY_INLINE_DATA, /* may have in-inode data */ |
1377 EXT4_STATE_ORDERED_MODE, /* data=ordered mode */ |
|
1377}; 1378 1379#define EXT4_INODE_BIT_FNS(name, field, offset) \ 1380static inline int ext4_test_inode_##name(struct inode *inode, int bit) \ 1381{ \ 1382 return test_bit(bit + (offset), &EXT4_I(inode)->i_##field); \ 1383} \ 1384static inline void ext4_set_inode_##name(struct inode *inode, int bit) \ --- 1315 unchanged lines hidden --- | 1378}; 1379 1380#define EXT4_INODE_BIT_FNS(name, field, offset) \ 1381static inline int ext4_test_inode_##name(struct inode *inode, int bit) \ 1382{ \ 1383 return test_bit(bit + (offset), &EXT4_I(inode)->i_##field); \ 1384} \ 1385static inline void ext4_set_inode_##name(struct inode *inode, int bit) \ --- 1315 unchanged lines hidden --- |