Lines Matching refs:S_ISDIR
62 } else if (S_ISDIR(mode)) { in gfs2_set_iop()
368 if (S_ISDIR(mode) && dip->i_inode.i_nlink == (u32)-1) in create_ok()
380 if (S_ISDIR(inode->i_mode)) in munge_mode_uid_gid()
389 if (S_ISDIR(inode->i_mode)) in munge_mode_uid_gid()
652 if (S_ISDIR(inode->i_mode)) { in gfs2_create_inode()
690 set_nlink(inode, S_ISDIR(mode) ? 2 : 1); in gfs2_create_inode()
949 if (S_ISDIR(inode->i_mode)) in gfs2_link()
1121 if (S_ISDIR(inode->i_mode)) in gfs2_unlink_inode()
1181 if (S_ISDIR(inode->i_mode)) { in gfs2_unlink()
1431 if (S_ISDIR(ip->i_inode.i_mode)) { in gfs2_rename()
1503 if (S_ISDIR(nip->i_inode.i_mode)) { in gfs2_rename()
1541 if (S_ISDIR(ip->i_inode.i_mode) && in gfs2_rename()
1666 if (S_ISDIR(old_mode)) { in gfs2_exchange()
1673 if (S_ISDIR(new_mode)) { in gfs2_exchange()
1715 if (S_ISDIR(old_mode)) { in gfs2_exchange()
1721 if (S_ISDIR(new_mode)) { in gfs2_exchange()
1731 error = update_moved_ino(oip, ndip, S_ISDIR(old_mode)); in gfs2_exchange()
1735 error = update_moved_ino(nip, odip, S_ISDIR(new_mode)); in gfs2_exchange()
1750 if (S_ISDIR(new_mode) && !S_ISDIR(old_mode)) { in gfs2_exchange()
1753 } else if (S_ISDIR(old_mode) && !S_ISDIR(new_mode)) { in gfs2_exchange()