Lines Matching defs:pt_node
27 struct partition_node *pt_node;
158 struct partition_node *pt_node)
160 pt_node->nshared--;
161 if (pt_node->nshared > 0)
164 list_del(&pt_node->list);
167 bitmap_clear(rgp->resbit, pt_node->start_col, pt_node->ncols);
168 kfree(pt_node);
177 if (node->pt_node)
178 remove_partition_node(rgp, node->pt_node);
187 struct partition_node *pt_node;
200 pt_node = kzalloc_obj(*pt_node);
201 if (!pt_node)
204 pt_node->nshared = 1;
205 pt_node->start_col = col;
206 pt_node->ncols = ncols;
211 pt_node->exclusive = false;
213 list_add_tail(&pt_node->list, &xrs->rgp.pt_node_list);
215 bitmap_set(xrs->rgp.resbit, pt_node->start_col, pt_node->ncols);
217 snode->pt_node = pt_node;
226 struct partition_node *pt_node, *rpt_node = NULL;
234 list_for_each_entry(pt_node, &xrs->rgp.pt_node_list, list) {
235 if (pt_node->exclusive)
238 if (rpt_node && pt_node->nshared >= rpt_node->nshared)
242 if (snode->start_cols[idx] != pt_node->start_col)
245 if (req->cdo.ncols != pt_node->ncols)
248 rpt_node = pt_node;
257 snode->pt_node = rpt_node;
295 action->part.start_col = snode->pt_node->start_col;
296 action->part.ncols = snode->pt_node->ncols;
337 snode->pt_node->start_col, snode->pt_node->ncols);