/titanic_41/usr/src/uts/sun4u/starfire/os/ |
H A D | cpu_sgnblk.c | 71 pgcnt_t num_pages; in cpu_sgn_mapin() local 110 num_pages = mmu_btopr(((cpu_sgnblk_physaddr & in cpu_sgn_mapin() 116 cvaddr = vmem_alloc(heap_arena, ptob(num_pages), VM_SLEEP); in cpu_sgn_mapin() 118 hat_devload(kas.a_hat, cvaddr, ptob(num_pages), in cpu_sgn_mapin() 128 ulong_t cvaddr, num_pages; in cpu_sgn_mapout() local 172 num_pages = mmu_btopr(((uint_t)(cpu_sgnblk_physaddr & in cpu_sgn_mapout() 175 hat_unload(kas.a_hat, (caddr_t)cvaddr, ptob(num_pages), in cpu_sgn_mapout() 177 vmem_free(heap_arena, (caddr_t)cvaddr, ptob(num_pages)); in cpu_sgn_mapout()
|
H A D | pda.c | 547 uint_t num_pages; in cpu_p2o_mapin() local 574 num_pages = mmu_btopr(cpu_p2o_offset + sizeof (post2obp_info_t)); in cpu_p2o_mapin() 579 cvaddr = vmem_alloc(heap_arena, ptob(num_pages), VM_SLEEP); in cpu_p2o_mapin() 581 hat_devload(kas.a_hat, cvaddr, ptob(num_pages), in cpu_p2o_mapin() 590 ulong_t cvaddr, num_pages; in cpu_p2o_mapout() local 608 num_pages = mmu_btopr(cpu_p2o_offset + sizeof (post2obp_info_t)); in cpu_p2o_mapout() 619 hat_unload(kas.a_hat, (caddr_t)cvaddr, ptob(num_pages), in cpu_p2o_mapout() 621 vmem_free(heap_arena, (caddr_t)cvaddr, ptob(num_pages)); in cpu_p2o_mapout()
|
/titanic_41/usr/src/uts/common/io/drm/ |
H A D | drm_cache.c | 57 drm_clflush_pages(caddr_t *pages, unsigned long num_pages) in drm_clflush_pages() argument 63 for (i = 0; i < num_pages; i++) in drm_clflush_pages()
|
H A D | drm_agpsupport.c | 510 unsigned long num_pages, in drm_agp_bind_pages() argument 518 bind.agpb_pgcount = num_pages; in drm_agp_bind_pages() 531 unsigned long num_pages, in drm_agp_unbind_pages() argument 540 unbind.agpb_pgcount = num_pages; in drm_agp_unbind_pages()
|
H A D | drmP.h | 934 unsigned long num_pages, 937 unsigned long num_pages, 960 void drm_clflush_pages(caddr_t *pages, unsigned long num_pages);
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_queue.c | 107 fwcmd->params.req.num_pages = eq->ring->dbuf->num_pages; in oce_eq_create() 109 eq->ring->dbuf->num_pages); in oce_eq_create() 249 fwcmd->params.req.num_pages = cq->ring->dbuf->num_pages; in oce_cq_create() 251 cq->ring->dbuf->num_pages); in oce_cq_create() 371 fwcmd->params.req.num_pages = mq->ring->dbuf->num_pages; in oce_mq_create() 373 mq->ring->dbuf->num_pages); in oce_mq_create() 606 fwcmd->params.req.num_pages = wq->ring->dbuf->num_pages; in oce_wq_create() 608 (uint32_t)wq->ring->dbuf->num_pages, in oce_wq_create() 620 wq->ring->dbuf->num_pages); in oce_wq_create() 846 fwcmd->params.req.num_pages = rq->ring->dbuf->num_pages; in oce_rq_create() [all …]
|
H A D | oce_buf.c | 116 dbuf->num_pages = OCE_NUM_PAGES(size); in oce_alloc_dma_buffer()
|
/titanic_41/usr/src/uts/i86pc/io/pci/ |
H A D | pci_tools.c | 86 static uint64_t pcitool_map(uint64_t phys_addr, size_t size, size_t *num_pages); 87 static void pcitool_unmap(uint64_t virt_addr, size_t num_pages); 855 pcitool_map(uint64_t phys_addr, size_t size, size_t *num_pages) in pcitool_map() argument 868 *num_pages = 1; in pcitool_map() 879 (*num_pages)++; in pcitool_map() 883 virt_base = vmem_alloc(heap_arena, ptob(*num_pages), VM_NOSLEEP); in pcitool_map() 905 hat_devload(kas.a_hat, virt_base, mmu_ptob(*num_pages), pfn, in pcitool_map() 920 pcitool_unmap(uint64_t virt_addr, size_t num_pages) in pcitool_unmap() argument 924 hat_unload(kas.a_hat, base_virt_addr, ptob(num_pages), in pcitool_unmap() 926 vmem_free(heap_arena, base_virt_addr, ptob(num_pages)); in pcitool_unmap()
|
/titanic_41/usr/src/uts/sun4u/starfire/cvc/ |
H A D | cvc.c | 1137 uint_t num_pages; in cvc_iobuf_mapin() local 1158 num_pages = mmu_btopr(((uint_t)(cvc_iobuf_physaddr in cvc_iobuf_mapin() 1164 cvaddr = vmem_alloc(heap_arena, ptob(num_pages), VM_SLEEP); in cvc_iobuf_mapin() 1166 hat_devload(kas.a_hat, cvaddr, mmu_ptob(num_pages), pfn, in cvc_iobuf_mapin() 1182 size_t num_pages; in cvc_iobuf_mapout() local 1190 num_pages = mmu_btopr(((size_t)((uint64_t)cvaddr & MMU_PAGEOFFSET) + in cvc_iobuf_mapout() 1196 hat_unload(kas.a_hat, cvaddr, mmu_ptob(num_pages), HAT_UNLOAD_UNLOCK); in cvc_iobuf_mapout() 1197 vmem_free(heap_arena, cvaddr, ptob(num_pages)); in cvc_iobuf_mapout()
|
/titanic_41/usr/src/uts/i86xpv/os/ |
H A D | balloon.c | 204 pgcnt_t metapgs, totalpgs, num_pages; in balloon_init_new_pages() local 249 num_pages = (metasz - MEM_STRUCT_SIZE) / sizeof (page_t); in balloon_init_new_pages() 252 num_pages, pgcnt_t, metapgs); in balloon_init_new_pages() 308 for (i = metapgs; i < num_pages; i++) { in balloon_init_new_pages() 334 mem->memseg.epages = &page_array[num_pages - 1]; in balloon_init_new_pages() 352 memlist_add(pfn_to_pa(meta_start), num_pages, &mem->memlist, in balloon_init_new_pages()
|
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/oce/ |
H A D | oce_hw_eth.h | 349 uint8_t num_pages; member 367 uint8_t num_pages; 430 uint8_t num_pages; member 437 uint8_t num_pages;
|
H A D | oce_hw.h | 974 uint16_t num_pages; member 976 uint16_t num_pages; 1072 uint16_t num_pages; member 1074 uint16_t num_pages; 1164 uint16_t num_pages; member 1166 uint16_t num_pages;
|
H A D | oce_buf.h | 71 uint32_t num_pages; member
|
/titanic_41/usr/src/uts/common/vm/ |
H A D | vm_page.c | 6225 uint_t num_pages[PC_NUM_PRI]; member 6302 num_pages[bp2->pri]--; in page_capture_unregister_callback() 6358 page_capture_hash[index].num_pages[bp->pri]--; in page_capture_move_to_walked() 6360 page_capture_hash[index].num_pages[bp->pri]++; in page_capture_move_to_walked() 6457 page_capture_hash[index].num_pages[pri]++; in page_capture_add_hash() 6786 num_pages[bp1->pri]--; in page_capture_take_action() 6869 page_capture_hash[index].num_pages[bp1->pri]++; in page_capture_take_action() 6899 page_capture_hash[index].num_pages[bp2->pri]--; in page_capture_take_action() 6901 page_capture_hash[index].num_pages[bp2->pri]++; in page_capture_take_action() 7136 if (page_capture_hash[i].num_pages[pri] != 0) { in page_retire_mdboot() [all …]
|
/titanic_41/usr/src/lib/storage/liba5k/common/ |
H A D | mon.c | 2379 ushort_t num_pages; in l_get_envsen() local 2407 num_pages = hdr->page_len - 1; in l_get_envsen() 2420 if (num_pages < 1 || num_pages >= L_MAX_POSSIBLE_PAGES) { in l_get_envsen() 2429 num_pages >= L_MAX_SENAIB_PAGES) { in l_get_envsen() 2441 for (; num_pages--; page_list_ptr++) { in l_get_envsen() 2976 int num_pages, i, size, err; in l_get_ib_status() local 3011 num_pages = l_state->ib_tbl.p0.page_len; in l_get_ib_status() 3014 for (i = 1; i < num_pages; i++) { in l_get_ib_status() 3040 "from the IB.\n", num_pages); in l_get_ib_status()
|
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_mbox.h | 4101 uint16_t num_pages; member 4104 uint16_t num_pages; member 4149 uint16_t num_pages; member 4152 uint16_t num_pages; member 4394 uint16_t num_pages; member 4399 uint16_t num_pages; member
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_hw_init_reset.c | 2774 u32_t num_pages[PXP2_NUM_TABLES]; in init_pxp2_func() local 2786 num_pages[0] = pdev->vars.context_cdu_num_pages; in init_pxp2_func() 2787 num_pages[1] = pdev->vars.timers_linear_num_pages; in init_pxp2_func() 2788 num_pages[2] = pdev->vars.qm_queues_num_pages; in init_pxp2_func() 2789 num_pages[3] = pdev->vars.searcher_t1_num_pages; in init_pxp2_func() 2798 for (i=0; i<num_pages[k]; temp++, i++) in init_pxp2_func()
|
/titanic_41/usr/src/uts/intel/io/agpgart/ |
H A D | agpgart.c | 2235 int num_pages; in alloc_gart_table() local 2241 num_pages = AGP_MB2PAGES(st->asoft_info.agpki_apersize); in alloc_gart_table() 2251 table_size = num_pages * (sizeof (uint32_t)); in alloc_gart_table()
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_mbox.c | 979 qp->params.request.num_pages = 1; in emlxs_mb_mq_create_ext() 1008 qp1->params.request.num_pages = 1; in emlxs_mb_mq_create_ext()
|
H A D | emlxs_sli4.c | 8294 uint16_t num_pages; in emlxs_sli4_post_hdr_tmplates() local 8304 num_pages = (j/4096) + ((j%4096)? 1:0); in emlxs_sli4_post_hdr_tmplates() 8334 post_hdr->params.request.num_pages = num_pages; in emlxs_sli4_post_hdr_tmplates() 8337 for (k = 0; k < num_pages; k++) { in emlxs_sli4_post_hdr_tmplates()
|