Lines Matching refs:sp_node
2375 static struct sp_node *
2381 struct sp_node *p = rb_entry(n, struct sp_node, nd); in sp_lookup()
2393 struct sp_node *w = NULL; in sp_lookup()
2397 w = rb_entry(prev, struct sp_node, nd); in sp_lookup()
2402 return rb_entry(n, struct sp_node, nd); in sp_lookup()
2409 static void sp_insert(struct shared_policy *sp, struct sp_node *new) in sp_insert()
2413 struct sp_node *nd; in sp_insert()
2417 nd = rb_entry(parent, struct sp_node, nd); in sp_insert()
2436 struct sp_node *sn; in mpol_shared_policy_lookup()
2450 static void sp_free(struct sp_node *n) in sp_free()
2556 static void sp_delete(struct shared_policy *sp, struct sp_node *n) in sp_delete()
2563 static void sp_node_init(struct sp_node *node, unsigned long start, in sp_node_init()
2571 static struct sp_node *sp_alloc(unsigned long start, unsigned long end, in sp_alloc()
2574 struct sp_node *n; in sp_alloc()
2594 unsigned long end, struct sp_node *new) in shared_policy_replace()
2596 struct sp_node *n; in shared_policy_replace()
2597 struct sp_node *n_new = NULL; in shared_policy_replace()
2631 n = rb_entry(next, struct sp_node, nd); in shared_policy_replace()
2712 struct sp_node *new = NULL; in mpol_set_shared_policy()
2735 struct sp_node *n; in mpol_free_shared_policy()
2743 n = rb_entry(next, struct sp_node, nd); in mpol_free_shared_policy()
2809 sizeof(struct sp_node), in numa_policy_init()