Lines Matching refs:PAGE_SIZE
381 /* convert ratios to per-PAGE_SIZE for higher precision */
382 unsigned long ratio = (vm_dirty_ratio * PAGE_SIZE) / 100;
383 unsigned long bg_ratio = (dirty_background_ratio * PAGE_SIZE) / 100;
396 * per-PAGE_SIZE, they can be obtained by dividing bytes by
401 PAGE_SIZE);
404 PAGE_SIZE);
409 thresh = DIV_ROUND_UP(bytes, PAGE_SIZE);
411 thresh = (ratio * available_memory) / PAGE_SIZE;
414 bg_thresh = DIV_ROUND_UP(bg_bytes, PAGE_SIZE);
416 bg_thresh = (bg_ratio * available_memory) / PAGE_SIZE;
466 dirty = DIV_ROUND_UP(vm_dirty_bytes, PAGE_SIZE) *
683 bytes = (dirty_thresh * PAGE_SIZE * ratio) / BDI_RATIO_SCALE / 100;
2246 static const unsigned long dirty_bytes_min = 2 * PAGE_SIZE;
2701 task_io_account_write(nr * PAGE_SIZE);
2721 task_io_account_cancelled_write(nr * PAGE_SIZE);