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()
125 struct gru_context_configuration_handle *cch, *ubufcch; in gru_dump_context() local
132 cch = get_cch(grubase, ctxnum); in gru_dump_context()
134 cch_locked = trylock_cch_handle(cch); in gru_dump_context()
142 if (gru_user_copy_handle(&ubuf, cch)) { in gru_dump_context()
144 unlock_cch_handle(cch); in gru_dump_context()
157 if (cch->state != CCHSTATE_INACTIVE) { in gru_dump_context()
158 cbrcnt = hweight64(cch->cbr_allocation_map) * in gru_dump_context()
160 dsrcnt = data_opt ? hweight32(cch->dsr_allocation_map) * in gru_dump_context()
167 ret = gru_dump_context_data(grubase, cch, ubuf, ctxnum, in gru_dump_context()
171 unlock_cch_handle(cch); in gru_dump_context()