Home
last modified time | relevance | path

Searched refs:rcur (Results 1 – 4 of 4) sorted by relevance

/linux/fs/xfs/libxfs/
H A Dxfs_refcount.c42 STATIC int __xfs_refcount_cow_alloc(struct xfs_btree_cur *rcur,
44 STATIC int __xfs_refcount_cow_free(struct xfs_btree_cur *rcur,
1389 struct xfs_btree_cur *rcur = *pcur; in xfs_refcount_finish_one() local
1407 if (rcur != NULL && rcur->bc_group != ri->ri_group) { in xfs_refcount_finish_one()
1408 nr_ops = rcur->bc_refc.nr_ops; in xfs_refcount_finish_one()
1409 shape_changes = rcur->bc_refc.shape_changes; in xfs_refcount_finish_one()
1410 xfs_btree_del_cursor(rcur, 0); in xfs_refcount_finish_one()
1411 rcur = NULL; in xfs_refcount_finish_one()
1414 if (rcur == NULL) { in xfs_refcount_finish_one()
1422 *pcur = rcur = xfs_refcountbt_init_cursor(mp, tp, agbp, pag); in xfs_refcount_finish_one()
[all …]
H A Dxfs_rmap.h132 int xfs_rmap_insert(struct xfs_btree_cur *rcur, xfs_agblock_t agbno,
196 int __xfs_rmap_finish_intent(struct xfs_btree_cur *rcur,
H A Dxfs_ialloc.c1380 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()
1440 *ocur = rcur; in xfs_dialloc_ag_finobt_near()
1442 xfs_btree_del_cursor(rcur, XFS_BTREE_NOERROR); in xfs_dialloc_ag_finobt_near()
1448 *ocur = rcur; in xfs_dialloc_ag_finobt_near()
1451 xfs_btree_del_cursor(rcur, XFS_BTREE_NOERROR); in xfs_dialloc_ag_finobt_near()
1457 xfs_btree_del_cursor(rcur, XFS_BTREE_ERROR); in xfs_dialloc_ag_finobt_near()
/linux/kernel/bpf/
H A Dverifier.c9007 const struct bpf_reg_state *rcur,
9015 const struct bpf_reg_state *rcur) in scalars_exact_for_widen() argument
9017 return !memcmp(rold, rcur, offsetof(struct bpf_reg_state, id)); in scalars_exact_for_widen()
9021 struct bpf_reg_state *rold, struct bpf_reg_state *rcur) in maybe_widen_reg() argument
9025 if (rold->type != rcur->type) in maybe_widen_reg()
9027 if (rold->precise || rcur->precise || scalars_exact_for_widen(rold, rcur)) in maybe_widen_reg()
9029 __mark_reg_unknown(env, rcur); in maybe_widen_reg()
19705 const struct bpf_reg_state *rcur, in regs_exact() argument
19708 return memcmp(rold, rcur, offsetof(struct bpf_reg_state, id)) == 0 && in regs_exact()
19709 check_ids(rold->id, rcur->id, idmap) && in regs_exact()
[all …]