Home
last modified time | relevance | path

Searched refs:drained (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/md/dm-vdo/
H A Dflush.c296 bool drained; in check_for_drain_complete() local
303 drained = bio_list_empty(&flusher->waiting_flush_bios); in check_for_drain_complete()
306 if (drained) in check_for_drain_complete()
H A Ddata-vio.c691 bool drained; in process_release_callback() local
742 drained = (!reschedule && in process_release_callback()
755 else if (drained) in process_release_callback()
978 bool drained; in initiate_drain() local
982 drained = check_for_drain_complete_locked(pool); in initiate_drain()
985 if (drained) in initiate_drain()
/linux/drivers/char/xillybus/
H A Dxillyusb.c112 bool drained; member
515 ep->drained = true; in endpoint_alloc()
799 ep->drained = !ep->outstanding_urbs; in try_queue_bulk_out()
800 if (ep->drained && ep->wake_on_drain) in try_queue_bulk_out()
807 ep->drained = false; in try_queue_bulk_out()
2224 msg_ep->drained || xdev->error, in xillyusb_disconnect()
/linux/drivers/infiniband/hw/mlx5/
H A Dqpc.c103 complete(&dct->drained); in dct_event_notifier()
227 init_completion(&dct->drained); in mlx5_core_create_dct()
305 wait_for_completion(&dct->drained); in mlx5_core_destroy_dct()
/linux/mm/
H A Dmemcontrol.c2307 bool drained = false; in try_charge_memcg() local
2363 if (!drained) { in try_charge_memcg()
2365 drained = true; in try_charge_memcg()
4354 bool drained = false; in memory_high_write() local
4378 if (!drained) { in memory_high_write()
4380 drained = true; in memory_high_write()
4406 bool drained = false; in memory_max_write() local
4429 if (!drained) { in memory_max_write()
4431 drained = true; in memory_max_write()
H A Dgup.c2271 int drained = 0; in collect_longterm_unpinnable_folios() local
2290 if (drained == 0 && folio_may_be_lru_cached(folio) && in collect_longterm_unpinnable_folios()
2294 drained = 1; in collect_longterm_unpinnable_folios()
2296 if (drained == 1 && folio_may_be_lru_cached(folio) && in collect_longterm_unpinnable_folios()
2300 drained = 2; in collect_longterm_unpinnable_folios()
H A Dmemcontrol-v1.c1443 bool drained = false; in mem_cgroup_resize_max() local
1474 if (!drained) { in mem_cgroup_resize_max()
1476 drained = true; in mem_cgroup_resize_max()
H A Dpage_alloc.c4364 bool drained = false; in __alloc_pages_direct_reclaim() local
4379 if (!page && !drained) { in __alloc_pages_direct_reclaim()
4382 drained = true; in __alloc_pages_direct_reclaim()
H A DKconfig689 In page allocator, PCP (Per-CPU pageset) is refilled and drained in
/linux/include/linux/mlx5/
H A Dqp.h527 struct completion drained; member
/linux/Documentation/driver-api/tty/
H A Dmoxa-smartio.rst170 serial port should wait for data to be drained while
/linux/Documentation/block/
H A Dblk-mq.rst100 hardware queue will be drained in sequence according to their mapping.
/linux/Documentation/accel/qaic/
H A Dqaic.rst31 is drained, QAIC implements a "last chance" polling algorithm where QAIC will
/linux/kernel/
H A Dworkqueue.c4147 bool drained; in drain_workqueue() local
4150 drained = pwq_is_empty(pwq); in drain_workqueue()
4153 if (drained) in drain_workqueue()
/linux/arch/arm/mm/
H A DKconfig1049 on systems with an outer cache, the store buffer is drained
/linux/Documentation/core-api/
H A Dworkqueue.rst211 suspend operations. Work items on the wq are drained and no