Lines Matching refs:nr_blocks
72 unsigned int nr_blocks; member
330 return (size_t)win->nr_blocks << PAGE_SHIFT; in msc_win_total_sz()
1061 static int msc_buffer_win_alloc(struct msc *msc, unsigned int nr_blocks) in msc_buffer_win_alloc() argument
1066 if (!nr_blocks) in msc_buffer_win_alloc()
1083 win->pgoff = prev->pgoff + prev->nr_blocks; in msc_buffer_win_alloc()
1088 nr_blocks << PAGE_SHIFT); in msc_buffer_win_alloc()
1090 ret = __msc_buffer_win_alloc(win, nr_blocks); in msc_buffer_win_alloc()
1098 win->nr_blocks = nr_blocks; in msc_buffer_win_alloc()
1107 msc->nr_pages += nr_blocks; in msc_buffer_win_alloc()
1142 msc->nr_pages -= win->nr_blocks; in msc_buffer_win_free()
1376 if (pgoff >= win->pgoff && pgoff < win->pgoff + win->nr_blocks) in msc_buffer_get_page()
1929 "%d%c", win->nr_blocks, in nr_pages_show()