/linux-6.6.21/fs/udf/ |
D | lowlevel.c | 47 unsigned long lblock = 0; in udf_get_last_block() local 53 if (!cdi || cdrom_get_last_written(cdi, &lblock) || lblock == 0) { in udf_get_last_block() 56 lblock = sb_bdev_nr_blocks(sb); in udf_get_last_block() 59 if (lblock) in udf_get_last_block() 60 return lblock - 1; in udf_get_last_block()
|
/linux-6.6.21/fs/jfs/ |
D | jfs_metapage.c | 235 static sector_t metapage_get_blocks(struct inode *inode, sector_t lblock, in metapage_get_blocks() argument 244 if (lblock >= file_blocks) in metapage_get_blocks() 246 if (lblock + *len > file_blocks) in metapage_get_blocks() 247 *len = file_blocks - lblock; in metapage_get_blocks() 250 rc = xtLookup(inode, (s64)lblock, *len, &xflag, &xaddr, len, 0); in metapage_get_blocks() 252 lblock = (sector_t)xaddr; in metapage_get_blocks() 254 lblock = 0; in metapage_get_blocks() 257 return lblock; in metapage_get_blocks() 346 sector_t lblock; in metapage_writepage() local 382 lblock = page_start + block_offset; in metapage_writepage() [all …]
|
D | jfs_metapage.h | 51 unsigned long lblock, unsigned int size, 54 #define read_metapage(inode, lblock, size, absolute)\ argument 55 __get_metapage(inode, lblock, size, absolute, false) 57 #define get_metapage(inode, lblock, size, absolute)\ argument 58 __get_metapage(inode, lblock, size, absolute, true)
|
D | jfs_dtree.c | 237 struct metapage ** mp, s64 *lblock) in find_index() argument 271 if (*mp && (*lblock != blkno)) { in find_index() 276 *lblock = blkno; in find_index() 486 s64 lblock; in free_index() local 489 dirtab_slot = find_index(ip, index, &mp, &lblock); in free_index() 512 int slot, struct metapage ** mp, s64 *lblock) in modify_index() argument 516 dirtab_slot = find_index(ip, index, mp, lblock); in modify_index() 539 s64 lblock; in read_index() local 543 slot = find_index(ip, index, &mp, &lblock); in read_index() 1575 s64 lblock; in dtSplitPage() local [all …]
|
D | inode.c | 199 int jfs_get_block(struct inode *ip, sector_t lblock, in jfs_get_block() argument 202 s64 lblock64 = lblock; in jfs_get_block()
|
/linux-6.6.21/fs/gfs2/ |
D | bmap.h | 50 extern int gfs2_block_map(struct inode *inode, sector_t lblock, 56 extern int gfs2_get_extent(struct inode *inode, u64 lblock, u64 *dblock, 58 extern int gfs2_alloc_extent(struct inode *inode, u64 lblock, u64 *dblock,
|
D | bmap.c | 581 static int gfs2_hole_size(struct inode *inode, sector_t lblock, u64 len, in gfs2_hole_size() argument 594 hole_size = metapath_to_block(GFS2_SB(inode), &clone) - lblock; in gfs2_hole_size() 845 sector_t lblock; in __gfs2_iomap_get() local 891 lblock = pos >> inode->i_blkbits; in __gfs2_iomap_get() 892 iomap->offset = lblock << inode->i_blkbits; in __gfs2_iomap_get() 894 len = lblock_stop - lblock + 1; in __gfs2_iomap_get() 898 while ((lblock + 1) * sdp->sd_sb.sb_bsize > sdp->sd_heightsize[height]) in __gfs2_iomap_get() 900 find_metapath(sdp, lblock, mp, height); in __gfs2_iomap_get() 936 ret = gfs2_hole_size(inode, lblock, len, mp, iomap); in __gfs2_iomap_get() 951 ret = gfs2_hole_size(inode, lblock, len, mp, iomap); in __gfs2_iomap_get() [all …]
|
D | trace_gfs2.h | 439 sector_t lblock, int create, int errno), 441 TP_ARGS(ip, bh, lblock, create, errno), 445 __field( sector_t, lblock ) 456 __entry->lblock = lblock; 468 (unsigned long long)__entry->lblock,
|
D | lops.c | 145 u64 gfs2_log_bmap(struct gfs2_jdesc *jd, unsigned int lblock) in gfs2_log_bmap() argument 150 if (lblock >= je->lblock && lblock < je->lblock + je->blocks) in gfs2_log_bmap() 151 return je->dblock + lblock - je->lblock; in gfs2_log_bmap() 536 for (; block < je->lblock + je->blocks; block++, dblock++) { in gfs2_find_jhead()
|
D | recovery.c | 266 u32 lblock = head->lh_blkno; in clean_journal() local 268 gfs2_replay_incr_blk(jd, &lblock); in clean_journal() 269 gfs2_write_log_header(sdp, jd, head->lh_sequence + 1, 0, lblock, in clean_journal() 273 sdp->sd_log_flush_head = lblock; in clean_journal()
|
D | aops.c | 71 static int gfs2_get_block_noalloc(struct inode *inode, sector_t lblock, in gfs2_get_block_noalloc() argument 76 error = gfs2_block_map(inode, lblock, bh_result, 0); in gfs2_get_block_noalloc() 596 static sector_t gfs2_bmap(struct address_space *mapping, sector_t lblock) in gfs2_bmap() argument 608 dblock = iomap_bmap(mapping, lblock, &gfs2_iomap_ops); in gfs2_bmap()
|
D | dir.c | 157 u64 lblock, dblock; in gfs2_dir_write_data() local 180 lblock = offset; in gfs2_dir_write_data() 181 o = do_div(lblock, sdp->sd_jbsize) + sizeof(struct gfs2_meta_header); in gfs2_dir_write_data() 193 error = gfs2_alloc_extent(&ip->i_inode, lblock, &dblock, in gfs2_dir_write_data() 216 lblock++; in gfs2_dir_write_data() 271 u64 lblock, dblock; in gfs2_dir_read_data() local 283 lblock = 0; in gfs2_dir_read_data() 284 o = do_div(lblock, sdp->sd_jbsize) + sizeof(struct gfs2_meta_header); in gfs2_dir_read_data() 296 error = gfs2_get_extent(&ip->i_inode, lblock, in gfs2_dir_read_data() 318 lblock++; in gfs2_dir_read_data()
|
D | log.h | 84 u64 seq, u32 tail, u32 lblock, u32 flags,
|
D | log.c | 833 u64 seq, u32 tail, u32 lblock, u32 flags, in gfs2_write_log_header() argument 859 lh->lh_blkno = cpu_to_be32(lblock); in gfs2_write_log_header() 867 dblock = gfs2_log_bmap(jd, lblock); in gfs2_write_log_header() 873 ret = gfs2_get_extent(jd->jd_inode, lblock, &dblock, &extlen); in gfs2_write_log_header()
|
D | incore.h | 501 unsigned int lblock; /* First logical block */ member
|
/linux-6.6.21/include/trace/events/ |
D | f2fs.h | 2153 TP_PROTO(struct inode *inode, sector_t lblock, sector_t pblock), 2155 TP_ARGS(inode, lblock, pblock), 2160 __field(sector_t, lblock) 2167 __entry->lblock = lblock; 2173 (unsigned long long)__entry->lblock, 2179 TP_PROTO(struct inode *inode, sector_t lblock, sector_t pblock, 2182 TP_ARGS(inode, lblock, pblock, len, flags, ret), 2187 __field(sector_t, lblock) 2197 __entry->lblock = lblock; 2207 (unsigned long long)__entry->lblock,
|
/linux-6.6.21/fs/ufs/ |
D | balloc.c | 248 unsigned pos, j, lblock; in ufs_change_blocknr() local 287 lblock = end & mask; in ufs_change_blocknr() 289 lblock = blks_per_page; in ufs_change_blocknr() 292 if (j >= lblock) in ufs_change_blocknr()
|
/linux-6.6.21/fs/ext4/ |
D | move_extent.c | 26 get_ext_path(struct inode *inode, ext4_lblk_t lblock, in get_ext_path() argument 31 path = ext4_find_extent(inode, lblock, ppath, EXT4_EX_NOCACHE); in get_ext_path()
|
D | extents.c | 367 ext4_lblk_t lblock = le32_to_cpu(ext->ee_block); in ext4_valid_extent() local 374 if (lblock + len <= lblock) in ext4_valid_extent() 393 ext4_lblk_t lblock = 0; in ext4_valid_extent_entries() local 417 lblock = le32_to_cpu(ext->ee_block); in ext4_valid_extent_entries() 418 if (lblock < cur) { in ext4_valid_extent_entries() 422 cur = lblock + ext4_ext_get_actual_len(ext); in ext4_valid_extent_entries() 441 lblock = le32_to_cpu(ext_idx->ei_block); in ext4_valid_extent_entries() 442 if (lblock < cur) { in ext4_valid_extent_entries() 448 cur = lblock + 1; in ext4_valid_extent_entries()
|
D | namei.c | 3117 unsigned int lblock; in ext4_empty_dir() local 3119 lblock = offset >> EXT4_BLOCK_SIZE_BITS(sb); in ext4_empty_dir() 3120 bh = ext4_read_dirblock(inode, lblock, EITHER); in ext4_empty_dir()
|
/linux-6.6.21/fs/ntfs/ |
D | aops.c | 175 sector_t iblock, lblock, zblock; in ntfs_read_block() local 214 lblock = (ni->allocated_size + blocksize - 1) >> blocksize_bits; in ntfs_read_block() 238 if (iblock < lblock) { in ntfs_read_block()
|
/linux-6.6.21/Documentation/fault-injection/ |
D | nvme-fault-injection.rst | 69 inode #2: comm cp: reading directory lblock 0
|
/linux-6.6.21/fs/ |
D | buffer.c | 2366 sector_t iblock, lblock; in block_read_full_folio() local 2385 lblock = (limit+blocksize-1) >> bbits; in block_read_full_folio() 2398 if (iblock < lblock) { in block_read_full_folio()
|