Home
last modified time | relevance | path

Searched refs:ns_sbh (Results 1 – 3 of 3) sorted by relevance

/fs/nilfs2/
Dthe_nilfs.c90 brelse(nilfs->ns_sbh[0]); in destroy_nilfs()
91 brelse(nilfs->ns_sbh[1]); in destroy_nilfs()
561 brelse(nilfs->ns_sbh[i]); in nilfs_release_super_block()
562 nilfs->ns_sbh[i] = NULL; in nilfs_release_super_block()
570 brelse(nilfs->ns_sbh[0]); in nilfs_fall_back_super_block()
571 nilfs->ns_sbh[0] = nilfs->ns_sbh[1]; in nilfs_fall_back_super_block()
573 nilfs->ns_sbh[1] = NULL; in nilfs_fall_back_super_block()
579 struct buffer_head *tsbh = nilfs->ns_sbh[0]; in nilfs_swap_super_block()
582 nilfs->ns_sbh[0] = nilfs->ns_sbh[1]; in nilfs_swap_super_block()
584 nilfs->ns_sbh[1] = tsbh; in nilfs_swap_super_block()
[all …]
Dsuper.c179 set_buffer_dirty(nilfs->ns_sbh[0]); in nilfs_sync_super()
181 err = __sync_dirty_buffer(nilfs->ns_sbh[0], in nilfs_sync_super()
184 err = sync_dirty_buffer(nilfs->ns_sbh[0]); in nilfs_sync_super()
189 if (err == -EIO && nilfs->ns_sbh[1]) { in nilfs_sync_super()
211 if (nilfs->ns_sbh[1]) { in nilfs_sync_super()
213 set_buffer_dirty(nilfs->ns_sbh[1]); in nilfs_sync_super()
214 if (sync_dirty_buffer(nilfs->ns_sbh[1]) < 0) in nilfs_sync_super()
349 if (nilfs->ns_sbh[1] && in nilfs_move_2nd_super()
350 nilfs->ns_sbh[1]->b_blocknr > nilfs->ns_first_data_block) { in nilfs_move_2nd_super()
352 blocknr = nilfs->ns_sbh[1]->b_blocknr; in nilfs_move_2nd_super()
[all …]
Dthe_nilfs.h109 struct buffer_head *ns_sbh[2]; member