Lines Matching refs:msc_window

54 struct msc_window {  struct
78 struct msc_window *start_win; argument
79 struct msc_window *win;
158 static struct msc_window *msc_oldest_window(struct msc *msc) in msc_oldest_window()
160 struct msc_window *win; in msc_oldest_window()
185 return list_entry(msc->win_list.next, struct msc_window, entry); in msc_oldest_window()
194 static unsigned int msc_win_oldest_block(struct msc_window *win) in msc_win_oldest_block()
222 static inline bool msc_is_last_win(struct msc_window *win) in msc_is_last_win()
233 static struct msc_window *msc_next_window(struct msc_window *win) in msc_next_window()
236 return list_entry(win->msc->win_list.next, struct msc_window, in msc_next_window()
239 return list_entry(win->entry.next, struct msc_window, entry); in msc_next_window()
455 struct msc_window *win; in msc_buffer_clear_hw_header()
677 struct msc_window *win; in msc_buffer_win_alloc()
684 win = kzalloc(offsetof(struct msc_window, block[nr_blocks]), in msc_buffer_win_alloc()
690 struct msc_window *prev = list_entry(msc->win_list.prev, in msc_buffer_win_alloc()
691 struct msc_window, entry); in msc_buffer_win_alloc()
745 static void msc_buffer_win_free(struct msc *msc, struct msc_window *win) in msc_buffer_win_free()
781 struct msc_window *win, *next_win; in msc_buffer_relink()
795 struct msc_window, entry); in msc_buffer_relink()
798 struct msc_window, entry); in msc_buffer_relink()
835 struct msc_window *win, *iter; in msc_buffer_multi_free()
980 struct msc_window *win; in msc_buffer_get_page()
1349 struct msc_window *win; in nr_pages_show()