Lines Matching refs:bch2_err_matches
581 else if (!bch2_err_matches(PTR_ERR(ob), BCH_ERR_transaction_restart)) in bch2_bucket_alloc_trans()
757 if (bch2_err_matches(ret, BCH_ERR_transaction_restart) || cl) in bch2_bucket_alloc_set_trans()
996 !bch2_err_matches(ret, BCH_ERR_transaction_restart) && in __open_bucket_add_buckets()
997 !bch2_err_matches(ret, BCH_ERR_insufficient_devices) && in __open_bucket_add_buckets()
1027 if (bch2_err_matches(ret, BCH_ERR_transaction_restart) || in open_bucket_add_buckets()
1028 bch2_err_matches(ret, BCH_ERR_operation_blocked) || in open_bucket_add_buckets()
1029 bch2_err_matches(ret, BCH_ERR_freelist_empty) || in open_bucket_add_buckets()
1030 bch2_err_matches(ret, BCH_ERR_open_buckets_empty)) in open_bucket_add_buckets()
1365 bch2_err_matches(ret, BCH_ERR_transaction_restart)) in bch2_alloc_sectors_start_trans()
1369 if (bch2_err_matches(ret, BCH_ERR_open_buckets_empty)) { in bch2_alloc_sectors_start_trans()
1376 bch2_err_matches(ret2, BCH_ERR_transaction_restart) || in bch2_alloc_sectors_start_trans()
1377 bch2_err_matches(ret2, BCH_ERR_open_buckets_empty)) { in bch2_alloc_sectors_start_trans()
1463 if (bch2_err_matches(ret, BCH_ERR_freelist_empty) && in bch2_alloc_sectors_start_trans()
1467 if (cl && bch2_err_matches(ret, BCH_ERR_open_buckets_empty)) in bch2_alloc_sectors_start_trans()
1471 bch2_err_matches(ret, BCH_ERR_freelist_empty)) in bch2_alloc_sectors_start_trans()