Home
last modified time | relevance | path

Searched refs:bg_thresh (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/mm/
Dpage-writeback.c135 unsigned long bg_thresh; /* dirty background threshold */ member
397 unsigned long bg_thresh; in domain_dirty_limits() local
426 bg_thresh = DIV_ROUND_UP(bg_bytes, PAGE_SIZE); in domain_dirty_limits()
428 bg_thresh = (bg_ratio * available_memory) / PAGE_SIZE; in domain_dirty_limits()
430 if (bg_thresh >= thresh) in domain_dirty_limits()
431 bg_thresh = thresh / 2; in domain_dirty_limits()
434 bg_thresh += bg_thresh / 4 + global_wb_domain.dirty_limit / 32; in domain_dirty_limits()
438 dtc->bg_thresh = bg_thresh; in domain_dirty_limits()
442 trace_global_dirty_state(bg_thresh, thresh); in domain_dirty_limits()
460 *pbackground = gdtc.bg_thresh; in global_dirty_limits()
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dwriteback.h624 unsigned long bg_thresh,
635 TP_ARGS(wb, thresh, bg_thresh, dirty, bdi_thresh, bdi_dirty,
658 unsigned long freerun = (thresh + bg_thresh) / 2;