Searched refs:GRU_GSEG_PAGESIZE (Results 1 – 7 of 7) sorted by relevance
62 #define CONTEXT_WINDOW_BYTES(th) (GRU_GSEG_PAGESIZE * (th))63 #define THREAD_POINTER(p, th) (p + GRU_GSEG_PAGESIZE * (th))64 #define GSEG_START(cb) ((void *)((unsigned long)(cb) & ~(GRU_GSEG_PAGESIZE - 1)))
34 #define GRU_GSEG_PAGESIZE (256 * 1024UL) /* ZZZ 2MB ??? */ macro
48 #define GSEG_BASE(a) ((a) & ~(GRU_GSEG_PAGESIZE - 1))138 return (((unsigned long)cb - GRU_CB_BASE) % GRU_GSEG_PAGESIZE) / in get_cb_number()
385 #define TSID(a, v) (((a) - (v)->vm_start) / GRU_GSEG_PAGESIZE)387 (gts)->ts_tsid * GRU_GSEG_PAGESIZE)
100 if (vma->vm_start & (GRU_GSEG_PAGESIZE - 1) || in gru_file_mmap()101 vma->vm_end & (GRU_GSEG_PAGESIZE - 1)) in gru_file_mmap()
694 return (void *)((unsigned long)p & ~(GRU_GSEG_PAGESIZE - 1)); in gru_get_gseg_pointer()724 return ((unsigned long)vaddr & (GRU_GSEG_PAGESIZE - 1)) - GRU_DS_BASE; in gru_get_tri()
545 zap_vma_ptes(gts->ts_vma, UGRUADDR(gts), GRU_GSEG_PAGESIZE); in gru_unload_context()960 remap_pfn_range(vma, vaddr & ~(GRU_GSEG_PAGESIZE - 1), in gru_fault()961 paddr >> PAGE_SHIFT, GRU_GSEG_PAGESIZE, in gru_fault()