Home
last modified time | relevance | path

Searched refs:dfp (Results 1 – 5 of 5) sorted by relevance

/fs/xfs/libxfs/
Dxfs_defer.c191 struct xfs_defer_pending *dfp; in xfs_defer_create_intents() local
194 list_for_each_entry(dfp, &tp->t_dfops, dfp_list) { in xfs_defer_create_intents()
195 ops = defer_op_types[dfp->dfp_type]; in xfs_defer_create_intents()
196 dfp->dfp_intent = ops->create_intent(tp, dfp->dfp_count); in xfs_defer_create_intents()
197 trace_xfs_defer_create_intent(tp->t_mountp, dfp); in xfs_defer_create_intents()
198 list_sort(tp->t_mountp, &dfp->dfp_work, ops->diff_items); in xfs_defer_create_intents()
199 list_for_each(li, &dfp->dfp_work) in xfs_defer_create_intents()
200 ops->log_item(tp, dfp->dfp_intent, li); in xfs_defer_create_intents()
210 struct xfs_defer_pending *dfp; in xfs_defer_trans_abort() local
216 list_for_each_entry(dfp, dop_pending, dfp_list) { in xfs_defer_trans_abort()
[all …]
Dxfs_dir2_data.c42 xfs_dir2_data_free_t *dfp; /* bestfree entry */ in __xfs_dir3_data_check() local
148 fa = xfs_dir2_data_freefind_verify(hdr, bf, dup, &dfp); in __xfs_dir3_data_check()
151 if (dfp) { in __xfs_dir3_data_check()
152 i = (int)(dfp - bf); in __xfs_dir3_data_check()
390 struct xfs_dir2_data_free *dfp; in xfs_dir2_data_freefind_verify() local
403 for (dfp = &bf[0]; dfp < &bf[XFS_DIR2_DATA_FD_COUNT]; dfp++) { in xfs_dir2_data_freefind_verify()
404 if (!dfp->offset) { in xfs_dir2_data_freefind_verify()
405 if (dfp->length) in xfs_dir2_data_freefind_verify()
412 if (be16_to_cpu(dfp->offset) == off) { in xfs_dir2_data_freefind_verify()
414 if (dfp->length != dup->length) in xfs_dir2_data_freefind_verify()
[all …]
Dxfs_inode_fork.c269 xfs_bmdr_block_t *dfp; in xfs_iformat_btree() local
277 dfp = (xfs_bmdr_block_t *)XFS_DFORK_PTR(dip, whichfork); in xfs_iformat_btree()
278 size = XFS_BMAP_BROOT_SPACE(mp, dfp); in xfs_iformat_btree()
279 nrecs = be16_to_cpu(dfp->bb_numrecs); in xfs_iformat_btree()
280 level = be16_to_cpu(dfp->bb_level); in xfs_iformat_btree()
299 "xfs_iformat_btree", dfp, size, in xfs_iformat_btree()
311 xfs_bmdr_to_bmbt(ip, dfp, XFS_DFORK_SIZE(dip, ip->i_mount, whichfork), in xfs_iformat_btree()
/fs/xfs/scrub/
Ddir.c293 struct xfs_dir2_data_free *dfp; in xchk_directory_check_free_entry() local
302 for (dfp = &bf[XFS_DIR2_DATA_FD_COUNT - 1]; dfp >= bf; dfp--) in xchk_directory_check_free_entry()
303 if (dup_length == be16_to_cpu(dfp->length)) in xchk_directory_check_free_entry()
318 struct xfs_dir2_data_free *dfp; in xchk_directory_data_bestfree() local
356 for (dfp = &bf[0]; dfp < &bf[XFS_DIR2_DATA_FD_COUNT]; dfp++) { in xchk_directory_data_bestfree()
357 offset = be16_to_cpu(dfp->offset); in xchk_directory_data_bestfree()
369 be16_to_cpu(dup->length) != be16_to_cpu(dfp->length) || in xchk_directory_data_bestfree()
376 if (smallest_bestfree < be16_to_cpu(dfp->length)) { in xchk_directory_data_bestfree()
381 smallest_bestfree = be16_to_cpu(dfp->length); in xchk_directory_data_bestfree()
459 struct xfs_dir2_data_free *dfp; in xchk_directory_check_freesp() local
[all …]
/fs/xfs/
Dxfs_trace.h2291 TP_PROTO(struct xfs_mount *mp, struct xfs_defer_pending *dfp),
2292 TP_ARGS(mp, dfp),
2302 __entry->type = dfp->dfp_type;
2303 __entry->intent = dfp->dfp_intent;
2304 __entry->committed = dfp->dfp_done != NULL;
2305 __entry->nr = dfp->dfp_count;
2316 TP_PROTO(struct xfs_mount *mp, struct xfs_defer_pending *dfp), \
2317 TP_ARGS(mp, dfp))