Searched refs:PAGE_SIZE (Results 1 - 25 of 50) sorted by relevance

12

/illumos-gate/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)) )
/illumos-gate/usr/src/boot/sys/amd64/include/
H A Dparam.h96 #define NPTEPG (PAGE_SIZE/(sizeof (pt_entry_t)))
98 #define PAGE_SHIFT 12 /* LOG2(PAGE_SIZE) */
99 #define PAGE_SIZE (1<<PAGE_SHIFT) /* bytes/page */ macro
100 #define PAGE_MASK (PAGE_SIZE-1)
102 #define NPDEPG (PAGE_SIZE/(sizeof (pd_entry_t)))
108 #define NPDPEPG (PAGE_SIZE/(sizeof (pdp_entry_t)))
114 #define NPML4EPG (PAGE_SIZE/(sizeof (pml4_entry_t)))
128 #define IOPERM_BITMAP_SIZE (IOPAGES * PAGE_SIZE + 1)
150 #define pgtok(x) ((unsigned long)(x) * (PAGE_SIZE / 1024))
/illumos-gate/usr/src/boot/sys/i386/include/
H A Dparam.h88 #define PAGE_SHIFT 12 /* LOG2(PAGE_SIZE) */
89 #define PAGE_SIZE (1<<PAGE_SHIFT) /* bytes/page */ macro
90 #define PAGE_MASK (PAGE_SIZE-1)
91 #define NPTEPG (PAGE_SIZE/(sizeof (pt_entry_t)))
105 #define NPDEPG (PAGE_SIZE/(sizeof (pd_entry_t)))
163 #define pgtok(x) ((x) * (PAGE_SIZE / 1024))
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dpage.c63 if (bytes >= PAGE_SIZE) {
64 page = kmem_alloc(PAGE_SIZE, gfp);
68 rdsv3_sg_set_page(scat, page, PAGE_SIZE, 0);
H A Dmessage.c309 rm = rdsv3_message_alloc(ceil(total_len, PAGE_SIZE), KM_NOSLEEP);
319 rm->m_nents = ceil(total_len, PAGE_SIZE);
327 PAGE_SIZE, 0);
344 rm = rdsv3_message_alloc(ceil(total_len, PAGE_SIZE), KM_NOSLEEP);
H A Dcong.c160 zp = (unsigned long)kmem_zalloc(PAGE_SIZE, KM_NOSLEEP);
179 kmem_free((void *)map->m_page_addrs[i], PAGE_SIZE);
456 kmem_free((void *)map->m_page_addrs[i], PAGE_SIZE);
/illumos-gate/usr/src/boot/sys/boot/sparc64/loader/
H A Dlocore.S20 #define PAGE_SIZE 8192 define
23 #define STACK_SIZE (2 * PAGE_SIZE)
/illumos-gate/usr/src/uts/common/io/drm/
H A Dati_pcigart.c79 ASSERT(PAGE_SIZE >= ATI_PCIGART_PAGE_SIZE);
85 for (k = 0; k < bulksize / PAGE_SIZE; k++) {
87 dmah->cookie.dmac_address + k * PAGE_SIZE;
91 for (j = 0; j < (PAGE_SIZE / ATI_PCIGART_PAGE_SIZE);
H A Ddrm_cache.c51 for (i = 0; i < PAGE_SIZE; i += x86_clflush_size)
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Delf64_freebsd.c88 bzero(PT4, PAGE_SIZE);
89 bzero(PT3, PAGE_SIZE);
90 bzero(PT2, PAGE_SIZE);
H A Dbootinfo32.c205 addr = roundup(addr, PAGE_SIZE);
212 addr = roundup(addr, PAGE_SIZE);
228 kernend = roundup(addr + size, PAGE_SIZE);
H A Dbootinfo64.c222 addr = roundup(addr, PAGE_SIZE);
243 envp = roundup(addr + size, PAGE_SIZE);
247 kernend = roundup(addr, PAGE_SIZE);
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Dofw_copy.c40 #define PAGE_SIZE 0x1000 macro
83 if ((nlen + resid) < PAGE_SIZE*MAPMEM_PAGE_INC) {
84 dlen = PAGE_SIZE*MAPMEM_PAGE_INC;
86 dlen = roundup(nlen + resid, PAGE_SIZE);
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_test.c114 (void) sprintf(msgbuf, pg_header_msg, PAGE_SIZE(handle) * pageno);
117 for (offset = 0; offset < PAGE_SIZE(handle); offset++) {
153 npages = BANK_SIZE(handle) / PAGE_SIZE(handle);
158 (void) memset((void *)patternbuf1, 0x55, PAGE_SIZE(handle));
159 (void) memset((void *)patternbuf2, 0xaa, PAGE_SIZE(handle));
199 PAGE_SIZE(handle)) != 0) {
237 PAGE_SIZE(handle)) != 0) {
265 PAGE_SIZE(handle)) != 0) {
308 npages = BANK_SIZE(handle) / PAGE_SIZE(handle);
313 (void) memset((void *)patternbuf1, 0x55, PAGE_SIZE(handl
[all...]
H A Dmema_test.h67 #define PAGE_SIZE(H) ((H)->page_size) macro
103 (size_t)PAGE_SIZE(H))
/illumos-gate/usr/src/boot/sys/boot/arm/at91/libat91/
H A Dtag_list.c35 #define PAGE_SIZE 0x1000 macro
56 tagList->u.core.pagesize = PAGE_SIZE;
/illumos-gate/usr/src/boot/sys/sys/
H A Dparam.h146 #define BLKDEV_IOSIZE PAGE_SIZE /* default block device I/O size */
155 #define MAXDUMPPGS (DFLTPHYS/PAGE_SIZE)
160 * MCLBYTES must be no larger than PAGE_SIZE.
172 #if PAGE_SIZE < 2048
174 #elif PAGE_SIZE <= 8192
175 #define MJUMPAGESIZE PAGE_SIZE
245 * backing memory uses a chunk size of a page (PAGE_SIZE).
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/
H A Delf64_freebsd.c107 bzero(PT4, PAGE_SIZE);
108 bzero(PT3, PAGE_SIZE);
109 bzero(PT2, PAGE_SIZE);
H A Dbootinfo32.c184 addr = roundup(addr, PAGE_SIZE);
191 addr = roundup(addr, PAGE_SIZE);
207 kernend = roundup(addr + size, PAGE_SIZE);
H A Dbootinfo64.c223 addr = roundup(addr, PAGE_SIZE);
230 addr = roundup(addr, PAGE_SIZE);
246 kernend = roundup(addr + size, PAGE_SIZE);
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/
H A Dcopy.c46 #define KERN_ALIGN PAGE_SIZE
145 return roundup2(addr, PAGE_SIZE);
/illumos-gate/usr/src/boot/sys/boot/i386/libfirewire/
H A Ddconsole.c60 static char dcons_buffer[DCONS_BUF_SIZE + PAGE_SIZE];
/illumos-gate/usr/src/boot/sys/boot/uboot/common/
H A Dmetadata.c300 addr = roundup(addr, PAGE_SIZE);
307 addr = roundup(addr, PAGE_SIZE);
316 addr += roundup(dtb_size, PAGE_SIZE);
341 kernend = roundup(addr + size, PAGE_SIZE);
/illumos-gate/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);
572 size_t sz = MIN(left, PAGE_SIZE - pageoff);
678 return (PAGE_SIZE * pfn);
680 return (PAGE_SIZE * (xkb->xkb_elf.xe_off[pfn]));
712 (void) munmap(mm->mm_map, PAGE_SIZE);
719 mm->mm_map = mmap(NULL, PAGE_SIZE, PROT_REA
[all...]

Completed in 235 milliseconds

12