Home
last modified time | relevance | path

Searched refs:jinode (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/fs/jbd2/
Dcommit.c215 struct jbd2_inode *jinode; in journal_submit_data_buffers() local
220 list_for_each_entry(jinode, &commit_transaction->t_inode_list, i_list) { in journal_submit_data_buffers()
221 if (!(jinode->i_flags & JI_WRITE_DATA)) in journal_submit_data_buffers()
223 mapping = jinode->i_vfs_inode->i_mapping; in journal_submit_data_buffers()
224 jinode->i_flags |= JI_COMMIT_RUNNING; in journal_submit_data_buffers()
232 trace_jbd2_submit_inode_data(jinode->i_vfs_inode); in journal_submit_data_buffers()
237 J_ASSERT(jinode->i_transaction == commit_transaction); in journal_submit_data_buffers()
238 jinode->i_flags &= ~JI_COMMIT_RUNNING; in journal_submit_data_buffers()
240 wake_up_bit(&jinode->i_flags, __JI_COMMIT_RUNNING); in journal_submit_data_buffers()
254 struct jbd2_inode *jinode, *next_i; in journal_finish_inode_data_buffers() local
[all …]
Dtransaction.c2493 static int jbd2_journal_file_inode(handle_t *handle, struct jbd2_inode *jinode, in jbd2_journal_file_inode() argument
2503 jbd_debug(4, "Adding inode %lu, tid:%d\n", jinode->i_vfs_inode->i_ino, in jbd2_journal_file_inode()
2519 if ((jinode->i_transaction == transaction || in jbd2_journal_file_inode()
2520 jinode->i_next_transaction == transaction) && in jbd2_journal_file_inode()
2521 (jinode->i_flags & flags) == flags) in jbd2_journal_file_inode()
2525 jinode->i_flags |= flags; in jbd2_journal_file_inode()
2527 if (jinode->i_transaction == transaction || in jbd2_journal_file_inode()
2528 jinode->i_next_transaction == transaction) in jbd2_journal_file_inode()
2540 if (jinode->i_transaction) { in jbd2_journal_file_inode()
2541 J_ASSERT(jinode->i_next_transaction == NULL); in jbd2_journal_file_inode()
[all …]
Djournal.c2582 void jbd2_journal_init_jbd_inode(struct jbd2_inode *jinode, struct inode *inode) in jbd2_journal_init_jbd_inode() argument
2584 jinode->i_transaction = NULL; in jbd2_journal_init_jbd_inode()
2585 jinode->i_next_transaction = NULL; in jbd2_journal_init_jbd_inode()
2586 jinode->i_vfs_inode = inode; in jbd2_journal_init_jbd_inode()
2587 jinode->i_flags = 0; in jbd2_journal_init_jbd_inode()
2588 INIT_LIST_HEAD(&jinode->i_list); in jbd2_journal_init_jbd_inode()
2597 struct jbd2_inode *jinode) in jbd2_journal_release_jbd_inode() argument
2604 if (jinode->i_flags & JI_COMMIT_RUNNING) { in jbd2_journal_release_jbd_inode()
2606 DEFINE_WAIT_BIT(wait, &jinode->i_flags, __JI_COMMIT_RUNNING); in jbd2_journal_release_jbd_inode()
2607 wq = bit_waitqueue(&jinode->i_flags, __JI_COMMIT_RUNNING); in jbd2_journal_release_jbd_inode()
[all …]
/Linux-v4.19/fs/ext4/
Dext4_jbd2.h368 EXT4_I(inode)->jinode); in ext4_jbd2_inode_add_write()
377 EXT4_I(inode)->jinode); in ext4_jbd2_inode_add_wait()
Dinode.c133 if (!EXT4_I(inode)->jinode) in ext4_begin_ordered_truncate()
136 EXT4_I(inode)->jinode, in ext4_begin_ordered_truncate()
4381 struct jbd2_inode *jinode; in ext4_inode_attach_jinode() local
4383 if (ei->jinode || !EXT4_SB(inode->i_sb)->s_journal) in ext4_inode_attach_jinode()
4386 jinode = jbd2_alloc_inode(GFP_KERNEL); in ext4_inode_attach_jinode()
4388 if (!ei->jinode) { in ext4_inode_attach_jinode()
4389 if (!jinode) { in ext4_inode_attach_jinode()
4393 ei->jinode = jinode; in ext4_inode_attach_jinode()
4394 jbd2_journal_init_jbd_inode(ei->jinode, inode); in ext4_inode_attach_jinode()
4395 jinode = NULL; in ext4_inode_attach_jinode()
[all …]
Dsuper.c1047 ei->jinode = NULL; in ext4_alloc_inode()
1127 if (EXT4_I(inode)->jinode) { in ext4_clear_inode()
1129 EXT4_I(inode)->jinode); in ext4_clear_inode()
1130 jbd2_free_inode(EXT4_I(inode)->jinode); in ext4_clear_inode()
1131 EXT4_I(inode)->jinode = NULL; in ext4_clear_inode()
Dext4.h1000 struct jbd2_inode *jinode; member
/Linux-v4.19/include/linux/
Djbd2.h1404 extern void jbd2_journal_init_jbd_inode(struct jbd2_inode *jinode, struct inode *inode);
1405 extern void jbd2_journal_release_jbd_inode(journal_t *journal, struct jbd2_inode *jinode);
1440 static inline void jbd2_free_inode(struct jbd2_inode *jinode) in jbd2_free_inode() argument
1442 kmem_cache_free(jbd2_inode_cache, jinode); in jbd2_free_inode()