Home
last modified time | relevance | path

Searched refs:bc_private (Results 1 – 10 of 10) sorted by relevance

/fs/xfs/libxfs/
Dxfs_bmap_btree.c408 cur->bc_private.b.ip, cur->bc_private.b.whichfork); in xfs_bmbt_dup_cursor()
414 new->bc_private.b.firstblock = cur->bc_private.b.firstblock; in xfs_bmbt_dup_cursor()
415 new->bc_private.b.dfops = cur->bc_private.b.dfops; in xfs_bmbt_dup_cursor()
416 new->bc_private.b.flags = cur->bc_private.b.flags; in xfs_bmbt_dup_cursor()
426 ASSERT((dst->bc_private.b.firstblock != NULLFSBLOCK) || in xfs_bmbt_update_cursor()
427 (dst->bc_private.b.ip->i_d.di_flags & XFS_DIFLAG_REALTIME)); in xfs_bmbt_update_cursor()
428 ASSERT(dst->bc_private.b.dfops == src->bc_private.b.dfops); in xfs_bmbt_update_cursor()
430 dst->bc_private.b.allocated += src->bc_private.b.allocated; in xfs_bmbt_update_cursor()
431 dst->bc_private.b.firstblock = src->bc_private.b.firstblock; in xfs_bmbt_update_cursor()
433 src->bc_private.b.allocated = 0; in xfs_bmbt_update_cursor()
[all …]
Dxfs_refcount.c66 trace_xfs_refcount_lookup(cur->bc_mp, cur->bc_private.a.agno, bno, in xfs_refcount_lookup_le()
83 trace_xfs_refcount_lookup(cur->bc_mp, cur->bc_private.a.agno, bno, in xfs_refcount_lookup_ge()
116 trace_xfs_refcount_get(cur->bc_mp, cur->bc_private.a.agno, in xfs_refcount_get_rec()
135 trace_xfs_refcount_update(cur->bc_mp, cur->bc_private.a.agno, irec); in xfs_refcount_update()
142 cur->bc_private.a.agno, error, _RET_IP_); in xfs_refcount_update()
159 trace_xfs_refcount_insert(cur->bc_mp, cur->bc_private.a.agno, irec); in xfs_refcount_insert()
168 cur->bc_private.a.agno, error, _RET_IP_); in xfs_refcount_insert()
191 trace_xfs_refcount_delete(cur->bc_mp, cur->bc_private.a.agno, &irec); in xfs_refcount_delete()
200 cur->bc_private.a.agno, error, _RET_IP_); in xfs_refcount_delete()
317 trace_xfs_refcount_split_extent(cur->bc_mp, cur->bc_private.a.agno, in xfs_refcount_split_extent()
[all …]
Dxfs_refcount_btree.c44 cur->bc_private.a.agbp, cur->bc_private.a.agno, in xfs_refcountbt_dup_cursor()
45 cur->bc_private.a.dfops); in xfs_refcountbt_dup_cursor()
54 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_refcountbt_set_root()
77 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_refcountbt_alloc_block()
88 args.fsbno = XFS_AGB_TO_FSB(cur->bc_mp, cur->bc_private.a.agno, in xfs_refcountbt_alloc_block()
98 trace_xfs_refcountbt_alloc_block(cur->bc_mp, cur->bc_private.a.agno, in xfs_refcountbt_alloc_block()
105 ASSERT(args.agno == cur->bc_private.a.agno); in xfs_refcountbt_alloc_block()
127 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_refcountbt_free_block()
133 trace_xfs_refcountbt_free_block(cur->bc_mp, cur->bc_private.a.agno, in xfs_refcountbt_free_block()
197 struct xfs_agf *agf = XFS_BUF_TO_AGF(cur->bc_private.a.agbp); in xfs_refcountbt_init_ptr_from_cur()
[all …]
Dxfs_rmap.c99 trace_xfs_rmap_update(cur->bc_mp, cur->bc_private.a.agno, in xfs_rmap_update()
111 cur->bc_private.a.agno, error, _RET_IP_); in xfs_rmap_update()
127 trace_xfs_rmap_insert(rcur->bc_mp, rcur->bc_private.a.agno, agbno, in xfs_rmap_insert()
147 rcur->bc_private.a.agno, error, _RET_IP_); in xfs_rmap_insert()
163 trace_xfs_rmap_delete(rcur->bc_mp, rcur->bc_private.a.agno, agbno, in xfs_rmap_delete()
178 rcur->bc_private.a.agno, error, _RET_IP_); in xfs_rmap_delete()
230 cur->bc_private.a.agno, rec->rm_startblock, in xfs_rmap_find_left_neighbor_helper()
282 cur->bc_private.a.agno, bno, 0, owner, offset, flags); in xfs_rmap_find_left_neighbor()
290 cur->bc_private.a.agno, irec->rm_startblock, in xfs_rmap_find_left_neighbor()
306 cur->bc_private.a.agno, rec->rm_startblock, in xfs_rmap_lookup_le_range_helper()
[all …]
Dxfs_alloc_btree.c41 cur->bc_private.a.agbp, cur->bc_private.a.agno, in xfs_allocbt_dup_cursor()
51 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_allocbt_set_root()
80 error = xfs_alloc_get_freelist(cur->bc_tp, cur->bc_private.a.agbp, in xfs_allocbt_alloc_block()
93 xfs_extent_busy_reuse(cur->bc_mp, cur->bc_private.a.agno, bno, 1, false); in xfs_allocbt_alloc_block()
108 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_allocbt_free_block()
135 struct xfs_agf *agf = XFS_BUF_TO_AGF(cur->bc_private.a.agbp); in xfs_allocbt_update_lastrec()
184 xfs_alloc_log_agf(cur->bc_tp, cur->bc_private.a.agbp, XFS_AGF_LONGEST); in xfs_allocbt_update_lastrec()
230 struct xfs_agf *agf = XFS_BUF_TO_AGF(cur->bc_private.a.agbp); in xfs_allocbt_init_ptr_from_cur()
232 ASSERT(cur->bc_private.a.agno == be32_to_cpu(agf->agf_seqno)); in xfs_allocbt_init_ptr_from_cur()
439 cur->bc_private.a.agbp = agbp; in xfs_allocbt_init_cursor()
[all …]
Dxfs_rmap_btree.c70 cur->bc_private.a.agbp, cur->bc_private.a.agno); in xfs_rmapbt_dup_cursor()
79 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_rmapbt_set_root()
102 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_rmapbt_alloc_block()
110 error = xfs_alloc_get_freelist(cur->bc_tp, cur->bc_private.a.agbp, in xfs_rmapbt_alloc_block()
117 trace_xfs_rmapbt_alloc_block(cur->bc_mp, cur->bc_private.a.agno, in xfs_rmapbt_alloc_block()
125 xfs_extent_busy_reuse(cur->bc_mp, cur->bc_private.a.agno, bno, 1, in xfs_rmapbt_alloc_block()
143 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_rmapbt_free_block()
149 trace_xfs_rmapbt_free_block(cur->bc_mp, cur->bc_private.a.agno, in xfs_rmapbt_free_block()
236 struct xfs_agf *agf = XFS_BUF_TO_AGF(cur->bc_private.a.agbp); in xfs_rmapbt_init_ptr_from_cur()
238 ASSERT(cur->bc_private.a.agno == be32_to_cpu(agf->agf_seqno)); in xfs_rmapbt_init_ptr_from_cur()
[all …]
Dxfs_ialloc_btree.c51 cur->bc_private.a.agbp, cur->bc_private.a.agno, in xfs_inobt_dup_cursor()
61 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_inobt_set_root()
75 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_finobt_set_root()
102 args.fsbno = XFS_AGB_TO_FSB(args.mp, cur->bc_private.a.agno, sbno); in __xfs_inobt_alloc_block()
204 struct xfs_agi *agi = XFS_BUF_TO_AGI(cur->bc_private.a.agbp); in xfs_inobt_init_ptr_from_cur()
206 ASSERT(cur->bc_private.a.agno == be32_to_cpu(agi->agi_seqno)); in xfs_inobt_init_ptr_from_cur()
216 struct xfs_agi *agi = XFS_BUF_TO_AGI(cur->bc_private.a.agbp); in xfs_finobt_init_ptr_from_cur()
218 ASSERT(cur->bc_private.a.agno == be32_to_cpu(agi->agi_seqno)); in xfs_finobt_init_ptr_from_cur()
401 cur->bc_private.a.agbp = agbp; in xfs_inobt_init_cursor()
402 cur->bc_private.a.agno = agno; in xfs_inobt_init_cursor()
Dxfs_btree.c115 agbp = cur->bc_private.a.agbp; in xfs_btree_check_sblock()
344 cur->bc_private.b.allocated == 0); in xfs_btree_del_cursor()
620 ifp = XFS_IFORK_PTR(cur->bc_private.b.ip, cur->bc_private.b.whichfork); in xfs_btree_get_iroot()
905 xfs_btree_reada_bufs(cur->bc_mp, cur->bc_private.a.agno, in xfs_btree_readahead_sblock()
911 xfs_btree_reada_bufs(cur->bc_mp, cur->bc_private.a.agno, in xfs_btree_readahead_sblock()
960 ASSERT(cur->bc_private.a.agno != NULLAGNUMBER); in xfs_btree_ptr_to_daddr()
963 return XFS_AGB_TO_DADDR(cur->bc_mp, cur->bc_private.a.agno, in xfs_btree_ptr_to_daddr()
1155 owner = cur->bc_private.b.ip->i_ino; in xfs_btree_init_block_cur()
1157 owner = cur->bc_private.a.agno; in xfs_btree_init_block_cur()
1406 xfs_trans_log_inode(cur->bc_tp, cur->bc_private.b.ip, in xfs_btree_log_keys()
[all …]
Dxfs_bmap.c684 xfs_bmap_add_free(mp, cur->bc_private.b.dfops, cbno, 1, &oinfo); in xfs_bmap_btree_to_extents()
756 cur->bc_private.b.firstblock = *firstblock; in xfs_bmap_extents_to_btree()
757 cur->bc_private.b.dfops = dfops; in xfs_bmap_extents_to_btree()
758 cur->bc_private.b.flags = wasdel ? XFS_BTCUR_BPRV_WASDEL : 0; in xfs_bmap_extents_to_btree()
812 *firstblock = cur->bc_private.b.firstblock = args.fsbno; in xfs_bmap_extents_to_btree()
813 cur->bc_private.b.allocated++; in xfs_bmap_extents_to_btree()
1024 cur->bc_private.b.dfops = dfops; in xfs_bmap_add_attrfork_btree()
1025 cur->bc_private.b.firstblock = *firstblock; in xfs_bmap_add_attrfork_btree()
1036 *firstblock = cur->bc_private.b.firstblock; in xfs_bmap_add_attrfork_btree()
1037 cur->bc_private.b.allocated = 0; in xfs_bmap_add_attrfork_btree()
[all …]
Dxfs_btree.h274 } bc_private; /* per-btree type data */ member