Lines Matching refs:base
101 static inline void *get_gseg_base_address(void *base, int ctxnum)
103 return (void *)(base + GRU_GSEG0_BASE + GRU_GSEG_STRIDE * ctxnum);
106 static inline void *get_gseg_base_address_cb(void *base, int ctxnum, int line)
108 return (void *)(get_gseg_base_address(base, ctxnum) +
112 static inline void *get_gseg_base_address_ds(void *base, int ctxnum, int line)
114 return (void *)(get_gseg_base_address(base, ctxnum) + GRU_DS_BASE +
118 static inline struct gru_tlb_fault_map *get_tfm(void *base, int ctxnum)
120 return (struct gru_tlb_fault_map *)(base + GRU_TFM_BASE +
124 static inline struct gru_tlb_global_handle *get_tgh(void *base, int ctxnum)
126 return (struct gru_tlb_global_handle *)(base + GRU_TGH_BASE +
130 static inline struct gru_control_block_extended *get_cbe(void *base, int ctxnum)
132 return (struct gru_control_block_extended *)(base + GRU_CBE_BASE +
136 static inline struct gru_tlb_fault_handle *get_tfh(void *base, int ctxnum)
138 return (struct gru_tlb_fault_handle *)(base + GRU_TFH_BASE +
142 static inline struct gru_context_configuration_handle *get_cch(void *base,
145 return (struct gru_context_configuration_handle *)(base +