Home
last modified time | relevance | path

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

/linux/fs/xfs/libxfs/
H A Dxfs_rtrefcount_btree.c587 struct xfs_rtrefcount_root *dblock, in xfs_rtrefcountbt_from_disk() argument
602 rblocklen = xfs_rtrefcount_broot_space(mp, dblock); in xfs_rtrefcountbt_from_disk()
607 rblock->bb_level = dblock->bb_level; in xfs_rtrefcountbt_from_disk()
608 rblock->bb_numrecs = dblock->bb_numrecs; in xfs_rtrefcountbt_from_disk()
612 fkp = xfs_rtrefcount_droot_key_addr(dblock, 1); in xfs_rtrefcountbt_from_disk()
614 fpp = xfs_rtrefcount_droot_ptr_addr(dblock, 1, maxrecs); in xfs_rtrefcountbt_from_disk()
616 numrecs = be16_to_cpu(dblock->bb_numrecs); in xfs_rtrefcountbt_from_disk()
620 frp = xfs_rtrefcount_droot_rec_addr(dblock, 1); in xfs_rtrefcountbt_from_disk()
622 numrecs = be16_to_cpu(dblock->bb_numrecs); in xfs_rtrefcountbt_from_disk()
675 struct xfs_rtrefcount_root *dblock, in xfs_rtrefcountbt_to_disk() argument
[all …]
H A Dxfs_bmap_btree.c51 xfs_bmdr_block_t *dblock, in xfs_bmdr_to_bmbt() argument
64 rblock->bb_level = dblock->bb_level; in xfs_bmdr_to_bmbt()
66 rblock->bb_numrecs = dblock->bb_numrecs; in xfs_bmdr_to_bmbt()
68 fkp = xfs_bmdr_key_addr(dblock, 1); in xfs_bmdr_to_bmbt()
70 fpp = xfs_bmdr_ptr_addr(dblock, 1, dmxr); in xfs_bmdr_to_bmbt()
72 dmxr = be16_to_cpu(dblock->bb_numrecs); in xfs_bmdr_to_bmbt()
148 xfs_bmdr_block_t *dblock, in xfs_bmbt_to_bmdr() argument
168 dblock->bb_level = rblock->bb_level; in xfs_bmbt_to_bmdr()
169 dblock->bb_numrecs = rblock->bb_numrecs; in xfs_bmbt_to_bmdr()
172 tkp = xfs_bmdr_key_addr(dblock, 1); in xfs_bmbt_to_bmdr()
[all …]
H A Dxfs_rtrmap_btree.c827 struct xfs_rtrmap_root *dblock, in xfs_rtrmapbt_from_disk() argument
838 unsigned int rblocklen = xfs_rtrmap_broot_space(mp, dblock); in xfs_rtrmapbt_from_disk()
844 rblock->bb_level = dblock->bb_level; in xfs_rtrmapbt_from_disk()
845 rblock->bb_numrecs = dblock->bb_numrecs; in xfs_rtrmapbt_from_disk()
846 numrecs = be16_to_cpu(dblock->bb_numrecs); in xfs_rtrmapbt_from_disk()
850 fkp = xfs_rtrmap_droot_key_addr(dblock, 1); in xfs_rtrmapbt_from_disk()
852 fpp = xfs_rtrmap_droot_ptr_addr(dblock, 1, maxrecs); in xfs_rtrmapbt_from_disk()
857 frp = xfs_rtrmap_droot_rec_addr(dblock, 1); in xfs_rtrmapbt_from_disk()
908 struct xfs_rtrmap_root *dblock, in xfs_rtrmapbt_to_disk() argument
926 dblock->bb_level = rblock->bb_level; in xfs_rtrmapbt_to_disk()
[all …]
H A Dxfs_rtrefcount_btree.h183 struct xfs_rtrefcount_root *dblock, int dblocklen);
H A Dxfs_rtrmap_btree.h193 unsigned int rblocklen, struct xfs_rtrmap_root *dblock,
/linux/fs/verity/
H A Dverify.c117 const struct fsverity_pending_block *dblock, in verify_data_block() argument
120 const u64 data_pos = dblock->pos; in verify_data_block()
160 if (memchr_inv(dblock->data, 0, params->block_size)) { in verify_data_block()
254 if (memcmp(want_hash, dblock->real_hash, hsize) != 0) in verify_data_block()
264 level == 0 ? dblock->real_hash : real_hash); in verify_data_block()
/linux/fs/gfs2/
H A Dbmap.h57 int gfs2_get_extent(struct inode *inode, u64 lblock, u64 *dblock,
59 int gfs2_alloc_extent(struct inode *inode, u64 lblock, u64 *dblock,
H A Ddir.c158 u64 lblock, dblock; in gfs2_dir_write_data() local
194 error = gfs2_alloc_extent(&ip->i_inode, lblock, &dblock, in gfs2_dir_write_data()
199 if (gfs2_assert_withdraw(sdp, dblock)) in gfs2_dir_write_data()
204 error = gfs2_dir_get_new_buffer(ip, dblock, &bh); in gfs2_dir_write_data()
206 error = gfs2_dir_get_existing_buffer(ip, dblock, &bh); in gfs2_dir_write_data()
218 dblock++; in gfs2_dir_write_data()
272 u64 lblock, dblock; in gfs2_dir_read_data() local
298 &dblock, &extlen); in gfs2_dir_read_data()
299 if (error || !dblock) in gfs2_dir_read_data()
302 bh = gfs2_meta_ra(ip->i_gl, dblock, extlen); in gfs2_dir_read_data()
[all …]
H A Dbmap.c329 u64 dblock = be64_to_cpu(*ptr); in __fillup_metapath() local
332 if (!dblock) in __fillup_metapath()
334 ret = gfs2_meta_buffer(ip, GFS2_METATYPE_IN, dblock, &mp->mp_bh[x + 1]); in __fillup_metapath()
1255 int gfs2_get_extent(struct inode *inode, u64 lblock, u64 *dblock, in gfs2_get_extent() argument
1269 *dblock = iomap.addr >> blkbits; in gfs2_get_extent()
1276 int gfs2_alloc_extent(struct inode *inode, u64 lblock, u64 *dblock, in gfs2_alloc_extent() argument
1290 *dblock = iomap.addr >> blkbits; in gfs2_alloc_extent()
2205 static int gfs2_add_jextent(struct gfs2_jdesc *jd, u64 lblock, u64 dblock, u64 blocks) in gfs2_add_jextent() argument
2211 if ((jext->dblock + jext->blocks) == dblock) { in gfs2_add_jextent()
2220 jext->dblock = dblock; in gfs2_add_jextent()
/linux/fs/hfsplus/
H A 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/fs/hfs/
H A 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/drivers/md/
H A Ddm-cache-target.c2900 dm_dblock_t dblock, bool discard) in load_discard() argument
2907 if (from_dblock(dblock) == li->discard_end) in load_discard()
2918 li->discard_begin = from_dblock(dblock); in load_discard()