Searched refs:pages_number (Results 1 - 2 of 2) sorted by relevance
/drivers/staging/lustre/lustre/llite/ |
H A D | lproc_llite.c | 219 long pages_number; local 223 pages_number = sbi->ll_ra_info.ra_max_pages; 227 return lprocfs_seq_read_frac_helper(m, pages_number, mult); 235 int mult, rc, pages_number; local 238 rc = lprocfs_write_frac_helper(buffer, count, &pages_number, mult); 242 if (pages_number < 0 || pages_number > totalram_pages / 2) { 249 sbi->ll_ra_info.ra_max_pages = pages_number; 260 long pages_number; local 264 pages_number 277 int mult, rc, pages_number; local 304 long pages_number; local 321 int mult, rc, pages_number; local 377 int mult, rc, pages_number; local [all...] |
/drivers/staging/lustre/lustre/osc/ |
H A D | lproc_osc.c | 138 int pages_number, mult, rc; local 141 rc = lprocfs_write_frac_helper(buffer, count, &pages_number, mult); 145 if (pages_number <= 0 || 146 pages_number > OSC_MAX_DIRTY_MB_MAX << (20 - PAGE_CACHE_SHIFT) || 147 pages_number > totalram_pages / 4) /* 1/4 of RAM */ 151 cli->cl_dirty_max = (u32)(pages_number << PAGE_CACHE_SHIFT); 183 int pages_number, mult, rc; local 196 rc = lprocfs_write_frac_helper(buffer, count, &pages_number, mult); 200 if (pages_number < 0) 203 rc = atomic_read(&cli->cl_lru_in_list) - pages_number; [all...] |
Completed in 189 milliseconds