/linux/fs/xfs/libxfs/ |
H A D | xfs_refcount.c | 42 STATIC int __xfs_refcount_cow_alloc(struct xfs_btree_cur *rcur, 44 STATIC int __xfs_refcount_cow_free(struct xfs_btree_cur *rcur, 1390 struct xfs_btree_cur *rcur = *pcur; in xfs_refcount_finish_one() local 1408 if (rcur != NULL && rcur->bc_group != ri->ri_group) { in xfs_refcount_finish_one() 1409 nr_ops = rcur->bc_refc.nr_ops; in xfs_refcount_finish_one() 1410 shape_changes = rcur->bc_refc.shape_changes; in xfs_refcount_finish_one() 1411 xfs_btree_del_cursor(rcur, 0); in xfs_refcount_finish_one() 1412 rcur = NULL; in xfs_refcount_finish_one() 1415 if (rcur == NULL) { in xfs_refcount_finish_one() 1423 *pcur = rcur = xfs_refcountbt_init_cursor(mp, tp, agbp, pag); in xfs_refcount_finish_one() [all …]
|
H A D | xfs_rmap.c | 122 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 D | xfs_rmap.h | 132 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 D | xfs_ialloc.c | 1379 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 D | xfs_rmap_item.c | 437 struct xfs_btree_cur *rcur, in xfs_rmap_finish_one_cleanup() argument 442 if (rcur == NULL) in xfs_rmap_finish_one_cleanup() 444 agbp = rcur->bc_ag.agbp; in xfs_rmap_finish_one_cleanup() 445 xfs_btree_del_cursor(rcur, error); in xfs_rmap_finish_one_cleanup() 664 struct xfs_btree_cur *rcur, in xfs_rtrmap_finish_one_cleanup() argument 667 if (rcur) in xfs_rtrmap_finish_one_cleanup() 668 xfs_btree_del_cursor(rcur, error); in xfs_rtrmap_finish_one_cleanup()
|
H A D | xfs_refcount_item.c | 418 struct xfs_btree_cur *rcur, in xfs_refcount_finish_one_cleanup() argument 423 if (rcur == NULL) in xfs_refcount_finish_one_cleanup() 425 agbp = rcur->bc_ag.agbp; in xfs_refcount_finish_one_cleanup() 426 xfs_btree_del_cursor(rcur, error); in xfs_refcount_finish_one_cleanup() 635 struct xfs_btree_cur *rcur, in xfs_rtrefcount_finish_one_cleanup() argument 638 if (rcur) in xfs_rtrefcount_finish_one_cleanup() 639 xfs_btree_del_cursor(rcur, error); in xfs_rtrefcount_finish_one_cleanup()
|
/linux/kernel/bpf/ |
H A D | verifier.c | 8452 const struct bpf_reg_state *rcur, 8456 struct bpf_reg_state *rold, struct bpf_reg_state *rcur, in maybe_widen_reg() argument 8461 if (rold->type != rcur->type) in maybe_widen_reg() 8463 if (rold->precise || rcur->precise || regs_exact(rold, rcur, idmap)) in maybe_widen_reg() 8465 __mark_reg_unknown(env, rcur); in maybe_widen_reg() 17834 const struct bpf_reg_state *rcur, in regs_exact() argument 17837 return memcmp(rold, rcur, offsetof(struct bpf_reg_state, id)) == 0 && in regs_exact() 17838 check_ids(rold->id, rcur->id, idmap) && in regs_exact() 17839 check_ids(rold->ref_obj_id, rcur->ref_obj_id, idmap); in regs_exact() 17850 struct bpf_reg_state *rcur, struct bpf_idmap *idmap, in regsafe() argument [all …]
|