Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dstates.c489 const struct bpf_reg_state *rcur, in regs_exact() argument
492 return memcmp(rold, rcur, offsetof(struct bpf_reg_state, id)) == 0 && in regs_exact()
493 check_ids(rold->id, rcur->id, idmap) && in regs_exact()
494 check_ids(rold->parent_id, rcur->parent_id, idmap) && in regs_exact()
495 check_ids(rold->map_uid, rcur->map_uid, idmap); in regs_exact()
506 struct bpf_reg_state *rcur, struct bpf_idmap *idmap, in regsafe() argument
510 return regs_exact(rold, rcur, idmap); in regsafe()
537 if (rold->type != rcur->type) in regsafe()
546 return memcmp(rold, rcur, offsetof(struct bpf_reg_state, id)) == 0 && in regsafe()
547 check_scalar_ids(rold->id, rcur->id, idmap); in regsafe()
[all …]
H A Dverifier.c7887 const struct bpf_reg_state *rcur) in scalars_exact_for_widen() argument
7889 return !memcmp(rold, rcur, offsetof(struct bpf_reg_state, id)); in scalars_exact_for_widen()
7893 struct bpf_reg_state *rold, struct bpf_reg_state *rcur) in maybe_widen_reg() argument
7897 if (rold->type != rcur->type) in maybe_widen_reg()
7899 if (rold->precise || rcur->precise || scalars_exact_for_widen(rold, rcur)) in maybe_widen_reg()
7901 __mark_reg_unknown(env, rcur); in maybe_widen_reg()
/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/fs/xfs/
H A Dxfs_refcount_item.c426 struct xfs_btree_cur *rcur, in xfs_refcount_finish_one_cleanup() argument
431 if (rcur == NULL) in xfs_refcount_finish_one_cleanup()
433 agbp = rcur->bc_ag.agbp; in xfs_refcount_finish_one_cleanup()
434 xfs_btree_del_cursor(rcur, error); in xfs_refcount_finish_one_cleanup()
647 struct xfs_btree_cur *rcur, in xfs_rtrefcount_finish_one_cleanup() argument
650 if (rcur) in xfs_rtrefcount_finish_one_cleanup()
651 xfs_btree_del_cursor(rcur, error); in xfs_rtrefcount_finish_one_cleanup()
H A Dxfs_rmap_item.c445 struct xfs_btree_cur *rcur, in xfs_rmap_finish_one_cleanup() argument
450 if (rcur == NULL) in xfs_rmap_finish_one_cleanup()
452 agbp = rcur->bc_ag.agbp; in xfs_rmap_finish_one_cleanup()
453 xfs_btree_del_cursor(rcur, error); in xfs_rmap_finish_one_cleanup()
676 struct xfs_btree_cur *rcur, in xfs_rtrmap_finish_one_cleanup() argument
679 if (rcur) in xfs_rtrmap_finish_one_cleanup()
680 xfs_btree_del_cursor(rcur, error); in xfs_rtrmap_finish_one_cleanup()