Home
last modified time | relevance | path

Searched refs:sync (Results 1 – 5 of 5) sorted by relevance

/mm/
Dbacking-dev.c550 void clear_bdi_congested(struct backing_dev_info *bdi, int sync) in clear_bdi_congested() argument
553 wait_queue_head_t *wqh = &congestion_wqh[sync]; in clear_bdi_congested()
555 bit = sync ? BDI_sync_congested : BDI_async_congested; in clear_bdi_congested()
557 atomic_dec(&nr_bdi_congested[sync]); in clear_bdi_congested()
564 void set_bdi_congested(struct backing_dev_info *bdi, int sync) in set_bdi_congested() argument
568 bit = sync ? BDI_sync_congested : BDI_async_congested; in set_bdi_congested()
570 atomic_inc(&nr_bdi_congested[sync]); in set_bdi_congested()
583 long congestion_wait(int sync, long timeout) in congestion_wait() argument
588 wait_queue_head_t *wqh = &congestion_wqh[sync]; in congestion_wait()
619 long wait_iff_congested(struct zone *zone, int sync, long timeout) in wait_iff_congested() argument
[all …]
Dcompaction.c1195 const bool sync = cc->mode != MIGRATE_ASYNC; in compact_zone() local
1221 cc->migrate_pfn = zone->compact_cached_migrate_pfn[sync]; in compact_zone()
Drmap.c650 unsigned long address, spinlock_t **ptlp, int sync) in __page_check_address() argument
672 if (!sync && !pte_present(*pte)) { in __page_check_address()
Dvmalloc.c597 int sync, int force_flush) in __purge_vmap_area_lazy() argument
610 if (!sync && !force_flush) { in __purge_vmap_area_lazy()
616 if (sync) in __purge_vmap_area_lazy()
Dmemcontrol.c2075 unsigned mode, int sync, void *arg) in memcg_oom_wake_function() argument
2091 return autoremove_wake_function(wait, mode, sync, arg); in memcg_oom_wake_function()
2394 static void drain_all_stock(struct mem_cgroup *root_memcg, bool sync) in drain_all_stock() argument
2419 if (!sync) in drain_all_stock()
4950 int sync, void *key) in memcg_event_wake() argument