/linux-2.4.37.9/fs/qnx4/ |
D | truncate.c | 26 if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) || in qnx4_truncate() 30 if (!(S_ISDIR(inode->i_mode))) { in qnx4_truncate()
|
/linux-2.4.37.9/fs/jfs/ |
D | jfs_inode.c | 55 rc = diAlloc(parent, S_ISDIR(mode), inode); in ialloc() 67 if (S_ISDIR(mode)) in ialloc() 73 if (S_ISDIR(mode)) in ialloc()
|
D | namei.c | 759 if (S_ISDIR(ip->i_mode)) in jfs_link() 1076 if (S_ISDIR(old_ip->i_mode)) { in jfs_rename() 1111 if (S_ISDIR(new_ip->i_mode)) { in jfs_rename() 1118 if (!S_ISDIR(old_ip->i_mode) && new_ip) in jfs_rename() 1161 if (S_ISDIR(old_ip->i_mode)) in jfs_rename() 1176 if (S_ISDIR(old_ip->i_mode)) { in jfs_rename() 1262 if (new_ip && !S_ISDIR(new_ip->i_mode)) in jfs_rename()
|
/linux-2.4.37.9/fs/udf/ |
D | ialloc.c | 52 is_directory = S_ISDIR(inode->i_mode); in udf_free_inode() 103 if (S_ISDIR(mode)) in udf_new_inode() 120 if (S_ISDIR(mode)) in udf_new_inode()
|
/linux-2.4.37.9/fs/hpfs/ |
D | inode.c | 214 if ((i->i_mode != ((i->i_sb->s_hpfs_mode & ~(S_ISDIR(i->i_mode) ? 0 : 0111)) in hpfs_write_inode_ea() 215 | (S_ISDIR(i->i_mode) ? S_IFDIR : S_IFREG)) in hpfs_write_inode_ea() 216 && i->i_mode != ((i->i_sb->s_hpfs_mode & ~(S_ISDIR(i->i_mode) ? 0222 : 0333)) in hpfs_write_inode_ea() 217 | (S_ISDIR(i->i_mode) ? S_IFDIR : S_IFREG))) || i->i_hpfs_ea_mode) { in hpfs_write_inode_ea() 271 } else if (S_ISDIR(i->i_mode)) { in hpfs_write_inode_nolock() 285 if (S_ISDIR(i->i_mode)) { in hpfs_write_inode_nolock()
|
/linux-2.4.37.9/fs/nfsd/ |
D | nfsfh.c | 80 if (!dir || !S_ISDIR(dir->i_mode)) in nfsd_get_name() 416 || (!S_ISDIR(result->d_inode->i_mode) && ! needpath)) { in find_fh_dentry() 432 if (!S_ISDIR(result->d_inode->i_mode)) { in find_fh_dentry() 441 || !S_ISDIR(dentry->d_inode->i_mode)) { in find_fh_dentry() 652 if (S_ISDIR(dentry->d_inode->i_mode) && in fh_verify() 755 int need_parent = !S_ISDIR(dentry->d_inode->i_mode) && in _fh_update() 767 S_ISDIR(dentry->d_inode->i_mode) || in _fh_update() 785 if (S_ISDIR(dentry->d_inode->i_mode) || in _fh_update_old()
|
/linux-2.4.37.9/fs/reiserfs/ |
D | namei.c | 483 if (!S_ISDIR (inode->i_mode) && visible) in reiserfs_add_entry() 516 if (S_ISDIR(mode)) in new_inode_init() 943 if (S_ISDIR(inode->i_mode)) in reiserfs_link() 1073 if (S_ISDIR(old_inode_mode)) { in reiserfs_rename() 1148 if (S_ISDIR(old_inode->i_mode)) { in reiserfs_rename() 1178 if (S_ISDIR(old_inode_mode)) in reiserfs_rename() 1182 if (S_ISDIR(old_inode_mode)) { in reiserfs_rename() 1193 RFALSE( S_ISDIR(old_inode_mode) && in reiserfs_rename() 1213 if (S_ISDIR(new_dentry_inode->i_mode)) { in reiserfs_rename() 1223 if (S_ISDIR(old_inode_mode)) { in reiserfs_rename()
|
/linux-2.4.37.9/fs/ufs/ |
D | ialloc.c | 99 is_directory = S_ISDIR(inode->i_mode); in ufs_free_inode() 237 if (S_ISDIR(mode)) { in ufs_new_inode() 255 if (S_ISDIR(mode)) in ufs_new_inode()
|
D | namei.c | 161 if (S_ISDIR(inode->i_mode)) in ufs_link() 268 if (S_ISDIR(old_inode->i_mode)) { in ufs_rename()
|
/linux-2.4.37.9/drivers/net/wan/ |
D | comx-proto-fr.c | 133 if(!S_ISDIR(dir->mode)) { in fr_keepalive_timerfun() 178 if(!S_ISDIR(dir->mode)) { in fr_rx_lmi() 260 if(!S_ISDIR(dir->mode)) { in fr_rx() 309 if(!S_ISDIR(dir->mode)) { in fr_tx() 354 if(!S_ISDIR(dir->mode)) { in fr_status() 456 if(!S_ISDIR(dir->mode)) { in fr_close() 517 if(!S_ISDIR(dir->mode)) { in fr_xmit() 575 if(!S_ISDIR(dir->mode)) { in fr_statistics() 726 if(!S_ISDIR(dir->mode)) { in fr_exit()
|
/linux-2.4.37.9/fs/umsdos/ |
D | inode.c | 71 if (!S_ISDIR(inode->i_mode)) in umsdos_setup_dir() 145 } else if (S_ISDIR (inode->i_mode)) { in umsdos_patch_dentry_inode() 428 if (!root->d_inode || !S_ISDIR(root->d_inode->i_mode)) in check_pseudo_root() 438 if (!sbin->d_inode || !S_ISDIR(sbin->d_inode->i_mode)) in check_pseudo_root()
|
D | ioctl.c | 315 S_ISDIR (data.umsdos_dirent.mode)); in UMSDOS_ioctl_dir() 341 if (!S_ISDIR(temp->d_inode->i_mode)) in UMSDOS_ioctl_dir() 367 if (S_ISDIR(temp->d_inode->i_mode)) in UMSDOS_ioctl_dir()
|
D | namei.c | 303 umsdos_delentry (dentry->d_parent, &info, S_ISDIR (info.entry.mode)); in umsdos_create_any() 386 S_ISDIR(new_info.entry.mode)); in umsdos_rename_f() 432 S_ISDIR (new_info.entry.mode)); in umsdos_rename_f() 442 S_ISDIR (old_info.entry.mode)); in umsdos_rename_f() 547 if (S_ISDIR (oldinode->i_mode)) in UMSDOS_link() 1118 if (S_ISDIR(old_dentry->d_inode->i_mode)) in UMSDOS_rename()
|
D | emd.c | 568 if ((isdir != 0) != (S_ISDIR (info->entry.mode) != 0)) { in umsdos_delentry() 569 if (S_ISDIR (info->entry.mode)) { in umsdos_delentry() 649 if (S_ISDIR (info->entry.mode)) in umsdos_findentry() 653 if (!S_ISDIR (info->entry.mode)) in umsdos_findentry()
|
/linux-2.4.37.9/fs/ |
D | dnotify.c | 49 if (!S_ISDIR(inode->i_mode)) in dnotify_flush() 81 if (!S_ISDIR(inode->i_mode)) in fcntl_dirnotify()
|
D | namei.c | 160 (S_ISREG(mode) || S_ISDIR(mode) || S_ISLNK(mode))) in vfs_permission() 192 if (mask == MAY_READ || (S_ISDIR(inode->i_mode) && !(mask & MAY_WRITE))) in vfs_permission() 681 if (!nd->dentry->d_inode || S_ISDIR(nd->dentry->d_inode->i_mode)) { in __emul_lookup_dentry() 930 if (!S_ISDIR(victim->d_inode->i_mode)) in may_delete() 934 } else if (S_ISDIR(victim->d_inode->i_mode)) in may_delete() 1108 if (dentry->d_inode && S_ISDIR(dentry->d_inode->i_mode)) in open_namei() 1121 if (S_ISDIR(inode->i_mode) && (flag & FMODE_WRITE)) in open_namei() 1293 if (S_ISDIR(mode)) in sys_mknod() 1565 S_ISDIR(dentry->d_inode->i_mode) ? -EISDIR : -ENOTDIR; in sys_unlink() 1866 if (S_ISDIR(old_dentry->d_inode->i_mode)) in vfs_rename() [all …]
|
/linux-2.4.37.9/fs/ext2/ |
D | ialloc.c | 176 is_directory = S_ISDIR(inode->i_mode); in ext2_free_inode() 334 if (S_ISDIR(mode)) in ext2_new_inode() 378 if (S_ISDIR(mode)) in ext2_new_inode() 413 if (S_ISDIR(mode)) in ext2_new_inode()
|
D | namei.c | 167 if (S_ISDIR(inode->i_mode)) in ext2_link() 275 if (S_ISDIR(old_inode->i_mode)) { in ext2_rename()
|
/linux-2.4.37.9/fs/proc/ |
D | generic.c | 377 if (S_ISDIR(dp->mode)) { in proc_register() 523 if (S_ISDIR(mode)) { in create_proc_entry() 537 if (S_ISDIR(mode)) { in create_proc_entry() 581 if (S_ISDIR(de->mode)) in remove_proc_entry()
|
/linux-2.4.37.9/include/linux/ |
D | stat.h | 26 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
|
/linux-2.4.37.9/fs/ext3/ |
D | ialloc.c | 222 is_directory = S_ISDIR(inode->i_mode); in ext3_free_inode() 329 if (S_ISDIR(mode)) { in ext3_new_inode() 453 if (S_ISDIR(mode)) in ext3_new_inode() 475 if (S_ISDIR(mode)) in ext3_new_inode()
|
/linux-2.4.37.9/fs/efs/ |
D | namei.c | 62 if (!dir || !S_ISDIR(dir->i_mode)) in efs_lookup()
|
/linux-2.4.37.9/fs/sysv/ |
D | namei.c | 140 if (S_ISDIR(inode->i_mode)) in sysv_link() 248 if (S_ISDIR(old_inode->i_mode)) { in sysv_rename()
|
/linux-2.4.37.9/fs/ramfs/ |
D | inode.c | 145 if (S_ISDIR(mode)) in ramfs_mknod() 172 if (S_ISDIR(inode->i_mode)) in ramfs_link()
|
/linux-2.4.37.9/fs/devfs/ |
D | base.c | 957 if ( !S_ISDIR (dir->mode) ) in _devfs_search_dir() 994 if ( S_ISDIR (mode) ) rwlock_init (&new->u.dir.lock); in _devfs_alloc_entry() 1032 if ( !S_ISDIR (dir->mode) ) in _devfs_append_entry() 1171 if ( !old || !S_ISDIR (old->mode) ) in _devfs_make_parent_for_leaf() 1276 if ( !S_ISDIR (dir->mode) ) in _devfs_find_by_dev() 1302 if ( !S_ISDIR (entry->mode) ) continue; in _devfs_find_by_dev() 1570 if ( S_ISDIR (mode) ) in devfs_register() 1691 if ( !S_ISDIR (de->mode) ) return; in _devfs_unregister() 1842 if ( old && S_ISDIR (old->mode) ) in devfs_mk_dir() 1970 if ( S_ISDIR (de->mode) ) return -EISDIR; in devfs_get_maj_min() [all …]
|