Home
last modified time | relevance | path

Searched refs:rcur (Results 1 – 3 of 3) 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()
1421 *pcur = rcur = xfs_refcountbt_init_cursor(mp, tp, agbp, pag); in xfs_refcount_finish_one()
[all …]
/linux/kernel/bpf/
H A Dstates.c492 const struct bpf_reg_state *rcur, in regs_exact() argument
495 return memcmp(rold, rcur, offsetof(struct bpf_reg_state, id)) == 0 && in regs_exact()
496 check_ids(rold->id, rcur->id, idmap) && in regs_exact()
497 check_ids(rold->parent_id, rcur->parent_id, idmap); in regs_exact()
508 struct bpf_reg_state *rcur, struct bpf_idmap *idmap, in regsafe() argument
512 return regs_exact(rold, rcur, idmap); in regsafe()
539 if (rold->type != rcur->type) in regsafe()
548 return memcmp(rold, rcur, offsetof(struct bpf_reg_state, id)) == 0 && in regsafe()
549 check_scalar_ids(rold->id, rcur->id, idmap); in regsafe()
599 (rold->id & BPF_ADD_CONST) != (rcur->id & BPF_ADD_CONST)) in regsafe()
[all …]
H A Dverifier.c7828 const struct bpf_reg_state *rcur) in scalars_exact_for_widen() argument
7830 return !memcmp(rold, rcur, offsetof(struct bpf_reg_state, id)); in scalars_exact_for_widen()
7834 struct bpf_reg_state *rold, struct bpf_reg_state *rcur) in maybe_widen_reg() argument
7838 if (rold->type != rcur->type) in maybe_widen_reg()
7840 if (rold->precise || rcur->precise || scalars_exact_for_widen(rold, rcur)) in maybe_widen_reg()
7842 __mark_reg_unknown(env, rcur); in maybe_widen_reg()