Lines Matching refs:cch
36 struct gru_context_configuration_handle *cch, in gru_dump_context_data() argument
48 for_each_cbr_in_allocation_map(i, &cch->cbr_allocation_map, scr) { in gru_dump_context_data()
113 struct gru_context_configuration_handle *cch, *ubufcch; in gru_dump_context() local
120 cch = get_cch(grubase, ctxnum); in gru_dump_context()
122 cch_locked = trylock_cch_handle(cch); in gru_dump_context()
130 if (gru_user_copy_handle(&ubuf, cch)) { in gru_dump_context()
132 unlock_cch_handle(cch); in gru_dump_context()
145 if (cch->state != CCHSTATE_INACTIVE) { in gru_dump_context()
146 cbrcnt = hweight64(cch->cbr_allocation_map) * in gru_dump_context()
148 dsrcnt = data_opt ? hweight32(cch->dsr_allocation_map) * in gru_dump_context()
155 ret = gru_dump_context_data(grubase, cch, ubuf, ctxnum, in gru_dump_context()
159 unlock_cch_handle(cch); in gru_dump_context()