Lines Matching refs:cch
46 struct gru_context_configuration_handle *cch, in gru_dump_context_data() argument
58 for_each_cbr_in_allocation_map(i, &cch->cbr_allocation_map, scr) { in gru_dump_context_data()
123 struct gru_context_configuration_handle *cch, *ubufcch; in gru_dump_context() local
130 cch = get_cch(grubase, ctxnum); in gru_dump_context()
132 cch_locked = trylock_cch_handle(cch); in gru_dump_context()
140 if (gru_user_copy_handle(&ubuf, cch)) { in gru_dump_context()
142 unlock_cch_handle(cch); in gru_dump_context()
155 if (cch->state != CCHSTATE_INACTIVE) { in gru_dump_context()
156 cbrcnt = hweight64(cch->cbr_allocation_map) * in gru_dump_context()
158 dsrcnt = data_opt ? hweight32(cch->dsr_allocation_map) * in gru_dump_context()
165 ret = gru_dump_context_data(grubase, cch, ubuf, ctxnum, in gru_dump_context()
169 unlock_cch_handle(cch); in gru_dump_context()