Lines Matching full:chunk

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