Lines Matching defs:inode
521 struct inode *const inode;
538 .inode = __i, .owned_head = Z_EROFS_PCLUSTER_TAIL, \
543 unsigned int cachestrategy = EROFS_I_SB(fe->inode)->opt.cache_strategy;
560 struct address_space *mc = MNGD_MAPPING(EROFS_I_SB(fe->inode));
687 * It will be called only on inode eviction. In case that there are still some
711 struct inode *const inode = new_inode(sb);
713 if (!inode)
716 set_nlink(inode, 1);
717 inode->i_size = OFFSET_MAX;
718 inode->i_mapping->a_ops = &z_erofs_cache_aops;
719 mapping_set_gfp_mask(inode->i_mapping, GFP_NOFS);
720 EROFS_SB(sb)->managed_cache = inode;
822 grp = erofs_insert_workgroup(fe->inode->i_sb, &pcl->obj);
848 struct super_block *sb = fe->inode->i_sb;
947 struct inode *packed_inode = EROFS_SB(sb)->packed_inode;
955 buf.inode = packed_inode;
973 struct inode *const inode = fe->inode;
990 err = z_erofs_map_blocks_iter(inode, map, 0);
1009 err = z_erofs_read_fragment(inode->i_sb, page, cur, cur + len,
1010 EROFS_I(inode)->z_fragmentoff + fpos);
1628 struct super_block *sb = f->inode->i_sb;
1776 struct inode *inode = f->inode;
1787 err = z_erofs_map_blocks_iter(inode, map,
1807 while ((cur >= end) && (cur < i_size_read(inode))) {
1811 page = erofs_grab_cache_page_nowait(inode->i_mapping, index);
1828 struct inode *const inode = folio->mapping->host;
1829 struct erofs_sb_info *const sbi = EROFS_I_SB(inode);
1830 struct z_erofs_decompress_frontend f = DECOMPRESS_FRONTEND_INIT(inode);
1845 erofs_err(inode->i_sb, "read error %d @ %lu of nid %llu",
1846 err, folio->index, EROFS_I(inode)->nid);
1855 struct inode *const inode = rac->mapping->host;
1856 struct erofs_sb_info *const sbi = EROFS_I_SB(inode);
1857 struct z_erofs_decompress_frontend f = DECOMPRESS_FRONTEND_INIT(inode);
1866 trace_erofs_readpages(inode, readahead_index(rac), nr_folios, false);
1880 erofs_err(inode->i_sb, "readahead error at folio %lu @ nid %llu",
1881 folio->index, EROFS_I(inode)->nid);