Lines Matching defs:res
136 s32 res = tcm == NULL ? -ENODEV :
142 if (!res) {
144 res = tcm->reserve_2d(tcm, height, width, align, offset,
146 area->tcm = res ? NULL : tcm;
149 return res;
169 s32 res = tcm == NULL ? -ENODEV :
173 if (!res) {
175 res = tcm->reserve_1d(tcm, slots, area);
176 area->tcm = res ? NULL : tcm;
179 return res;
197 s32 res = 0; /* free succeeds by default */
200 res = area->tcm->free(area->tcm, area);
201 if (res == 0)
205 return res;