Searched refs:pages (Results 51 - 75 of 159) sorted by relevance

1234567

/freebsd-10.2-release/sys/boot/amd64/efi/
H A Dbootinfo.c232 UINTN mmsz, pages, sz; local
243 * Allocate enough pages to hold the bootinfo block and the memory
255 pages = EFI_SIZE_TO_PAGES(sz + efisz);
256 status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData, pages,
271 sz = (EFI_PAGE_SIZE * pages) - efisz;
/freebsd-10.2-release/sys/amd64/include/xen/
H A Dxenvar.h81 /* Xen starts physical pages after the 4MB ISA hole -
116 int xen_create_contiguous_region(vm_page_t pages, int npages);
/freebsd-10.2-release/sys/arm/arm/
H A Dbusdma_machdep-v6.c175 "Total bounce pages");
529 * number of pages in a transfer.
540 int pages; local
542 pages = atop(maxsize) - bz->total_bpages;
544 /* Add pages to our bounce pool */
545 if (alloc_bounce_pages(newtag, pages) < pages)
617 * Attempt to add pages to our pool on a per-instance basis up to a sane
620 * cacheline alignment, which requires at most two bounce pages.
628 int pages; local
1618 int pages; local
[all...]
/freebsd-10.2-release/contrib/mdocml/
H A Dterm_ps.c71 size_t pages; /* number of pages shown */ member in struct:termp_ps
650 base = p->ps->pages * 4 + p->ps->pdfbody;
677 p->ps->pages++;
692 * same behaviour as groff(1) and works for multiple pages as
704 ps_printf(p, "%%%%Pages: %zu\n", p->ps->pages);
715 ps_printf(p, "/Count %zu\n", p->ps->pages);
718 for (i = 0; i < p->ps->pages; i++)
722 base = (p->ps->pages - 1) * 4 +
854 p->ps->pages
[all...]
/freebsd-10.2-release/sys/fs/fuse/
H A Dfuse_vnops.c1747 vm_page_t *pages; local
1755 pages = ap->a_m;
1766 * allow the pager to zero-out the blanks. Partially valid pages
1772 if (pages[ap->a_reqpage]->valid != 0) {
1775 fuse_vm_page_lock(pages[i]);
1776 vm_page_free(pages[i]);
1777 fuse_vm_page_unlock(pages[i]);
1794 pmap_qenter(kva, pages, npages);
1802 uio.uio_offset = IDX_TO_OFF(pages[0]->pindex);
1819 fuse_vm_page_lock(pages[
1897 vm_page_t *pages; local
[all...]
/freebsd-10.2-release/sys/fs/nfsclient/
H A Dnfs_clbio.c96 vm_page_t *pages; local
104 pages = ap->a_m;
135 * allow the pager to zero-out the blanks. Partially valid pages
139 if (pages[ap->a_reqpage]->valid != 0) {
142 vm_page_lock(pages[i]);
143 vm_page_free(pages[i]);
144 vm_page_unlock(pages[i]);
159 pmap_qenter(kva, pages, npages);
167 uio.uio_offset = IDX_TO_OFF(pages[0]->pindex);
183 vm_page_lock(pages[
257 vm_page_t *pages; local
[all...]
/freebsd-10.2-release/sys/nfsclient/
H A Dnfs_bio.c90 vm_page_t *pages; local
98 pages = ap->a_m;
129 * allow the pager to zero-out the blanks. Partially valid pages
133 if (pages[ap->a_reqpage]->valid != 0) {
136 vm_page_lock(pages[i]);
137 vm_page_free(pages[i]);
138 vm_page_unlock(pages[i]);
153 pmap_qenter(kva, pages, npages);
161 uio.uio_offset = IDX_TO_OFF(pages[0]->pindex);
177 vm_page_lock(pages[
251 vm_page_t *pages; local
[all...]
/freebsd-10.2-release/sys/dev/drm/
H A Dvia_dmablit.c85 * If mode = 1, Map the DMA pages for the device, put together and map also the descriptors.
125 vsg->pages[VIA_PFN(cur_mem) -
180 page = vsg->pages[i];
186 free(vsg->pages, DRM_MEM_DRIVER);
218 * Obtain a page pointer array and lock all pages into system memory. A segmentation violation will
231 if (NULL == (vsg->pages = malloc(sizeof(vm_page_t) * vsg->num_pages,
239 VM_PROT_READ | VM_PROT_WRITE, vsg->pages, vsg->num_pages) < 0)
243 m = vsg->pages[i];
251 DRM_DEBUG("DMA pages locked\n");
259 * pages w
[all...]
H A Dmach64_dma.c667 int bytes, pages, remainder; local
675 pages = (bytes + MACH64_DMA_CHUNKSIZE - 1) / MACH64_DMA_CHUNKSIZE;
677 BEGIN_RING( pages * 4 );
679 for ( i = 0 ; i < pages-1 ; i++ ) {
714 int bytes, pages, remainder; local
721 pages = (bytes + MACH64_DMA_CHUNKSIZE - 1) / MACH64_DMA_CHUNKSIZE;
724 BEGIN_RING( 4 + pages * 4 );
732 for ( i = 0 ; i < pages-1 ; i++ ) {
/freebsd-10.2-release/contrib/subversion/subversion/libsvn_subr/
H A Dcache-inprocess.c50 /* Maximum number of pages that this cache instance may allocate */
52 /* The number of pages we're allowed to allocate before having to
61 * All pages in this list are "full"; the page currently being
72 /* The pool that the svn_cache__t itself, HASH, and all pages are
608 apr_int64_t pages,
627 SVN_ERR_ASSERT(pages >= 1);
628 cache->total_pages = pages;
629 cache->unallocated_pages = pages;
604 svn_cache__create_inprocess(svn_cache__t **cache_p, svn_cache__serialize_func_t serialize, svn_cache__deserialize_func_t deserialize, apr_ssize_t klen, apr_int64_t pages, apr_int64_t items_per_page, svn_boolean_t thread_safe, const char *id, apr_pool_t *pool) argument
/freebsd-10.2-release/sys/dev/drm2/radeon/
H A Dr600_blit_kms.c590 unsigned pages = num_gpu_pages; local
594 /* not supposed to be called with no pages, but just in case */
597 pages = 0;
598 DRM_ERROR("%s: called with no pages", __func__);
611 if (pages > max_pages)
612 pages = max_pages;
613 w = (pages * RECT_UNIT_W * RECT_UNIT_H) / h;
615 pages = (w * h) / (RECT_UNIT_W * RECT_UNIT_H);
616 KASSERT(pages != 0, ("r600_blit_create_rect: pages
[all...]
/freebsd-10.2-release/sys/vm/
H A Dvm_extern.h105 int vm_thread_new(struct thread *td, int pages);
/freebsd-10.2-release/sys/dev/agp/
H A Dagp_nvidia.c348 int i, pages; local
374 pages = sc->gatt->ag_entries * sizeof(u_int32_t) / PAGE_SIZE;
375 for(i = 0; i < pages; i++)
377 for(i = 0; i < pages; i++)
/freebsd-10.2-release/sys/dev/cxgbe/iw_cxgbe/
H A Dmem.c564 __be64 *pages; local
606 pages = (__be64 *) __get_free_page(GFP_KERNEL);
607 if (!pages) {
618 pages[i++] = cpu_to_be64(sg_dma_address(
621 if (i == PAGE_SIZE / sizeof *pages) {
623 pages,
634 err = write_pbl(&mhp->rhp->rdev, pages,
638 free_page((unsigned long) pages);
/freebsd-10.2-release/sys/dev/drm2/ttm/
H A Dttm_bo_driver.h51 * Bind the backend pages into the aperture in the location
62 * Unbind previously bound backend pages. This function should be
99 * @pages: Array of pages backing the data.
100 * @num_pages: Number of pages in the page array.
104 * @caching_state: The current caching state of the pages.
105 * @state: The current binding state of the pages.
107 * This is a structure holding the pages, caching- and aperture binding
116 struct vm_page **pages; member in struct:ttm_tt
134 * @dma_address: The DMA (bus) addresses of the pages
[all...]
H A Dttm_bo_util.c251 vm_page_t d = ttm->pages[page];
275 vm_page_t s = ttm->pages[page];
502 map->page = ttm->pages[start_page];
518 pmap_page_set_memattr(ttm->pages[start_page +
522 &ttm->pages[start_page], num_pages);
/freebsd-10.2-release/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_mem.c164 int iwch_write_pbl(struct iwch_mr *mhp, __be64 *pages, int npages, int offset) argument
166 return cxio_write_pbl(&mhp->rhp->rdev, pages,
/freebsd-10.2-release/crypto/openssh/contrib/cygwin/
H A DMakefile69 gzip-man-pages:
76 cygwin-postinstall: move-config-files remove-empty-dir install-inetd-config install-doc install-scripts install-copy-id gzip-man-pages
/freebsd-10.2-release/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_zcopy.c423 u64 *pages; local
461 pages = (u64 *) __get_free_page(GFP_KERNEL);
462 if (!pages)
474 pages[n++] = ib_sg_dma_address(dev,
482 fmr = ib_fmr_pool_map_phys(sdp_sk(sk)->sdp_dev->fmr_pool, pages, n, 0);
488 free_page((unsigned long) pages);
496 free_page((unsigned long) pages);
/freebsd-10.2-release/contrib/expat/lib/
H A Dxmltok.c48 #define UCS2_GET_NAMING(pages, hi, lo) \
49 (namingBitmap[(pages[hi] << 3) + ((lo) >> 5)] & (1 << ((lo) & 0x1F)))
53 pages, 3 bits to add to that index and 5 bits to generate the mask.
55 #define UTF8_GET_NAMING2(pages, byte) \
56 (namingBitmap[((pages)[(((byte)[0]) >> 2) & 7] << 3) \
63 into pages, 3 bits to add to that index and 5 bits to generate the
66 #define UTF8_GET_NAMING3(pages, byte) \
67 (namingBitmap[((pages)[((((byte)[0]) & 0xF) << 4) \
74 #define UTF8_GET_NAMING(pages, p, n) \
76 ? UTF8_GET_NAMING2(pages, (cons
[all...]
/freebsd-10.2-release/contrib/subversion/subversion/libsvn_fs_fs/
H A Dcaching.c283 * MEMBUFFER are NULL and pages is non-zero. Sets *CACHE_P to NULL
295 apr_int64_t pages,
324 else if (pages)
327 cache_p, serializer, deserializer, klen, pages,
423 Since we want ~8k pages, that means 512 entries per page. */
292 create_cache(svn_cache__t **cache_p, svn_memcache_t *memcache, svn_membuffer_t *membuffer, apr_int64_t pages, apr_int64_t items_per_page, svn_cache__serialize_func_t serializer, svn_cache__deserialize_func_t deserializer, apr_ssize_t klen, const char *prefix, svn_fs_t *fs, svn_boolean_t no_handler, apr_pool_t *pool) argument
/freebsd-10.2-release/usr.bin/man/
H A Dman.sh541 pages="$*"
901 if [ -z "$pages" ]; then
907 for page in $pages; do
/freebsd-10.2-release/contrib/subversion/subversion/include/private/
H A Dsvn_cache.h190 * The cache stores up to @a pages * @a items_per_page items at a
195 * @a pages and @a items_per_page must be positive (though they both
215 apr_int64_t pages,
/freebsd-10.2-release/tools/tools/sysdoc/
H A Dsysdoc.sh18 # documenting sysctls in code and manual pages since this utility
20 # would kill duplication between manual pages and kernel code as
48 implementation, see the respecting manual pages.
/freebsd-10.2-release/sys/dev/drm2/
H A DdrmP.h425 int page_count; /**< number of pages */
444 int pages; member in struct:drm_agp_mem
471 vm_pindex_t pages; member in struct:drm_sg_mem
1176 extern void drm_free_agp(DRM_AGP_MEM * handle, int pages);
1180 struct page **pages,
1240 void drm_clflush_pages(vm_page_t *pages, unsigned long num_pages);
1395 extern int drm_prime_sg_to_page_addr_arrays(struct sg_table *sgt, vm_page_t *pages,
1397 extern struct sg_table *drm_prime_pages_to_sg(vm_page_t *pages, int nr_pages);
1761 void *drm_agp_allocate_memory(size_t pages, u32 type);

Completed in 218 milliseconds

1234567