Home
last modified time | relevance | path

Searched refs:lblk (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/fs/xfs/scrub/
Ddir.c318 xfs_dablk_t lblk, in xchk_directory_check_free_entry() argument
336 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_check_free_entry()
343 xfs_dablk_t lblk, in xchk_directory_data_bestfree() argument
362 if (lblk != XFS_B_TO_FSBT(mp, XFS_DIR2_DATA_OFFSET)) in xchk_directory_data_bestfree()
363 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_data_bestfree()
367 error = xfs_dir3_data_read(sc->tp, sc->ip, lblk, 0, &bp); in xchk_directory_data_bestfree()
369 if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, lblk, &error)) in xchk_directory_data_bestfree()
386 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_data_bestfree()
396 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_data_bestfree()
402 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_data_bestfree()
[all …]
/linux-6.1.9/fs/ext4/
Dextents_status.c148 static int __es_remove_extent(struct inode *inode, ext4_lblk_t lblk,
153 static void __revise_pending(struct inode *inode, ext4_lblk_t lblk,
211 ext4_lblk_t lblk) in __es_tree_search() argument
218 if (lblk < es->es_lblk) in __es_tree_search()
220 else if (lblk > ext4_es_end(es)) in __es_tree_search()
226 if (es && lblk < es->es_lblk) in __es_tree_search()
229 if (es && lblk > ext4_es_end(es)) { in __es_tree_search()
258 ext4_lblk_t lblk, ext4_lblk_t end, in __es_find_extent_range() argument
266 WARN_ON(end < lblk); in __es_find_extent_range()
274 if (in_range(lblk, es1->es_lblk, es1->es_len)) { in __es_find_extent_range()
[all …]
Dextents_status.h130 extern int ext4_es_insert_extent(struct inode *inode, ext4_lblk_t lblk,
133 extern void ext4_es_cache_extent(struct inode *inode, ext4_lblk_t lblk,
136 extern int ext4_es_remove_extent(struct inode *inode, ext4_lblk_t lblk,
140 ext4_lblk_t lblk, ext4_lblk_t end,
142 extern int ext4_es_lookup_extent(struct inode *inode, ext4_lblk_t lblk,
147 ext4_lblk_t lblk, ext4_lblk_t end);
150 ext4_lblk_t lblk);
250 extern void ext4_remove_pending(struct inode *inode, ext4_lblk_t lblk);
251 extern bool ext4_is_pending(struct inode *inode, ext4_lblk_t lblk);
252 extern int ext4_es_insert_delayed_block(struct inode *inode, ext4_lblk_t lblk,
[all …]
Dfast_commit.h138 ext4_lblk_t lblk; member
158 #define region_last(__region) (((__region)->lblk) + ((__region)->len) - 1)
Dextents.c328 struct ext4_ext_path **ppath, ext4_lblk_t lblk, in ext4_force_split_extent_at() argument
338 return ext4_split_extent_at(handle, inode, ppath, lblk, unwritten ? in ext4_force_split_extent_at()
389 ext4_lblk_t lblk, ext4_fsblk_t *pblk, in ext4_valid_extent_entries() argument
410 lblk != le32_to_cpu(ext->ee_block)) in ext4_valid_extent_entries()
434 lblk != le32_to_cpu(ext_idx->ei_block)) in ext4_valid_extent_entries()
456 int depth, ext4_fsblk_t pblk, ext4_lblk_t lblk) in __ext4_ext_check() argument
486 if (!ext4_valid_extent_entries(inode, eh, lblk, &pblk, depth)) { in __ext4_ext_check()
532 ext4_lblk_t lblk = le32_to_cpu(ex->ee_block); in ext4_cache_extents() local
535 if (prev && (prev != lblk)) in ext4_cache_extents()
536 ext4_es_cache_extent(inode, prev, lblk - prev, ~0, in ext4_cache_extents()
[all …]
Dinode.c423 int ext4_issue_zeroout(struct inode *inode, ext4_lblk_t lblk, ext4_fsblk_t pblk, in ext4_issue_zeroout() argument
429 return fscrypt_zeroout_range(inode, lblk, pblk, len); in ext4_issue_zeroout()
1666 static int ext4_insert_delayed_block(struct inode *inode, ext4_lblk_t lblk) in ext4_insert_delayed_block() argument
1690 if (!ext4_es_scan_clu(inode, &ext4_es_is_delonly, lblk)) { in ext4_insert_delayed_block()
1692 &ext4_es_is_mapped, lblk)) { in ext4_insert_delayed_block()
1694 EXT4_B2C(sbi, lblk)); in ext4_insert_delayed_block()
1711 ret = ext4_es_insert_delayed_block(inode, lblk, allocated); in ext4_insert_delayed_block()
2159 static bool mpage_add_bh_to_extent(struct mpage_da_data *mpd, ext4_lblk_t lblk, in mpage_add_bh_to_extent() argument
2178 map->m_lblk = lblk; in mpage_add_bh_to_extent()
2189 if (lblk == map->m_lblk + map->m_len && in mpage_add_bh_to_extent()
[all …]
Dext4_extents.h131 ext4_lblk_t lblk; /* logical block number within logical cluster */ member
Dext4.h323 #define EXT4_LBLK_CMASK(s, lblk) ((lblk) & \ argument
326 #define EXT4_LBLK_CFILL(sbi, lblk) ((lblk) | \ argument
331 #define EXT4_LBLK_COFF(s, lblk) ((lblk) & \ argument
2900 ext4_lblk_t lblk, ext4_fsblk_t pblk,
3012 extern int ext4_issue_zeroout(struct inode *inode, ext4_lblk_t lblk,
Dfast_commit.c1693 ext4_lblk_t lblk, ext4_fsblk_t pblk, int len, int replay) in ext4_fc_record_regions() argument
1721 region->lblk = lblk; in ext4_fc_record_regions()
/linux-6.1.9/fs/crypto/
Dbio.c51 pgoff_t lblk, sector_t pblk, in fscrypt_zeroout_range_inline_crypt() argument
69 fscrypt_set_bio_crypt_ctx(bio, inode, lblk, GFP_NOFS); in fscrypt_zeroout_range_inline_crypt()
80 lblk += blocks_this_page; in fscrypt_zeroout_range_inline_crypt()
83 !fscrypt_mergeable_bio(bio, inode, lblk)) { in fscrypt_zeroout_range_inline_crypt()
113 int fscrypt_zeroout_range(const struct inode *inode, pgoff_t lblk, in fscrypt_zeroout_range() argument
131 return fscrypt_zeroout_range_inline_crypt(inode, lblk, pblk, in fscrypt_zeroout_range()
164 err = fscrypt_crypt_block(inode, FS_ENCRYPT, lblk, in fscrypt_zeroout_range()
169 lblk++; in fscrypt_zeroout_range()
Dinline_crypt.c461 u64 fscrypt_limit_io_blocks(const struct inode *inode, u64 lblk, u64 nr_blocks) in fscrypt_limit_io_blocks() argument
479 dun = ci->ci_hashed_ino + lblk; in fscrypt_limit_io_blocks()
/linux-6.1.9/include/trace/events/
Dext4.h509 __field( __u64, lblk )
517 __entry->lblk = map->m_lblk;
524 (unsigned long) __entry->ino, __entry->lblk, __entry->len,
1613 TP_PROTO(struct inode *inode, ext4_lblk_t lblk,
1616 TP_ARGS(inode, lblk, len, flags),
1621 __field( ext4_lblk_t, lblk )
1629 __entry->lblk = lblk;
1637 __entry->lblk, __entry->len, show_map_flags(__entry->flags))
1641 TP_PROTO(struct inode *inode, ext4_lblk_t lblk,
1644 TP_ARGS(inode, lblk, len, flags)
[all …]
/linux-6.1.9/include/linux/
Dfscrypt.h352 int fscrypt_zeroout_range(const struct inode *inode, pgoff_t lblk,
649 static inline int fscrypt_zeroout_range(const struct inode *inode, pgoff_t lblk, in fscrypt_zeroout_range() argument
769 u64 fscrypt_limit_io_blocks(const struct inode *inode, u64 lblk, u64 nr_blocks);
805 static inline u64 fscrypt_limit_io_blocks(const struct inode *inode, u64 lblk, in fscrypt_limit_io_blocks() argument
/linux-6.1.9/fs/xfs/
Dxfs_trace.h3329 __field(xfs_fileoff_t, lblk)
3337 __entry->lblk = irec->br_startoff;
3345 __entry->lblk,