Home
last modified time | relevance | path

Searched refs:rcur (Results 1 – 7 of 7) 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.c122 struct xfs_btree_cur *rcur, in xfs_rmap_insert() argument
132 trace_xfs_rmap_insert(rcur, agbno, len, owner, offset, flags); in xfs_rmap_insert()
134 error = xfs_rmap_lookup_eq(rcur, agbno, len, owner, offset, flags, &i); in xfs_rmap_insert()
137 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 0)) { in xfs_rmap_insert()
138 xfs_btree_mark_sick(rcur); in xfs_rmap_insert()
143 rcur->bc_rec.r.rm_startblock = agbno; in xfs_rmap_insert()
144 rcur->bc_rec.r.rm_blockcount = len; in xfs_rmap_insert()
145 rcur->bc_rec.r.rm_owner = owner; in xfs_rmap_insert()
146 rcur->bc_rec.r.rm_offset = offset; in xfs_rmap_insert()
147 rcur->bc_rec.r.rm_flags = flags; in xfs_rmap_insert()
[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.c1379 struct xfs_btree_cur *rcur; /* right search cursor */ in xfs_dialloc_ag_finobt_near() local
1407 error = xfs_btree_dup_cursor(lcur, &rcur); in xfs_dialloc_ag_finobt_near()
1411 error = xfs_inobt_lookup(rcur, pagino, XFS_LOOKUP_GE, &j); in xfs_dialloc_ag_finobt_near()
1415 error = xfs_inobt_get_rec(rcur, &rrec, &j); in xfs_dialloc_ag_finobt_near()
1439 *ocur = rcur; in xfs_dialloc_ag_finobt_near()
1441 xfs_btree_del_cursor(rcur, XFS_BTREE_NOERROR); in xfs_dialloc_ag_finobt_near()
1447 *ocur = rcur; in xfs_dialloc_ag_finobt_near()
1450 xfs_btree_del_cursor(rcur, XFS_BTREE_NOERROR); in xfs_dialloc_ag_finobt_near()
1456 xfs_btree_del_cursor(rcur, XFS_BTREE_ERROR); in xfs_dialloc_ag_finobt_near()
/linux/fs/xfs/
H A Dxfs_refcount_item.c428 struct xfs_btree_cur *rcur, in xfs_refcount_finish_one_cleanup() argument
433 if (rcur == NULL) in xfs_refcount_finish_one_cleanup()
435 agbp = rcur->bc_ag.agbp; in xfs_refcount_finish_one_cleanup()
436 xfs_btree_del_cursor(rcur, error); in xfs_refcount_finish_one_cleanup()
645 struct xfs_btree_cur *rcur, in xfs_rtrefcount_finish_one_cleanup() argument
648 if (rcur) in xfs_rtrefcount_finish_one_cleanup()
649 xfs_btree_del_cursor(rcur, error); in xfs_rtrefcount_finish_one_cleanup()
H A Dxfs_rmap_item.c447 struct xfs_btree_cur *rcur, in xfs_rmap_finish_one_cleanup() argument
452 if (rcur == NULL) in xfs_rmap_finish_one_cleanup()
454 agbp = rcur->bc_ag.agbp; in xfs_rmap_finish_one_cleanup()
455 xfs_btree_del_cursor(rcur, error); in xfs_rmap_finish_one_cleanup()
674 struct xfs_btree_cur *rcur, in xfs_rtrmap_finish_one_cleanup() argument
677 if (rcur) in xfs_rtrmap_finish_one_cleanup()
678 xfs_btree_del_cursor(rcur, error); in xfs_rtrmap_finish_one_cleanup()
/linux/kernel/bpf/
H A Dverifier.c8944 const struct bpf_reg_state *rcur,
8948 struct bpf_reg_state *rold, struct bpf_reg_state *rcur, in maybe_widen_reg() argument
8953 if (rold->type != rcur->type) in maybe_widen_reg()
8955 if (rold->precise || rcur->precise || regs_exact(rold, rcur, idmap)) in maybe_widen_reg()
8957 __mark_reg_unknown(env, rcur); in maybe_widen_reg()
19067 const struct bpf_reg_state *rcur, in regs_exact() argument
19070 return memcmp(rold, rcur, offsetof(struct bpf_reg_state, id)) == 0 && in regs_exact()
19071 check_ids(rold->id, rcur->id, idmap) && in regs_exact()
19072 check_ids(rold->ref_obj_id, rcur->ref_obj_id, idmap); in regs_exact()
19083 struct bpf_reg_state *rcur, struct bpf_idmap *idmap, in regsafe() argument
[all …]