Home
last modified time | relevance | path

Searched refs:PAGE_SIZE (Results 1 – 25 of 27) sorted by relevance

12

/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/fw/
H A Deth_constants.h12 #define NUM_OF_ETH_BDS_IN_PAGE ((PAGE_SIZE)/(STRUCT_SIZE(eth_tx_bd)/8))
23 #define U_ETH_SGES_PER_PAGE_INVERSE_MASK (0xFFFF - ((PAGE_SIZE/((STRUCT_SIZE(eth_rx_sge))/8))-1))
25 #define TU_ETH_CQES_PER_PAGE (PAGE_SIZE/(STRUCT_SIZE(eth_rx_cqe)/8))
26 #define U_ETH_BDS_PER_PAGE (PAGE_SIZE/(STRUCT_SIZE(eth_rx_bd)/8))
27 #define U_ETH_SGES_PER_PAGE (PAGE_SIZE/(STRUCT_SIZE(eth_rx_sge)/8))
H A Dmicrocode_constants.h74 #define C_ERES_PER_PAGE ( PAGE_SIZE / BITS_TO_BYTES(STRUCT_SIZE(event_ring_elem)) )
/titanic_41/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_test.c114 (void) sprintf(msgbuf, pg_header_msg, PAGE_SIZE(handle) * pageno); in error_print()
117 for (offset = 0; offset < PAGE_SIZE(handle); offset++) { in error_print()
153 npages = BANK_SIZE(handle) / PAGE_SIZE(handle); in memory_test_normal()
158 (void) memset((void *)patternbuf1, 0x55, PAGE_SIZE(handle)); in memory_test_normal()
159 (void) memset((void *)patternbuf2, 0xaa, PAGE_SIZE(handle)); in memory_test_normal()
199 PAGE_SIZE(handle)) != 0) { in memory_test_normal()
237 PAGE_SIZE(handle)) != 0) { in memory_test_normal()
265 PAGE_SIZE(handle)) != 0) { in memory_test_normal()
308 npages = BANK_SIZE(handle) / PAGE_SIZE(handle); in memory_test_quick()
313 (void) memset((void *)patternbuf1, 0x55, PAGE_SIZE(handle)); in memory_test_quick()
[all …]
H A Dmema_test.h67 #define PAGE_SIZE(H) ((H)->page_size) macro
103 (size_t)PAGE_SIZE(H))
/titanic_41/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dpage.c63 if (bytes >= PAGE_SIZE) { in rdsv3_page_remainder_alloc()
64 page = kmem_alloc(PAGE_SIZE, gfp); in rdsv3_page_remainder_alloc()
68 rdsv3_sg_set_page(scat, page, PAGE_SIZE, 0); in rdsv3_page_remainder_alloc()
H A Dmessage.c309 rm = rdsv3_message_alloc(ceil(total_len, PAGE_SIZE), KM_NOSLEEP); in rdsv3_message_map_pages()
319 rm->m_nents = ceil(total_len, PAGE_SIZE); in rdsv3_message_map_pages()
327 PAGE_SIZE, 0); in rdsv3_message_map_pages()
344 rm = rdsv3_message_alloc(ceil(total_len, PAGE_SIZE), KM_NOSLEEP); in rdsv3_message_copy_from_user()
H A Dcong.c160 zp = (unsigned long)kmem_zalloc(PAGE_SIZE, KM_NOSLEEP); in rdsv3_cong_from_addr()
179 kmem_free((void *)map->m_page_addrs[i], PAGE_SIZE); in rdsv3_cong_from_addr()
456 kmem_free((void *)map->m_page_addrs[i], PAGE_SIZE); in rdsv3_cong_exit()
H A Drdsv3_impl.c969 frag->f_page = kmem_alloc(PAGE_SIZE, kmflags); in rdsv3_ib_frag_constructor()
972 "kmem_alloc for %d failed", PAGE_SIZE); in rdsv3_ib_frag_constructor()
986 iov_arr[0].iov_len = PAGE_SIZE; in rdsv3_ib_frag_constructor()
995 kmem_free(frag->f_page, PAGE_SIZE); in rdsv3_ib_frag_constructor()
1016 kmem_free(frag->f_page, PAGE_SIZE); in rdsv3_ib_frag_destructor()
H A Dib_recv.c628 to_copy = min(RDSV3_FRAG_SIZE - frag_off, PAGE_SIZE - map_off); in rdsv3_ib_cong_recv()
651 if (map_off == PAGE_SIZE) { in rdsv3_ib_cong_recv()
/titanic_41/usr/src/uts/common/io/drm/
H A Dati_pcigart.c79 ASSERT(PAGE_SIZE >= ATI_PCIGART_PAGE_SIZE); in drm_ati_pcigart_init()
85 for (k = 0; k < bulksize / PAGE_SIZE; k++) { in drm_ati_pcigart_init()
87 dmah->cookie.dmac_address + k * PAGE_SIZE; in drm_ati_pcigart_init()
91 for (j = 0; j < (PAGE_SIZE / ATI_PCIGART_PAGE_SIZE); in drm_ati_pcigart_init()
H A Ddrm_cache.c51 for (i = 0; i < PAGE_SIZE; i += x86_clflush_size) in drm_clflush_page()
H A Ddrm_bufs.c46 #define PAGE_MASK (PAGE_SIZE-1)
467 byte_count += PAGE_SIZE << page_order; in drm_do_addbufs_agp()
568 byte_count += PAGE_SIZE << page_order; in drm_do_addbufs_sg()
H A DdrmP.h88 #define PAGE_SIZE DRM_PAGE_SIZE macro
125 #define DRM_MAX_CTXBITMAP (PAGE_SIZE * 8)
/titanic_41/usr/src/cmd/mdb/intel/modules/mdb_kb/
H A Dmdb_kb.c93 #define PAGE_SIZE 0x1000 macro
95 #define PAGE_OFFSET(a) ((a) & (PAGE_SIZE - 1))
96 #define PAGE_MASK(a) ((a) & ~(PAGE_SIZE - 1))
97 #define PAGE_ALIGNED(a) (((a) & (PAGE_SIZE -1)) == 0)
394 size = (sizeof (mfn_t) * count) + (PAGE_SIZE * 2); in xkb_map_p2m()
572 size_t sz = MIN(left, PAGE_SIZE - pageoff); in xkb_read_helper()
678 return (PAGE_SIZE * pfn); in xkb_pfn_to_off()
680 return (PAGE_SIZE * (xkb->xkb_elf.xe_off[pfn])); in xkb_pfn_to_off()
712 (void) munmap(mm->mm_map, PAGE_SIZE); in xkb_map_mfn()
719 mm->mm_map = mmap(NULL, PAGE_SIZE, PROT_READ, MAP_SHARED, in xkb_map_mfn()
[all …]
/titanic_41/usr/src/uts/intel/io/drm/
H A Di915_gem.c96 ((args.gtt_start & (PAGE_SIZE - 1)) != 0) || in i915_gem_init_ioctl()
97 ((args.gtt_end & (PAGE_SIZE - 1)) != 0)) { in i915_gem_init_ioctl()
161 args.size = (uint64_t) roundup(args.size, PAGE_SIZE); in i915_gem_create_ioctl()
1092 (void) drm_agp_unbind_pages(dev, obj->size / PAGE_SIZE, in i915_gem_object_unbind()
1229 alignment = PAGE_SIZE; in i915_gem_object_bind_to_gtt()
1230 if (alignment & (PAGE_SIZE - 1)) { in i915_gem_object_bind_to_gtt()
1277 page_count = obj->size / PAGE_SIZE; in i915_gem_object_bind_to_gtt()
1320 drm_clflush_pages(obj_priv->page_list, obj->size / PAGE_SIZE); in i915_gem_clflush_object()
1652 for (i = 0; i <= (obj->size - 1) / PAGE_SIZE; i++) { in i915_gem_object_set_to_full_cpu_read_domain()
1663 drm_free(obj_priv->page_cpu_valid, obj->size / PAGE_SIZE, in i915_gem_object_set_to_full_cpu_read_domain()
[all …]
H A Di915_gem_tiling.c204 return (size + PAGE_SIZE-1) & ~(PAGE_SIZE-1); in i915_get_fence_size()
H A Di915_dma.c89 dmah = drm_pci_alloc(dev, PAGE_SIZE, PAGE_SIZE, 0xffffffff,1); in i915_init_hardware_status()
100 (void) memset(dev_priv->hw_status_page, 0, PAGE_SIZE); in i915_init_hardware_status()
898 (void) memset(dev_priv->hw_status_page, 0, PAGE_SIZE); in i915_set_status_page()
/titanic_41/usr/src/uts/common/io/cxgbe/t4nex/
H A Dosdep.h170 #define PAGE_SIZE 8192 macro
175 #define PAGE_SIZE 4096 macro
/titanic_41/usr/src/uts/common/sys/ib/clients/rdsv3/
H A Drdsv3.h84 #define RDSV3_CONG_MAP_PAGES (RDSV3_CONG_MAP_BYTES / PAGE_SIZE)
85 #define RDSV3_CONG_MAP_PAGE_BITS (PAGE_SIZE * 8)
H A Dib.h44 (((PAGE_SIZE / RDSV3_FRAG_SIZE) - 1) * RDSV3_FRAG_SIZE)
H A Drdsv3_impl.h125 #define PAGE_SIZE 4096 /* xxx - fix this */ macro
/titanic_41/usr/src/uts/sun4v/ml/
H A Dmach_offsets.in237 page PAGE_SIZE
/titanic_41/usr/src/uts/sun4u/ml/
H A Dmach_offsets.in203 page PAGE_SIZE
/titanic_41/usr/src/lib/libast/common/comp/
H A Dconf.tab350 PAGESIZE POSIX SC 1 MU PAGESIZE PAGE_SIZE 4096 cc{
369 PAGE_SIZE POSIX SC 1 MU _AST_PAGESIZE
/titanic_41/usr/src/uts/sun4u/cpu/
H A Dcommon_asm.s1247 #if STRIDE1 != (PAGE_SIZE * 4)
1281 #if STRIDE1 != PAGE_SIZE

12