Home
last modified time | relevance | path

Searched refs:pgofs (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/fs/f2fs/
Dextent_cache.c410 static bool f2fs_lookup_extent_tree(struct inode *inode, pgoff_t pgofs, in f2fs_lookup_extent_tree() argument
421 trace_f2fs_lookup_extent_tree_start(inode, pgofs); in f2fs_lookup_extent_tree()
425 if (et->largest.fofs <= pgofs && in f2fs_lookup_extent_tree()
426 et->largest.fofs + et->largest.len > pgofs) { in f2fs_lookup_extent_tree()
434 (struct rb_entry *)et->cached_en, pgofs); in f2fs_lookup_extent_tree()
455 trace_f2fs_lookup_extent_tree_end(inode, pgofs, ei); in f2fs_lookup_extent_tree()
854 bool f2fs_lookup_extent_cache(struct inode *inode, pgoff_t pgofs, in f2fs_lookup_extent_cache() argument
860 return f2fs_lookup_extent_tree(inode, pgofs, ei); in f2fs_lookup_extent_cache()
Ddata.c1460 pgoff_t pgofs, end_offset, end; in f2fs_map_blocks() local
1480 pgofs = (pgoff_t)map->m_lblk; in f2fs_map_blocks()
1481 end = pgofs + maxblocks; in f2fs_map_blocks()
1483 if (!create && f2fs_lookup_extent_cache(inode, pgofs, &ei)) { in f2fs_map_blocks()
1488 map->m_pblk = ei.blk + pgofs - ei.fofs; in f2fs_map_blocks()
1489 map->m_len = min((pgoff_t)maxblocks, ei.fofs + ei.len - pgofs); in f2fs_map_blocks()
1492 *map->m_next_extent = pgofs + map->m_len; in f2fs_map_blocks()
1522 err = f2fs_get_dnode_of_data(&dn, pgofs, mode); in f2fs_map_blocks()
1544 f2fs_get_next_page_offset(&dn, pgofs); in f2fs_map_blocks()
1547 f2fs_get_next_page_offset(&dn, pgofs); in f2fs_map_blocks()
[all …]
Dfile.c420 pgoff_t pgofs, end_offset; in f2fs_seek_block() local
442 pgofs = (pgoff_t)(offset >> PAGE_SHIFT); in f2fs_seek_block()
444 for (; data_ofs < isize; data_ofs = (loff_t)pgofs << PAGE_SHIFT) { in f2fs_seek_block()
446 err = f2fs_get_dnode_of_data(&dn, pgofs, LOOKUP_NODE); in f2fs_seek_block()
452 pgofs = f2fs_get_next_page_offset(&dn, pgofs); in f2fs_seek_block()
463 dn.ofs_in_node++, pgofs++, in f2fs_seek_block()
464 data_ofs = (loff_t)pgofs << PAGE_SHIFT) { in f2fs_seek_block()
477 pgofs, whence)) { in f2fs_seek_block()
Dnode.c641 pgoff_t f2fs_get_next_page_offset(struct dnode_of_data *dn, pgoff_t pgofs) in f2fs_get_next_page_offset() argument
652 return pgofs + 1; in f2fs_get_next_page_offset()
671 return ((pgofs - base) / skipped_unit + 1) * skipped_unit + base; in f2fs_get_next_page_offset()
Df2fs.h3590 pgoff_t f2fs_get_next_page_offset(struct dnode_of_data *dn, pgoff_t pgofs);
4160 bool f2fs_lookup_extent_cache(struct inode *inode, pgoff_t pgofs,
/linux-6.1.9/include/trace/events/
Df2fs.h1525 TP_PROTO(struct inode *inode, unsigned int pgofs),
1527 TP_ARGS(inode, pgofs),
1532 __field(unsigned int, pgofs)
1538 __entry->pgofs = pgofs;
1543 __entry->pgofs)
1548 TP_PROTO(struct inode *inode, unsigned int pgofs,
1551 TP_ARGS(inode, pgofs, ei),
1558 __field(unsigned int, pgofs)
1567 __entry->pgofs = pgofs;
1576 __entry->pgofs,
[all …]