/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_refcount.c | 37 STATIC int __xfs_refcount_cow_alloc(struct xfs_btree_cur *rcur, 39 STATIC int __xfs_refcount_cow_free(struct xfs_btree_cur *rcur, 1305 struct xfs_btree_cur *rcur, in xfs_refcount_finish_one_cleanup() argument 1310 if (rcur == NULL) in xfs_refcount_finish_one_cleanup() 1312 agbp = rcur->bc_ag.agbp; in xfs_refcount_finish_one_cleanup() 1313 xfs_btree_del_cursor(rcur, error); in xfs_refcount_finish_one_cleanup() 1357 struct xfs_btree_cur *rcur; in xfs_refcount_finish_one() local 1377 rcur = *pcur; in xfs_refcount_finish_one() 1378 if (rcur != NULL && rcur->bc_ag.pag != ri->ri_pag) { in xfs_refcount_finish_one() 1379 nr_ops = rcur->bc_ag.refc.nr_ops; in xfs_refcount_finish_one() [all …]
|
H A D | xfs_rmap.c | 118 struct xfs_btree_cur *rcur, in xfs_rmap_insert() argument 128 trace_xfs_rmap_insert(rcur->bc_mp, rcur->bc_ag.pag->pag_agno, agbno, in xfs_rmap_insert() 131 error = xfs_rmap_lookup_eq(rcur, agbno, len, owner, offset, flags, &i); in xfs_rmap_insert() 134 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 0)) { in xfs_rmap_insert() 139 rcur->bc_rec.r.rm_startblock = agbno; in xfs_rmap_insert() 140 rcur->bc_rec.r.rm_blockcount = len; in xfs_rmap_insert() 141 rcur->bc_rec.r.rm_owner = owner; in xfs_rmap_insert() 142 rcur->bc_rec.r.rm_offset = offset; in xfs_rmap_insert() 143 rcur->bc_rec.r.rm_flags = flags; in xfs_rmap_insert() 144 error = xfs_btree_insert(rcur, &i); in xfs_rmap_insert() [all …]
|
H A D | xfs_rmap.h | 131 int xfs_rmap_insert(struct xfs_btree_cur *rcur, xfs_agblock_t agbno, 186 struct xfs_btree_cur *rcur, int error);
|
H A D | xfs_refcount.h | 80 struct xfs_btree_cur *rcur, int error);
|
H A D | xfs_ialloc.c | 1282 struct xfs_btree_cur *rcur; /* right search cursor */ in xfs_dialloc_ag_finobt_near() local 1308 error = xfs_btree_dup_cursor(lcur, &rcur); in xfs_dialloc_ag_finobt_near() 1312 error = xfs_inobt_lookup(rcur, pagino, XFS_LOOKUP_GE, &j); in xfs_dialloc_ag_finobt_near() 1316 error = xfs_inobt_get_rec(rcur, &rrec, &j); in xfs_dialloc_ag_finobt_near() 1338 *ocur = rcur; in xfs_dialloc_ag_finobt_near() 1340 xfs_btree_del_cursor(rcur, XFS_BTREE_NOERROR); in xfs_dialloc_ag_finobt_near() 1346 *ocur = rcur; in xfs_dialloc_ag_finobt_near() 1349 xfs_btree_del_cursor(rcur, XFS_BTREE_NOERROR); in xfs_dialloc_ag_finobt_near() 1355 xfs_btree_del_cursor(rcur, XFS_BTREE_ERROR); in xfs_dialloc_ag_finobt_near()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_refcount_item.c | 485 struct xfs_btree_cur *rcur = NULL; in xfs_cui_item_recover() local 555 &fake, &rcur); in xfs_cui_item_recover() 596 xfs_refcount_finish_one_cleanup(tp, rcur, error); in xfs_cui_item_recover() 600 xfs_refcount_finish_one_cleanup(tp, rcur, error); in xfs_cui_item_recover()
|
H A D | xfs_rmap_item.c | 515 struct xfs_btree_cur *rcur = NULL; in xfs_rui_item_recover() local 593 &rcur); in xfs_rui_item_recover() 603 xfs_rmap_finish_one_cleanup(tp, rcur, error); in xfs_rui_item_recover() 607 xfs_rmap_finish_one_cleanup(tp, rcur, error); in xfs_rui_item_recover()
|
/openbmc/linux/kernel/bpf/ |
H A D | verifier.c | 7796 const struct bpf_reg_state *rcur, 7800 struct bpf_reg_state *rold, struct bpf_reg_state *rcur, in maybe_widen_reg() argument 7805 if (rold->type != rcur->type) in maybe_widen_reg() 7807 if (rold->precise || rcur->precise || regs_exact(rold, rcur, idmap)) in maybe_widen_reg() 7809 __mark_reg_unknown(env, rcur); in maybe_widen_reg() 15982 const struct bpf_reg_state *rcur, in regs_exact() argument 15985 return memcmp(rold, rcur, offsetof(struct bpf_reg_state, id)) == 0 && in regs_exact() 15986 check_ids(rold->id, rcur->id, idmap) && in regs_exact() 15987 check_ids(rold->ref_obj_id, rcur->ref_obj_id, idmap); in regs_exact() 15992 struct bpf_reg_state *rcur, struct bpf_idmap *idmap, bool exact) in regsafe() argument [all …]
|