Lines Matching refs:stat
1579 int *stat) /* success/failure */ in xfs_btree_increment() argument
1662 *stat = 1; in xfs_btree_increment()
1666 *stat = 0; in xfs_btree_increment()
1681 int *stat) /* success/failure */ in xfs_btree_decrement() argument
1754 *stat = 1; in xfs_btree_decrement()
1758 *stat = 0; in xfs_btree_decrement()
1857 int *stat) /* success/failure */ in xfs_btree_lookup() argument
1918 *stat = 0; in xfs_btree_lookup()
1991 *stat = 1; in xfs_btree_lookup()
2000 *stat = 0; in xfs_btree_lookup()
2002 *stat = 1; in xfs_btree_lookup()
2004 *stat = 0; in xfs_btree_lookup()
2294 int *stat) /* success/failure */ in xfs_btree_lshift() argument
2467 *stat = 1; in xfs_btree_lshift()
2471 *stat = 0; in xfs_btree_lshift()
2490 int *stat) /* success/failure */ in xfs_btree_rshift() argument
2632 *stat = 1; in xfs_btree_rshift()
2636 *stat = 0; in xfs_btree_rshift()
2659 int *stat) /* success/failure */ in __xfs_btree_split() argument
2690 error = cur->bc_ops->alloc_block(cur, &lptr, &rptr, stat); in __xfs_btree_split()
2693 if (*stat == 0) in __xfs_btree_split()
2823 *stat = 1; in __xfs_btree_split()
2826 *stat = 0; in __xfs_btree_split()
2839 int *stat; /* success/failure */ member
2870 args->key, args->curp, args->stat); in xfs_btree_split_worker()
2888 int *stat) /* success/failure */ in xfs_btree_split() argument
2894 return __xfs_btree_split(cur, level, ptrp, key, curp, stat); in xfs_btree_split()
2901 args.stat = stat; in xfs_btree_split()
2920 int *stat) /* return status - 0 fail */ in xfs_btree_new_iroot() argument
2944 error = cur->bc_ops->alloc_block(cur, pp, &nptr, stat); in xfs_btree_new_iroot()
2947 if (*stat == 0) in xfs_btree_new_iroot()
3009 *stat = 1; in xfs_btree_new_iroot()
3021 int *stat) /* success/failure */ in xfs_btree_new_root() argument
3042 error = cur->bc_ops->alloc_block(cur, &rptr, &lptr, stat); in xfs_btree_new_root()
3045 if (*stat == 0) in xfs_btree_new_root()
3135 *stat = 1; in xfs_btree_new_root()
3140 *stat = 0; in xfs_btree_new_root()
3154 int *stat) in xfs_btree_make_block_unfull() argument
3165 *stat = 1; in xfs_btree_make_block_unfull()
3170 error = xfs_btree_new_iroot(cur, &logflags, stat); in xfs_btree_make_block_unfull()
3171 if (error || *stat == 0) in xfs_btree_make_block_unfull()
3181 error = xfs_btree_rshift(cur, level, stat); in xfs_btree_make_block_unfull()
3182 if (error || *stat) in xfs_btree_make_block_unfull()
3186 error = xfs_btree_lshift(cur, level, stat); in xfs_btree_make_block_unfull()
3190 if (*stat) { in xfs_btree_make_block_unfull()
3201 error = xfs_btree_split(cur, level, nptr, key, ncur, stat); in xfs_btree_make_block_unfull()
3202 if (error || *stat == 0) in xfs_btree_make_block_unfull()
3222 int *stat) /* success/failure */ in xfs_btree_insrec() argument
3246 error = xfs_btree_new_root(cur, stat); in xfs_btree_insrec()
3255 *stat = 0; in xfs_btree_insrec()
3292 &optr, &ptr, &nptr, &ncur, lkey, stat); in xfs_btree_insrec()
3293 if (error || *stat == 0) in xfs_btree_insrec()
3408 *stat = 1; in xfs_btree_insrec()
3425 int *stat) in xfs_btree_insert() argument
3489 *stat = i; in xfs_btree_insert()
3637 int *stat) in xfs_btree_dec_cursor() argument
3648 *stat = 1; in xfs_btree_dec_cursor()
3662 int *stat) /* fail/done/go-on */ in xfs_btree_delrec() argument
3688 *stat = 0; in xfs_btree_delrec()
3704 *stat = 0; in xfs_btree_delrec()
3771 error = xfs_btree_dec_cursor(cur, level, stat); in xfs_btree_delrec()
3774 *stat = 1; in xfs_btree_delrec()
3794 error = xfs_btree_dec_cursor(cur, level, stat); in xfs_btree_delrec()
3798 *stat = 1; in xfs_btree_delrec()
3817 error = xfs_btree_dec_cursor(cur, level, stat); in xfs_btree_delrec()
3842 error = xfs_btree_dec_cursor(cur, level, stat); in xfs_btree_delrec()
3907 error = xfs_btree_dec_cursor(cur, level, stat); in xfs_btree_delrec()
3977 *stat = 1; in xfs_btree_delrec()
4032 error = xfs_btree_dec_cursor(cur, level, stat); in xfs_btree_delrec()
4147 *stat = 2; in xfs_btree_delrec()
4164 int *stat) /* success/failure */ in xfs_btree_delete() argument
4206 *stat = i; in xfs_btree_delete()
4219 int *stat) /* output: success/failure */ in xfs_btree_get_rec() argument
4241 *stat = 0; in xfs_btree_get_rec()
4249 *stat = 1; in xfs_btree_get_rec()
4554 int stat; in xfs_btree_simple_query_range() local
4565 stat = 0; in xfs_btree_simple_query_range()
4566 error = xfs_btree_lookup(cur, XFS_LOOKUP_LE, &stat); in xfs_btree_simple_query_range()
4571 if (!stat) { in xfs_btree_simple_query_range()
4572 error = xfs_btree_increment(cur, 0, &stat); in xfs_btree_simple_query_range()
4577 while (stat) { in xfs_btree_simple_query_range()
4579 error = xfs_btree_get_rec(cur, &recp, &stat); in xfs_btree_simple_query_range()
4580 if (error || !stat) in xfs_btree_simple_query_range()
4606 error = xfs_btree_increment(cur, 0, &stat); in xfs_btree_simple_query_range()