Lines Matching refs:ctxnum
88 static inline void *get_gseg_base_address(void *base, int ctxnum) in get_gseg_base_address() argument
90 return (void *)(base + GRU_GSEG0_BASE + GRU_GSEG_STRIDE * ctxnum); in get_gseg_base_address()
93 static inline void *get_gseg_base_address_cb(void *base, int ctxnum, int line) in get_gseg_base_address_cb() argument
95 return (void *)(get_gseg_base_address(base, ctxnum) + in get_gseg_base_address_cb()
99 static inline void *get_gseg_base_address_ds(void *base, int ctxnum, int line) in get_gseg_base_address_ds() argument
101 return (void *)(get_gseg_base_address(base, ctxnum) + GRU_DS_BASE + in get_gseg_base_address_ds()
105 static inline struct gru_tlb_fault_map *get_tfm(void *base, int ctxnum) in get_tfm() argument
108 ctxnum * GRU_HANDLE_STRIDE); in get_tfm()
111 static inline struct gru_tlb_global_handle *get_tgh(void *base, int ctxnum) in get_tgh() argument
114 ctxnum * GRU_HANDLE_STRIDE); in get_tgh()
117 static inline struct gru_control_block_extended *get_cbe(void *base, int ctxnum) in get_cbe() argument
120 ctxnum * GRU_HANDLE_STRIDE); in get_cbe()
123 static inline struct gru_tlb_fault_handle *get_tfh(void *base, int ctxnum) in get_tfh() argument
126 ctxnum * GRU_HANDLE_STRIDE); in get_tfh()
130 int ctxnum) in get_cch() argument
133 GRU_CCH_BASE + ctxnum * GRU_HANDLE_STRIDE); in get_cch()
277 unsigned int ctxnum:4; member