Home
last modified time | relevance | path

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

/Linux-v5.15/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-v5.15/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.h133 ext4_lblk_t lblk; member
153 #define region_last(__region) (((__region)->lblk) + ((__region)->len) - 1)
Dextents.c296 struct ext4_ext_path **ppath, ext4_lblk_t lblk, in ext4_force_split_extent_at() argument
306 return ext4_split_extent_at(handle, inode, ppath, lblk, unwritten ? in ext4_force_split_extent_at()
472 ext4_lblk_t lblk = le32_to_cpu(ex->ee_block); in ext4_cache_extents() local
475 if (prev && (prev != lblk)) in ext4_cache_extents()
476 ext4_es_cache_extent(inode, prev, lblk - prev, ~0, in ext4_cache_extents()
481 ext4_es_cache_extent(inode, lblk, len, in ext4_cache_extents()
483 prev = lblk + len; in ext4_cache_extents()
2207 ext4_lblk_t *lblk) in ext4_ext_determine_hole() argument
2216 *lblk = 0; in ext4_ext_determine_hole()
2218 } else if (*lblk < le32_to_cpu(ex->ee_block)) { in ext4_ext_determine_hole()
[all …]
Dinode.c418 int ext4_issue_zeroout(struct inode *inode, ext4_lblk_t lblk, ext4_fsblk_t pblk, in ext4_issue_zeroout() argument
424 return fscrypt_zeroout_range(inode, lblk, pblk, len); in ext4_issue_zeroout()
1626 static int ext4_insert_delayed_block(struct inode *inode, ext4_lblk_t lblk) in ext4_insert_delayed_block() argument
1650 if (!ext4_es_scan_clu(inode, &ext4_es_is_delonly, lblk)) { in ext4_insert_delayed_block()
1652 &ext4_es_is_mapped, lblk)) { in ext4_insert_delayed_block()
1654 EXT4_B2C(sbi, lblk)); in ext4_insert_delayed_block()
1671 ret = ext4_es_insert_delayed_block(inode, lblk, allocated); in ext4_insert_delayed_block()
2129 static bool mpage_add_bh_to_extent(struct mpage_da_data *mpd, ext4_lblk_t lblk, in mpage_add_bh_to_extent() argument
2148 map->m_lblk = lblk; in mpage_add_bh_to_extent()
2159 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.h324 #define EXT4_LBLK_CMASK(s, lblk) ((lblk) & \ argument
327 #define EXT4_LBLK_CFILL(sbi, lblk) ((lblk) | \ argument
332 #define EXT4_LBLK_COFF(s, lblk) ((lblk) & \ argument
3045 extern int ext4_issue_zeroout(struct inode *inode, ext4_lblk_t lblk,
Dfast_commit.c1610 ext4_lblk_t lblk, ext4_fsblk_t pblk, int len) in ext4_fc_record_regions() argument
1629 region->lblk = lblk; in ext4_fc_record_regions()
/Linux-v5.15/fs/crypto/
Dbio.c45 pgoff_t lblk, sector_t pblk, in fscrypt_zeroout_range_inline_crypt() argument
62 fscrypt_set_bio_crypt_ctx(bio, inode, lblk, GFP_NOFS); in fscrypt_zeroout_range_inline_crypt()
75 lblk += blocks_this_page; in fscrypt_zeroout_range_inline_crypt()
78 !fscrypt_mergeable_bio(bio, inode, lblk)) { in fscrypt_zeroout_range_inline_crypt()
108 int fscrypt_zeroout_range(const struct inode *inode, pgoff_t lblk, in fscrypt_zeroout_range() argument
126 return fscrypt_zeroout_range_inline_crypt(inode, lblk, pblk, in fscrypt_zeroout_range()
161 err = fscrypt_crypt_block(inode, FS_ENCRYPT, lblk, in fscrypt_zeroout_range()
166 lblk++; in fscrypt_zeroout_range()
/Linux-v5.15/include/trace/events/
Dext4.h501 __field( __u64, lblk )
509 __entry->lblk = map->m_lblk;
516 (unsigned long) __entry->ino, __entry->lblk, __entry->len,
1605 TP_PROTO(struct inode *inode, ext4_lblk_t lblk,
1608 TP_ARGS(inode, lblk, len, flags),
1613 __field( ext4_lblk_t, lblk )
1621 __entry->lblk = lblk;
1629 __entry->lblk, __entry->len, show_map_flags(__entry->flags))
1633 TP_PROTO(struct inode *inode, ext4_lblk_t lblk,
1636 TP_ARGS(inode, lblk, len, flags)
[all …]
/Linux-v5.15/include/linux/
Dfscrypt.h333 int fscrypt_zeroout_range(const struct inode *inode, pgoff_t lblk,
602 static inline int fscrypt_zeroout_range(const struct inode *inode, pgoff_t lblk, in fscrypt_zeroout_range() argument
/Linux-v5.15/fs/xfs/
Dxfs_trace.h3308 __field(xfs_fileoff_t, lblk)
3316 __entry->lblk = irec->br_startoff;
3324 __entry->lblk,