Searched refs:GRU_GSEG_PAGESIZE (Results 1 - 7 of 7) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/misc/sgi-gru/
H A Dgru.h34 #define GRU_GSEG_PAGESIZE (256 * 1024UL) macro
36 #define GRU_GSEG_PAGESIZE (256 * 1024UL) /* ZZZ 2MB ??? */ macro
H A Dgrulib.h62 #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)))
H A Dgruhandles.h61 #define GSEG_BASE(a) ((a) & ~(GRU_GSEG_PAGESIZE - 1))
151 return (((unsigned long)cb - GRU_CB_BASE) % GRU_GSEG_PAGESIZE) /
H A Dgrufile.c107 if (vma->vm_start & (GRU_GSEG_PAGESIZE - 1) ||
108 vma->vm_end & (GRU_GSEG_PAGESIZE - 1))
H A Dgrutables.h398 #define TSID(a, v) (((a) - (v)->vm_start) / GRU_GSEG_PAGESIZE)
400 (gts)->ts_tsid * GRU_GSEG_PAGESIZE)
H A Dgru_instructions.h703 return (void *)((unsigned long)p & ~(GRU_GSEG_PAGESIZE - 1));
733 return ((unsigned long)vaddr & (GRU_GSEG_PAGESIZE - 1)) - GRU_DS_BASE;
H A Dgrumain.c561 zap_vma_ptes(gts->ts_vma, UGRUADDR(gts), GRU_GSEG_PAGESIZE);
926 * Note: gru segments alway mmaped on GRU_GSEG_PAGESIZE boundaries.
962 remap_pfn_range(vma, vaddr & ~(GRU_GSEG_PAGESIZE - 1),
963 paddr >> PAGE_SHIFT, GRU_GSEG_PAGESIZE,

Completed in 121 milliseconds