GRU_DS_BASE
return gseg + GRU_DS_BASE + index * GRU_CACHE_LINE_BYTES;
return ((unsigned long)vaddr & (GRU_GSEG_PAGESIZE - 1)) - GRU_DS_BASE;
return (void *)(get_gseg_base_address(base, ctxnum) + GRU_DS_BASE +
#define GRU_DS_LIMIT (GRU_DS_BASE + GRU_NUM_DSR_BYTES)
memcpy(ubuf, gseg + GRU_DS_BASE, dsrcnt * GRU_HANDLE_STRIDE);
prefetch_data(gseg + GRU_DS_BASE, length / GRU_CACHE_LINE_BYTES,
memcpy(gseg + GRU_DS_BASE, save, length);
memset(gseg + GRU_DS_BASE, 0, length);
memcpy(save, gseg + GRU_DS_BASE, length);