/fs/jfs/ |
D | jfs_metapage.c | 234 static sector_t metapage_get_blocks(struct inode *inode, sector_t lblock, in metapage_get_blocks() argument 243 if (lblock >= file_blocks) in metapage_get_blocks() 245 if (lblock + *len > file_blocks) in metapage_get_blocks() 246 *len = file_blocks - lblock; in metapage_get_blocks() 249 rc = xtLookup(inode, (s64)lblock, *len, &xflag, &xaddr, len, 0); in metapage_get_blocks() 251 lblock = (sector_t)xaddr; in metapage_get_blocks() 253 lblock = 0; in metapage_get_blocks() 256 return lblock; in metapage_get_blocks() 345 sector_t lblock; in metapage_writepage() local 381 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()
|
/fs/udf/ |
D | lowlevel.c | 52 unsigned long lblock = 0; in udf_get_last_block() local 58 if (!cdi || cdrom_get_last_written(cdi, &lblock) || lblock == 0) in udf_get_last_block() 59 lblock = i_size_read(bdev->bd_inode) >> sb->s_blocksize_bits; in udf_get_last_block() 61 if (lblock) in udf_get_last_block() 62 return lblock - 1; in udf_get_last_block()
|
/fs/gfs2/ |
D | bmap.c | 582 static int gfs2_hole_size(struct inode *inode, sector_t lblock, u64 len, in gfs2_hole_size() argument 595 hole_size = metapath_to_block(GFS2_SB(inode), &clone) - lblock; in gfs2_hole_size() 847 sector_t lblock; in gfs2_iomap_get() local 893 lblock = pos >> inode->i_blkbits; in gfs2_iomap_get() 894 iomap->offset = lblock << inode->i_blkbits; in gfs2_iomap_get() 896 len = lblock_stop - lblock + 1; in gfs2_iomap_get() 900 while ((lblock + 1) * sdp->sd_sb.sb_bsize > sdp->sd_heightsize[height]) in gfs2_iomap_get() 902 find_metapath(sdp, lblock, mp, height); in gfs2_iomap_get() 938 ret = gfs2_hole_size(inode, lblock, len, mp, iomap); in gfs2_iomap_get() 953 ret = gfs2_hole_size(inode, lblock, len, mp, iomap); in gfs2_iomap_get() [all …]
|
D | bmap.h | 50 extern int gfs2_block_map(struct inode *inode, sector_t lblock, 54 extern int gfs2_extent_map(struct inode *inode, u64 lblock, int *new, 65 extern int gfs2_lblk_to_dblk(struct inode *inode, u32 lblock, u64 *dblock);
|
D | lops.c | 142 u64 gfs2_log_bmap(struct gfs2_jdesc *jd, unsigned int lblock) in gfs2_log_bmap() argument 147 if (lblock >= je->lblock && lblock < je->lblock + je->blocks) in gfs2_log_bmap() 148 return je->dblock + lblock - je->lblock; in gfs2_log_bmap() 529 for (; block < je->lblock + je->blocks; block++, dblock++) { in gfs2_find_jhead()
|
D | trace_gfs2.h | 442 sector_t lblock, int create, int errno), 444 TP_ARGS(ip, bh, lblock, create, errno), 448 __field( sector_t, lblock ) 459 __entry->lblock = lblock; 471 (unsigned long long)__entry->lblock,
|
D | recovery.c | 267 u32 lblock = head->lh_blkno; in clean_journal() local 269 gfs2_replay_incr_blk(jd, &lblock); in clean_journal() 270 gfs2_write_log_header(sdp, jd, head->lh_sequence + 1, 0, lblock, in clean_journal() 274 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() 636 static sector_t gfs2_bmap(struct address_space *mapping, sector_t lblock) in gfs2_bmap() argument 648 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_extent_map(&ip->i_inode, lblock, &new, 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() 297 error = gfs2_extent_map(&ip->i_inode, lblock, &new, in gfs2_dir_read_data() 319 lblock++; in gfs2_dir_read_data()
|
D | log.h | 70 u64 seq, u32 tail, u32 lblock, u32 flags,
|
D | log.c | 760 u64 seq, u32 tail, u32 lblock, u32 flags, in gfs2_write_log_header() argument 786 lh->lh_blkno = cpu_to_be32(lblock); in gfs2_write_log_header() 794 dblock = gfs2_log_bmap(jd, lblock); in gfs2_write_log_header() 796 int ret = gfs2_lblk_to_dblk(jd->jd_inode, lblock, &dblock); in gfs2_write_log_header()
|
D | incore.h | 524 unsigned int lblock; /* First logical block */ member
|
/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()
|
/fs/ext4/ |
D | move_extent.c | 25 get_ext_path(struct inode *inode, ext4_lblk_t lblock, in get_ext_path() argument 30 path = ext4_find_extent(inode, lblock, ppath, EXT4_EX_NOCACHE); in get_ext_path()
|
D | extents.c | 347 ext4_lblk_t lblock = le32_to_cpu(ext->ee_block); in ext4_valid_extent() local 354 if (lblock + len <= lblock) in ext4_valid_extent() 373 ext4_lblk_t lblock = 0; in ext4_valid_extent_entries() local 397 lblock = le32_to_cpu(ext->ee_block); in ext4_valid_extent_entries() 398 if (lblock < cur) { in ext4_valid_extent_entries() 402 cur = lblock + ext4_ext_get_actual_len(ext); in ext4_valid_extent_entries() 421 lblock = le32_to_cpu(ext_idx->ei_block); in ext4_valid_extent_entries() 422 if (lblock < cur) { in ext4_valid_extent_entries() 428 cur = lblock + 1; in ext4_valid_extent_entries()
|
D | namei.c | 3056 unsigned int lblock; in ext4_empty_dir() local 3058 lblock = offset >> EXT4_BLOCK_SIZE_BITS(sb); in ext4_empty_dir() 3059 bh = ext4_read_dirblock(inode, lblock, EITHER); in ext4_empty_dir()
|
/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()
|
/fs/ |
D | buffer.c | 2290 sector_t iblock, lblock; in block_read_full_page() local 2301 lblock = (i_size_read(inode)+blocksize-1) >> bbits; in block_read_full_page() 2314 if (iblock < lblock) { in block_read_full_page()
|