Lines Matching refs:i_mode
54 return (S_ISLNK(inode->i_mode) && inode->i_blocks - ea_blocks == 0);
77 bh, is_metadata, inode->i_mode,
918 if (S_ISREG(inode->i_mode) && (!ei->i_block_alloc_info))
2337 if (S_ISREG(inode->i_mode))
2339 if (S_ISDIR(inode->i_mode))
2341 if (S_ISLNK(inode->i_mode))
2778 inode->i_mode = le16_to_cpu(raw_inode->i_mode);
2801 if (inode->i_mode == 0 ||
2809 * valid i_mode and are being read by the orphan
2821 if (!S_ISREG(inode->i_mode)) {
2890 if (S_ISREG(inode->i_mode)) {
2894 } else if (S_ISDIR(inode->i_mode)) {
2897 } else if (S_ISLNK(inode->i_mode)) {
2909 init_special_inode(inode, inode->i_mode,
2912 init_special_inode(inode, inode->i_mode,
2951 raw_inode->i_mode = cpu_to_le16(inode->i_mode);
2990 if (!S_ISREG(inode->i_mode)) {
3022 if (S_ISCHR(inode->i_mode) || S_ISBLK(inode->i_mode)) {
3161 if (S_ISREG(inode->i_mode) &&