Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_ag.c684 error = xfs_get_aghdr_buf(mp, id->daddr, id->numblks, &bp, ops); in xfs_ag_init_hdr()
696 xfs_daddr_t daddr; member
722 .daddr = XFS_AG_DADDR(mp, id->agno, XFS_SB_DADDR), in xfs_ag_init_headers()
729 .daddr = XFS_AG_DADDR(mp, id->agno, XFS_AGF_DADDR(mp)), in xfs_ag_init_headers()
736 .daddr = XFS_AG_DADDR(mp, id->agno, XFS_AGFL_DADDR(mp)), in xfs_ag_init_headers()
743 .daddr = XFS_AG_DADDR(mp, id->agno, XFS_AGI_DADDR(mp)), in xfs_ag_init_headers()
750 .daddr = XFS_AGB_TO_DADDR(mp, id->agno, XFS_BNO_BLOCK(mp)), in xfs_ag_init_headers()
757 .daddr = XFS_AGB_TO_DADDR(mp, id->agno, XFS_CNT_BLOCK(mp)), in xfs_ag_init_headers()
764 .daddr = XFS_AGB_TO_DADDR(mp, id->agno, XFS_IBT_BLOCK(mp)), in xfs_ag_init_headers()
772 .daddr = XFS_AGB_TO_DADDR(mp, id->agno, XFS_FIBT_BLOCK(mp)), in xfs_ag_init_headers()
[all …]
Dxfs_ag.h230 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/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()
117 xfs_fsblock_t end_fsbno = XFS_DADDR_TO_FSB(mp, daddr + bblen); in xfs_dax_notify_ddev_failure()
Dxfs_buf.h267 int xfs_buf_read_uncached(struct xfs_buftarg *target, xfs_daddr_t daddr,
Dxfs_buf.c903 xfs_daddr_t daddr, in xfs_buf_read_uncached() argument
921 bp->b_maps[0].bm_bn = daddr; in xfs_buf_read_uncached()
Dxfs_trace.h2466 __field(xfs_daddr_t, daddr)
2474 __entry->daddr = bp ? xfs_buf_daddr(bp) : -1;
2482 (unsigned long long)__entry->daddr)
/fs/xfs/scrub/
Dbtree.c348 xfs_daddr_t daddr; member
360 xfs_daddr_t daddr) in xchk_btree_check_block_owner() argument
372 agno = xfs_daddr_to_agno(bs->cur->bc_mp, daddr); in xchk_btree_check_block_owner()
373 agbno = xfs_daddr_to_agbno(bs->cur->bc_mp, daddr); in xchk_btree_check_block_owner()
439 co->daddr = xfs_buf_daddr(bp); in xchk_btree_check_owner()
741 co->daddr); in xchk_btree()
Dtrace.h204 TP_PROTO(struct xfs_scrub *sc, xfs_daddr_t daddr, void *ret_ip),
205 TP_ARGS(sc, daddr, ret_ip),
216 __entry->agno = xfs_daddr_to_agno(sc->mp, daddr);
217 __entry->agbno = xfs_daddr_to_agbno(sc->mp, daddr);
230 TP_PROTO(struct xfs_scrub *sc, xfs_daddr_t daddr, \
232 TP_ARGS(sc, daddr, ret_ip))
Drepair.c689 xfs_daddr_t daddr; in xrep_findroot_block() local
693 daddr = XFS_AGB_TO_DADDR(mp, ri->sc->sa.pag->pag_agno, agbno); in xrep_findroot_block()
728 error = xfs_trans_read_buf(mp, ri->sc->tp, mp->m_ddev_targp, daddr, in xrep_findroot_block()
/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()
/fs/
Ddax.c1103 const struct iomap *srcmap, void *daddr) in dax_iomap_cow_copy() argument
1118 ret = copy_mc_to_kernel(daddr, saddr, length); in dax_iomap_cow_copy()
1124 ret = copy_mc_to_kernel(daddr, saddr, head_off); in dax_iomap_cow_copy()
1134 ret = copy_mc_to_kernel(daddr + tail_off, saddr + tail_off, in dax_iomap_cow_copy()
1886 void *saddr, *daddr; in dax_range_compare_iter() local
1908 &daddr, NULL); in dax_range_compare_iter()
1912 *same = !memcmp(saddr, daddr, len); in dax_range_compare_iter()