Lines Matching refs:VFS_I
206 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_isempty()
246 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_init()
335 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_createname()
437 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_lookup()
503 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_removename()
560 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_replace()
868 if (S_ISDIR(VFS_I(ip)->i_mode)) { in xfs_dir_create_child()
909 ASSERT(!S_ISDIR(VFS_I(ip)->i_mode)); in xfs_dir_add_child()
920 if (VFS_I(ip)->i_nlink == 0) { in xfs_dir_add_child()
976 if (S_ISDIR(VFS_I(ip)->i_mode)) { in xfs_dir_remove_child()
977 ASSERT(VFS_I(ip)->i_nlink >= 2); in xfs_dir_remove_child()
978 if (VFS_I(ip)->i_nlink != 2) in xfs_dir_remove_child()
1080 if (S_ISDIR(VFS_I(ip2)->i_mode)) { in xfs_dir_exchange_children()
1087 if (!S_ISDIR(VFS_I(ip1)->i_mode)) { in xfs_dir_exchange_children()
1104 if (S_ISDIR(VFS_I(ip1)->i_mode)) { in xfs_dir_exchange_children()
1111 if (!S_ISDIR(VFS_I(ip2)->i_mode)) { in xfs_dir_exchange_children()
1206 src_is_directory = S_ISDIR(VFS_I(src_ip)->i_mode); in xfs_dir_rename_children()
1227 if (S_ISDIR(VFS_I(target_ip)->i_mode) && in xfs_dir_rename_children()
1229 (VFS_I(target_ip)->i_nlink > 2))) in xfs_dir_rename_children()
1248 ASSERT(VFS_I(du_wip->ip)->i_nlink == 0); in xfs_dir_rename_children()