/fs/fat/ |
D | namei_msdos.c | 230 int is_dir, int is_hid, int cluster, in msdos_add_entry() argument 239 de.attr = is_dir ? ATTR_DIR : ATTR_ARCH; in msdos_add_entry() 445 int err, old_attrs, is_dir, update_dotdot, corrupt = 0; in do_msdos_rename() local 457 is_dir = S_ISDIR(old_inode->i_mode); in do_msdos_rename() 458 update_dotdot = (is_dir && old_dir != new_dir); in do_msdos_rename() 503 if (is_dir) { in do_msdos_rename() 511 err = msdos_add_entry(new_dir, new_name, is_dir, is_hid, 0, in do_msdos_rename() 560 if (is_dir) in do_msdos_rename()
|
D | namei_vfat.c | 585 int len, int is_dir, int cluster, in vfat_build_slots() argument 648 de->attr = is_dir ? ATTR_DIR : ATTR_ARCH; in vfat_build_slots() 662 static int vfat_add_entry(struct inode *dir, struct qstr *qname, int is_dir, in vfat_add_entry() argument 678 err = vfat_build_slots(dir, qname->name, len, is_dir, cluster, ts, in vfat_add_entry() 919 int err, is_dir, update_dotdot, corrupt = 0; in vfat_rename() local 930 is_dir = S_ISDIR(old_inode->i_mode); in vfat_rename() 931 update_dotdot = (is_dir && old_dir != new_dir); in vfat_rename() 942 if (is_dir) { in vfat_rename() 950 err = vfat_add_entry(new_dir, &new_dentry->d_name, is_dir, 0, in vfat_rename() 995 if (is_dir) in vfat_rename()
|
D | file.c | 37 int is_dir = S_ISDIR(inode->i_mode); in fat_ioctl_set_attributes() local 60 (is_dir ? ATTR_DIR : 0); in fat_ioctl_set_attributes() 66 if (is_dir) in fat_ioctl_set_attributes()
|
/fs/xfs/ |
D | xfs_vnodeops.c | 842 int is_dir = S_ISDIR(mode); in xfs_create() local 877 if (is_dir) { in xfs_create() 938 error = xfs_dir_ialloc(&tp, dp, mode, is_dir ? 2 : 1, rdev, in xfs_create() 966 if (is_dir) { in xfs_create() 1217 int is_dir = S_ISDIR(ip->i_d.di_mode); in xfs_remove() local 1240 if (is_dir) { in xfs_remove() 1280 if (is_dir) { in xfs_remove() 1301 if (is_dir) { in xfs_remove() 1359 if (!is_dir && link_zero && xfs_inode_is_filestream(ip)) in xfs_remove()
|
/fs/ocfs2/ |
D | journal.h | 423 static inline int ocfs2_mknod_credits(struct super_block *sb, int is_dir, in ocfs2_mknod_credits() argument 428 if (is_dir) in ocfs2_mknod_credits()
|
/fs/ubifs/ |
D | dir.c | 995 int is_dir = S_ISDIR(old_inode->i_mode); in ubifs_rename() local 1025 if (unlink && is_dir) { in ubifs_rename() 1050 if (is_dir) { in ubifs_rename() 1090 if (is_dir) in ubifs_rename() 1138 if (is_dir) { in ubifs_rename()
|
/fs/sysfs/ |
D | dir.c | 288 int is_dir; in sysfs_dentry_revalidate() local 322 is_dir = (sysfs_type(sd) == SYSFS_DIR); in sysfs_dentry_revalidate() 324 if (is_dir) { in sysfs_dentry_revalidate()
|
/fs/ |
D | namei.c | 2473 struct dentry *kern_path_create(int dfd, const char *pathname, struct path *path, int is_dir) in kern_path_create() argument 2507 if (unlikely(!is_dir && nd.last.name[nd.last.len])) { in kern_path_create() 2525 struct dentry *user_path_create(int dfd, const char __user *pathname, struct path *path, int is_dir) in user_path_create() argument 2531 res = kern_path_create(dfd, tmp, path, is_dir); in user_path_create() 3211 int is_dir = S_ISDIR(old_dentry->d_inode->i_mode); in vfs_rename() local 3217 error = may_delete(old_dir, old_dentry, is_dir); in vfs_rename() 3224 error = may_delete(new_dir, new_dentry, is_dir); in vfs_rename() 3233 if (is_dir) in vfs_rename() 3238 fsnotify_move(old_dir, new_dir, old_name, is_dir, in vfs_rename()
|