Lines Matching refs:S_ISDIR
62 } else if (S_ISDIR(mode)) { in gfs2_set_iop()
353 if (S_ISDIR(mode) && dip->i_inode.i_nlink == (u32)-1) in create_ok()
365 if (S_ISDIR(inode->i_mode)) in munge_mode_uid_gid()
374 if (S_ISDIR(inode->i_mode)) in munge_mode_uid_gid()
626 if (S_ISDIR(inode->i_mode)) { in gfs2_create_inode()
664 set_nlink(inode, S_ISDIR(mode) ? 2 : 1); in gfs2_create_inode()
924 if (S_ISDIR(inode->i_mode)) in gfs2_link()
1096 if (S_ISDIR(inode->i_mode)) in gfs2_unlink_inode()
1156 if (S_ISDIR(inode->i_mode)) { in gfs2_unlink()
1406 if (S_ISDIR(ip->i_inode.i_mode)) { in gfs2_rename()
1478 if (S_ISDIR(nip->i_inode.i_mode)) { in gfs2_rename()
1516 if (S_ISDIR(ip->i_inode.i_mode) && in gfs2_rename()
1641 if (S_ISDIR(old_mode)) { in gfs2_exchange()
1648 if (S_ISDIR(new_mode)) { in gfs2_exchange()
1690 if (S_ISDIR(old_mode)) { in gfs2_exchange()
1696 if (S_ISDIR(new_mode)) { in gfs2_exchange()
1706 error = update_moved_ino(oip, ndip, S_ISDIR(old_mode)); in gfs2_exchange()
1710 error = update_moved_ino(nip, odip, S_ISDIR(new_mode)); in gfs2_exchange()
1725 if (S_ISDIR(new_mode) && !S_ISDIR(old_mode)) { in gfs2_exchange()
1728 } else if (S_ISDIR(old_mode) && !S_ISDIR(new_mode)) { in gfs2_exchange()