/Linux-v5.4/fs/xfs/libxfs/ |
D | xfs_refcount.c | 34 STATIC int __xfs_refcount_cow_alloc(struct xfs_btree_cur *rcur, 36 STATIC int __xfs_refcount_cow_free(struct xfs_btree_cur *rcur, 1056 struct xfs_btree_cur *rcur, in xfs_refcount_finish_one_cleanup() argument 1061 if (rcur == NULL) in xfs_refcount_finish_one_cleanup() 1063 agbp = rcur->bc_private.a.agbp; in xfs_refcount_finish_one_cleanup() 1064 xfs_btree_del_cursor(rcur, error); in xfs_refcount_finish_one_cleanup() 1087 struct xfs_btree_cur *rcur; in xfs_refcount_finish_one() local 1112 rcur = *pcur; in xfs_refcount_finish_one() 1113 if (rcur != NULL && rcur->bc_private.a.agno != agno) { in xfs_refcount_finish_one() 1114 nr_ops = rcur->bc_private.a.priv.refc.nr_ops; in xfs_refcount_finish_one() [all …]
|
D | xfs_rmap.c | 100 struct xfs_btree_cur *rcur, in xfs_rmap_insert() argument 110 trace_xfs_rmap_insert(rcur->bc_mp, rcur->bc_private.a.agno, agbno, in xfs_rmap_insert() 113 error = xfs_rmap_lookup_eq(rcur, agbno, len, owner, offset, flags, &i); in xfs_rmap_insert() 116 XFS_WANT_CORRUPTED_GOTO(rcur->bc_mp, i == 0, done); in xfs_rmap_insert() 118 rcur->bc_rec.r.rm_startblock = agbno; in xfs_rmap_insert() 119 rcur->bc_rec.r.rm_blockcount = len; in xfs_rmap_insert() 120 rcur->bc_rec.r.rm_owner = owner; in xfs_rmap_insert() 121 rcur->bc_rec.r.rm_offset = offset; in xfs_rmap_insert() 122 rcur->bc_rec.r.rm_flags = flags; in xfs_rmap_insert() 123 error = xfs_btree_insert(rcur, &i); in xfs_rmap_insert() [all …]
|
D | xfs_rmap.h | 128 int xfs_rmap_insert(struct xfs_btree_cur *rcur, xfs_agblock_t agbno, 178 struct xfs_btree_cur *rcur, int error);
|
D | xfs_refcount.h | 38 struct xfs_btree_cur *rcur, int error);
|
D | xfs_ialloc.c | 1383 struct xfs_btree_cur *rcur; /* right search cursor */ in xfs_dialloc_ag_finobt_near() local 1408 error = xfs_btree_dup_cursor(lcur, &rcur); in xfs_dialloc_ag_finobt_near() 1412 error = xfs_inobt_lookup(rcur, pagino, XFS_LOOKUP_GE, &j); in xfs_dialloc_ag_finobt_near() 1416 error = xfs_inobt_get_rec(rcur, &rrec, &j); in xfs_dialloc_ag_finobt_near() 1432 *ocur = rcur; in xfs_dialloc_ag_finobt_near() 1434 xfs_btree_del_cursor(rcur, XFS_BTREE_NOERROR); in xfs_dialloc_ag_finobt_near() 1440 *ocur = rcur; in xfs_dialloc_ag_finobt_near() 1443 xfs_btree_del_cursor(rcur, XFS_BTREE_NOERROR); in xfs_dialloc_ag_finobt_near() 1449 xfs_btree_del_cursor(rcur, XFS_BTREE_ERROR); in xfs_dialloc_ag_finobt_near()
|
/Linux-v5.4/fs/xfs/ |
D | xfs_refcount_item.c | 406 struct xfs_btree_cur *rcur = state; in xfs_refcount_update_finish_cleanup() local 408 xfs_refcount_finish_one_cleanup(tp, rcur, error); in xfs_refcount_update_finish_cleanup() 459 struct xfs_btree_cur *rcur = NULL; in xfs_cui_recover() local 548 &new_fsb, &new_len, &rcur); in xfs_cui_recover() 580 xfs_refcount_finish_one_cleanup(tp, rcur, error); in xfs_cui_recover() 587 xfs_refcount_finish_one_cleanup(tp, rcur, error); in xfs_cui_recover()
|
D | xfs_rmap_item.c | 448 struct xfs_btree_cur *rcur = state; in xfs_rmap_update_finish_cleanup() local 450 xfs_rmap_finish_one_cleanup(tp, rcur, error); in xfs_rmap_update_finish_cleanup() 503 struct xfs_btree_cur *rcur = NULL; in xfs_rui_recover() local 590 rmap->me_len, state, &rcur); in xfs_rui_recover() 596 xfs_rmap_finish_one_cleanup(tp, rcur, error); in xfs_rui_recover() 602 xfs_rmap_finish_one_cleanup(tp, rcur, error); in xfs_rui_recover()
|
/Linux-v5.4/kernel/bpf/ |
D | verifier.c | 6813 static bool regsafe(struct bpf_reg_state *rold, struct bpf_reg_state *rcur, in regsafe() argument 6822 equal = memcmp(rold, rcur, offsetof(struct bpf_reg_state, parent)) == 0; in regsafe() 6828 return equal && rold->frameno == rcur->frameno; in regsafe() 6836 if (rcur->type == NOT_INIT) in regsafe() 6840 if (rcur->type == SCALAR_VALUE) { in regsafe() 6841 if (!rold->precise && !rcur->precise) in regsafe() 6844 return range_within(rold, rcur) && in regsafe() 6845 tnum_in(rold->var_off, rcur->var_off); in regsafe() 6865 return memcmp(rold, rcur, offsetof(struct bpf_reg_state, id)) == 0 && in regsafe() 6866 range_within(rold, rcur) && in regsafe() [all …]
|