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()
1076 static int msc_buffer_win_alloc(struct msc *msc, unsigned int nr_blocks) in msc_buffer_win_alloc() argument
1081 if (!nr_blocks) in msc_buffer_win_alloc()
1098 win->pgoff = prev->pgoff + prev->nr_blocks; in msc_buffer_win_alloc()
1103 nr_blocks << PAGE_SHIFT); in msc_buffer_win_alloc()
1105 ret = __msc_buffer_win_alloc(win, nr_blocks); in msc_buffer_win_alloc()
1113 win->nr_blocks = nr_blocks; in msc_buffer_win_alloc()
1122 msc->nr_pages += nr_blocks; in msc_buffer_win_alloc()
1157 msc->nr_pages -= win->nr_blocks; in msc_buffer_win_free()
1391 if (pgoff >= win->pgoff && pgoff < win->pgoff + win->nr_blocks) in msc_buffer_get_page()
1960 "%d%c", win->nr_blocks, in nr_pages_show()