Lines Matching refs:bch2_err_matches
569 else if (!bch2_err_matches(PTR_ERR(ob), BCH_ERR_transaction_restart)) in bch2_bucket_alloc_trans()
737 if (bch2_err_matches(ret, BCH_ERR_transaction_restart) || cl) in bch2_bucket_alloc_set_trans()
928 !bch2_err_matches(ret, BCH_ERR_transaction_restart) && in __open_bucket_add_buckets()
929 !bch2_err_matches(ret, BCH_ERR_insufficient_devices) && in __open_bucket_add_buckets()
947 if (bch2_err_matches(ret, BCH_ERR_transaction_restart) || in open_bucket_add_buckets()
948 bch2_err_matches(ret, BCH_ERR_operation_blocked) || in open_bucket_add_buckets()
949 bch2_err_matches(ret, BCH_ERR_freelist_empty) || in open_bucket_add_buckets()
950 bch2_err_matches(ret, BCH_ERR_open_buckets_empty)) in open_bucket_add_buckets()
1288 bch2_err_matches(ret, BCH_ERR_transaction_restart)) in bch2_alloc_sectors_start_trans()
1292 if (bch2_err_matches(ret, BCH_ERR_open_buckets_empty)) { in bch2_alloc_sectors_start_trans()
1295 bch2_err_matches(ret2, BCH_ERR_transaction_restart) || in bch2_alloc_sectors_start_trans()
1296 bch2_err_matches(ret2, BCH_ERR_open_buckets_empty)) { in bch2_alloc_sectors_start_trans()
1375 if (bch2_err_matches(ret, BCH_ERR_freelist_empty) && in bch2_alloc_sectors_start_trans()
1379 if (cl && bch2_err_matches(ret, BCH_ERR_open_buckets_empty)) in bch2_alloc_sectors_start_trans()
1383 bch2_err_matches(ret, BCH_ERR_freelist_empty)) in bch2_alloc_sectors_start_trans()