| version 1.21.2.2, 1999/04/07 00:34:55 |
version 1.21.2.3, 1999/06/24 16:14:35 |
| Line 313 pool_create(size, align, ioff, nitems, w |
|
| Line 313 pool_create(size, align, ioff, nitems, w |
|
| pool_destroy(pp); |
pool_destroy(pp); |
| return (NULL); |
return (NULL); |
| } |
} |
| |
int s; |
| } |
} |
| |
s = splhigh(); |
| |
|
| |
splx(s); |
| return (pp); |
return (pp); |
| } |
} |
| |
|
| Line 1048 pool_catchup(pp) |
|
| Line 1051 pool_catchup(pp) |
|
| void |
void |
| pool_setlowat(pp, n) |
pool_setlowat(pp, n) |
| pool_handle_t pp; |
pool_handle_t pp; |
| int n; |
int s, n; |
| { |
{ |
| int error; |
int error; |
| |
|
| simple_lock(&pp->pr_slock); |
simple_lock(&pp->pr_slock); |
| |
s = splhigh(); |
| |
|
| |
splx(s); |
| pp->pr_minitems = n; |
pp->pr_minitems = n; |
| pp->pr_minpages = (n == 0) |
pp->pr_minpages = (n == 0) |
| ? 0 |
? 0 |