Home | History | Annotate | Download | only in linux

Lines Matching refs:inode

141 /* Inode flags - they have nothing to superblock flags now */
148 #define S_NOQUOTA 32 /* Inode is not counted to quota */
152 #define S_PRIVATE 512 /* Inode is fs-internal */
155 * Note that nosuid etc flags are inode-specific: setting some file-system
167 #define __IS_FLG(inode,flg) ((inode)->i_sb->s_flags & (flg))
169 #define IS_RDONLY(inode) ((inode)->i_sb->s_flags & MS_RDONLY)
170 #define IS_SYNC(inode) (__IS_FLG(inode, MS_SYNCHRONOUS) || \
171 ((inode)->i_flags & S_SYNC))
172 #define IS_DIRSYNC(inode) (__IS_FLG(inode, MS_SYNCHRONOUS|MS_DIRSYNC) || \
173 ((inode)->i_flags & (S_SYNC|S_DIRSYNC)))
174 #define IS_MANDLOCK(inode) __IS_FLG(inode, MS_MANDLOCK)
175 #define IS_NOATIME(inode) __IS_FLG(inode, MS_RDONLY|MS_NOATIME)
177 #define IS_NOQUOTA(inode) ((inode)->i_flags & S_NOQUOTA)
178 #define IS_APPEND(inode) ((inode)->i_flags & S_APPEND)
179 #define IS_IMMUTABLE(inode) ((inode)->i_flags & S_IMMUTABLE)
180 #define IS_POSIXACL(inode) __IS_FLG(inode, MS_POSIXACL)
182 #define IS_DEADDIR(inode) ((inode)->i_flags & S_DEAD)
183 #define IS_NOCMTIME(inode) ((inode)->i_flags & S_NOCMTIME)
184 #define IS_SWAPFILE(inode) ((inode)->i_flags & S_SWAPFILE)
185 #define IS_PRIVATE(inode) ((inode)->i_flags & S_PRIVATE)
235 * Inode flags (FS_IOC_GETFLAGS / FS_IOC_SETFLAGS)