Home
last modified time | relevance | path

Searched refs:new_inode (Results 1 – 25 of 51) sorted by relevance

123

/linux-2.4.37.9/fs/msdos/
Dnamei.c450 struct inode *old_inode,*new_inode; in do_msdos_rename() local
456 new_inode = new_dentry->d_inode; in do_msdos_rename()
460 && !new_inode) in do_msdos_rename()
463 if (new_inode) { in do_msdos_rename()
464 error = fat_dir_empty(new_inode); in do_msdos_rename()
488 if (new_inode) in do_msdos_rename()
489 fat_detach(new_inode); in do_msdos_rename()
502 if (new_inode) { in do_msdos_rename()
503 new_inode->i_nlink--; in do_msdos_rename()
504 new_inode->i_ctime = CURRENT_TIME; in do_msdos_rename()
[all …]
/linux-2.4.37.9/fs/bfs/
Ddir.c83 inode = new_inode(s); in bfs_create()
194 struct inode * old_inode, * new_inode; in bfs_rename() local
212 new_inode = new_dentry->d_inode; in bfs_rename()
217 if (new_bh && !new_inode) { in bfs_rename()
232 if (new_inode) { in bfs_rename()
233 new_inode->i_nlink--; in bfs_rename()
234 new_inode->i_ctime = CURRENT_TIME; in bfs_rename()
235 mark_inode_dirty(new_inode); in bfs_rename()
/linux-2.4.37.9/fs/sysv/
Dnamei.c237 struct inode * new_inode = new_dentry->d_inode; in sysv_rename() local
255 if (new_inode) { in sysv_rename()
260 if (dir_de && !sysv_empty_dir(new_inode)) in sysv_rename()
269 new_inode->i_ctime = CURRENT_TIME; in sysv_rename()
271 new_inode->i_nlink--; in sysv_rename()
272 dec_count(new_inode); in sysv_rename()
Dialloc.c137 inode = new_inode(sb); in sysv_new_inode()
/linux-2.4.37.9/fs/ufs/
Dnamei.c257 struct inode *new_inode = new_dentry->d_inode; in ufs_rename() local
275 if (new_inode) { in ufs_rename()
280 if (dir_de && !ufs_empty_dir (new_inode)) in ufs_rename()
288 new_inode->i_ctime = CURRENT_TIME; in ufs_rename()
290 new_inode->i_nlink--; in ufs_rename()
291 ufs_dec_count(new_inode); in ufs_rename()
Dialloc.c161 inode = new_inode(sb); in ufs_new_inode()
/linux-2.4.37.9/fs/ext2/
Dnamei.c264 struct inode * new_inode = new_dentry->d_inode; in ext2_rename() local
282 if (new_inode) { in ext2_rename()
287 if (dir_de && !ext2_empty_dir (new_inode)) in ext2_rename()
296 new_inode->i_ctime = CURRENT_TIME; in ext2_rename()
298 new_inode->i_nlink--; in ext2_rename()
299 ext2_dec_count(new_inode); in ext2_rename()
/linux-2.4.37.9/fs/minix/
Dnamei.c229 struct inode * new_inode = new_dentry->d_inode; in minix_rename() local
247 if (new_inode) { in minix_rename()
252 if (dir_de && !minix_empty_dir(new_inode)) in minix_rename()
261 new_inode->i_ctime = CURRENT_TIME; in minix_rename()
263 new_inode->i_nlink--; in minix_rename()
264 dec_count(new_inode); in minix_rename()
/linux-2.4.37.9/fs/ext3/
Dnamei.c990 struct inode * old_inode, * new_inode; in ext3_rename() local
1016 new_inode = new_dentry->d_inode; in ext3_rename()
1019 if (!new_inode) { in ext3_rename()
1023 DQUOT_INIT(new_inode); in ext3_rename()
1027 if (new_inode) { in ext3_rename()
1029 if (!empty_dir (new_inode)) in ext3_rename()
1039 if (!new_inode && new_dir!=old_dir && in ext3_rename()
1074 if (new_inode) { in ext3_rename()
1075 new_inode->i_nlink--; in ext3_rename()
1076 new_inode->i_ctime = CURRENT_TIME; in ext3_rename()
[all …]
/linux-2.4.37.9/fs/udf/
Dnamei.c1149 struct inode * new_inode = new_dentry->d_inode; in udf_rename() local
1170 if (!new_inode) in udf_rename()
1182 if (new_inode) in udf_rename()
1185 if (!empty_dir(new_inode)) in udf_rename()
1201 if (!new_inode && new_dir->i_nlink >= (256<<sizeof(new_dir->i_nlink))-1) in udf_rename()
1233 if (new_inode) in udf_rename()
1235 new_inode->i_nlink--; in udf_rename()
1236 new_inode->i_ctime = CURRENT_TIME; in udf_rename()
1237 UDF_I_UCTIME(new_inode) = CURRENT_UTIME; in udf_rename()
1238 mark_inode_dirty(new_inode); in udf_rename()
[all …]
Dialloc.c80 inode = new_inode(sb); in udf_new_inode()
/linux-2.4.37.9/fs/vfat/
Dnamei.c1175 struct inode *old_inode, *new_inode; in vfat_rename() local
1181 new_inode = new_dentry->d_inode; in vfat_rename()
1195 if (res < 0 || MSDOS_I(new_inode)->i_pos != sinfo.i_pos) { in vfat_rename()
1202 res = fat_dir_empty(new_inode); in vfat_rename()
1206 fat_detach(new_inode); in vfat_rename()
1225 if (new_inode) { in vfat_rename()
1226 new_inode->i_nlink--; in vfat_rename()
1227 new_inode->i_ctime=CURRENT_TIME; in vfat_rename()
1236 if (new_inode) { in vfat_rename()
1237 new_inode->i_nlink--; in vfat_rename()
/linux-2.4.37.9/fs/devpts/
Dinode.c143 inode = new_inode(s); in devpts_read_super()
194 inode = new_inode(sb); in devpts_pty_new()
/linux-2.4.37.9/fs/hpfs/
Dnamei.c440 struct inode *new_inode = new_dentry->d_inode; in hpfs_rename() local
456 if (new_inode && S_ISDIR(new_inode->i_mode)) { in hpfs_rename()
469 if (new_inode) { in hpfs_rename()
473 new_inode->i_nlink = 0; in hpfs_rename()
/linux-2.4.37.9/fs/nfs/
Ddir.c1003 struct inode *new_inode = new_dentry->d_inode; in nfs_rename() local
1029 if (!new_inode) in nfs_rename()
1031 if (S_ISDIR(new_inode->i_mode)) in nfs_rename()
1045 new_inode = NULL; in nfs_rename()
1071 if (new_inode) in nfs_rename()
/linux-2.4.37.9/fs/jfs/
Djfs_inode.c41 inode = new_inode(sb); in ialloc()
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_iops.c354 struct inode *new_inode = ndentry->d_inode; in linvfs_rename() local
366 if (new_inode) in linvfs_rename()
367 validate_fields(new_inode); in linvfs_rename()
/linux-2.4.37.9/fs/reiserfs/
Dnamei.c531 if (!(inode = new_inode(dir->i_sb))) { in reiserfs_create()
577 if (!(inode = new_inode(dir->i_sb))) { in reiserfs_mknod()
626 if (!(inode = new_inode(dir->i_sb))) { in reiserfs_mkdir()
871 if (!(inode = new_inode(parent_dir->i_sb))) { in reiserfs_symlink()
/linux-2.4.37.9/fs/freevxfs/
Dvxfs_inode.c271 if ((ip = new_inode(sbp))) { in vxfs_get_fake_inode()
/linux-2.4.37.9/fs/
Dpipe.c487 struct inode *inode = new_inode(pipe_mnt->mnt_sb); in get_pipe_inode()
619 struct inode *root = new_inode(sb); in pipefs_read_super()
Dblock_dev.c224 struct inode *root = new_inode(sb); in bd_read_super()
342 struct inode *inode = new_inode(bd_mnt->mnt_sb); in bdget()
/linux-2.4.37.9/fs/hfsplus/
Dinode.c153 inode = new_inode(sb); in hfsplus_file_lookup()
271 struct inode *inode = new_inode(sb); in hfsplus_new_inode()
/linux-2.4.37.9/fs/autofs4/
Dinode.c295 struct inode *inode = new_inode(sb); in autofs4_get_inode()
/linux-2.4.37.9/fs/ramfs/
Dinode.c104 struct inode * inode = new_inode(sb); in ramfs_get_inode()
/linux-2.4.37.9/arch/ia64/sn/io/hwgfs/
Dramfs.c85 struct inode * inode = new_inode(sb); in hwgfs_get_inode()

123