rcur 1383 fs/xfs/libxfs/xfs_ialloc.c struct xfs_btree_cur *rcur; /* right search cursor */ rcur 1408 fs/xfs/libxfs/xfs_ialloc.c error = xfs_btree_dup_cursor(lcur, &rcur); rcur 1412 fs/xfs/libxfs/xfs_ialloc.c error = xfs_inobt_lookup(rcur, pagino, XFS_LOOKUP_GE, &j); rcur 1416 fs/xfs/libxfs/xfs_ialloc.c error = xfs_inobt_get_rec(rcur, &rrec, &j); rcur 1432 fs/xfs/libxfs/xfs_ialloc.c *ocur = rcur; rcur 1434 fs/xfs/libxfs/xfs_ialloc.c xfs_btree_del_cursor(rcur, XFS_BTREE_NOERROR); rcur 1440 fs/xfs/libxfs/xfs_ialloc.c *ocur = rcur; rcur 1443 fs/xfs/libxfs/xfs_ialloc.c xfs_btree_del_cursor(rcur, XFS_BTREE_NOERROR); rcur 1449 fs/xfs/libxfs/xfs_ialloc.c xfs_btree_del_cursor(rcur, XFS_BTREE_ERROR); rcur 34 fs/xfs/libxfs/xfs_refcount.c STATIC int __xfs_refcount_cow_alloc(struct xfs_btree_cur *rcur, rcur 36 fs/xfs/libxfs/xfs_refcount.c STATIC int __xfs_refcount_cow_free(struct xfs_btree_cur *rcur, rcur 1056 fs/xfs/libxfs/xfs_refcount.c struct xfs_btree_cur *rcur, rcur 1061 fs/xfs/libxfs/xfs_refcount.c if (rcur == NULL) rcur 1063 fs/xfs/libxfs/xfs_refcount.c agbp = rcur->bc_private.a.agbp; rcur 1064 fs/xfs/libxfs/xfs_refcount.c xfs_btree_del_cursor(rcur, error); rcur 1087 fs/xfs/libxfs/xfs_refcount.c struct xfs_btree_cur *rcur; rcur 1112 fs/xfs/libxfs/xfs_refcount.c rcur = *pcur; rcur 1113 fs/xfs/libxfs/xfs_refcount.c if (rcur != NULL && rcur->bc_private.a.agno != agno) { rcur 1114 fs/xfs/libxfs/xfs_refcount.c nr_ops = rcur->bc_private.a.priv.refc.nr_ops; rcur 1115 fs/xfs/libxfs/xfs_refcount.c shape_changes = rcur->bc_private.a.priv.refc.shape_changes; rcur 1116 fs/xfs/libxfs/xfs_refcount.c xfs_refcount_finish_one_cleanup(tp, rcur, 0); rcur 1117 fs/xfs/libxfs/xfs_refcount.c rcur = NULL; rcur 1120 fs/xfs/libxfs/xfs_refcount.c if (rcur == NULL) { rcur 1128 fs/xfs/libxfs/xfs_refcount.c rcur = xfs_refcountbt_init_cursor(mp, tp, agbp, agno); rcur 1129 fs/xfs/libxfs/xfs_refcount.c if (!rcur) { rcur 1133 fs/xfs/libxfs/xfs_refcount.c rcur->bc_private.a.priv.refc.nr_ops = nr_ops; rcur 1134 fs/xfs/libxfs/xfs_refcount.c rcur->bc_private.a.priv.refc.shape_changes = shape_changes; rcur 1136 fs/xfs/libxfs/xfs_refcount.c *pcur = rcur; rcur 1140 fs/xfs/libxfs/xfs_refcount.c error = xfs_refcount_adjust(rcur, bno, blockcount, &new_agbno, rcur 1145 fs/xfs/libxfs/xfs_refcount.c error = xfs_refcount_adjust(rcur, bno, blockcount, &new_agbno, rcur 1152 fs/xfs/libxfs/xfs_refcount.c error = __xfs_refcount_cow_alloc(rcur, bno, blockcount); rcur 1157 fs/xfs/libxfs/xfs_refcount.c error = __xfs_refcount_cow_free(rcur, bno, blockcount); rcur 1513 fs/xfs/libxfs/xfs_refcount.c struct xfs_btree_cur *rcur, rcur 1517 fs/xfs/libxfs/xfs_refcount.c trace_xfs_refcount_cow_increase(rcur->bc_mp, rcur->bc_private.a.agno, rcur 1521 fs/xfs/libxfs/xfs_refcount.c return xfs_refcount_adjust_cow(rcur, agbno, aglen, rcur 1530 fs/xfs/libxfs/xfs_refcount.c struct xfs_btree_cur *rcur, rcur 1534 fs/xfs/libxfs/xfs_refcount.c trace_xfs_refcount_cow_decrease(rcur->bc_mp, rcur->bc_private.a.agno, rcur 1538 fs/xfs/libxfs/xfs_refcount.c return xfs_refcount_adjust_cow(rcur, agbno, aglen, rcur 38 fs/xfs/libxfs/xfs_refcount.h struct xfs_btree_cur *rcur, int error); rcur 100 fs/xfs/libxfs/xfs_rmap.c struct xfs_btree_cur *rcur, rcur 110 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_insert(rcur->bc_mp, rcur->bc_private.a.agno, agbno, rcur 113 fs/xfs/libxfs/xfs_rmap.c error = xfs_rmap_lookup_eq(rcur, agbno, len, owner, offset, flags, &i); rcur 116 fs/xfs/libxfs/xfs_rmap.c XFS_WANT_CORRUPTED_GOTO(rcur->bc_mp, i == 0, done); rcur 118 fs/xfs/libxfs/xfs_rmap.c rcur->bc_rec.r.rm_startblock = agbno; rcur 119 fs/xfs/libxfs/xfs_rmap.c rcur->bc_rec.r.rm_blockcount = len; rcur 120 fs/xfs/libxfs/xfs_rmap.c rcur->bc_rec.r.rm_owner = owner; rcur 121 fs/xfs/libxfs/xfs_rmap.c rcur->bc_rec.r.rm_offset = offset; rcur 122 fs/xfs/libxfs/xfs_rmap.c rcur->bc_rec.r.rm_flags = flags; rcur 123 fs/xfs/libxfs/xfs_rmap.c error = xfs_btree_insert(rcur, &i); rcur 126 fs/xfs/libxfs/xfs_rmap.c XFS_WANT_CORRUPTED_GOTO(rcur->bc_mp, i == 1, done); rcur 129 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_insert_error(rcur->bc_mp, rcur 130 fs/xfs/libxfs/xfs_rmap.c rcur->bc_private.a.agno, error, _RET_IP_); rcur 136 fs/xfs/libxfs/xfs_rmap.c struct xfs_btree_cur *rcur, rcur 146 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_delete(rcur->bc_mp, rcur->bc_private.a.agno, agbno, rcur 149 fs/xfs/libxfs/xfs_rmap.c error = xfs_rmap_lookup_eq(rcur, agbno, len, owner, offset, flags, &i); rcur 152 fs/xfs/libxfs/xfs_rmap.c XFS_WANT_CORRUPTED_GOTO(rcur->bc_mp, i == 1, done); rcur 154 fs/xfs/libxfs/xfs_rmap.c error = xfs_btree_delete(rcur, &i); rcur 157 fs/xfs/libxfs/xfs_rmap.c XFS_WANT_CORRUPTED_GOTO(rcur->bc_mp, i == 1, done); rcur 160 fs/xfs/libxfs/xfs_rmap.c trace_xfs_rmap_delete_error(rcur->bc_mp, rcur 161 fs/xfs/libxfs/xfs_rmap.c rcur->bc_private.a.agno, error, _RET_IP_); rcur 2131 fs/xfs/libxfs/xfs_rmap.c struct xfs_btree_cur *rcur, rcur 2136 fs/xfs/libxfs/xfs_rmap.c if (rcur == NULL) rcur 2138 fs/xfs/libxfs/xfs_rmap.c agbp = rcur->bc_private.a.agbp; rcur 2139 fs/xfs/libxfs/xfs_rmap.c xfs_btree_del_cursor(rcur, error); rcur 2164 fs/xfs/libxfs/xfs_rmap.c struct xfs_btree_cur *rcur; rcur 2187 fs/xfs/libxfs/xfs_rmap.c rcur = *pcur; rcur 2188 fs/xfs/libxfs/xfs_rmap.c if (rcur != NULL && rcur->bc_private.a.agno != agno) { rcur 2189 fs/xfs/libxfs/xfs_rmap.c xfs_rmap_finish_one_cleanup(tp, rcur, 0); rcur 2190 fs/xfs/libxfs/xfs_rmap.c rcur = NULL; rcur 2193 fs/xfs/libxfs/xfs_rmap.c if (rcur == NULL) { rcur 2205 fs/xfs/libxfs/xfs_rmap.c rcur = xfs_rmapbt_init_cursor(mp, tp, agbp, agno); rcur 2206 fs/xfs/libxfs/xfs_rmap.c if (!rcur) { rcur 2211 fs/xfs/libxfs/xfs_rmap.c *pcur = rcur; rcur 2215 fs/xfs/libxfs/xfs_rmap.c bno = XFS_FSB_TO_AGBNO(rcur->bc_mp, startblock); rcur 2220 fs/xfs/libxfs/xfs_rmap.c error = xfs_rmap_map(rcur, bno, blockcount, unwritten, &oinfo); rcur 2223 fs/xfs/libxfs/xfs_rmap.c error = xfs_rmap_map_shared(rcur, bno, blockcount, unwritten, rcur 2228 fs/xfs/libxfs/xfs_rmap.c error = xfs_rmap_unmap(rcur, bno, blockcount, unwritten, rcur 2232 fs/xfs/libxfs/xfs_rmap.c error = xfs_rmap_unmap_shared(rcur, bno, blockcount, unwritten, rcur 2236 fs/xfs/libxfs/xfs_rmap.c error = xfs_rmap_convert(rcur, bno, blockcount, !unwritten, rcur 2240 fs/xfs/libxfs/xfs_rmap.c error = xfs_rmap_convert_shared(rcur, bno, blockcount, rcur 128 fs/xfs/libxfs/xfs_rmap.h int xfs_rmap_insert(struct xfs_btree_cur *rcur, xfs_agblock_t agbno, rcur 178 fs/xfs/libxfs/xfs_rmap.h struct xfs_btree_cur *rcur, int error); rcur 406 fs/xfs/xfs_refcount_item.c struct xfs_btree_cur *rcur = state; rcur 408 fs/xfs/xfs_refcount_item.c xfs_refcount_finish_one_cleanup(tp, rcur, error); rcur 459 fs/xfs/xfs_refcount_item.c struct xfs_btree_cur *rcur = NULL; rcur 548 fs/xfs/xfs_refcount_item.c &new_fsb, &new_len, &rcur); rcur 580 fs/xfs/xfs_refcount_item.c xfs_refcount_finish_one_cleanup(tp, rcur, error); rcur 587 fs/xfs/xfs_refcount_item.c xfs_refcount_finish_one_cleanup(tp, rcur, error); rcur 448 fs/xfs/xfs_rmap_item.c struct xfs_btree_cur *rcur = state; rcur 450 fs/xfs/xfs_rmap_item.c xfs_rmap_finish_one_cleanup(tp, rcur, error); rcur 503 fs/xfs/xfs_rmap_item.c struct xfs_btree_cur *rcur = NULL; rcur 590 fs/xfs/xfs_rmap_item.c rmap->me_len, state, &rcur); rcur 596 fs/xfs/xfs_rmap_item.c xfs_rmap_finish_one_cleanup(tp, rcur, error); rcur 602 fs/xfs/xfs_rmap_item.c xfs_rmap_finish_one_cleanup(tp, rcur, error); rcur 6895 kernel/bpf/verifier.c static bool regsafe(struct bpf_reg_state *rold, struct bpf_reg_state *rcur, rcur 6904 kernel/bpf/verifier.c equal = memcmp(rold, rcur, offsetof(struct bpf_reg_state, parent)) == 0; rcur 6910 kernel/bpf/verifier.c return equal && rold->frameno == rcur->frameno; rcur 6918 kernel/bpf/verifier.c if (rcur->type == NOT_INIT) rcur 6922 kernel/bpf/verifier.c if (rcur->type == SCALAR_VALUE) { rcur 6923 kernel/bpf/verifier.c if (!rold->precise && !rcur->precise) rcur 6926 kernel/bpf/verifier.c return range_within(rold, rcur) && rcur 6927 kernel/bpf/verifier.c tnum_in(rold->var_off, rcur->var_off); rcur 6947 kernel/bpf/verifier.c return memcmp(rold, rcur, offsetof(struct bpf_reg_state, id)) == 0 && rcur 6948 kernel/bpf/verifier.c range_within(rold, rcur) && rcur 6949 kernel/bpf/verifier.c tnum_in(rold->var_off, rcur->var_off); rcur 6958 kernel/bpf/verifier.c if (rcur->type != PTR_TO_MAP_VALUE_OR_NULL) rcur 6960 kernel/bpf/verifier.c if (memcmp(rold, rcur, offsetof(struct bpf_reg_state, id))) rcur 6963 kernel/bpf/verifier.c return check_ids(rold->id, rcur->id, idmap); rcur 6966 kernel/bpf/verifier.c if (rcur->type != rold->type) rcur 6974 kernel/bpf/verifier.c if (rold->range > rcur->range) rcur 6979 kernel/bpf/verifier.c if (rold->off != rcur->off) rcur 6982 kernel/bpf/verifier.c if (rold->id && !check_ids(rold->id, rcur->id, idmap)) rcur 6985 kernel/bpf/verifier.c return range_within(rold, rcur) && rcur 6986 kernel/bpf/verifier.c tnum_in(rold->var_off, rcur->var_off);