Searched defs:gseg (Results 1 - 4 of 4) sorted by relevance

/drivers/misc/sgi-gru/
H A Dgrukdump.c50 void *cb, *cbe, *tfh, *gseg; local
53 gseg = grubase + ctxnum * GRU_GSEG_STRIDE;
54 cb = gseg + GRU_CB_BASE;
70 memcpy(ubuf, gseg + GRU_DS_BASE, dsrcnt * GRU_HANDLE_STRIDE);
H A Dgrulib.h50 /* For getting gseg statistics */
67 unsigned long gseg; member in struct:gru_get_gseg_statistics_req
75 unsigned long gseg; member in struct:gru_create_context_req
87 unsigned long gseg; member in struct:gru_unload_context_req
95 unsigned long gseg; member in struct:gru_set_context_option_req
105 unsigned long gseg; member in struct:gru_flush_tlb_req
H A Dgrumain.c476 static void gru_prefetch_context(void *gseg, void *cb, void *cbe, argument
481 prefetch_data(gseg + GRU_DS_BASE, length / GRU_CACHE_LINE_BYTES,
496 void *gseg, *cb, *cbe; local
500 gseg = grubase + ctxnum * GRU_GSEG_STRIDE;
501 cb = gseg + GRU_CB_BASE;
504 gru_prefetch_context(gseg, cb, cbe, cbrmap, length);
523 memcpy(gseg + GRU_DS_BASE, save, length);
525 memset(gseg + GRU_DS_BASE, 0, length);
531 void *gseg, *cb, *cbe; local
535 gseg
[all...]
H A Dgru_instructions.h699 * Get a pointer to the start of a gseg
700 * p - Any valid pointer within the gseg
709 * gseg - GSeg address returned from gru_get_thread_gru_segment()
712 static inline void *gru_get_cb_pointer(void *gseg, argument
715 return gseg + GRU_CB_BASE + index * GRU_HANDLE_STRIDE;
720 * gseg - GSeg address returned from gru_get_thread_gru_segment()
723 static inline void *gru_get_data_pointer(void *gseg, int index) argument
725 return gseg + GRU_DS_BASE + index * GRU_CACHE_LINE_BYTES;
730 * vaddr - virtual address of within gseg

Completed in 73 milliseconds