Home
last modified time | relevance | path

Searched refs:pgmask (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/lib/libsmbios/common/
H A Dsmb_lib.c112 size_t elen, pgsize, pgmask, pgoff; in smb_biosopen() local
175 pgmask = ~(pgsize - 1); in smb_biosopen()
176 pgoff = smbe_staddr & ~pgmask; in smb_biosopen()
179 PROT_READ, MAP_SHARED, fd, smbe_staddr & pgmask); in smb_biosopen()
/titanic_41/usr/src/uts/intel/io/dnet/
H A Ddnet.h388 int pgmask; member
H A Ddnet.c1781 if ((desc[index].buffer1 & ~dnetp->pgmask) != in dnet_getp()
1782 (end_paddr & ~dnetp->pgmask)) { in dnet_getp()
1784 desc[index].buffer2 = end_paddr&~dnetp->pgmask; in dnet_getp()
1786 (end_paddr & dnetp->pgmask) + 1; in dnet_getp()
2188 dnetp->pgmask = page_size - 1; in dnet_alloc_bufs()
2417 if ((dnetp->rx_desc[i].buffer1 & ~dnetp->pgmask) != in dnet_init_txrx_bufs()
2418 (end_paddr & ~dnetp->pgmask)) { in dnet_init_txrx_bufs()
2420 dnetp->rx_desc[i].buffer2 = end_paddr&~dnetp->pgmask; in dnet_init_txrx_bufs()
2422 (end_paddr & dnetp->pgmask) + 1; in dnet_init_txrx_bufs()
/titanic_41/usr/src/uts/sfmmu/vm/
H A Dhat_sfmmu.c6645 pfn_t pgmask = btop(page_get_pagesize(pp->p_szc)) - 1; in hat_pageprocess_postcallbacks() local
6686 newpfn = pgpfn | (btop((uintptr_t)pahmep->addr) & pgmask); in hat_pageprocess_postcallbacks()