Searched refs:pgmask (Results 1 – 4 of 4) sorted by relevance
112 size_t elen, pgsize, pgmask, pgoff; in smb_biosopen() local175 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()
388 int pgmask; member
1781 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()
6645 pfn_t pgmask = btop(page_get_pagesize(pp->p_szc)) - 1; in hat_pageprocess_postcallbacks() local6686 newpfn = pgpfn | (btop((uintptr_t)pahmep->addr) & pgmask); in hat_pageprocess_postcallbacks()