Lines Matching defs:available
44 * Keep a sorted free list of available nodeids.
49 struct available {
52 struct available *next;
53 struct available *prev;
57 * The initial seed of available nodeids: 1 .. 0x10000000
67 static struct available seed = {
72 * head of the available list ...
74 static struct available *nhead;
84 static struct available *
87 return (kmem_zalloc(sizeof (struct available), kmflag));
91 np_free(struct available *np)
93 kmem_free(np, sizeof (struct available));
100 np_unlink(struct available *np)
115 np_insert(struct available *fp, struct available *np)
131 np_add(struct available *fp)
133 struct available *np;
153 np_coalesce(struct available *np)
155 struct available *xp;
171 struct available *np;
187 struct available *np;
224 struct available *np, *fp;
239 * Insert nodeid in the appropriate place in our sorted available
289 * Remove (take) nodeid n off of the available list.
299 struct available *np, *fp;
328 * If it's less than this entry, it's not available...
397 * Apparently the nodeid is not available ...