Lines Matching full:vec
17 void frame_vector_destroy(struct frame_vector *vec);
19 bool write, struct frame_vector *vec);
20 void put_vaddr_frames(struct frame_vector *vec);
21 int frame_vector_to_pages(struct frame_vector *vec);
22 void frame_vector_to_pfns(struct frame_vector *vec);
24 static inline unsigned int frame_vector_count(struct frame_vector *vec) in frame_vector_count() argument
26 return vec->nr_frames; in frame_vector_count()
29 static inline struct page **frame_vector_pages(struct frame_vector *vec) in frame_vector_pages() argument
31 if (vec->is_pfns) { in frame_vector_pages()
32 int err = frame_vector_to_pages(vec); in frame_vector_pages()
37 return (struct page **)(vec->ptrs); in frame_vector_pages()
40 static inline unsigned long *frame_vector_pfns(struct frame_vector *vec) in frame_vector_pfns() argument
42 if (!vec->is_pfns) in frame_vector_pfns()
43 frame_vector_to_pfns(vec); in frame_vector_pfns()
44 return (unsigned long *)(vec->ptrs); in frame_vector_pfns()