Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_ag.c783 error = xfs_get_aghdr_buf(mp, id->daddr, id->numblks, &bp, ops); in xfs_ag_init_hdr()
795 xfs_daddr_t daddr; member
821 .daddr = XFS_AG_DADDR(mp, id->agno, XFS_SB_DADDR), in xfs_ag_init_headers()
828 .daddr = XFS_AG_DADDR(mp, id->agno, XFS_AGF_DADDR(mp)), in xfs_ag_init_headers()
835 .daddr = XFS_AG_DADDR(mp, id->agno, XFS_AGFL_DADDR(mp)), in xfs_ag_init_headers()
842 .daddr = XFS_AG_DADDR(mp, id->agno, XFS_AGI_DADDR(mp)), in xfs_ag_init_headers()
849 .daddr = XFS_AGB_TO_DADDR(mp, id->agno, XFS_BNO_BLOCK(mp)), in xfs_ag_init_headers()
856 .daddr = XFS_AGB_TO_DADDR(mp, id->agno, XFS_CNT_BLOCK(mp)), in xfs_ag_init_headers()
863 .daddr = XFS_AGB_TO_DADDR(mp, id->agno, XFS_IBT_BLOCK(mp)), in xfs_ag_init_headers()
871 .daddr = XFS_AGB_TO_DADDR(mp, id->agno, XFS_FIBT_BLOCK(mp)), in xfs_ag_init_headers()
[all …]
Dxfs_ag.h322 xfs_daddr_t daddr; /* header location */ member
Dxfs_btree.c1015 xfs_daddr_t *daddr) in xfs_btree_ptr_to_daddr() argument
1027 *daddr = XFS_FSB_TO_DADDR(cur->bc_mp, fsbno); in xfs_btree_ptr_to_daddr()
1030 *daddr = XFS_AGB_TO_DADDR(cur->bc_mp, cur->bc_ag.pag->pag_agno, in xfs_btree_ptr_to_daddr()
1049 xfs_daddr_t daddr; in xfs_btree_readahead_ptr() local
1051 if (xfs_btree_ptr_to_daddr(cur, ptr, &daddr)) in xfs_btree_readahead_ptr()
1053 xfs_buf_readahead(cur->bc_mp->m_ddev_targp, daddr, in xfs_btree_readahead_ptr()
1797 xfs_daddr_t daddr; in xfs_btree_lookup_get_block() local
1814 error = xfs_btree_ptr_to_daddr(cur, pp, &daddr); in xfs_btree_lookup_get_block()
1817 if (bp && xfs_buf_daddr(bp) == daddr) { in xfs_btree_lookup_get_block()
/fs/jfs/
Djfs_extent.c303 s64 nb, nblks, daddr, max; in extBalloc() local
326 while ((rc = dbAlloc(ip, hint, nb, &daddr)) != 0) { in extBalloc()
342 *blkno = daddr; in extBalloc()
345 ag = BLKTOAG(daddr, sbi); in extBalloc()
/fs/
Ddax.c1120 const struct iomap *srcmap, void *daddr) in dax_iomap_copy_around() argument
1142 memset(daddr, 0, size); in dax_iomap_copy_around()
1144 ret = copy_mc_to_kernel(daddr, saddr, length); in dax_iomap_copy_around()
1151 memset(daddr, 0, head_off); in dax_iomap_copy_around()
1153 ret = copy_mc_to_kernel(daddr, saddr, head_off); in dax_iomap_copy_around()
1165 memset(daddr + tail_off, 0, tail_len); in dax_iomap_copy_around()
1167 ret = copy_mc_to_kernel(daddr + tail_off, in dax_iomap_copy_around()
1175 dax_flush(srcmap->dax_dev, daddr, size); in dax_iomap_copy_around()
1269 void *daddr = NULL, *saddr = NULL; in dax_unshare_iter() local
1276 ret = dax_iomap_direct_access(iomap, pos, length, &daddr, NULL); in dax_unshare_iter()
[all …]
/fs/xfs/
Dxfs_icreate_item.c226 xfs_daddr_t daddr; in xlog_recover_icreate_commit_pass2() local
228 daddr = XFS_AGB_TO_DADDR(mp, agno, in xlog_recover_icreate_commit_pass2()
230 if (xlog_is_buffer_cancelled(log, daddr, bb_per_cluster)) in xlog_recover_icreate_commit_pass2()
Dxfs_notify_failure.c106 xfs_daddr_t daddr, in xfs_dax_notify_ddev_failure() argument
115 xfs_fsblock_t fsbno = XFS_DADDR_TO_FSB(mp, daddr); in xfs_dax_notify_ddev_failure()
118 daddr + bblen - 1); in xfs_dax_notify_ddev_failure()
Dxfs_buf.h280 int xfs_buf_read_uncached(struct xfs_buftarg *target, xfs_daddr_t daddr,
Dxfs_buf.c909 xfs_daddr_t daddr, in xfs_buf_read_uncached() argument
927 bp->b_maps[0].bm_bn = daddr; in xfs_buf_read_uncached()
Dxfs_trace.h2470 __field(xfs_daddr_t, daddr)
2478 __entry->daddr = bp ? xfs_buf_daddr(bp) : -1;
2486 (unsigned long long)__entry->daddr)
/fs/xfs/scrub/
Dbtree.c361 xfs_daddr_t daddr; member
373 xfs_daddr_t daddr) in xchk_btree_check_block_owner() argument
385 agno = xfs_daddr_to_agno(bs->cur->bc_mp, daddr); in xchk_btree_check_block_owner()
386 agbno = xfs_daddr_to_agbno(bs->cur->bc_mp, daddr); in xchk_btree_check_block_owner()
459 co->daddr = xfs_buf_daddr(bp); in xchk_btree_check_owner()
808 co->daddr); in xchk_btree()
Dreap.c252 xfs_daddr_t daddr; in xreap_agextent_binval() local
255 daddr = XFS_AGB_TO_DADDR(mp, agno, bno); in xreap_agextent_binval()
256 error = xfs_buf_incore(mp->m_ddev_targp, daddr, in xreap_agextent_binval()
Drepair.c462 xfs_daddr_t daddr; in xrep_findroot_block() local
466 daddr = XFS_AGB_TO_DADDR(mp, ri->sc->sa.pag->pag_agno, agbno); in xrep_findroot_block()
501 error = xfs_trans_read_buf(mp, ri->sc->tp, mp->m_ddev_targp, daddr, in xrep_findroot_block()
Dtrace.h246 TP_PROTO(struct xfs_scrub *sc, xfs_daddr_t daddr, void *ret_ip),
247 TP_ARGS(sc, daddr, ret_ip),
258 __entry->agno = xfs_daddr_to_agno(sc->mp, daddr);
259 __entry->agbno = xfs_daddr_to_agbno(sc->mp, daddr);
272 TP_PROTO(struct xfs_scrub *sc, xfs_daddr_t daddr, \
274 TP_ARGS(sc, daddr, ret_ip))
/fs/ocfs2/cluster/
Dnetdebug.c298 __be32 saddr = 0, daddr = 0; in sc_show_sock_container() local
308 daddr = (__force __be32)inet->inet_daddr; in sc_show_sock_container()
333 &daddr, inet ? ntohs(dport) : 0, in sc_show_sock_container()