Lines Matching refs:snode
184 struct solver_node *snode, in get_free_partition() argument
191 for (i = 0; i < snode->cols_len; i++) { in get_free_partition()
192 col = snode->start_cols[i]; in get_free_partition()
197 if (i == snode->cols_len) in get_free_partition()
217 snode->pt_node = pt_node; in get_free_partition()
223 struct solver_node *snode, in allocate_partition() argument
229 ret = get_free_partition(xrs, snode, req); in allocate_partition()
241 for (idx = 0; idx < snode->cols_len; idx++) { in allocate_partition()
242 if (snode->start_cols[idx] != pt_node->start_col) in allocate_partition()
257 snode->pt_node = rpt_node; in allocate_partition()
291 struct solver_node *snode, in fill_load_action() argument
294 action->rid = snode->rid; in fill_load_action()
295 action->part.start_col = snode->pt_node->start_col; in fill_load_action()
296 action->part.ncols = snode->pt_node->ncols; in fill_load_action()
302 struct solver_node *snode; in xrs_allocate_resource() local
320 snode = create_solver_node(xrs, req); in xrs_allocate_resource()
321 if (IS_ERR(snode)) in xrs_allocate_resource()
322 return PTR_ERR(snode); in xrs_allocate_resource()
324 fill_load_action(xrs, snode, &load_act); in xrs_allocate_resource()
333 snode->dpm_level = dpm_level; in xrs_allocate_resource()
334 snode->cb_arg = cb_arg; in xrs_allocate_resource()
337 snode->pt_node->start_col, snode->pt_node->ncols); in xrs_allocate_resource()
342 remove_solver_node(&xrs->rgp, snode); in xrs_allocate_resource()