Lines Matching refs:chunk
118 * to the placement of the data chunk in memory, and a further
183 void *chunk;
195 chunk = fit_chunk(&start, end, sizeof(struct itcw), 1, 0);
196 if (IS_ERR(chunk))
197 return chunk;
198 itcw = chunk;
211 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0);
212 if (IS_ERR(chunk))
213 return chunk;
214 itcw->tcw = chunk;
219 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0);
220 if (IS_ERR(chunk))
221 return chunk;
222 itcw->intrg_tcw = chunk;
228 chunk = fit_chunk(&start, end, sizeof(struct tidaw) *
230 if (IS_ERR(chunk))
231 return chunk;
232 tcw_set_data(itcw->tcw, chunk, 1);
236 chunk = fit_chunk(&start, end, sizeof(struct tidaw) *
238 if (IS_ERR(chunk))
239 return chunk;
240 tcw_set_data(itcw->intrg_tcw, chunk, 1);
243 chunk = fit_chunk(&start, end, sizeof(struct tsb), 8, 0);
244 if (IS_ERR(chunk))
245 return chunk;
246 tsb_init(chunk);
247 tcw_set_tsb(itcw->tcw, chunk);
250 chunk = fit_chunk(&start, end, sizeof(struct tsb), 8, 0);
251 if (IS_ERR(chunk))
252 return chunk;
253 tsb_init(chunk);
254 tcw_set_tsb(itcw->intrg_tcw, chunk);
257 chunk = fit_chunk(&start, end, TCCB_MAX_SIZE, 8, 0);
258 if (IS_ERR(chunk))
259 return chunk;
260 tccb_init(chunk, TCCB_MAX_SIZE, TCCB_SAC_DEFAULT);
261 tcw_set_tccb(itcw->tcw, chunk);
264 chunk = fit_chunk(&start, end, TCCB_MAX_SIZE, 8, 0);
265 if (IS_ERR(chunk))
266 return chunk;
267 tccb_init(chunk, TCCB_MAX_SIZE, TCCB_SAC_INTRG);
268 tcw_set_tccb(itcw->intrg_tcw, chunk);
269 tccb_add_dcw(chunk, TCCB_MAX_SIZE, DCW_CMD_INTRG, 0, NULL,