Lines Matching defs:inode

39 #define SC_N_INODEVEC	16   /* Size of locally allocated inode vector */
116 struct inode *);
118 struct inode *);
120 struct inode *);
496 struct inode *inode)
503 if (NILFS_I(inode)->i_root &&
510 struct inode *inode)
520 ii = NILFS_I(inode);
524 else if (NILFS_ROOT_METADATA_FILE(inode->i_ino))
531 finfo->fi_ino = cpu_to_le64(inode->i_ino);
545 struct inode *inode,
556 nilfs_segctor_end_finfo(sci, inode);
569 nilfs_segctor_begin_finfo(sci, inode);
583 struct buffer_head *bh, struct inode *inode)
587 err = nilfs_bmap_propagate(NILFS_I(inode)->i_bmap, bh);
591 err = nilfs_segctor_add_file_block(sci, bh, inode,
600 struct inode *inode)
602 return nilfs_bmap_propagate(NILFS_I(inode)->i_bmap, bh);
607 struct inode *inode)
610 return nilfs_segctor_add_file_block(sci, bh, inode, sizeof(__le64));
640 struct buffer_head *bh, struct inode *inode)
644 err = nilfs_bmap_propagate(NILFS_I(inode)->i_bmap, bh);
648 err = nilfs_segctor_add_file_block(sci, bh, inode, sizeof(__le64));
655 struct buffer_head *bh, struct inode *inode)
658 return nilfs_segctor_add_file_block(sci, bh, inode,
696 static size_t nilfs_lookup_dirty_data_buffers(struct inode *inode,
701 struct address_space *mapping = inode->i_mapping;
735 create_empty_buffers(&folio->page, i_blocksize(inode), 0);
759 static void nilfs_lookup_dirty_node_buffers(struct inode *inode,
762 struct nilfs_inode_info *ii = NILFS_I(inode);
763 struct inode *btnc_inode = ii->i_assoc_inode;
954 static void nilfs_fill_in_file_bmap(struct inode *ifile,
1037 struct inode *inode,
1041 struct inode *))
1049 err = collect(sci, bh, inode);
1075 struct inode *inode,
1086 inode, &data_buffers, rest + 1, 0, LLONG_MAX);
1089 sci, inode, &data_buffers,
1095 nilfs_lookup_dirty_node_buffers(inode, &node_buffers);
1099 sci, inode, &data_buffers, sc_ops->collect_data);
1103 sci, inode, &node_buffers, NULL);
1110 sci, inode, &node_buffers, sc_ops->collect_node);
1114 nilfs_bmap_lookup_dirty_buffers(NILFS_I(inode)->i_bmap, &node_buffers);
1116 sci, inode, &node_buffers, sc_ops->collect_bmap);
1120 nilfs_segctor_end_finfo(sci, inode);
1128 struct inode *inode)
1134 n = nilfs_lookup_dirty_data_buffers(inode, &data_buffers, rest + 1,
1138 err = nilfs_segctor_apply_buffers(sci, inode, &data_buffers,
1141 nilfs_segctor_end_finfo(sci, inode);
1216 /* sci->sc_stage.dirty_file_ptr = NILFS_I(inode); */
1377 struct inode *sufile = nilfs->ns_sufile;
1433 struct inode *sufile = nilfs->ns_sufile;
1469 struct inode *sufile)
1485 static void nilfs_cancel_segusage(struct list_head *logs, struct inode *sufile)
1505 struct inode *sufile)
1587 struct inode *inode = NULL;
1616 inode = bh->b_folio->mapping->host;
1627 err = nilfs_bmap_assign(NILFS_I(inode)->i_bmap, &bh, blocknr,
1975 struct inode *ifile = sci->sc_root->ifile;
1989 "log writer: error %d getting inode block (ino=%lu)",
2187 * @ino: inode number of the file to be flushed out.
2296 * @inode: inode whose data blocks should be written out
2313 int nilfs_construct_dsync_segment(struct super_block *sb, struct inode *inode,
2327 ii = NILFS_I(inode);
2782 "disposed unprocessed inode(s) in iput queue when stopping log writer");