Searched refs:is_dir (Results 1 – 7 of 7) sorted by relevance
/fs/fat/ |
D | namei_msdos.c | 241 int is_dir, int is_hid, int cluster, in msdos_add_entry() argument 250 de.attr = is_dir ? ATTR_DIR : ATTR_ARCH; in msdos_add_entry() 456 int err, old_attrs, is_dir, update_dotdot, corrupt = 0; in do_msdos_rename() local 468 is_dir = S_ISDIR(old_inode->i_mode); in do_msdos_rename() 469 update_dotdot = (is_dir && old_dir != new_dir); in do_msdos_rename() 514 if (is_dir) { in do_msdos_rename() 522 err = msdos_add_entry(new_dir, new_name, is_dir, is_hid, 0, in do_msdos_rename() 571 if (is_dir) in do_msdos_rename()
|
D | namei_vfat.c | 590 int len, int is_dir, int cluster, in vfat_build_slots() argument 653 de->attr = is_dir ? ATTR_DIR : ATTR_ARCH; in vfat_build_slots() 667 static int vfat_add_entry(struct inode *dir, struct qstr *qname, int is_dir, in vfat_add_entry() argument 683 err = vfat_build_slots(dir, qname->name, len, is_dir, cluster, ts, in vfat_add_entry() 916 int err, is_dir, update_dotdot, corrupt = 0; in vfat_rename() local 927 is_dir = S_ISDIR(old_inode->i_mode); in vfat_rename() 928 update_dotdot = (is_dir && old_dir != new_dir); in vfat_rename() 939 if (is_dir) { in vfat_rename() 947 err = vfat_add_entry(new_dir, &new_dentry->d_name, is_dir, 0, in vfat_rename() 992 if (is_dir) in vfat_rename()
|
D | file.c | 41 int err, is_dir = S_ISDIR(inode->i_mode); in fat_generic_ioctl() local 63 (is_dir ? ATTR_DIR : 0); in fat_generic_ioctl() 69 if (is_dir) in fat_generic_ioctl()
|
/fs/ubifs/ |
D | dir.c | 975 int is_dir = S_ISDIR(old_inode->i_mode); in ubifs_rename() local 1004 if (unlink && is_dir) { in ubifs_rename() 1029 if (is_dir) { in ubifs_rename() 1069 if (is_dir) in ubifs_rename() 1109 if (is_dir) in ubifs_rename() 1118 if (is_dir) { in ubifs_rename()
|
/fs/omfs/ |
D | dir.c | 395 int is_dir; in omfs_rename() local 398 is_dir = S_ISDIR(old_inode->i_mode); in omfs_rename() 403 if (is_dir && !omfs_dir_is_empty(new_inode)) in omfs_rename()
|
/fs/ |
D | namei.c | 1877 struct dentry *lookup_create(struct nameidata *nd, int is_dir) in lookup_create() argument 1907 if (unlikely(!is_dir && nd->last.name[nd->last.len])) { in lookup_create() 2587 int is_dir = S_ISDIR(old_dentry->d_inode->i_mode); in vfs_rename() local 2593 error = may_delete(old_dir, old_dentry, is_dir); in vfs_rename() 2600 error = may_delete(new_dir, new_dentry, is_dir); in vfs_rename() 2612 if (is_dir) in vfs_rename() 2618 fsnotify_move(old_dir, new_dir, old_name, new_name, is_dir, in vfs_rename()
|
/fs/xfs/ |
D | xfs_vnodeops.c | 1791 int is_dir = S_ISDIR(ip->i_d.di_mode); in xfs_remove() local 1823 if (is_dir) { in xfs_remove() 1870 if (is_dir) { in xfs_remove() 1891 if (is_dir) { in xfs_remove() 1949 if (!is_dir && link_zero && xfs_inode_is_filestream(ip)) in xfs_remove()
|