Home
last modified time | relevance | path

Searched refs:old_bh (Results 1 – 6 of 6) sorted by relevance

/linux-2.4.37.9/fs/bfs/
Ddir.c195 struct buffer_head * old_bh, * new_bh; in bfs_rename() local
199 old_bh = new_bh = NULL; in bfs_rename()
204 old_bh = bfs_find_entry(old_dir, in bfs_rename()
208 if (!old_bh || old_de->ino != old_inode->i_ino) in bfs_rename()
237 mark_buffer_dirty(old_bh); in bfs_rename()
241 brelse(old_bh); in bfs_rename()
/linux-2.4.37.9/fs/ufs/
Dnamei.c260 struct buffer_head *old_bh; in ufs_rename() local
264 old_de = ufs_find_entry (old_dentry, &old_bh); in ufs_rename()
308 ufs_delete_entry (old_dir, old_de, old_bh); in ufs_rename()
322 brelse (old_bh); in ufs_rename()
/linux-2.4.37.9/fs/msdos/
Dnamei.c444 struct buffer_head *old_bh, in do_msdos_rename() argument
491 fat_mark_buffer_dirty(sb, old_bh); in do_msdos_rename()
547 struct buffer_head *old_bh; in msdos_rename() local
566 error = fat_scan(old_dir, old_msdos_name, &old_bh, &old_de, &old_i_pos); in msdos_rename()
572 old_bh, old_de, old_i_pos, is_hid); in msdos_rename()
573 fat_brelse(sb, old_bh); in msdos_rename()
/linux-2.4.37.9/fs/ext3/
Dnamei.c991 struct buffer_head * old_bh, * new_bh, * dir_bh; in ext3_rename() local
995 old_bh = new_bh = dir_bh = NULL; in ext3_rename()
1004 old_bh = ext3_find_entry (old_dentry, &old_de); in ext3_rename()
1013 if (!old_bh || le32_to_cpu(old_de->inode) != old_inode->i_ino) in ext3_rename()
1072 ext3_delete_entry(handle, old_dir, old_de, old_bh); in ext3_rename()
1105 brelse (old_bh); in ext3_rename()
/linux-2.4.37.9/fs/vfat/
Dnamei.c1172 struct buffer_head *old_bh,*new_bh,*dotdot_bh; in vfat_rename() local
1179 old_bh = new_bh = dotdot_bh = NULL; in vfat_rename()
1182 res = vfat_find(old_dir,&old_dentry->d_name,&old_sinfo,&old_bh,&old_de); in vfat_rename()
1216 vfat_remove_entry(old_dir,&old_sinfo,old_bh,old_de); in vfat_rename()
1217 old_bh=NULL; in vfat_rename()
1246 fat_brelse(sb, old_bh); in vfat_rename()
/linux-2.4.37.9/fs/
Dbuffer.c1502 struct buffer_head *old_bh; in unmap_underlying_metadata() local
1504 old_bh = get_hash_table(bh->b_dev, bh->b_blocknr, bh->b_size); in unmap_underlying_metadata()
1505 if (old_bh) { in unmap_underlying_metadata()
1506 mark_buffer_clean(old_bh); in unmap_underlying_metadata()
1507 wait_on_buffer(old_bh); in unmap_underlying_metadata()
1508 clear_bit(BH_Req, &old_bh->b_state); in unmap_underlying_metadata()
1509 __brelse(old_bh); in unmap_underlying_metadata()