Lines Matching refs:nr_blocks
72 unsigned int nr_blocks; member
334 return (size_t)win->nr_blocks << PAGE_SHIFT; in msc_win_total_sz()
1082 static int msc_buffer_win_alloc(struct msc *msc, unsigned int nr_blocks) in msc_buffer_win_alloc() argument
1087 if (!nr_blocks) in msc_buffer_win_alloc()
1104 win->pgoff = prev->pgoff + prev->nr_blocks; in msc_buffer_win_alloc()
1109 nr_blocks << PAGE_SHIFT); in msc_buffer_win_alloc()
1111 ret = __msc_buffer_win_alloc(win, nr_blocks); in msc_buffer_win_alloc()
1117 win->nr_blocks = nr_blocks; in msc_buffer_win_alloc()
1126 msc->nr_pages += nr_blocks; in msc_buffer_win_alloc()
1161 msc->nr_pages -= win->nr_blocks; in msc_buffer_win_free()
1397 if (pgoff >= win->pgoff && pgoff < win->pgoff + win->nr_blocks) in msc_buffer_get_page()
1966 "%d%c", win->nr_blocks, in nr_pages_show()