/linux/drivers/net/wireless/intersil/orinoco/ |
A D | hermes_dld.c | 64 struct dblock { struct 96 dblock_addr(const struct dblock *blk) in dblock_addr() 102 dblock_len(const struct dblock *blk) in dblock_len() 256 const struct dblock *blk = (const struct dblock *) first_block; in hermes_blocks_length() 268 blk = (struct dblock *) &blk->data[len]; in hermes_blocks_length() 279 const struct dblock *blk; in hermes_program() 284 blk = (const struct dblock *) first_block; in hermes_program() 301 blk = (const struct dblock *) &blk->data[blklen]; in hermes_program()
|
/linux/fs/xfs/libxfs/ |
A D | xfs_bmap_btree.c | 33 xfs_bmdr_block_t *dblock, in xfs_bmdr_to_bmbt() argument 48 rblock->bb_level = dblock->bb_level; in xfs_bmdr_to_bmbt() 50 rblock->bb_numrecs = dblock->bb_numrecs; in xfs_bmdr_to_bmbt() 52 fkp = XFS_BMDR_KEY_ADDR(dblock, 1); in xfs_bmdr_to_bmbt() 54 fpp = XFS_BMDR_PTR_ADDR(dblock, 1, dmxr); in xfs_bmdr_to_bmbt() 56 dmxr = be16_to_cpu(dblock->bb_numrecs); in xfs_bmdr_to_bmbt() 132 xfs_bmdr_block_t *dblock, in xfs_bmbt_to_bmdr() argument 152 dblock->bb_level = rblock->bb_level; in xfs_bmbt_to_bmdr() 153 dblock->bb_numrecs = rblock->bb_numrecs; in xfs_bmbt_to_bmdr() 156 tkp = XFS_BMDR_KEY_ADDR(dblock, 1); in xfs_bmbt_to_bmdr() [all …]
|
/linux/fs/gfs2/ |
A D | lops.c | 151 return je->dblock + lblock - je->lblock; in gfs2_log_bmap() 359 u64 dblock; in gfs2_log_write_bh() local 361 dblock = gfs2_log_bmap(sdp->sd_jdesc, sdp->sd_log_flush_head); in gfs2_log_write_bh() 364 bh_offset(bh), dblock); in gfs2_log_write_bh() 381 u64 dblock; in gfs2_log_write_page() local 383 dblock = gfs2_log_bmap(sdp->sd_jdesc, sdp->sd_log_flush_head); in gfs2_log_write_page() 385 gfs2_log_write(sdp, sdp->sd_jdesc, page, sb->s_blocksize, 0, dblock); in gfs2_log_write_page() 536 u64 dblock = je->dblock; in gfs2_find_jhead() local 538 for (; block < je->lblock + je->blocks; block++, dblock++) { in gfs2_find_jhead() 551 sector_t sector = dblock << sdp->sd_fsb2bb_shift; in gfs2_find_jhead() [all …]
|
A D | bmap.h | 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,
|
A D | meta_io.c | 511 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen) in gfs2_meta_ra() argument 525 first_bh = gfs2_getbuf(gl, dblock, CREATE); in gfs2_meta_ra() 532 dblock++; in gfs2_meta_ra() 536 bh = gfs2_getbuf(gl, dblock, CREATE); in gfs2_meta_ra() 543 dblock++; in gfs2_meta_ra()
|
A D | recovery.c | 37 u64 dblock; in gfs2_replay_read_block() local 42 error = gfs2_get_extent(&ip->i_inode, blk, &dblock, &extlen); in gfs2_replay_read_block() 45 if (!dblock) { in gfs2_replay_read_block() 50 *bh = gfs2_meta_ra(gl, dblock, extlen); in gfs2_replay_read_block()
|
A D | dir.c | 157 u64 lblock, dblock; in gfs2_dir_write_data() local 193 error = gfs2_alloc_extent(&ip->i_inode, lblock, &dblock, in gfs2_dir_write_data() 198 if (gfs2_assert_withdraw(sdp, dblock)) in gfs2_dir_write_data() 203 error = gfs2_dir_get_new_buffer(ip, dblock, &bh); in gfs2_dir_write_data() 205 error = gfs2_dir_get_existing_buffer(ip, dblock, &bh); in gfs2_dir_write_data() 217 dblock++; in gfs2_dir_write_data() 271 u64 lblock, dblock; in gfs2_dir_read_data() local 297 &dblock, &extlen); in gfs2_dir_read_data() 298 if (error || !dblock) in gfs2_dir_read_data() 301 bh = gfs2_meta_ra(ip->i_gl, dblock, extlen); in gfs2_dir_read_data() [all …]
|
A D | bmap.c | 329 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() 1240 int gfs2_get_extent(struct inode *inode, u64 lblock, u64 *dblock, in gfs2_get_extent() argument 1254 *dblock = iomap.addr >> blkbits; in gfs2_get_extent() 1261 int gfs2_alloc_extent(struct inode *inode, u64 lblock, u64 *dblock, in gfs2_alloc_extent() argument 1275 *dblock = iomap.addr >> blkbits; in gfs2_alloc_extent() 2195 static int gfs2_add_jextent(struct gfs2_jdesc *jd, u64 lblock, u64 dblock, u64 blocks) in gfs2_add_jextent() argument 2201 if ((jext->dblock + jext->blocks) == dblock) { in gfs2_add_jextent() 2210 jext->dblock = dblock; in gfs2_add_jextent()
|
A D | meta_io.h | 73 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen);
|
A D | aops.c | 635 sector_t dblock = 0; in gfs2_bmap() local 643 dblock = iomap_bmap(mapping, lblock, &gfs2_iomap_ops); in gfs2_bmap() 647 return dblock; in gfs2_bmap()
|
A D | log.c | 834 u64 dblock; in gfs2_write_log_header() local 859 dblock = gfs2_log_bmap(jd, lblock); in gfs2_write_log_header() 865 ret = gfs2_get_extent(jd->jd_inode, lblock, &dblock, &extlen); in gfs2_write_log_header() 869 lh->lh_addr = cpu_to_be64(dblock); in gfs2_write_log_header() 894 gfs2_log_write(sdp, jd, page, sb->s_blocksize, 0, dblock); in gfs2_write_log_header()
|
A D | quota.c | 1354 u64 dblock; in gfs2_quota_init() local 1379 error = gfs2_get_extent(&ip->i_inode, x, &dblock, &extlen); in gfs2_quota_init() 1384 bh = gfs2_meta_ra(ip->i_gl, dblock, extlen); in gfs2_quota_init() 1432 dblock++; in gfs2_quota_init()
|
A D | incore.h | 502 u64 dblock; /* First disk block */ member
|
/linux/drivers/md/ |
A D | dm-cache-metadata.h | 80 dm_dblock_t dblock, bool discarded); 84 int dm_cache_set_discard(struct dm_cache_metadata *cmd, dm_dblock_t dblock, bool discard);
|
A D | dm-cache-metadata.c | 1129 dm_dblock_t dblock, bool discard) in __discard() argument 1133 r = (discard ? __set_discard : __clear_discard)(cmd, dblock); in __discard() 1142 dm_dblock_t dblock, bool discard) in dm_cache_set_discard() argument 1147 r = __discard(cmd, dblock, discard); in dm_cache_set_discard()
|
A D | dm-cache-target.c | 2839 dm_dblock_t dblock, bool discard) in load_discard() argument 2846 if (from_dblock(dblock) == li->discard_end) in load_discard() 2857 li->discard_begin = from_dblock(dblock); in load_discard()
|
/linux/fs/hfsplus/ |
A D | extents.c | 232 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/ |
A D | extent.c | 340 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/fs/ntfs/ |
A D | aops.c | 536 sector_t block, dblock, iblock; in ntfs_write_block() local 590 dblock = (i_size + blocksize - 1) >> blocksize_bits; in ntfs_write_block() 615 if (unlikely(block >= dblock)) { in ntfs_write_block() 902 sector_t block, dblock, rec_block; in ntfs_write_mst_block() local 956 dblock = (i_size_read(vi) + bh_size - 1) >> bh_size_bits; in ntfs_write_mst_block() 966 if (unlikely(block >= dblock)) { in ntfs_write_mst_block() 988 if (unlikely(block >= dblock)) { in ntfs_write_mst_block()
|
/linux/fs/afs/ |
A D | dir.c | 492 union afs_xdr_dir_block *dblock; in afs_dir_iterate() local 527 offset = round_down(ctx->pos, sizeof(*dblock)) - folio_file_pos(folio); in afs_dir_iterate() 532 dblock = kmap_local_folio(folio, offset); in afs_dir_iterate() 533 ret = afs_dir_iterate_block(dvnode, ctx, dblock, in afs_dir_iterate() 535 kunmap_local(dblock); in afs_dir_iterate() 539 } while (offset += sizeof(*dblock), offset < size); in afs_dir_iterate()
|