Home
last modified time | relevance | path

Searched refs:nr_online (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
A Draw_tp_test_run.c10 int comm_fd = -1, err, nr_online, i, prog_fd; in test_raw_tp_test_run() local
23 &nr_online); in test_raw_tp_test_run()
57 for (i = 0; i < nr_online; i++) { in test_raw_tp_test_run()
/linux/fs/bcachefs/
A Dreplicas.c816 unsigned nr_online = 0, nr_failed = 0, dflags = 0; in bch2_have_enough_devs() local
829 nr_online += test_bit(e->devs[i], devs.d); in bch2_have_enough_devs()
836 if (nr_online + nr_failed == e->nr_devs) in bch2_have_enough_devs()
839 if (nr_online < e->nr_required) in bch2_have_enough_devs()
844 if (nr_online < e->nr_devs) in bch2_have_enough_devs()
855 nr_online, buf.buf); in bch2_have_enough_devs()
A Djournal_reclaim.c176 unsigned nr_online = 0, nr_devs_want; in bch2_journal_space_available() local
201 nr_online++; in bch2_journal_space_available()
207 if (nr_online < metadata_replicas_required(c)) { in bch2_journal_space_available()
211 "rw journal devs:", nr_online, metadata_replicas_required(c)); in bch2_journal_space_available()
224 nr_devs_want = min_t(unsigned, nr_online, c->opts.metadata_replicas); in bch2_journal_space_available()

Completed in 13 milliseconds