taglinefilesource code
old_dir766fs/ext/namei.cstatic int do_ext_rename(struct inode * old_dir, const char * old_name, int old_len,
old_dir786fs/ext/namei.cold_bh = ext_find_entry(old_dir,old_name,old_len,&old_de,&pde,&nde);
old_dir790fs/ext/namei.cold_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */
old_dir794fs/ext/namei.cif ((old_dir->i_mode & S_ISVTX) && 
old_dir796fs/ext/namei.ccurrent->fsuid != old_dir->i_uid && !fsuser())
old_dir832fs/ext/namei.cif (PARENT_INO(dir_bh->b_data) != old_dir->i_ino)
old_dir861fs/ext/namei.cold_dir->i_nlink--;
old_dir863fs/ext/namei.cold_dir->i_dirt = 1;
old_dir873fs/ext/namei.ciput(old_dir);
old_dir887fs/ext/namei.cint ext_rename(struct inode * old_dir, const char * old_name, int old_len,
old_dir897fs/ext/namei.cresult = do_ext_rename(old_dir, old_name, old_len,
old_dir929fs/ext2/namei.cstatic int do_ext2_rename (struct inode * old_dir, const char * old_name,
old_dir955fs/ext2/namei.cold_bh = ext2_find_entry (old_dir, old_name, old_len, &old_de);
old_dir959fs/ext2/namei.cold_inode = __iget (old_dir->i_sb, old_de->inode, 0); /* don't cross mnt-points */
old_dir963fs/ext2/namei.cif ((old_dir->i_mode & S_ISVTX) && 
old_dir965fs/ext2/namei.ccurrent->fsuid != old_dir->i_uid && !fsuser())
old_dir1013fs/ext2/namei.cif (PARENT_INO(dir_bh->b_data) != old_dir->i_ino)
old_dir1044fs/ext2/namei.cold_dir->i_version = ++event;
old_dir1050fs/ext2/namei.cold_dir->i_ctime = old_dir->i_mtime = CURRENT_TIME;
old_dir1051fs/ext2/namei.cold_dir->i_dirt = 1;
old_dir1056fs/ext2/namei.cold_dir->i_nlink--;
old_dir1057fs/ext2/namei.cold_dir->i_dirt = 1;
old_dir1067fs/ext2/namei.cif (IS_SYNC(old_dir)) {
old_dir1083fs/ext2/namei.ciput (old_dir);
old_dir1101fs/ext2/namei.cint ext2_rename (struct inode * old_dir, const char * old_name, int old_len,
old_dir1106fs/ext2/namei.cwhile (old_dir->i_sb->u.ext2_sb.s_rename_lock)
old_dir1107fs/ext2/namei.csleep_on (&old_dir->i_sb->u.ext2_sb.s_rename_wait);
old_dir1108fs/ext2/namei.cold_dir->i_sb->u.ext2_sb.s_rename_lock = 1;
old_dir1109fs/ext2/namei.cresult = do_ext2_rename (old_dir, old_name, old_len, new_dir,
old_dir1111fs/ext2/namei.cold_dir->i_sb->u.ext2_sb.s_rename_lock = 0;
old_dir1112fs/ext2/namei.cwake_up (&old_dir->i_sb->u.ext2_sb.s_rename_wait);
old_dir674fs/minix/namei.cstatic int do_minix_rename(struct inode * old_dir, const char * old_name, int old_len,
old_dir683fs/minix/namei.cinfo = &old_dir->i_sb->u.minix_sb;
old_dir696fs/minix/namei.cold_bh = minix_find_entry(old_dir,old_name,old_len,&old_de);
old_dir700fs/minix/namei.cold_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */
old_dir704fs/minix/namei.cif ((old_dir->i_mode & S_ISVTX) && 
old_dir706fs/minix/namei.ccurrent->fsuid != old_dir->i_uid && !fsuser())
old_dir750fs/minix/namei.cif (PARENT_INO(dir_bh->b_data) != old_dir->i_ino)
old_dir771fs/minix/namei.cold_dir->i_ctime = old_dir->i_mtime = CURRENT_TIME;
old_dir772fs/minix/namei.cold_dir->i_dirt = 1;
old_dir773fs/minix/namei.cold_dir->i_version = ++event;
old_dir787fs/minix/namei.cold_dir->i_nlink--;
old_dir788fs/minix/namei.cold_dir->i_dirt = 1;
old_dir804fs/minix/namei.ciput(old_dir);
old_dir818fs/minix/namei.cint minix_rename(struct inode * old_dir, const char * old_name, int old_len,
old_dir828fs/minix/namei.cresult = do_minix_rename(old_dir, old_name, old_len,
old_dir485fs/msdos/namei.cstatic int rename_same_dir(struct inode *old_dir,char *old_name,
old_dir489fs/msdos/namei.cstruct super_block *sb = old_dir->i_sb;
old_dir538fs/msdos/namei.cif ((old_inode = iget(old_dir->i_sb,old_ino)) != NULL) {
old_dir549fs/msdos/namei.cstatic int rename_diff_dir(struct inode *old_dir,char *old_name,
old_dir553fs/msdos/namei.cstruct super_block *sb = old_dir->i_sb;
old_dir560fs/msdos/namei.cif (old_dir->i_dev != new_dir->i_dev) return -EINVAL;
old_dir580fs/msdos/namei.cif (!(old_inode = iget(old_dir->i_sb,old_ino))) {
old_dir664fs/msdos/namei.cold_dir->i_nlink--;
old_dir679fs/msdos/namei.cint msdos_rename(struct inode *old_dir,const char *old_name,int old_len,
old_dir682fs/msdos/namei.cstruct super_block *sb = old_dir->i_sb;
old_dir689fs/msdos/namei.cif ((error = msdos_format_name(MSDOS_SB(old_dir->i_sb)->name_check,
old_dir690fs/msdos/namei.cold_name,old_len,old_msdos_name,1,MSDOS_SB(old_dir->i_sb)->dotsOK))
old_dir697fs/msdos/namei.cif ((error = msdos_scan(old_dir,old_msdos_name,&old_bh,&old_de,
old_dir700fs/msdos/namei.cif (old_dir == new_dir)
old_dir701fs/msdos/namei.cerror = rename_same_dir(old_dir,old_msdos_name,new_dir,
old_dir703fs/msdos/namei.celse error = rename_diff_dir(old_dir,old_msdos_name,new_dir,
old_dir708fs/msdos/namei.ciput(old_dir);
old_dir775fs/namei.cstruct inode * old_dir, * new_dir;
old_dir779fs/namei.cerror = dir_namei(oldname, &old_len, &old_base, NULL, &old_dir);
old_dir782fs/namei.cif ((error = permission(old_dir,MAY_WRITE | MAY_EXEC)) != 0) {
old_dir783fs/namei.ciput(old_dir);
old_dir789fs/namei.ciput(old_dir);
old_dir794fs/namei.ciput(old_dir);
old_dir798fs/namei.ciput(old_dir);
old_dir805fs/namei.ciput(old_dir);
old_dir809fs/namei.cif (new_dir->i_dev != old_dir->i_dev) {
old_dir810fs/namei.ciput(old_dir);
old_dir814fs/namei.cif (IS_RDONLY(new_dir) || IS_RDONLY(old_dir)) {
old_dir815fs/namei.ciput(old_dir);
old_dir822fs/namei.cif (IS_APPEND(old_dir)) {
old_dir823fs/namei.ciput(old_dir);
old_dir827fs/namei.cif (!old_dir->i_op || !old_dir->i_op->rename) {
old_dir828fs/namei.ciput(old_dir);
old_dir836fs/namei.cerror = old_dir->i_op->rename(old_dir, old_base, old_len, 
old_dir64fs/ncpfs/dir.cncp_rename(struct inode *old_dir, const char *old_name, int old_len, 
old_dir925fs/ncpfs/dir.cncp_rename(struct inode *old_dir, const char *old_name, int old_len,
old_dir932fs/ncpfs/dir.cif (!old_dir || !S_ISDIR(old_dir->i_mode))
old_dir946fs/ncpfs/dir.cif (   (ncp_find_inode(old_dir, old_name) != NULL)
old_dir961fs/ncpfs/dir.cres = ncp_ren_or_mov_file_or_subdir(NCP_SERVER(old_dir),
old_dir962fs/ncpfs/dir.cNCP_ISTRUCT(old_dir), _old_name,
old_dir967fs/ncpfs/dir.cncp_invalid_dir_cache(old_dir->i_ino);
old_dir976fs/ncpfs/dir.ciput(old_dir); 
old_dir520fs/ncpfs/ncplib_kernel.cstruct nw_info_struct *old_dir, char *old_name,
old_dir525fs/ncpfs/ncplib_kernel.cif (   (old_dir == NULL) || (old_name == NULL)
old_dir536fs/ncpfs/ncplib_kernel.cncp_add_byte(server, old_dir->volNumber);
old_dir537fs/ncpfs/ncplib_kernel.cncp_add_dword(server, old_dir->DosDirNum);
old_dir152fs/ncpfs/ncplib_kernel.hstruct nw_info_struct *old_dir, char *old_name,
old_dir37fs/nfs/dir.cstatic int nfs_rename(struct inode *old_dir, const char *old_name,
old_dir563fs/nfs/dir.cstatic int nfs_rename(struct inode *old_dir, const char *old_name, int old_len,
old_dir568fs/nfs/dir.cif (!old_dir || !S_ISDIR(old_dir->i_mode)) {
old_dir570fs/nfs/dir.ciput(old_dir);
old_dir576fs/nfs/dir.ciput(old_dir);
old_dir581fs/nfs/dir.ciput(old_dir);
old_dir585fs/nfs/dir.cerror = nfs_proc_rename(NFS_SERVER(old_dir),
old_dir586fs/nfs/dir.cNFS_FH(old_dir), old_name,
old_dir589fs/nfs/dir.cnfs_lookup_cache_remove(old_dir, NULL, old_name);
old_dir592fs/nfs/dir.ciput(old_dir);
old_dir537fs/nfs/proc.cstruct nfs_fh *old_dir, const char *old_name,
old_dir549fs/nfs/proc.cp = xdr_encode_fhandle(p, old_dir);
old_dir63fs/smbfs/dir.csmb_rename(struct inode *old_dir, const char *old_name, int old_len, 
old_dir884fs/smbfs/dir.csmb_rename(struct inode *old_dir, const char *old_name, int old_len,
old_dir890fs/smbfs/dir.cif (!old_dir || !S_ISDIR(old_dir->i_mode)) {
old_dir902fs/smbfs/dir.cres = get_pname_static(old_dir, old_name, old_len, old_path, &old_len);
old_dir912fs/smbfs/dir.cif (   (smb_find_inode(SMB_SERVER(old_dir), old_path) != NULL)
old_dir918fs/smbfs/dir.cres = smb_proc_mv(SMB_SERVER(old_dir), old_path, old_len,
old_dir923fs/smbfs/dir.cres1 = smb_proc_unlink(SMB_SERVER(old_dir), new_path, new_len);
old_dir925fs/smbfs/dir.cres = smb_proc_mv(SMB_SERVER(old_dir), old_path,
old_dir931fs/smbfs/dir.csmb_invalid_dir_cache(old_dir->i_ino);
old_dir936fs/smbfs/dir.ciput(old_dir); 
old_dir670fs/sysv/namei.cstatic int do_sysv_rename(struct inode * old_dir, const char * old_name, int old_len,
old_dir690fs/sysv/namei.cold_bh = sysv_find_entry(old_dir,old_name,old_len,&old_de);
old_dir694fs/sysv/namei.cold_inode = __iget(old_dir->i_sb, old_de->inode, 0); /* don't cross mnt-points */
old_dir698fs/sysv/namei.cif ((old_dir->i_mode & S_ISVTX) && 
old_dir700fs/sysv/namei.ccurrent->fsuid != old_dir->i_uid && !fsuser())
old_dir744fs/sysv/namei.cif (PARENT_INO(dir_bh->b_data) != old_dir->i_ino)
old_dir765fs/sysv/namei.cold_dir->i_ctime = old_dir->i_mtime = CURRENT_TIME;
old_dir766fs/sysv/namei.cold_dir->i_dirt = 1;
old_dir779fs/sysv/namei.cold_dir->i_nlink--;
old_dir780fs/sysv/namei.cold_dir->i_dirt = 1;
old_dir796fs/sysv/namei.ciput(old_dir);
old_dir810fs/sysv/namei.cint sysv_rename(struct inode * old_dir, const char * old_name, int old_len,
old_dir820fs/sysv/namei.cresult = do_sysv_rename(old_dir, old_name, old_len,
old_dir309fs/umsdos/namei.cstruct inode * old_dir,
old_dir326fs/umsdos/namei.cumsdos_lockcreate2(old_dir,new_dir);
old_dir329fs/umsdos/namei.cret = umsdos_findentry(old_dir,&old_info,0);
old_dir334fs/umsdos/namei.cif ( !(old_dir->i_mode & S_ISVTX) || fsuser() ||
old_dir336fs/umsdos/namei.ccurrent->fsuid == old_dir->i_uid ) {
old_dir351fs/umsdos/namei.cold_dir->i_count++;
old_dir353fs/umsdos/namei.cret = msdos_rename (old_dir
old_dir364fs/umsdos/namei.cret = umsdos_delentry (old_dir,&old_info
old_dir408fs/umsdos/namei.cumsdos_unlockcreate(old_dir);
old_dir411fs/umsdos/namei.ciput (old_dir);
old_dir1012fs/umsdos/namei.cstruct inode * old_dir,
old_dir1034fs/umsdos/namei.cold_dir->i_count++;
old_dir1036fs/umsdos/namei.cret = umsdos_rename_f (old_dir,old_name,old_len,new_dir,new_name
old_dir1084fs/umsdos/namei.cret = umsdos_rename_f (old_dir,old_name,old_len
old_dir1086fs/umsdos/namei.cnew_dir = old_dir = NULL;
old_dir1091fs/umsdos/namei.ciput (old_dir);
old_dir714fs/xiafs/namei.cstatic int do_xiafs_rename(struct inode * old_dir, const char * old_name, 
old_dir726fs/xiafs/namei.cold_bh = xiafs_find_entry(old_dir, old_name, old_len, &old_de, &old_de_pre);
old_dir730fs/xiafs/namei.cold_inode = __iget(old_dir->i_sb, old_de->d_ino, 0); /* don't cross mnt-points */
old_dir734fs/xiafs/namei.cif ((old_dir->i_mode & S_ISVTX) && 
old_dir736fs/xiafs/namei.ccurrent->fsuid != old_dir->i_uid && !fsuser())
old_dir772fs/xiafs/namei.cif (PARENT_INO(dir_bh->b_data) != old_dir->i_ino)
old_dir808fs/xiafs/namei.cold_dir->i_nlink--;
old_dir810fs/xiafs/namei.cold_dir->i_dirt = 1;
old_dir820fs/xiafs/namei.ciput(old_dir);
old_dir834fs/xiafs/namei.cint xiafs_rename(struct inode * old_dir, const char * old_name, int old_len,
old_dir844fs/xiafs/namei.cresult = do_xiafs_rename(old_dir, old_name, old_len,
old_dir76include/linux/ext_fs.hextern int ext_rename(struct inode * old_dir, const char * old_name, int old_len,
old_dir102include/linux/minix_fs.hextern int minix_rename(struct inode * old_dir, const char * old_name, int old_len,
old_dir158include/linux/msdos_fs.hextern int msdos_rename(struct inode *old_dir,const char *old_name,int old_len,
old_dir74include/linux/nfs_fs.hstruct nfs_fh *old_dir, const char *old_name,
old_dir375include/linux/sysv_fs.hextern int sysv_rename(struct inode * old_dir, const char * old_name, int old_len,
old_dir80include/linux/xia_fs.hextern int xiafs_rename(struct inode * old_dir, const char * old_name,