Searched refs:S_ISREG (Results 1 – 6 of 6) sorted by relevance
22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) macro
225 return IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode); in fscrypt_needs_contents_encryption()833 return IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode); in fscrypt_inode_should_skip_dm_default_key()
168 !inode_is_open_for_write(inode) && S_ISREG(inode->i_mode); in file_thp_enabled()
589 if (S_ISREG(inode->i_mode)) in nfs_have_writebacks()
3004 if (!S_ISREG(file_inode(file)->i_mode)) in file_start_write()3011 if (!S_ISREG(file_inode(file)->i_mode)) in file_start_write_trylock()3018 if (!S_ISREG(file_inode(file)->i_mode)) in file_end_write()
26 if (S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || in invalidate_remote_inode()