Lines Matching defs:pages
20 * populated in the page table. Each area is fully populated with pages.
24 * pages can be NULL, this means some other thread is still working on setting
26 * domain_rwsem a NULL pages must mean the area is still being setup and no
30 * for this area. It is locked by the pages->mutex. This simplifies the locking
31 * as the pages code can rely on the storage_domain without having to get the
37 * The pages::mutex protects num_accesses
43 struct iopt_pages *pages;
62 int iopt_area_fill_domains(struct iopt_area *area, struct iopt_pages *pages);
63 void iopt_area_unfill_domains(struct iopt_area *area, struct iopt_pages *pages);
66 void iopt_area_unfill_domain(struct iopt_area *area, struct iopt_pages *pages,
180 * pages always originate from a linear chunk of userspace VA. Multiple
185 * the start of the uptr and extend to npages. pages are pinned dynamically
187 * records the current number of pages pinned.
212 static inline void iopt_put_pages(struct iopt_pages *pages)
214 kref_put(&pages->kref, iopt_release_pages);
217 void iopt_pages_fill_from_xarray(struct iopt_pages *pages, unsigned long start,
219 int iopt_pages_fill_xarray(struct iopt_pages *pages, unsigned long start,
221 void iopt_pages_unfill_xarray(struct iopt_pages *pages, unsigned long start,
229 int iopt_pages_rw_access(struct iopt_pages *pages, unsigned long start_byte,