/Linux-v4.19/fs/xfs/libxfs/ |
D | xfs_refcount.c | 36 STATIC int __xfs_refcount_cow_alloc(struct xfs_btree_cur *rcur, 38 STATIC int __xfs_refcount_cow_free(struct xfs_btree_cur *rcur, 1058 struct xfs_btree_cur *rcur, in xfs_refcount_finish_one_cleanup() argument 1063 if (rcur == NULL) in xfs_refcount_finish_one_cleanup() 1065 agbp = rcur->bc_private.a.agbp; in xfs_refcount_finish_one_cleanup() 1066 xfs_btree_del_cursor(rcur, error); in xfs_refcount_finish_one_cleanup() 1089 struct xfs_btree_cur *rcur; in xfs_refcount_finish_one() local 1114 rcur = *pcur; in xfs_refcount_finish_one() 1115 if (rcur != NULL && rcur->bc_private.a.agno != agno) { in xfs_refcount_finish_one() 1116 nr_ops = rcur->bc_private.a.priv.refc.nr_ops; in xfs_refcount_finish_one() [all …]
|
D | xfs_rmap.c | 107 struct xfs_btree_cur *rcur, in xfs_rmap_insert() argument 117 trace_xfs_rmap_insert(rcur->bc_mp, rcur->bc_private.a.agno, agbno, in xfs_rmap_insert() 120 error = xfs_rmap_lookup_eq(rcur, agbno, len, owner, offset, flags, &i); in xfs_rmap_insert() 123 XFS_WANT_CORRUPTED_GOTO(rcur->bc_mp, i == 0, done); in xfs_rmap_insert() 125 rcur->bc_rec.r.rm_startblock = agbno; in xfs_rmap_insert() 126 rcur->bc_rec.r.rm_blockcount = len; in xfs_rmap_insert() 127 rcur->bc_rec.r.rm_owner = owner; in xfs_rmap_insert() 128 rcur->bc_rec.r.rm_offset = offset; in xfs_rmap_insert() 129 rcur->bc_rec.r.rm_flags = flags; in xfs_rmap_insert() 130 error = xfs_btree_insert(rcur, &i); in xfs_rmap_insert() [all …]
|
D | xfs_rmap.h | 151 int xfs_rmap_insert(struct xfs_btree_cur *rcur, xfs_agblock_t agbno, 201 struct xfs_btree_cur *rcur, int error);
|
D | xfs_refcount.h | 38 struct xfs_btree_cur *rcur, int error);
|
D | xfs_ialloc.c | 1399 struct xfs_btree_cur *rcur; /* right search cursor */ in xfs_dialloc_ag_finobt_near() local 1424 error = xfs_btree_dup_cursor(lcur, &rcur); in xfs_dialloc_ag_finobt_near() 1428 error = xfs_inobt_lookup(rcur, pagino, XFS_LOOKUP_GE, &j); in xfs_dialloc_ag_finobt_near() 1432 error = xfs_inobt_get_rec(rcur, &rrec, &j); in xfs_dialloc_ag_finobt_near() 1448 *ocur = rcur; in xfs_dialloc_ag_finobt_near() 1450 xfs_btree_del_cursor(rcur, XFS_BTREE_NOERROR); in xfs_dialloc_ag_finobt_near() 1456 *ocur = rcur; in xfs_dialloc_ag_finobt_near() 1459 xfs_btree_del_cursor(rcur, XFS_BTREE_NOERROR); in xfs_dialloc_ag_finobt_near() 1465 xfs_btree_del_cursor(rcur, XFS_BTREE_ERROR); in xfs_dialloc_ag_finobt_near()
|
/Linux-v4.19/fs/xfs/ |
D | xfs_refcount_item.c | 394 struct xfs_btree_cur *rcur = NULL; in xfs_cui_recover() local 483 &new_fsb, &new_len, &rcur); in xfs_cui_recover() 517 xfs_refcount_finish_one_cleanup(tp, rcur, error); in xfs_cui_recover() 524 xfs_refcount_finish_one_cleanup(tp, rcur, error); in xfs_cui_recover()
|
D | xfs_rmap_item.c | 417 struct xfs_btree_cur *rcur = NULL; in xfs_rui_recover() local 504 rmap->me_len, state, &rcur); in xfs_rui_recover() 510 xfs_rmap_finish_one_cleanup(tp, rcur, error); in xfs_rui_recover() 516 xfs_rmap_finish_one_cleanup(tp, rcur, error); in xfs_rui_recover()
|
D | xfs_trans_refcount.c | 206 struct xfs_btree_cur *rcur = state; in xfs_refcount_update_finish_cleanup() local 208 xfs_refcount_finish_one_cleanup(tp, rcur, error); in xfs_refcount_update_finish_cleanup()
|
D | xfs_trans_rmap.c | 223 struct xfs_btree_cur *rcur = state; in xfs_rmap_update_finish_cleanup() local 225 xfs_rmap_finish_one_cleanup(tp, rcur, error); in xfs_rmap_update_finish_cleanup()
|
/Linux-v4.19/kernel/bpf/ |
D | verifier.c | 4372 static bool regsafe(struct bpf_reg_state *rold, struct bpf_reg_state *rcur, in regsafe() argument 4381 equal = memcmp(rold, rcur, offsetof(struct bpf_reg_state, frameno)) == 0; in regsafe() 4387 return equal && rold->frameno == rcur->frameno; in regsafe() 4395 if (rcur->type == NOT_INIT) in regsafe() 4399 if (rcur->type == SCALAR_VALUE) { in regsafe() 4401 return range_within(rold, rcur) && in regsafe() 4402 tnum_in(rold->var_off, rcur->var_off); in regsafe() 4419 return memcmp(rold, rcur, offsetof(struct bpf_reg_state, id)) == 0 && in regsafe() 4420 range_within(rold, rcur) && in regsafe() 4421 tnum_in(rold->var_off, rcur->var_off); in regsafe() [all …]
|