Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/xfs/scrub/
Ddir.c304 xfs_dablk_t lblk, in xchk_directory_check_free_entry() argument
322 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_check_free_entry()
329 xfs_dablk_t lblk, in xchk_directory_data_bestfree() argument
348 if (lblk != XFS_B_TO_FSBT(mp, XFS_DIR2_DATA_OFFSET)) in xchk_directory_data_bestfree()
349 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_data_bestfree()
353 error = xfs_dir3_data_read(sc->tp, sc->ip, lblk, 0, &bp); in xchk_directory_data_bestfree()
355 if (!xchk_fblock_process_error(sc, XFS_DATA_FORK, lblk, &error)) in xchk_directory_data_bestfree()
372 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_data_bestfree()
382 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_data_bestfree()
388 xchk_fblock_set_corrupt(sc, XFS_DATA_FORK, lblk); in xchk_directory_data_bestfree()
[all …]
/kernel/linux/linux-5.10/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.h128 ext4_lblk_t lblk; member
148 #define region_last(__region) (((__region)->lblk) + ((__region)->len) - 1)
Dextents.c308 struct ext4_ext_path **ppath, ext4_lblk_t lblk, in ext4_force_split_extent_at() argument
318 return ext4_split_extent_at(handle, inode, ppath, lblk, unwritten ? in ext4_force_split_extent_at()
369 ext4_lblk_t lblk, ext4_fsblk_t *pblk, in ext4_valid_extent_entries() argument
390 lblk != le32_to_cpu(ext->ee_block)) in ext4_valid_extent_entries()
414 lblk != le32_to_cpu(ext_idx->ei_block)) in ext4_valid_extent_entries()
436 int depth, ext4_fsblk_t pblk, ext4_lblk_t lblk) in __ext4_ext_check() argument
466 if (!ext4_valid_extent_entries(inode, eh, lblk, &pblk, depth)) { in __ext4_ext_check()
512 ext4_lblk_t lblk = le32_to_cpu(ex->ee_block); in ext4_cache_extents() local
515 if (prev && (prev != lblk)) in ext4_cache_extents()
516 ext4_es_cache_extent(inode, prev, lblk - prev, ~0, in ext4_cache_extents()
[all …]
Dinode.c426 int ext4_issue_zeroout(struct inode *inode, ext4_lblk_t lblk, ext4_fsblk_t pblk, in ext4_issue_zeroout() argument
432 return fscrypt_zeroout_range(inode, lblk, pblk, len); in ext4_issue_zeroout()
1647 static int ext4_insert_delayed_block(struct inode *inode, ext4_lblk_t lblk) in ext4_insert_delayed_block() argument
1671 if (!ext4_es_scan_clu(inode, &ext4_es_is_delonly, lblk)) { in ext4_insert_delayed_block()
1673 &ext4_es_is_mapped, lblk)) { in ext4_insert_delayed_block()
1675 EXT4_B2C(sbi, lblk)); in ext4_insert_delayed_block()
1692 ret = ext4_es_insert_delayed_block(inode, lblk, allocated); in ext4_insert_delayed_block()
2174 static bool mpage_add_bh_to_extent(struct mpage_da_data *mpd, ext4_lblk_t lblk, in mpage_add_bh_to_extent() argument
2193 map->m_lblk = lblk; in mpage_add_bh_to_extent()
2204 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.h309 #define EXT4_LBLK_CMASK(s, lblk) ((lblk) & \ argument
312 #define EXT4_LBLK_CFILL(sbi, lblk) ((lblk) | \ argument
317 #define EXT4_LBLK_COFF(s, lblk) ((lblk) & \ argument
2804 ext4_lblk_t lblk, ext4_fsblk_t pblk,
2910 extern int ext4_issue_zeroout(struct inode *inode, ext4_lblk_t lblk,
Dfast_commit.c1587 ext4_lblk_t lblk, ext4_fsblk_t pblk, int len, int replay) in ext4_fc_record_regions() argument
1615 region->lblk = lblk; in ext4_fc_record_regions()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/trace/events/
Dext4.h514 __field( __u64, lblk )
522 __entry->lblk = map->m_lblk;
529 (unsigned long) __entry->ino, __entry->lblk, __entry->len,
1676 TP_PROTO(struct inode *inode, ext4_lblk_t lblk,
1679 TP_ARGS(inode, lblk, len, flags),
1684 __field( ext4_lblk_t, lblk )
1692 __entry->lblk = lblk;
1700 __entry->lblk, __entry->len, show_map_flags(__entry->flags))
1704 TP_PROTO(struct inode *inode, ext4_lblk_t lblk,
1707 TP_ARGS(inode, lblk, len, flags)
[all …]
/kernel/linux/linux-5.10/include/linux/
Dfscrypt.h233 int fscrypt_zeroout_range(const struct inode *inode, pgoff_t lblk,
504 static inline int fscrypt_zeroout_range(const struct inode *inode, pgoff_t lblk, in fscrypt_zeroout_range() argument
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_trace.h3165 __field(xfs_fileoff_t, lblk)
3173 __entry->lblk = irec->br_startoff;
3181 __entry->lblk,