Searched refs:pgofs (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/include/trace/events/ |
D | f2fs.h | 1580 TP_PROTO(struct inode *inode, unsigned int pgofs, enum extent_type type), 1582 TP_ARGS(inode, pgofs, type), 1587 __field(unsigned int, pgofs) 1594 __entry->pgofs = pgofs; 1600 __entry->pgofs, 1606 TP_PROTO(struct inode *inode, unsigned int pgofs, 1609 TP_ARGS(inode, pgofs, ei), 1616 __field(unsigned int, pgofs) 1625 __entry->pgofs = pgofs; 1634 __entry->pgofs, [all …]
|
/Linux-v6.6/fs/f2fs/ |
D | extent_cache.c | 463 static bool __lookup_extent_tree(struct inode *inode, pgoff_t pgofs, in __lookup_extent_tree() argument 475 trace_f2fs_lookup_extent_tree_start(inode, pgofs, type); in __lookup_extent_tree() 480 et->largest.fofs <= pgofs && in __lookup_extent_tree() 481 et->largest.fofs + et->largest.len > pgofs) { in __lookup_extent_tree() 488 en = __lookup_extent_node(&et->root, et->cached_en, pgofs); in __lookup_extent_tree() 510 trace_f2fs_lookup_read_extent_tree_end(inode, pgofs, ei); in __lookup_extent_tree() 512 trace_f2fs_lookup_age_extent_tree_end(inode, pgofs, ei); in __lookup_extent_tree() 983 bool f2fs_lookup_read_extent_cache(struct inode *inode, pgoff_t pgofs, in f2fs_lookup_read_extent_cache() argument 989 return __lookup_extent_tree(inode, pgofs, ei, EX_READ); in f2fs_lookup_read_extent_cache() 1032 bool f2fs_lookup_age_extent_cache(struct inode *inode, pgoff_t pgofs, in f2fs_lookup_age_extent_cache() argument [all …]
|
D | data.c | 1602 pgoff_t pgofs, end_offset, end; in f2fs_map_blocks() local 1625 pgofs = (pgoff_t)map->m_lblk; in f2fs_map_blocks() 1626 end = pgofs + maxblocks; in f2fs_map_blocks() 1634 err = f2fs_get_dnode_of_data(&dn, pgofs, mode); in f2fs_map_blocks() 1639 err = f2fs_map_no_dnode(inode, map, &dn, pgofs); in f2fs_map_blocks() 1643 start_pgofs = pgofs; in f2fs_map_blocks() 1711 *map->m_next_pgofs = pgofs + 1; in f2fs_map_blocks() 1718 *map->m_next_pgofs = pgofs + 1; in f2fs_map_blocks() 1754 pgofs++; in f2fs_map_blocks() 1758 (pgofs == end || dn.ofs_in_node == end_offset)) { in f2fs_map_blocks() [all …]
|
D | file.c | 416 pgoff_t pgofs, end_offset; in f2fs_seek_block() local 438 pgofs = (pgoff_t)(offset >> PAGE_SHIFT); in f2fs_seek_block() 440 for (; data_ofs < isize; data_ofs = (loff_t)pgofs << PAGE_SHIFT) { in f2fs_seek_block() 442 err = f2fs_get_dnode_of_data(&dn, pgofs, LOOKUP_NODE); in f2fs_seek_block() 448 pgofs = f2fs_get_next_page_offset(&dn, pgofs); in f2fs_seek_block() 459 dn.ofs_in_node++, pgofs++, in f2fs_seek_block() 460 data_ofs = (loff_t)pgofs << PAGE_SHIFT) { in f2fs_seek_block() 473 pgofs, whence)) { in f2fs_seek_block()
|
D | node.c | 645 pgoff_t f2fs_get_next_page_offset(struct dnode_of_data *dn, pgoff_t pgofs) in f2fs_get_next_page_offset() argument 656 return pgofs + 1; in f2fs_get_next_page_offset() 675 return ((pgofs - base) / skipped_unit + 1) * skipped_unit + base; in f2fs_get_next_page_offset()
|
D | f2fs.h | 3614 pgoff_t f2fs_get_next_page_offset(struct dnode_of_data *dn, pgoff_t pgofs); 4180 bool f2fs_lookup_read_extent_cache(struct inode *inode, pgoff_t pgofs, 4192 bool f2fs_lookup_age_extent_cache(struct inode *inode, pgoff_t pgofs,
|
D | segment.c | 3318 static int __get_age_segment_type(struct inode *inode, pgoff_t pgofs) in __get_age_segment_type() argument 3323 if (f2fs_lookup_age_extent_cache(inode, pgofs, &ei)) { in __get_age_segment_type()
|