Lines Matching refs:found_rec
227 int found_rec;
230 error = xfs_refcount_get_rec(cur, &irec, &found_rec);
233 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) {
245 error = xfs_refcount_lookup_ge(cur, irec.rc_startblock, &found_rec);
348 int found_rec;
352 error = xfs_refcount_lookup_le(cur, agbno, &found_rec);
355 if (!found_rec)
358 error = xfs_refcount_get_rec(cur, &rcext, &found_rec);
361 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) {
383 error = xfs_refcount_insert(cur, &tmp, &found_rec);
386 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) {
411 int found_rec;
425 &found_rec);
428 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) {
433 error = xfs_refcount_delete(cur, &found_rec);
436 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) {
442 error = xfs_refcount_delete(cur, &found_rec);
445 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) {
453 &found_rec);
456 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) {
487 int found_rec;
495 &found_rec);
498 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) {
503 error = xfs_refcount_delete(cur, &found_rec);
506 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) {
514 &found_rec);
517 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) {
548 int found_rec;
559 &found_rec);
562 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) {
567 error = xfs_refcount_delete(cur, &found_rec);
570 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) {
578 &found_rec);
581 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) {
618 int found_rec;
621 error = xfs_refcount_lookup_le(cur, agbno - 1, &found_rec);
624 if (!found_rec)
627 error = xfs_refcount_get_rec(cur, &tmp, &found_rec);
630 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) {
644 error = xfs_btree_increment(cur, 0, &found_rec);
647 if (found_rec) {
648 error = xfs_refcount_get_rec(cur, &tmp, &found_rec);
651 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) {
707 int found_rec;
710 error = xfs_refcount_lookup_ge(cur, agbno + aglen, &found_rec);
713 if (!found_rec)
716 error = xfs_refcount_get_rec(cur, &tmp, &found_rec);
719 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) {
733 error = xfs_btree_decrement(cur, 0, &found_rec);
736 if (found_rec) {
737 error = xfs_refcount_get_rec(cur, &tmp, &found_rec);
740 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) {
923 int found_rec, found_tmp;
930 error = xfs_refcount_lookup_ge(cur, *agbno, &found_rec);
935 error = xfs_refcount_get_rec(cur, &ext, &found_rec);
938 if (!found_rec) {
984 &found_rec);
1008 error = xfs_refcount_delete(cur, &found_rec);
1011 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) {
1026 error = xfs_btree_increment(cur, 0, &found_rec);
1456 int found_rec, found_tmp;
1462 error = xfs_refcount_lookup_ge(cur, agbno, &found_rec);
1465 error = xfs_refcount_get_rec(cur, &ext, &found_rec);
1468 if (!found_rec) {
1517 error = xfs_refcount_delete(cur, &found_rec);
1520 if (XFS_IS_CORRUPT(cur->bc_mp, found_rec != 1)) {