Searched refs:new_bh (Results 1 – 8 of 8) sorted by relevance
/linux-2.4.37.9/fs/bfs/ |
D | dir.c | 195 struct buffer_head * old_bh, * new_bh; in bfs_rename() local 199 old_bh = new_bh = NULL; in bfs_rename() 213 new_bh = bfs_find_entry(new_dir, in bfs_rename() 217 if (new_bh && !new_inode) { in bfs_rename() 218 brelse(new_bh); in bfs_rename() 219 new_bh = NULL; in bfs_rename() 221 if (!new_bh) { in bfs_rename() 242 brelse(new_bh); in bfs_rename()
|
/linux-2.4.37.9/fs/ext3/ |
D | namei.c | 991 struct buffer_head * old_bh, * new_bh, * dir_bh; in ext3_rename() local 995 old_bh = new_bh = dir_bh = NULL; in ext3_rename() 1017 new_bh = ext3_find_entry (new_dentry, &new_de); in ext3_rename() 1018 if (new_bh) { in ext3_rename() 1020 brelse (new_bh); in ext3_rename() 1021 new_bh = NULL; in ext3_rename() 1043 if (!new_bh) { in ext3_rename() 1048 BUFFER_TRACE(new_bh, "get write access"); in ext3_rename() 1049 BUFFER_TRACE(new_bh, "get_write_access"); in ext3_rename() 1050 ext3_journal_get_write_access(handle, new_bh); in ext3_rename() [all …]
|
/linux-2.4.37.9/fs/jbd/ |
D | journal.c | 395 struct buffer_head *new_bh; in journal_write_metadata_buffer() local 461 new_bh = get_unused_buffer_head(0); in journal_write_metadata_buffer() 462 if (!new_bh) { in journal_write_metadata_buffer() 468 } while (!new_bh); in journal_write_metadata_buffer() 470 new_bh->b_prev_free = 0; in journal_write_metadata_buffer() 471 new_bh->b_next_free = 0; in journal_write_metadata_buffer() 472 new_bh->b_state = 0; in journal_write_metadata_buffer() 473 init_buffer(new_bh, NULL, NULL); in journal_write_metadata_buffer() 474 atomic_set(&new_bh->b_count, 1); in journal_write_metadata_buffer() 475 new_jh = journal_add_journal_head(new_bh); in journal_write_metadata_buffer() [all …]
|
/linux-2.4.37.9/fs/affs/ |
D | file.c | 159 struct buffer_head *new_bh; in affs_alloc_extblock() local 166 new_bh = affs_getzeroblk(sb, blocknr); in affs_alloc_extblock() 167 if (!new_bh) { in affs_alloc_extblock() 172 AFFS_HEAD(new_bh)->ptype = cpu_to_be32(T_LIST); in affs_alloc_extblock() 173 AFFS_HEAD(new_bh)->key = cpu_to_be32(blocknr); in affs_alloc_extblock() 174 AFFS_TAIL(sb, new_bh)->stype = cpu_to_be32(ST_FILE); in affs_alloc_extblock() 175 AFFS_TAIL(sb, new_bh)->parent = cpu_to_be32(inode->i_ino); in affs_alloc_extblock() 176 affs_fix_checksum(sb, new_bh); in affs_alloc_extblock() 178 mark_buffer_dirty_inode(new_bh, inode); in affs_alloc_extblock() 190 return new_bh; in affs_alloc_extblock()
|
/linux-2.4.37.9/fs/ufs/ |
D | namei.c | 276 struct buffer_head *new_bh; in ufs_rename() local 283 new_de = ufs_find_entry (new_dentry, &new_bh); in ufs_rename() 287 ufs_set_link(new_dir, new_de, new_bh, old_inode); in ufs_rename()
|
/linux-2.4.37.9/fs/msdos/ |
D | namei.c | 448 struct buffer_head *new_bh=NULL,*dotdot_bh=NULL; in do_msdos_rename() local 459 if (fat_scan(new_dir, new_name, &new_bh, &new_de, &new_i_pos) >= 0 in do_msdos_rename() 478 if (!new_bh) { in do_msdos_rename() 479 error = msdos_add_entry(new_dir, new_name, &new_bh, &new_de, in do_msdos_rename() 523 fat_brelse(sb, new_bh); in do_msdos_rename()
|
/linux-2.4.37.9/fs/fat/ |
D | dir.c | 726 struct buffer_head *new_bh; in fat_add_entries() local 742 new_bh = fat_extend_dir(dir); in fat_add_entries() 743 if (!new_bh) in fat_add_entries() 745 fat_brelse(sb, new_bh); in fat_add_entries()
|
/linux-2.4.37.9/fs/vfat/ |
D | namei.c | 1172 struct buffer_head *old_bh,*new_bh,*dotdot_bh; in vfat_rename() local 1179 old_bh = new_bh = dotdot_bh = NULL; in vfat_rename() 1193 res = vfat_find(new_dir,&new_dentry->d_name,&sinfo,&new_bh, in vfat_rename() 1209 &new_bh,&new_de); in vfat_rename() 1247 fat_brelse(sb, new_bh); in vfat_rename()
|