Searched refs:jinode (Results 1 – 9 of 9) sorted by relevance
| /Linux-v5.15/fs/jbd2/ |
| D | commit.c | 190 int jbd2_journal_submit_inode_data_buffers(struct jbd2_inode *jinode) in jbd2_journal_submit_inode_data_buffers() argument 192 struct address_space *mapping = jinode->i_vfs_inode->i_mapping; in jbd2_journal_submit_inode_data_buffers() 196 .range_start = jinode->i_dirty_start, in jbd2_journal_submit_inode_data_buffers() 197 .range_end = jinode->i_dirty_end, in jbd2_journal_submit_inode_data_buffers() 210 int jbd2_submit_inode_data(struct jbd2_inode *jinode) in jbd2_submit_inode_data() argument 213 if (!jinode || !(jinode->i_flags & JI_WRITE_DATA)) in jbd2_submit_inode_data() 216 trace_jbd2_submit_inode_data(jinode->i_vfs_inode); in jbd2_submit_inode_data() 217 return jbd2_journal_submit_inode_data_buffers(jinode); in jbd2_submit_inode_data() 222 int jbd2_wait_inode_data(journal_t *journal, struct jbd2_inode *jinode) in jbd2_wait_inode_data() argument 224 if (!jinode || !(jinode->i_flags & JI_WAIT_DATA) || in jbd2_wait_inode_data() [all …]
|
| D | transaction.c | 2647 static int jbd2_journal_file_inode(handle_t *handle, struct jbd2_inode *jinode, in jbd2_journal_file_inode() argument 2657 jbd_debug(4, "Adding inode %lu, tid:%d\n", jinode->i_vfs_inode->i_ino, in jbd2_journal_file_inode() 2661 jinode->i_flags |= flags; in jbd2_journal_file_inode() 2663 if (jinode->i_dirty_end) { in jbd2_journal_file_inode() 2664 jinode->i_dirty_start = min(jinode->i_dirty_start, start_byte); in jbd2_journal_file_inode() 2665 jinode->i_dirty_end = max(jinode->i_dirty_end, end_byte); in jbd2_journal_file_inode() 2667 jinode->i_dirty_start = start_byte; in jbd2_journal_file_inode() 2668 jinode->i_dirty_end = end_byte; in jbd2_journal_file_inode() 2672 if (jinode->i_transaction == transaction || in jbd2_journal_file_inode() 2673 jinode->i_next_transaction == transaction) in jbd2_journal_file_inode() [all …]
|
| D | journal.c | 3029 void jbd2_journal_init_jbd_inode(struct jbd2_inode *jinode, struct inode *inode) in jbd2_journal_init_jbd_inode() argument 3031 jinode->i_transaction = NULL; in jbd2_journal_init_jbd_inode() 3032 jinode->i_next_transaction = NULL; in jbd2_journal_init_jbd_inode() 3033 jinode->i_vfs_inode = inode; in jbd2_journal_init_jbd_inode() 3034 jinode->i_flags = 0; in jbd2_journal_init_jbd_inode() 3035 jinode->i_dirty_start = 0; in jbd2_journal_init_jbd_inode() 3036 jinode->i_dirty_end = 0; in jbd2_journal_init_jbd_inode() 3037 INIT_LIST_HEAD(&jinode->i_list); in jbd2_journal_init_jbd_inode() 3046 struct jbd2_inode *jinode) in jbd2_journal_release_jbd_inode() argument 3053 if (jinode->i_flags & JI_COMMIT_RUNNING) { in jbd2_journal_release_jbd_inode() [all …]
|
| /Linux-v5.15/include/linux/ |
| D | jbd2.h | 1581 struct jbd2_inode *jinode); 1583 struct jbd2_inode *jinode); 1586 extern void jbd2_journal_init_jbd_inode(struct jbd2_inode *jinode, struct inode *inode); 1587 extern void jbd2_journal_release_jbd_inode(journal_t *journal, struct jbd2_inode *jinode); 1622 static inline void jbd2_free_inode(struct jbd2_inode *jinode) in jbd2_free_inode() argument 1624 kmem_cache_free(jbd2_inode_cache, jinode); in jbd2_free_inode() 1673 int jbd2_submit_inode_data(struct jbd2_inode *jinode); 1674 int jbd2_wait_inode_data(journal_t *journal, struct jbd2_inode *jinode);
|
| /Linux-v5.15/fs/ext4/ |
| D | ext4_jbd2.h | 425 EXT4_I(inode)->jinode, start_byte, length); in ext4_jbd2_inode_add_write() 434 EXT4_I(inode)->jinode, start_byte, length); in ext4_jbd2_inode_add_wait()
|
| D | super.c | 508 static int ext4_journalled_submit_inode_data_buffers(struct jbd2_inode *jinode) in ext4_journalled_submit_inode_data_buffers() argument 510 struct address_space *mapping = jinode->i_vfs_inode->i_mapping; in ext4_journalled_submit_inode_data_buffers() 514 .range_start = jinode->i_dirty_start, in ext4_journalled_submit_inode_data_buffers() 515 .range_end = jinode->i_dirty_end, in ext4_journalled_submit_inode_data_buffers() 520 jinode->i_transaction); in ext4_journalled_submit_inode_data_buffers() 523 static int ext4_journal_submit_inode_data_buffers(struct jbd2_inode *jinode) in ext4_journal_submit_inode_data_buffers() argument 527 if (ext4_should_journal_data(jinode->i_vfs_inode)) in ext4_journal_submit_inode_data_buffers() 528 ret = ext4_journalled_submit_inode_data_buffers(jinode); in ext4_journal_submit_inode_data_buffers() 530 ret = jbd2_journal_submit_inode_data_buffers(jinode); in ext4_journal_submit_inode_data_buffers() 535 static int ext4_journal_finish_inode_data_buffers(struct jbd2_inode *jinode) in ext4_journal_finish_inode_data_buffers() argument [all …]
|
| D | inode.c | 132 if (!EXT4_I(inode)->jinode) in ext4_begin_ordered_truncate() 135 EXT4_I(inode)->jinode, in ext4_begin_ordered_truncate() 4085 struct jbd2_inode *jinode; in ext4_inode_attach_jinode() local 4087 if (ei->jinode || !EXT4_SB(inode->i_sb)->s_journal) in ext4_inode_attach_jinode() 4090 jinode = jbd2_alloc_inode(GFP_KERNEL); in ext4_inode_attach_jinode() 4092 if (!ei->jinode) { in ext4_inode_attach_jinode() 4093 if (!jinode) { in ext4_inode_attach_jinode() 4097 ei->jinode = jinode; in ext4_inode_attach_jinode() 4098 jbd2_journal_init_jbd_inode(ei->jinode, inode); in ext4_inode_attach_jinode() 4099 jinode = NULL; in ext4_inode_attach_jinode() [all …]
|
| D | fast_commit.c | 947 ret = jbd2_submit_inode_data(ei->jinode); in ext4_fc_submit_inode_data_all() 972 ret = jbd2_wait_inode_data(journal, pos->jinode); in ext4_fc_wait_inode_data_all()
|
| D | ext4.h | 1097 struct jbd2_inode *jinode; member
|