Lines Matching defs:ctxnum
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)
121 ctxnum * GRU_HANDLE_STRIDE);
124 static inline struct gru_tlb_global_handle *get_tgh(void *base, int ctxnum)
127 ctxnum * GRU_HANDLE_STRIDE);
130 static inline struct gru_control_block_extended *get_cbe(void *base, int ctxnum)
133 ctxnum * GRU_HANDLE_STRIDE);
136 static inline struct gru_tlb_fault_handle *get_tfh(void *base, int ctxnum)
139 ctxnum * GRU_HANDLE_STRIDE);
143 int ctxnum)
146 GRU_CCH_BASE + ctxnum * GRU_HANDLE_STRIDE);
290 unsigned int ctxnum:4;