Searched refs:first_idle (Results 1 – 4 of 4) sorted by relevance
355 if (entity == st->first_idle) { in bfq_idle_extract()357 st->first_idle = bfq_entity_of(next); in bfq_idle_extract()596 struct bfq_entity *first_idle = st->first_idle; in bfq_idle_insert() local599 if (!first_idle || bfq_gt(first_idle->finish, entity->finish)) in bfq_idle_insert()600 st->first_idle = entity; in bfq_idle_insert()658 struct bfq_entity *first_idle = st->first_idle; in bfq_forget_idle() local670 if (first_idle && !bfq_gt(first_idle->finish, st->vtime)) in bfq_forget_idle()671 bfq_put_idle_entity(st, first_idle); in bfq_forget_idle()
60 struct bfq_entity *first_idle; member
803 struct bfq_entity *entity = st->first_idle; in bfq_flush_idle_tree()805 for (; entity ; entity = st->first_idle) in bfq_flush_idle_tree()
425 int first_idle = -EAGAIN; in hisi_pcie_pmu_get_event_idx() local432 if (first_idle == -EAGAIN) in hisi_pcie_pmu_get_event_idx()433 first_idle = idx; in hisi_pcie_pmu_get_event_idx()443 return first_idle; in hisi_pcie_pmu_get_event_idx()