Lines Matching refs:cur
57 struct xfs_btree_cur *cur, /* btree cursor */ in xfs_alloc_lookup_eq() argument
62 cur->bc_rec.a.ar_startblock = bno; in xfs_alloc_lookup_eq()
63 cur->bc_rec.a.ar_blockcount = len; in xfs_alloc_lookup_eq()
64 return xfs_btree_lookup(cur, XFS_LOOKUP_EQ, stat); in xfs_alloc_lookup_eq()
73 struct xfs_btree_cur *cur, /* btree cursor */ in xfs_alloc_lookup_ge() argument
78 cur->bc_rec.a.ar_startblock = bno; in xfs_alloc_lookup_ge()
79 cur->bc_rec.a.ar_blockcount = len; in xfs_alloc_lookup_ge()
80 return xfs_btree_lookup(cur, XFS_LOOKUP_GE, stat); in xfs_alloc_lookup_ge()
89 struct xfs_btree_cur *cur, /* btree cursor */ in xfs_alloc_lookup_le() argument
94 cur->bc_rec.a.ar_startblock = bno; in xfs_alloc_lookup_le()
95 cur->bc_rec.a.ar_blockcount = len; in xfs_alloc_lookup_le()
96 return xfs_btree_lookup(cur, XFS_LOOKUP_LE, stat); in xfs_alloc_lookup_le()
106 struct xfs_btree_cur *cur, /* btree cursor */ in xfs_alloc_update() argument
114 return xfs_btree_update(cur, &rec); in xfs_alloc_update()
122 struct xfs_btree_cur *cur, /* btree cursor */ in xfs_alloc_get_rec() argument
130 error = xfs_btree_get_rec(cur, &rec, stat); in xfs_alloc_get_rec()