taglinefilesource code
old_dir765fs/ext/namei.cstatic int do_ext_rename(struct inode * old_dir, const char * old_name, int old_len,
old_dir785fs/ext/namei.cold_bh = ext_find_entry(old_dir,old_name,old_len,&old_de,&pde,&nde);
old_dir789fs/ext/namei.cold_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */
old_dir793fs/ext/namei.cif ((old_dir->i_mode & S_ISVTX) && 
old_dir795fs/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_dir915fs/ext2/namei.cstatic int do_ext2_rename (struct inode * old_dir, const char * old_name,
old_dir939fs/ext2/namei.cold_bh = ext2_find_entry (old_dir, old_name, old_len, &old_de);
old_dir943fs/ext2/namei.cold_inode = __iget (old_dir->i_sb, old_de->inode, 0); /* don't cross mnt-points */
old_dir947fs/ext2/namei.cif ((old_dir->i_mode & S_ISVTX) && 
old_dir949fs/ext2/namei.ccurrent->fsuid != old_dir->i_uid && !fsuser())
old_dir994fs/ext2/namei.cif (PARENT_INO(dir_bh->b_data) != old_dir->i_ino)
old_dir1025fs/ext2/namei.cold_dir->i_version = ++event;
old_dir1031fs/ext2/namei.cold_dir->i_ctime = old_dir->i_mtime = CURRENT_TIME;
old_dir1032fs/ext2/namei.cold_dir->i_dirt = 1;
old_dir1037fs/ext2/namei.cold_dir->i_nlink--;
old_dir1038fs/ext2/namei.cold_dir->i_dirt = 1;
old_dir1048fs/ext2/namei.cif (IS_SYNC(old_dir)) {
old_dir1064fs/ext2/namei.ciput (old_dir);
old_dir1082fs/ext2/namei.cint ext2_rename (struct inode * old_dir, const char * old_name, int old_len,
old_dir1087fs/ext2/namei.cwhile (old_dir->i_sb->u.ext2_sb.s_rename_lock)
old_dir1088fs/ext2/namei.csleep_on (&old_dir->i_sb->u.ext2_sb.s_rename_wait);
old_dir1089fs/ext2/namei.cold_dir->i_sb->u.ext2_sb.s_rename_lock = 1;
old_dir1090fs/ext2/namei.cresult = do_ext2_rename (old_dir, old_name, old_len, new_dir,
old_dir1092fs/ext2/namei.cold_dir->i_sb->u.ext2_sb.s_rename_lock = 0;
old_dir1093fs/ext2/namei.cwake_up (&old_dir->i_sb->u.ext2_sb.s_rename_wait);
old_dir672fs/minix/namei.cstatic int do_minix_rename(struct inode * old_dir, const char * old_name, int old_len,
old_dir681fs/minix/namei.cinfo = &old_dir->i_sb->u.minix_sb;
old_dir694fs/minix/namei.cold_bh = minix_find_entry(old_dir,old_name,old_len,&old_de);
old_dir698fs/minix/namei.cold_inode = __iget(old_dir->i_sb, old_de->inode,0); /* don't cross mnt-points */
old_dir702fs/minix/namei.cif ((old_dir->i_mode & S_ISVTX) && 
old_dir704fs/minix/namei.ccurrent->fsuid != old_dir->i_uid && !fsuser())
old_dir748fs/minix/namei.cif (PARENT_INO(dir_bh->b_data) != old_dir->i_ino)
old_dir769fs/minix/namei.cold_dir->i_ctime = old_dir->i_mtime = CURRENT_TIME;
old_dir770fs/minix/namei.cold_dir->i_dirt = 1;
old_dir783fs/minix/namei.cold_dir->i_nlink--;
old_dir784fs/minix/namei.cold_dir->i_dirt = 1;
old_dir800fs/minix/namei.ciput(old_dir);
old_dir814fs/minix/namei.cint minix_rename(struct inode * old_dir, const char * old_name, int old_len,
old_dir824fs/minix/namei.cresult = do_minix_rename(old_dir, old_name, old_len,
old_dir412fs/msdos/namei.cstatic int rename_same_dir(struct inode *old_dir,char *old_name,
old_dir454fs/msdos/namei.cif (MSDOS_SB(old_dir->i_sb)->conversion == 'a') /* update binary info */
old_dir455fs/msdos/namei.cif ((old_inode = iget(old_dir->i_sb,old_ino)) != NULL) {
old_dir463fs/msdos/namei.cstatic int rename_diff_dir(struct inode *old_dir,char *old_name,
old_dir473fs/msdos/namei.cif (old_dir->i_dev != new_dir->i_dev) return -EINVAL;
old_dir491fs/msdos/namei.cif (!(old_inode = iget(old_dir->i_sb,old_ino))) {
old_dir567fs/msdos/namei.cold_dir->i_nlink--;
old_dir582fs/msdos/namei.cint msdos_rename(struct inode *old_dir,const char *old_name,int old_len,
old_dir590fs/msdos/namei.cif ((error = msdos_format_name(MSDOS_SB(old_dir->i_sb)->name_check,
old_dir594fs/msdos/namei.cif ((error = msdos_scan(old_dir,old_msdos_name,&old_bh,&old_de,
old_dir597fs/msdos/namei.cif (old_dir == new_dir)
old_dir598fs/msdos/namei.cerror = rename_same_dir(old_dir,old_msdos_name,new_dir,
old_dir600fs/msdos/namei.celse error = rename_diff_dir(old_dir,old_msdos_name,new_dir,
old_dir605fs/msdos/namei.ciput(old_dir);
old_dir743fs/namei.cstruct inode * old_dir, * new_dir;
old_dir747fs/namei.cerror = dir_namei(oldname,&old_len,&old_base,NULL,&old_dir);
old_dir750fs/namei.cif (!permission(old_dir,MAY_WRITE | MAY_EXEC)) {
old_dir751fs/namei.ciput(old_dir);
old_dir757fs/namei.ciput(old_dir);
old_dir762fs/namei.ciput(old_dir);
old_dir766fs/namei.ciput(old_dir);
old_dir773fs/namei.ciput(old_dir);
old_dir777fs/namei.cif (new_dir->i_dev != old_dir->i_dev) {
old_dir778fs/namei.ciput(old_dir);
old_dir782fs/namei.cif (IS_RDONLY(new_dir) || IS_RDONLY(old_dir)) {
old_dir783fs/namei.ciput(old_dir);
old_dir790fs/namei.cif (IS_APPEND(old_dir)) {
old_dir791fs/namei.ciput(old_dir);
old_dir795fs/namei.cif (!old_dir->i_op || !old_dir->i_op->rename) {
old_dir796fs/namei.ciput(old_dir);
old_dir802fs/namei.cerror = old_dir->i_op->rename(old_dir, old_base, old_len, 
old_dir37fs/nfs/dir.cstatic int nfs_rename(struct inode *old_dir, const char *old_name,
old_dir521fs/nfs/dir.cstatic int nfs_rename(struct inode *old_dir, const char *old_name, int old_len,
old_dir526fs/nfs/dir.cif (!old_dir || !S_ISDIR(old_dir->i_mode)) {
old_dir528fs/nfs/dir.ciput(old_dir);
old_dir534fs/nfs/dir.ciput(old_dir);
old_dir539fs/nfs/dir.ciput(old_dir);
old_dir543fs/nfs/dir.cerror = nfs_proc_rename(NFS_SERVER(old_dir),
old_dir544fs/nfs/dir.cNFS_FH(old_dir), old_name,
old_dir547fs/nfs/dir.cnfs_lookup_cache_remove(old_dir, NULL, old_name);
old_dir550fs/nfs/dir.ciput(old_dir);
old_dir504fs/nfs/proc.cstruct nfs_fh *old_dir, const char *old_name,
old_dir516fs/nfs/proc.cp = xdr_encode_fhandle(p, old_dir);
old_dir681fs/sysv/namei.cstatic int do_sysv_rename(struct inode * old_dir, const char * old_name, int old_len,
old_dir702fs/sysv/namei.cold_bh = sysv_find_entry(old_dir,old_name,old_len,&old_de);
old_dir706fs/sysv/namei.cold_inode = __iget(old_dir->i_sb, old_de->inode, 0); /* don't cross mnt-points */
old_dir710fs/sysv/namei.cif ((old_dir->i_mode & S_ISVTX) && 
old_dir712fs/sysv/namei.ccurrent->fsuid != old_dir->i_uid && !fsuser())
old_dir756fs/sysv/namei.cif (PARENT_INO(dir_bh_data) != old_dir->i_ino)
old_dir777fs/sysv/namei.cold_dir->i_ctime = old_dir->i_mtime = CURRENT_TIME;
old_dir778fs/sysv/namei.cold_dir->i_dirt = 1;
old_dir791fs/sysv/namei.cold_dir->i_nlink--;
old_dir792fs/sysv/namei.cold_dir->i_dirt = 1;
old_dir808fs/sysv/namei.ciput(old_dir);
old_dir822fs/sysv/namei.cint sysv_rename(struct inode * old_dir, const char * old_name, int old_len,
old_dir832fs/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_dir340fs/umsdos/namei.cold_dir->i_count++;
old_dir342fs/umsdos/namei.cret = msdos_rename (old_dir
old_dir353fs/umsdos/namei.cret = umsdos_delentry (old_dir,&old_info
old_dir387fs/umsdos/namei.cumsdos_unlockcreate(old_dir);
old_dir390fs/umsdos/namei.ciput (old_dir);
old_dir955fs/umsdos/namei.cstruct inode * old_dir,
old_dir977fs/umsdos/namei.cold_dir->i_count++;
old_dir979fs/umsdos/namei.cret = umsdos_rename_f (old_dir,old_name,old_len,new_dir,new_name
old_dir1027fs/umsdos/namei.cret = umsdos_rename_f (old_dir,old_name,old_len
old_dir1029fs/umsdos/namei.cnew_dir = old_dir = NULL;
old_dir1034fs/umsdos/namei.ciput (old_dir);
old_dir712fs/xiafs/namei.cstatic int do_xiafs_rename(struct inode * old_dir, const char * old_name, 
old_dir724fs/xiafs/namei.cold_bh = xiafs_find_entry(old_dir, old_name, old_len, &old_de, &old_de_pre);
old_dir728fs/xiafs/namei.cold_inode = __iget(old_dir->i_sb, old_de->d_ino, 0); /* don't cross mnt-points */
old_dir732fs/xiafs/namei.cif ((old_dir->i_mode & S_ISVTX) && 
old_dir734fs/xiafs/namei.ccurrent->fsuid != old_dir->i_uid && !fsuser())
old_dir771fs/xiafs/namei.cif (PARENT_INO(dir_bh->b_data) != old_dir->i_ino)
old_dir807fs/xiafs/namei.cold_dir->i_nlink--;
old_dir809fs/xiafs/namei.cold_dir->i_dirt = 1;
old_dir819fs/xiafs/namei.ciput(old_dir);
old_dir833fs/xiafs/namei.cint xiafs_rename(struct inode * old_dir, const char * old_name, int old_len,
old_dir843fs/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_dir91include/linux/minix_fs.hextern int minix_rename(struct inode * old_dir, const char * old_name, int old_len,
old_dir165include/linux/msdos_fs.hextern int msdos_rename(struct inode *old_dir,const char *old_name,int old_len,
old_dir73include/linux/nfs_fs.hstruct nfs_fh *old_dir, const char *old_name,
old_dir404include/linux/sysv_fs.hextern int sysv_rename(struct inode * old_dir, const char * old_name, int old_len,
old_dir78include/linux/xia_fs.hextern int xiafs_rename(struct inode * old_dir, const char * old_name,