199
199
union xfs_btree_rec *r1,
200
200
union xfs_btree_rec *r2);
204
#ifdef XFS_BTREE_TRACE
205
void (*trace_enter)(struct xfs_btree_cur *, const char *,
206
char *, int, int, __psunsigned_t,
207
__psunsigned_t, __psunsigned_t,
208
__psunsigned_t, __psunsigned_t,
209
__psunsigned_t, __psunsigned_t,
210
__psunsigned_t, __psunsigned_t,
211
__psunsigned_t, __psunsigned_t);
212
void (*trace_cursor)(struct xfs_btree_cur *, __uint32_t *,
213
__uint64_t *, __uint64_t *);
214
void (*trace_key)(struct xfs_btree_cur *,
215
union xfs_btree_key *, __uint64_t *,
217
void (*trace_record)(struct xfs_btree_cur *,
218
union xfs_btree_rec *, __uint64_t *,
219
__uint64_t *, __uint64_t *);
452
433
(XFS_FSB_TO_AGNO(mp, fsb) < mp->m_sb.sb_agcount && \
453
434
XFS_FSB_TO_AGBNO(mp, fsb) < mp->m_sb.sb_agblocks)
437
* Trace hooks. Currently not implemented as they need to be ported
438
* over to the generic tracing functionality, which is some effort.
440
* i,j = integer (32 bit)
441
* b = btree block buffer (xfs_buf_t)
446
#define XFS_BTREE_TRACE_ARGBI(c, b, i)
447
#define XFS_BTREE_TRACE_ARGBII(c, b, i, j)
448
#define XFS_BTREE_TRACE_ARGI(c, i)
449
#define XFS_BTREE_TRACE_ARGIPK(c, i, p, s)
450
#define XFS_BTREE_TRACE_ARGIPR(c, i, p, r)
451
#define XFS_BTREE_TRACE_ARGIK(c, i, k)
452
#define XFS_BTREE_TRACE_ARGR(c, r)
453
#define XFS_BTREE_TRACE_CURSOR(c, t)
455
455
#endif /* __XFS_BTREE_H__ */