Lines Matching refs:chunk
117 * to the placement of the data chunk in memory, and a further
182 void *chunk;
194 chunk = fit_chunk(&start, end, sizeof(struct itcw), 1, 0);
195 if (IS_ERR(chunk))
196 return chunk;
197 itcw = chunk;
210 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0);
211 if (IS_ERR(chunk))
212 return chunk;
213 itcw->tcw = chunk;
218 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0);
219 if (IS_ERR(chunk))
220 return chunk;
221 itcw->intrg_tcw = chunk;
227 chunk = fit_chunk(&start, end, sizeof(struct tidaw) *
229 if (IS_ERR(chunk))
230 return chunk;
231 tcw_set_data(itcw->tcw, chunk, 1);
235 chunk = fit_chunk(&start, end, sizeof(struct tidaw) *
237 if (IS_ERR(chunk))
238 return chunk;
239 tcw_set_data(itcw->intrg_tcw, chunk, 1);
242 chunk = fit_chunk(&start, end, sizeof(struct tsb), 8, 0);
243 if (IS_ERR(chunk))
244 return chunk;
245 tsb_init(chunk);
246 tcw_set_tsb(itcw->tcw, chunk);
249 chunk = fit_chunk(&start, end, sizeof(struct tsb), 8, 0);
250 if (IS_ERR(chunk))
251 return chunk;
252 tsb_init(chunk);
253 tcw_set_tsb(itcw->intrg_tcw, chunk);
256 chunk = fit_chunk(&start, end, TCCB_MAX_SIZE, 8, 0);
257 if (IS_ERR(chunk))
258 return chunk;
259 tccb_init(chunk, TCCB_MAX_SIZE, TCCB_SAC_DEFAULT);
260 tcw_set_tccb(itcw->tcw, chunk);
263 chunk = fit_chunk(&start, end, TCCB_MAX_SIZE, 8, 0);
264 if (IS_ERR(chunk))
265 return chunk;
266 tccb_init(chunk, TCCB_MAX_SIZE, TCCB_SAC_INTRG);
267 tcw_set_tccb(itcw->intrg_tcw, chunk);
268 tccb_add_dcw(chunk, TCCB_MAX_SIZE, DCW_CMD_INTRG, 0, NULL,