Home
last modified time | relevance | path

Searched refs:dblock (Results 1 – 15 of 15) sorted by relevance

/linux-4.19.296/fs/xfs/libxfs/
Dxfs_bmap_btree.c34 xfs_bmdr_block_t *dblock, in xfs_bmdr_to_bmbt() argument
49 rblock->bb_level = dblock->bb_level; in xfs_bmdr_to_bmbt()
51 rblock->bb_numrecs = dblock->bb_numrecs; in xfs_bmdr_to_bmbt()
53 fkp = XFS_BMDR_KEY_ADDR(dblock, 1); in xfs_bmdr_to_bmbt()
55 fpp = XFS_BMDR_PTR_ADDR(dblock, 1, dmxr); in xfs_bmdr_to_bmbt()
57 dmxr = be16_to_cpu(dblock->bb_numrecs); in xfs_bmdr_to_bmbt()
133 xfs_bmdr_block_t *dblock, in xfs_bmbt_to_bmdr() argument
153 dblock->bb_level = rblock->bb_level; in xfs_bmbt_to_bmdr()
154 dblock->bb_numrecs = rblock->bb_numrecs; in xfs_bmbt_to_bmdr()
157 tkp = XFS_BMDR_KEY_ADDR(dblock, 1); in xfs_bmbt_to_bmdr()
[all …]
/linux-4.19.296/fs/gfs2/
Dmeta_io.c437 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen) in gfs2_meta_ra() argument
451 first_bh = gfs2_getbuf(gl, dblock, CREATE); in gfs2_meta_ra()
458 dblock++; in gfs2_meta_ra()
462 bh = gfs2_getbuf(gl, dblock, CREATE); in gfs2_meta_ra()
469 dblock++; in gfs2_meta_ra()
Drecovery.c41 u64 dblock; in gfs2_replay_read_block() local
45 error = gfs2_extent_map(&ip->i_inode, blk, &new, &dblock, &extlen); in gfs2_replay_read_block()
48 if (!dblock) { in gfs2_replay_read_block()
53 *bh = gfs2_meta_ra(gl, dblock, extlen); in gfs2_replay_read_block()
Dbmap.h57 u64 *dblock, unsigned *extlen);
Ddir.c163 u64 lblock, dblock; in gfs2_dir_write_data() local
200 &dblock, &extlen); in gfs2_dir_write_data()
204 if (gfs2_assert_withdraw(sdp, dblock)) in gfs2_dir_write_data()
209 error = gfs2_dir_get_new_buffer(ip, dblock, &bh); in gfs2_dir_write_data()
211 error = gfs2_dir_get_existing_buffer(ip, dblock, &bh); in gfs2_dir_write_data()
223 dblock++; in gfs2_dir_write_data()
277 u64 lblock, dblock; in gfs2_dir_read_data() local
304 &dblock, &extlen); in gfs2_dir_read_data()
305 if (error || !dblock) in gfs2_dir_read_data()
308 bh = gfs2_meta_ra(ip->i_gl, dblock, extlen); in gfs2_dir_read_data()
[all …]
Dmeta_io.h76 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen);
Dbmap.c328 u64 dblock = be64_to_cpu(*ptr); in __fillup_metapath() local
331 if (!dblock) in __fillup_metapath()
333 ret = gfs2_meta_indirect_buffer(ip, x + 1, dblock, &mp->mp_bh[x + 1]); in __fillup_metapath()
1260 int gfs2_extent_map(struct inode *inode, u64 lblock, int *new, u64 *dblock, unsigned *extlen) in gfs2_extent_map() argument
1267 BUG_ON(!dblock); in gfs2_extent_map()
1273 *dblock = bh.b_blocknr; in gfs2_extent_map()
2238 static int gfs2_add_jextent(struct gfs2_jdesc *jd, u64 lblock, u64 dblock, u64 blocks) in gfs2_add_jextent() argument
2244 if ((jext->dblock + jext->blocks) == dblock) { in gfs2_add_jextent()
2253 jext->dblock = dblock; in gfs2_add_jextent()
Daops.c748 sector_t dblock = 0; in gfs2_bmap() local
756 dblock = generic_block_bmap(mapping, lblock, gfs2_block_map); in gfs2_bmap()
760 return dblock; in gfs2_bmap()
Dquota.c1347 u64 dblock; in gfs2_quota_init() local
1372 error = gfs2_extent_map(&ip->i_inode, x, &new, &dblock, &extlen); in gfs2_quota_init()
1377 bh = gfs2_meta_ra(ip->i_gl, dblock, extlen); in gfs2_quota_init()
1425 dblock++; in gfs2_quota_init()
Dincore.h528 u64 dblock; /* First disk block */ member
Dlops.c150 block = je->dblock + lbn - je->lblock; in gfs2_log_bmap()
/linux-4.19.296/fs/hfsplus/
Dextents.c232 u32 ablock, dblock, mask; in hfsplus_get_block() local
253 dblock = hfsplus_ext_find_block(hip->first_extents, ablock); in hfsplus_get_block()
273 dblock = hfsplus_ext_find_block(hip->cached_extents, in hfsplus_get_block()
279 inode->i_ino, (long long)iblock, dblock); in hfsplus_get_block()
282 sector = ((sector_t)dblock << sbi->fs_shift) + in hfsplus_get_block()
/linux-4.19.296/fs/hfs/
Dextent.c340 u16 dblock, ablock; in hfs_get_block() local
361 dblock = hfs_ext_find_block(HFS_I(inode)->first_extents, ablock); in hfs_get_block()
368 dblock = hfs_ext_find_block(HFS_I(inode)->cached_extents, in hfs_get_block()
378 dblock * HFS_SB(sb)->fs_div + in hfs_get_block()
/linux-4.19.296/fs/ntfs/
Daops.c553 sector_t block, dblock, iblock; in ntfs_write_block() local
607 dblock = (i_size + blocksize - 1) >> blocksize_bits; in ntfs_write_block()
632 if (unlikely(block >= dblock)) { in ntfs_write_block()
919 sector_t block, dblock, rec_block; in ntfs_write_mst_block() local
973 dblock = (i_size_read(vi) + bh_size - 1) >> bh_size_bits; in ntfs_write_mst_block()
983 if (unlikely(block >= dblock)) { in ntfs_write_mst_block()
1005 if (unlikely(block >= dblock)) { in ntfs_write_mst_block()
/linux-4.19.296/fs/afs/
Ddir.c417 union afs_xdr_dir_block *dblock; in afs_dir_iterate() local
459 dblock = &dbuf->blocks[(blkoff % PAGE_SIZE) / in afs_dir_iterate()
461 ret = afs_dir_iterate_block(ctx, dblock, blkoff); in afs_dir_iterate()